Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: net-libs/libsoup/files/, net-libs/libsoup/
Date: Sat, 23 Feb 2019 20:37:39
Message-Id: 1550953709.62aa1ce86b3e74dc3e91c454dac499dd208fc94b.leio@gentoo
1 commit: 62aa1ce86b3e74dc3e91c454dac499dd208fc94b
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 23 20:28:29 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 23 20:28:29 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=62aa1ce8
7
8 net-libs/libsoup: remove, newer available in ::gentoo
9
10 9999 is also removed as its autotools based, but upstream uses
11 only meson now.
12
13 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
14
15 .../files/libsoup-2.58.2-sparc-unaligned.patch | 28 -----
16 net-libs/libsoup/libsoup-2.60.3.ebuild | 97 -----------------
17 net-libs/libsoup/libsoup-9999.ebuild | 115 ---------------------
18 net-libs/libsoup/metadata.xml | 13 ---
19 4 files changed, 253 deletions(-)
20
21 diff --git a/net-libs/libsoup/files/libsoup-2.58.2-sparc-unaligned.patch b/net-libs/libsoup/files/libsoup-2.58.2-sparc-unaligned.patch
22 deleted file mode 100644
23 index d09d52c2..00000000
24 --- a/net-libs/libsoup/files/libsoup-2.58.2-sparc-unaligned.patch
25 +++ /dev/null
26 @@ -1,28 +0,0 @@
27 -From c2aaac0083f58d285b8feb24f13fe347d7f726fe Mon Sep 17 00:00:00 2001
28 -From: Rolf Eike Beer <eike@×××××××.de>
29 -Date: Sat, 17 Mar 2018 10:28:00 +0000
30 -Subject: [PATCH] WebSockets: Avoid unaligned memory access
31 -
32 -This is causing test failures in SPARC architectures.
33 -
34 -https://bugzilla.gnome.org/show_bug.cgi?id=794421
35 ----
36 - libsoup/soup-websocket-connection.c | 3 ++-
37 - 1 file changed, 2 insertions(+), 1 deletion(-)
38 -
39 -diff --git a/libsoup/soup-websocket-connection.c b/libsoup/soup-websocket-connection.c
40 -index 0258a22c..35eee6a6 100644
41 ---- a/libsoup/soup-websocket-connection.c
42 -+++ b/libsoup/soup-websocket-connection.c
43 -@@ -401,9 +401,10 @@ send_message (SoupWebsocketConnection *self,
44 - * probably a client somewhere that's not expecting it.
45 - */
46 - if (self->pv->connection_type == SOUP_WEBSOCKET_CONNECTION_CLIENT) {
47 -+ guint32 rnd = g_random_int ();
48 - outer[1] |= 0x80;
49 - mask = outer + bytes->len;
50 -- * ((guint32 *)mask) = g_random_int ();
51 -+ memcpy (mask, &rnd, sizeof (rnd));
52 - bytes->len += 4;
53 - }
54 -
55
56 diff --git a/net-libs/libsoup/libsoup-2.60.3.ebuild b/net-libs/libsoup/libsoup-2.60.3.ebuild
57 deleted file mode 100644
58 index 3b86d848..00000000
59 --- a/net-libs/libsoup/libsoup-2.60.3.ebuild
60 +++ /dev/null
61 @@ -1,97 +0,0 @@
62 -# Copyright 1999-2018 Gentoo Foundation
63 -# Distributed under the terms of the GNU General Public License v2
64 -
65 -EAPI=6
66 -GNOME2_LA_PUNT="yes"
67 -PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5,3_6} )
68 -VALA_USE_DEPEND="vapigen"
69 -
70 -inherit gnome2 multilib-minimal python-any-r1 vala
71 -
72 -DESCRIPTION="An HTTP library implementation in C"
73 -HOMEPAGE="https://wiki.gnome.org/Projects/libsoup"
74 -
75 -LICENSE="LGPL-2+"
76 -SLOT="2.4"
77 -
78 -IUSE="debug gssapi +introspection samba ssl test vala"
79 -REQUIRED_USE="vala? ( introspection )"
80 -
81 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
82 -
83 -RDEPEND="
84 - >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
85 - >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
86 - >=dev-db/sqlite-3.8.2:3[${MULTILIB_USEDEP}]
87 - >=net-libs/glib-networking-2.38.2[ssl?,${MULTILIB_USEDEP}]
88 - gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] )
89 - introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
90 - samba? ( net-fs/samba )
91 -"
92 -DEPEND="${RDEPEND}
93 - ${PYTHON_DEPS}
94 - >=dev-util/intltool-0.35
95 - >=dev-util/gtk-doc-am-1.20
96 - sys-devel/gettext
97 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
98 - test? ( >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] )
99 - vala? ( $(vala_depend) )
100 -"
101 -# test? ( www-servers/apache[ssl,apache2_modules_auth_digest,apache2_modules_alias,apache2_modules_auth_basic,
102 -# apache2_modules_authn_file,apache2_modules_authz_host,apache2_modules_authz_user,apache2_modules_dir,
103 -# apache2_modules_mime,apache2_modules_proxy,apache2_modules_proxy_http,apache2_modules_proxy_connect]
104 -# dev-lang/php[apache2,xmlrpc]
105 -# net-misc/curl
106 -# net-libs/glib-networking[ssl])"
107 -
108 -PATCHES=(
109 - # https://bugs.gentoo.org/630516
110 - "${FILESDIR}/${PN}-2.58.2-sparc-unaligned.patch"
111 -)
112 -
113 -src_prepare() {
114 - if ! use test; then
115 - # don't waste time building tests (bug #226271)
116 - sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
117 - || die "sed failed"
118 - fi
119 -
120 - # FIXME: workaround upstream not respecting --without-apache-httpd
121 - sed -e '/check: start-httpd/d' \
122 - -i tests/Makefile.am tests/Makefile.in || die
123 -
124 - use vala && vala_src_prepare
125 - gnome2_src_prepare
126 -}
127 -
128 -src_configure() {
129 - # FIXME: we need addpredict to workaround bug #324779 until
130 - # root cause (bug #249496) is solved
131 - addpredict /usr/share/snmp/mibs/.index
132 -
133 - multilib-minimal_src_configure
134 -}
135 -
136 -multilib_src_configure() {
137 - # Disable apache tests until they are usable on Gentoo, bug #326957
138 - ECONF_SOURCE=${S} \
139 - gnome2_src_configure \
140 - --disable-static \
141 - --disable-tls-check \
142 - --without-gnome \
143 - --without-apache-httpd \
144 - $(usex debug --enable-debug=yes ' ') \
145 - $(multilib_native_use_with gssapi) \
146 - $(multilib_native_use_enable introspection) \
147 - $(multilib_native_use_enable vala) \
148 - $(use_with samba ntlm-auth '${EPREFIX}'/usr/bin/ntlm_auth)
149 -
150 - if multilib_is_native_abi; then
151 - # fix gtk-doc
152 - ln -s "${S}"/docs/reference/html docs/reference/html || die
153 - fi
154 -}
155 -
156 -multilib_src_install() {
157 - gnome2_src_install
158 -}
159
160 diff --git a/net-libs/libsoup/libsoup-9999.ebuild b/net-libs/libsoup/libsoup-9999.ebuild
161 deleted file mode 100644
162 index a36a0109..00000000
163 --- a/net-libs/libsoup/libsoup-9999.ebuild
164 +++ /dev/null
165 @@ -1,115 +0,0 @@
166 -# Copyright 1999-2018 Gentoo Foundation
167 -# Distributed under the terms of the GNU General Public License v2
168 -
169 -EAPI=6
170 -GNOME2_LA_PUNT="yes"
171 -PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5,3_6} )
172 -VALA_USE_DEPEND="vapigen"
173 -
174 -inherit gnome2 multilib-minimal python-any-r1 vala
175 -if [[ ${PV} = 9999 ]]; then
176 - inherit gnome2-live
177 -fi
178 -
179 -DESCRIPTION="An HTTP library implementation in C"
180 -HOMEPAGE="https://wiki.gnome.org/Projects/libsoup"
181 -
182 -LICENSE="LGPL-2+"
183 -SLOT="2.4"
184 -IUSE="debug gssapi +introspection samba ssl test vala"
185 -REQUIRED_USE="vala? ( introspection )"
186 -
187 -if [[ ${PV} = 9999 ]]; then
188 - KEYWORDS=""
189 - IUSE="${IUSE} doc"
190 -else
191 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
192 -fi
193 -
194 -RDEPEND="
195 - >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
196 - >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
197 - >=dev-db/sqlite-3.8.2:3[${MULTILIB_USEDEP}]
198 - >=net-libs/glib-networking-2.38.2[ssl?,${MULTILIB_USEDEP}]
199 - gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] )
200 - introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
201 - samba? ( net-fs/samba )
202 -"
203 -DEPEND="${RDEPEND}
204 - ${PYTHON_DEPS}
205 - >=dev-util/intltool-0.35
206 - >=dev-util/gtk-doc-am-1.20
207 - sys-devel/gettext
208 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
209 - test? ( >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] )
210 - vala? ( $(vala_depend) )
211 -"
212 -
213 -if [[ ${PV} = 9999 ]]; then
214 - DEPEND="${DEPEND}
215 - doc? ( >=dev-util/gtk-doc-1.10 )"
216 -fi
217 -# test? ( www-servers/apache[ssl,apache2_modules_auth_digest,apache2_modules_alias,apache2_modules_auth_basic,
218 -# apache2_modules_authn_file,apache2_modules_authz_host,apache2_modules_authz_user,apache2_modules_dir,
219 -# apache2_modules_mime,apache2_modules_proxy,apache2_modules_proxy_http,apache2_modules_proxy_connect]
220 -# dev-lang/php[apache2,xmlrpc]
221 -# net-misc/curl
222 -# net-libs/glib-networking[ssl])"
223 -RDEPEND="${RDEPEND}
224 - abi_x86_32? (
225 - !<=app-emulation/emul-linux-x86-baselibs-20140508-r8
226 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
227 - )
228 -"
229 -
230 -src_prepare() {
231 - if [[ ${PV} = 9999 ]]; then
232 - # prevent SOUP_MAINTAINER_FLAGS from getting set
233 - mv .git .git-bck || die
234 - fi
235 -
236 - if ! use test; then
237 - # don't waste time building tests (bug #226271)
238 - sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
239 - || die "sed failed"
240 - fi
241 -
242 - # FIXME: workaround upstream not respecting --without-apache-httpd
243 - sed -e '/check: start-httpd/d' \
244 - -i tests/Makefile.am tests/Makefile.in || die
245 -
246 - vala_src_prepare
247 - gnome2_src_prepare
248 -}
249 -
250 -src_configure() {
251 - # FIXME: we need addpredict to workaround bug #324779 until
252 - # root cause (bug #249496) is solved
253 - addpredict /usr/share/snmp/mibs/.index
254 -
255 - multilib-minimal_src_configure
256 -}
257 -
258 -multilib_src_configure() {
259 - # Disable apache tests until they are usable on Gentoo, bug #326957
260 - ECONF_SOURCE=${S} \
261 - gnome2_src_configure \
262 - --disable-static \
263 - --disable-tls-check \
264 - --without-gnome \
265 - --without-apache-httpd \
266 - $(usex debug --enable-debug=yes ' ') \
267 - $(multilib_native_use_with gssapi) \
268 - $(multilib_native_use_enable introspection) \
269 - $(multilib_native_use_enable vala) \
270 - $(use_with samba ntlm-auth '${EPREFIX}'/usr/bin/ntlm_auth)
271 -
272 - if multilib_is_native_abi; then
273 - # fix gtk-doc
274 - ln -s "${S}"/docs/reference/html docs/reference/html || die
275 - fi
276 -}
277 -
278 -multilib_src_install() {
279 - gnome2_src_install
280 -}
281
282 diff --git a/net-libs/libsoup/metadata.xml b/net-libs/libsoup/metadata.xml
283 deleted file mode 100644
284 index b01383c3..00000000
285 --- a/net-libs/libsoup/metadata.xml
286 +++ /dev/null
287 @@ -1,13 +0,0 @@
288 -<?xml version="1.0" encoding="UTF-8"?>
289 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
290 -<pkgmetadata>
291 - <maintainer type="project">
292 - <email>gnome@g.o</email>
293 - <name>Gentoo GNOME Desktop</name>
294 - </maintainer>
295 - <use>
296 - <flag name="gssapi">Enable GSSAPI support</flag>
297 - <flag name="samba">Use <pkg>net-fs/samba</pkg> for NTLM Single
298 - Sign-On</flag>
299 - </use>
300 -</pkgmetadata>