1 |
maksbotan 12/01/05 11:23:23 |
2 |
|
3 |
Added: 0002-disable_php_in_makefile.patch |
4 |
0001-configure_ac_automagic_patch.patch |
5 |
0003-hivex_to_hard_error.patch |
6 |
Log: |
7 |
Bump to 1.8.16, thanks to slepnoga |
8 |
|
9 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 app-emulation/libguestfs/files/1.8/1.8.16/0002-disable_php_in_makefile.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/files/1.8/1.8.16/0002-disable_php_in_makefile.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/files/1.8/1.8.16/0002-disable_php_in_makefile.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: 0002-disable_php_in_makefile.patch |
18 |
=================================================================== |
19 |
# HG changeset patch |
20 |
# User Andreis Vinogradovs <spamslepnoga@×××××.ru> |
21 |
# Date 1325421062 -7200 |
22 |
# Node ID 8d969d9324fa8f1f5384037627d5478e33be5d47 |
23 |
# Parent ba14909c0a95bf9879e6df25d8128d1cf9a75252 |
24 |
disable_php_in_makefile |
25 |
|
26 |
diff --git a/Makefile.am b/Makefile.am |
27 |
--- a/Makefile.am |
28 |
+++ b/Makefile.am |
29 |
@@ -57,9 +57,12 @@ |
30 |
if HAVE_HASKELL |
31 |
SUBDIRS += haskell |
32 |
endif |
33 |
-if HAVE_PHP |
34 |
-SUBDIRS += php |
35 |
-endif |
36 |
+ |
37 |
+# use Gentoo way to compile/install php extension |
38 |
+# due slot system |
39 |
+#if HAVE_PHP |
40 |
+#SUBDIRS += php |
41 |
+#endif |
42 |
|
43 |
# Unconditional because nothing is built yet. |
44 |
SUBDIRS += csharp |
45 |
|
46 |
|
47 |
|
48 |
1.1 app-emulation/libguestfs/files/1.8/1.8.16/0001-configure_ac_automagic_patch.patch |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/files/1.8/1.8.16/0001-configure_ac_automagic_patch.patch?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/files/1.8/1.8.16/0001-configure_ac_automagic_patch.patch?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: 0001-configure_ac_automagic_patch.patch |
54 |
=================================================================== |
55 |
# HG changeset patch |
56 |
# User Andreis Vinogradovs <spamslepnoga@×××××.ru> |
57 |
# Date 1325421041 -7200 |
58 |
# Node ID ba14909c0a95bf9879e6df25d8128d1cf9a75252 |
59 |
# Parent c9bc634a526984160a40b70f71895de0a855f4c0 |
60 |
configure_ac_automagic.patch |
61 |
|
62 |
diff --git a/configure.ac b/configure.ac |
63 |
--- a/configure.ac |
64 |
+++ b/configure.ac |
65 |
@@ -217,6 +217,10 @@ |
66 |
if test -f /etc/arch-release; then |
67 |
DISTRO=ARCHLINUX |
68 |
fi |
69 |
+ dnl Slepnoga for Gentoo |
70 |
+ if test -f /etc/gentoo-release; then |
71 |
+ DISTRO=GENTOO |
72 |
+ fi |
73 |
AC_MSG_RESULT([$DISTRO]) |
74 |
AC_SUBST([DISTRO]) |
75 |
fi |
76 |
@@ -461,7 +465,7 @@ |
77 |
AC_DEFINE([HAVE_LIBMAGIC],[1],[libmagic found at compile time.]) |
78 |
], []) |
79 |
], |
80 |
- [AC_MSG_WARN([libmagic not found, some core features will be disabled])]) |
81 |
+ [AC_MSG_FAILURE([libmagic not found, some core features will be disabled])]) |
82 |
|
83 |
dnl Check for PCRE (highly recommended) |
84 |
PKG_CHECK_MODULES([PCRE], [libpcre], |
85 |
@@ -469,7 +473,7 @@ |
86 |
AC_SUBST([PCRE_LIBS]) |
87 |
AC_DEFINE([HAVE_PCRE],[1],[PCRE found at compile time.]) |
88 |
], |
89 |
- [AC_MSG_WARN([PCRE not found, some core features will be disabled])]) |
90 |
+ [AC_MSG_FAILURE([PCRE not found, some core features will be disabled])]) |
91 |
|
92 |
dnl libvirt (highly recommended) |
93 |
PKG_CHECK_MODULES([LIBVIRT], [libvirt], |
94 |
@@ -486,7 +490,7 @@ |
95 |
AC_SUBST([LIBXML2_LIBS]) |
96 |
AC_DEFINE([HAVE_LIBXML2],[1],[libxml2 found at compile time.]) |
97 |
], |
98 |
- [AC_MSG_WARN([libxml2 not found, some core features will be disabled])]) |
99 |
+ [AC_MSG_FAILURE([libxml2 not found, some core features will be disabled])]) |
100 |
AM_CONDITIONAL([HAVE_LIBXML2],[test "x$LIBXML2_LIBS" != "x"]) |
101 |
|
102 |
dnl hivex library (highly recommended) |
103 |
@@ -654,13 +658,13 @@ |
104 |
AM_CONDITIONAL([HAVE_RUBY], |
105 |
[test "x$RAKE" != "xno" && test -n "$HAVE_LIBRUBY"]) |
106 |
|
107 |
-dnl Check for Java. |
108 |
-AC_ARG_WITH(java_home, |
109 |
- [AS_HELP_STRING([--with-java-home], |
110 |
- [specify path to JDK directory @<:@default=check@:>@])], |
111 |
- [], |
112 |
- [with_java_home=check]) |
113 |
+AC_ARG_ENABLE([java], |
114 |
+ AS_HELP_STRING([--enable-java], [Disable Java language bindings]), |
115 |
+ [enable_java=no], |
116 |
+ [enable_java=yes]) |
117 |
|
118 |
+AS_IF([test "x$enable_java" = "xyes"], |
119 |
+ [ |
120 |
if test "x$with_java_home" != "xno"; then |
121 |
if test "x$with_java_home" != "xyes" && test "x$with_java_home" != "xcheck" |
122 |
then |
123 |
@@ -756,7 +760,6 @@ |
124 |
fi |
125 |
fi |
126 |
AC_MSG_RESULT([$JNI_CFLAGS]) |
127 |
- |
128 |
dnl Need extra version flag? |
129 |
AC_MSG_CHECKING([extra javac flags]) |
130 |
JAVAC_FLAGS= |
131 |
@@ -791,8 +794,8 @@ |
132 |
AC_SUBST(JAR_INSTALL_DIR) |
133 |
AC_SUBST(JNI_INSTALL_DIR) |
134 |
AC_SUBST(JNI_VERSION_INFO) |
135 |
- |
136 |
-AM_CONDITIONAL([HAVE_JAVA],[test -n "$JAVAC"]) |
137 |
+]) |
138 |
+AM_CONDITIONAL([HAVE_JAVA],[test -n "$JAVAC" && test "x$enable_java" != "xno"]) |
139 |
|
140 |
dnl Check for Haskell (GHC). |
141 |
GHC=no |
142 |
@@ -849,8 +852,12 @@ |
143 |
|
144 |
dnl Replace libtool with a wrapper that clobbers dependency_libs in *.la files |
145 |
dnl http://lists.fedoraproject.org/pipermail/devel/2010-November/146343.html |
146 |
-LIBTOOL='bash $(top_srcdir)/libtool-kill-dependency_libs.sh $(top_builddir)/libtool' |
147 |
-AC_SUBST([LIBTOOL]) |
148 |
+dnl ha-ha, criocamera :) - gentoo kill la files in other way's |
149 |
+dnlLIBTOOL='$(SHELL) $(top_srcdir)/libtool-kill-dependency_libs.sh $(top_builddir)/libtool' |
150 |
+dnl haha, are stub |
151 |
+dnl AC_PROG_LIBTOOL |
152 |
+dnl AC_SUBST([LIBTOOL]) |
153 |
+LT_INIT |
154 |
|
155 |
dnl Run in subdirs. |
156 |
if test "x$enable_daemon" = "xyes"; then |
157 |
|
158 |
|
159 |
|
160 |
1.1 app-emulation/libguestfs/files/1.8/1.8.16/0003-hivex_to_hard_error.patch |
161 |
|
162 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/files/1.8/1.8.16/0003-hivex_to_hard_error.patch?rev=1.1&view=markup |
163 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libguestfs/files/1.8/1.8.16/0003-hivex_to_hard_error.patch?rev=1.1&content-type=text/plain |
164 |
|
165 |
Index: 0003-hivex_to_hard_error.patch |
166 |
=================================================================== |
167 |
# HG changeset patch |
168 |
# User Andreis Vinogradovs <spamslepnoga@×××××.ru> |
169 |
# Date 1325421826 -7200 |
170 |
# Node ID 4bcdef3cca5c867d82c72d4b394b866a3b9f2d95 |
171 |
# Parent 8d969d9324fa8f1f5384037627d5478e33be5d47 |
172 |
hivex to hard error |
173 |
|
174 |
diff --git a/configure.ac b/configure.ac |
175 |
--- a/configure.ac |
176 |
+++ b/configure.ac |
177 |
@@ -501,7 +501,7 @@ |
178 |
AC_SUBST([HIVEX_LIBS]) |
179 |
AC_DEFINE([HAVE_HIVEX],[1],[hivex library found at compile time.]) |
180 |
], |
181 |
- [AC_MSG_WARN([hivex not found, some core features will be disabled])]) |
182 |
+ [AC_MSG_ERROR([hivex not found, some core features will be disabled])]) |
183 |
|
184 |
dnl FUSE is optional to build the FUSE module. |
185 |
AC_ARG_ENABLE([fuse], |