1 |
commit: 29397680c55e18a133e3d9683e7317bd7aebde92 |
2 |
Author: Priit Laes <plaes <AT> plaes <DOT> org> |
3 |
AuthorDate: Fri Mar 29 18:06:31 2013 +0000 |
4 |
Commit: Priit Laes <plaes <AT> plaes <DOT> org> |
5 |
CommitDate: Fri Mar 29 18:06:31 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=29397680 |
7 |
|
8 |
net-libs/libsoup: Moved to gx86, sync live version. |
9 |
|
10 |
--- |
11 |
...p-2.34.2-fix-build-without-gnome-with-doc.patch | 58 ------------- |
12 |
net-libs/libsoup/libsoup-2.41.91-r1.ebuild | 89 -------------------- |
13 |
net-libs/libsoup/libsoup-9999.ebuild | 42 ++++------ |
14 |
3 files changed, 17 insertions(+), 172 deletions(-) |
15 |
|
16 |
diff --git a/net-libs/libsoup/files/libsoup-2.34.2-fix-build-without-gnome-with-doc.patch b/net-libs/libsoup/files/libsoup-2.34.2-fix-build-without-gnome-with-doc.patch |
17 |
deleted file mode 100644 |
18 |
index 574b8be..0000000 |
19 |
--- a/net-libs/libsoup/files/libsoup-2.34.2-fix-build-without-gnome-with-doc.patch |
20 |
+++ /dev/null |
21 |
@@ -1,58 +0,0 @@ |
22 |
-From 4be4806401133389b2413267bc3f8ac58c1eeaf3 Mon Sep 17 00:00:00 2001 |
23 |
-From: Priit Laes <plaes@×××××.org> |
24 |
-Date: Thu, 25 Feb 2010 20:59:51 +0200 |
25 |
-Subject: [PATCH] Split docs into libsoup and libsoup-gnome. |
26 |
- |
27 |
-Fixes Gentoo Bug 268592, patch adapted from upstream patch. |
28 |
- |
29 |
-Modified to apply to a release tarball (no libsoup-2.4-docs.sgml.in) |
30 |
-Hence, to be applied ONLY when !gnome && doc |
31 |
- |
32 |
-[Alexandre Rostovtsev <tetromino@×××××.com>: adapted patch for libsoup-2.34.2] |
33 |
---- |
34 |
- docs/reference/Makefile.am | 4 +++- |
35 |
- docs/reference/libsoup-2.4-docs.sgml | 2 ++ |
36 |
- 2 files changed, 5 insertions(+), 1 deletions(-) |
37 |
- |
38 |
-diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am |
39 |
-index 765d27c..07c92e9 100644 |
40 |
---- a/docs/reference/Makefile.am |
41 |
-+++ b/docs/reference/Makefile.am |
42 |
-@@ -38,6 +38,9 @@ IGNORE_HFILES= soup.h soup-marshal.h soup-enum-types.h \ |
43 |
- soup-proxy-resolver.h soup-proxy-resolver-gnome.h \ |
44 |
- soup-proxy-resolver-static.h |
45 |
- |
46 |
-+IGNORE_HFILES += soup-cookie-jar-sqlite.h \ |
47 |
-+ soup-gnome.h soup-gnome-features.h |
48 |
-+ |
49 |
- # Images to copy into HTML directory. |
50 |
- HTML_IMAGES = |
51 |
- |
52 |
-@@ -63,7 +66,6 @@ GTKDOC_CFLAGS = \ |
53 |
- |
54 |
- GTKDOC_LIBS = \ |
55 |
- $(top_builddir)/libsoup/libsoup-2.4.la \ |
56 |
-- $(top_builddir)/libsoup/libsoup-gnome-2.4.la \ |
57 |
- $(GLIB_LIBS) |
58 |
- |
59 |
- # include common portion ... |
60 |
-diff --git a/docs/reference/libsoup-2.4-docs.sgml b/docs/reference/libsoup-2.4-docs.sgml |
61 |
-index c52208f..7117849 100644 |
62 |
---- a/docs/reference/libsoup-2.4-docs.sgml |
63 |
-+++ b/docs/reference/libsoup-2.4-docs.sgml |
64 |
-@@ -52,11 +52,13 @@ |
65 |
- <xi:include href="xml/soup-value-utils.xml"/> |
66 |
- </chapter> |
67 |
- |
68 |
-+<!-- |
69 |
- <chapter> |
70 |
- <title>GNOME integration</title> |
71 |
- <xi:include href="xml/soup-gnome-features.xml"/> |
72 |
- <xi:include href="xml/soup-cookie-jar-sqlite.xml"/> |
73 |
- </chapter> |
74 |
-+--> |
75 |
- |
76 |
- <chapter> |
77 |
- <title>Low-level Networking API</title> |
78 |
--- |
79 |
-1.7.5.3 |
80 |
\ No newline at end of file |
81 |
|
82 |
diff --git a/net-libs/libsoup/libsoup-2.41.91-r1.ebuild b/net-libs/libsoup/libsoup-2.41.91-r1.ebuild |
83 |
deleted file mode 100644 |
84 |
index 6490704..0000000 |
85 |
--- a/net-libs/libsoup/libsoup-2.41.91-r1.ebuild |
86 |
+++ /dev/null |
87 |
@@ -1,89 +0,0 @@ |
88 |
-# Copyright 1999-2012 Gentoo Foundation |
89 |
-# Distributed under the terms of the GNU General Public License v2 |
90 |
-# $Header: $ |
91 |
- |
92 |
-EAPI="5" |
93 |
-GCONF_DEBUG="yes" |
94 |
-GNOME2_LA_PUNT="yes" |
95 |
- |
96 |
-inherit gnome2 python |
97 |
-if [[ ${PV} = 9999 ]]; then |
98 |
- inherit eutils gnome2-live |
99 |
-fi |
100 |
- |
101 |
-DESCRIPTION="An HTTP library implementation in C" |
102 |
-HOMEPAGE="http://live.gnome.org/LibSoup" |
103 |
- |
104 |
-LICENSE="LGPL-2+" |
105 |
-SLOT="2.4" |
106 |
-if [[ ${PV} = 9999 ]]; then |
107 |
- KEYWORDS="" |
108 |
-else |
109 |
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
110 |
-fi |
111 |
-IUSE="debug +introspection samba ssl test" |
112 |
-[[ ${PV} = 9999 ]] && IUSE="${IUSE} doc" |
113 |
- |
114 |
-RDEPEND=" |
115 |
- dev-db/sqlite:3= |
116 |
- >=dev-libs/glib-2.35.0:2 |
117 |
- >=dev-libs/libxml2-2:2 |
118 |
- >=net-libs/glib-networking-2.35.3[ssl?] |
119 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) |
120 |
- samba? ( net-fs/samba ) |
121 |
-" |
122 |
-DEPEND="${RDEPEND} |
123 |
- =dev-lang/python-2* |
124 |
- >=dev-util/intltool-0.35 |
125 |
- >=dev-util/gtk-doc-am-1.10 |
126 |
- sys-devel/gettext |
127 |
- virtual/pkgconfig |
128 |
-" |
129 |
-if [[ ${PV} = 9999 ]]; then |
130 |
- DEPEND="${DEPEND} |
131 |
- doc? ( >=dev-util/gtk-doc-1.10 )" |
132 |
-fi |
133 |
-# test? ( www-servers/apache[ssl,apache2_modules_auth_digest,apache2_modules_alias,apache2_modules_auth_basic, |
134 |
-# apache2_modules_authn_file,apache2_modules_authz_host,apache2_modules_authz_user,apache2_modules_dir, |
135 |
-# apache2_modules_mime,apache2_modules_proxy,apache2_modules_proxy_http,apache2_modules_proxy_connect] |
136 |
-# dev-lang/php[apache2,xmlrpc] |
137 |
-# net-misc/curl |
138 |
-# net-libs/glib-networking[ssl])" |
139 |
- |
140 |
-pkg_setup() { |
141 |
- python_set_active_version 2 |
142 |
- python_pkg_setup |
143 |
-} |
144 |
- |
145 |
-src_prepare() { |
146 |
- if [[ ${PV} = 9999 ]]; then |
147 |
- # prevent SOUP_MAINTAINER_FLAGS from getting set |
148 |
- mv .git .git-bck || die |
149 |
- |
150 |
- # Patch *must* be applied conditionally (see patch for details) |
151 |
- # Fix bug 268592 (upstream #573685) (build fails without gnome && doc) |
152 |
- use doc && epatch "${FILESDIR}/${PN}-2.34.2-fix-build-without-gnome-with-doc.patch" |
153 |
- fi |
154 |
- |
155 |
- if ! use test; then |
156 |
- # don't waste time building tests (bug #226271) |
157 |
- sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \ |
158 |
- || die "sed failed" |
159 |
- fi |
160 |
- |
161 |
- gnome2_src_prepare |
162 |
-} |
163 |
- |
164 |
-src_configure() { |
165 |
- # Disable apache tests until they are usable on Gentoo, bug #326957 |
166 |
- # FIXME: we need addpredict to workaround bug #324779 until |
167 |
- # root cause (bug #249496) is solved |
168 |
- addpredict /usr/share/snmp/mibs/.index |
169 |
- gnome2_src_configure \ |
170 |
- --disable-static \ |
171 |
- --disable-tls-check \ |
172 |
- --without-gnome \ |
173 |
- --without-apache-httpd \ |
174 |
- $(use_enable introspection) \ |
175 |
- $(use_with samba ntlm-auth ${EPREFIX}/usr/bin/ntlm_auth) |
176 |
-} |
177 |
|
178 |
diff --git a/net-libs/libsoup/libsoup-9999.ebuild b/net-libs/libsoup/libsoup-9999.ebuild |
179 |
index 6490704..423756e 100644 |
180 |
--- a/net-libs/libsoup/libsoup-9999.ebuild |
181 |
+++ b/net-libs/libsoup/libsoup-9999.ebuild |
182 |
@@ -1,12 +1,13 @@ |
183 |
-# Copyright 1999-2012 Gentoo Foundation |
184 |
+# Copyright 1999-2013 Gentoo Foundation |
185 |
# Distributed under the terms of the GNU General Public License v2 |
186 |
# $Header: $ |
187 |
|
188 |
EAPI="5" |
189 |
GCONF_DEBUG="yes" |
190 |
GNOME2_LA_PUNT="yes" |
191 |
+PYTHON_COMPAT=( python{2_5,2_6,2_7} ) |
192 |
|
193 |
-inherit gnome2 python |
194 |
+inherit gnome2 python-any-r1 |
195 |
if [[ ${PV} = 9999 ]]; then |
196 |
inherit eutils gnome2-live |
197 |
fi |
198 |
@@ -21,24 +22,22 @@ if [[ ${PV} = 9999 ]]; then |
199 |
else |
200 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
201 |
fi |
202 |
-IUSE="debug +introspection samba ssl test" |
203 |
+IUSE="debug +introspection samba ssl test gnome" |
204 |
[[ ${PV} = 9999 ]] && IUSE="${IUSE} doc" |
205 |
|
206 |
-RDEPEND=" |
207 |
- dev-db/sqlite:3= |
208 |
- >=dev-libs/glib-2.35.0:2 |
209 |
+RDEPEND=">=dev-libs/glib-2.35.0:2 |
210 |
>=dev-libs/libxml2-2:2 |
211 |
- >=net-libs/glib-networking-2.35.3[ssl?] |
212 |
+ dev-db/sqlite:3 |
213 |
+ >=net-libs/glib-networking-2.30.0[ssl?] |
214 |
introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) |
215 |
- samba? ( net-fs/samba ) |
216 |
-" |
217 |
+ samba? ( net-fs/samba )" |
218 |
DEPEND="${RDEPEND} |
219 |
- =dev-lang/python-2* |
220 |
+ ${PYTHON_DEPS} |
221 |
>=dev-util/intltool-0.35 |
222 |
>=dev-util/gtk-doc-am-1.10 |
223 |
sys-devel/gettext |
224 |
- virtual/pkgconfig |
225 |
-" |
226 |
+ virtual/pkgconfig" |
227 |
+ |
228 |
if [[ ${PV} = 9999 ]]; then |
229 |
DEPEND="${DEPEND} |
230 |
doc? ( >=dev-util/gtk-doc-1.10 )" |
231 |
@@ -50,19 +49,10 @@ fi |
232 |
# net-misc/curl |
233 |
# net-libs/glib-networking[ssl])" |
234 |
|
235 |
-pkg_setup() { |
236 |
- python_set_active_version 2 |
237 |
- python_pkg_setup |
238 |
-} |
239 |
- |
240 |
src_prepare() { |
241 |
if [[ ${PV} = 9999 ]]; then |
242 |
# prevent SOUP_MAINTAINER_FLAGS from getting set |
243 |
mv .git .git-bck || die |
244 |
- |
245 |
- # Patch *must* be applied conditionally (see patch for details) |
246 |
- # Fix bug 268592 (upstream #573685) (build fails without gnome && doc) |
247 |
- use doc && epatch "${FILESDIR}/${PN}-2.34.2-fix-build-without-gnome-with-doc.patch" |
248 |
fi |
249 |
|
250 |
if ! use test; then |
251 |
@@ -76,14 +66,16 @@ src_prepare() { |
252 |
|
253 |
src_configure() { |
254 |
# Disable apache tests until they are usable on Gentoo, bug #326957 |
255 |
- # FIXME: we need addpredict to workaround bug #324779 until |
256 |
- # root cause (bug #249496) is solved |
257 |
- addpredict /usr/share/snmp/mibs/.index |
258 |
gnome2_src_configure \ |
259 |
--disable-static \ |
260 |
--disable-tls-check \ |
261 |
- --without-gnome \ |
262 |
+ $(use_with gnome) \ |
263 |
--without-apache-httpd \ |
264 |
$(use_enable introspection) \ |
265 |
$(use_with samba ntlm-auth ${EPREFIX}/usr/bin/ntlm_auth) |
266 |
+ |
267 |
+ # FIXME: we need addpredict to workaround bug #324779 until |
268 |
+ # root cause (bug #249496) is solved |
269 |
+ addpredict /usr/share/snmp/mibs/.index |
270 |
+ gnome2_src_configure |
271 |
} |