Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/betagarden:master commit in: dev-libs/glib/
Date: Wed, 28 Sep 2011 10:33:44
Message-Id: 577c601bc5985703de3d1bdcb64f4018e011a58d.sping@gentoo
1 commit: 577c601bc5985703de3d1bdcb64f4018e011a58d
2 Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
3 AuthorDate: Wed Sep 28 10:32:35 2011 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 28 10:32:35 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=577c601b
7
8 dev-libs/glib: Remove 2.29.* as 2.30.0 is in the main tree by now
9
10 ---
11 dev-libs/glib/glib-2.29.14.ebuild | 199 -------------------------------------
12 dev-libs/glib/glib-2.29.4.ebuild | 199 -------------------------------------
13 2 files changed, 0 insertions(+), 398 deletions(-)
14
15 diff --git a/dev-libs/glib/glib-2.29.14.ebuild b/dev-libs/glib/glib-2.29.14.ebuild
16 deleted file mode 100644
17 index b463b10..0000000
18 --- a/dev-libs/glib/glib-2.29.14.ebuild
19 +++ /dev/null
20 @@ -1,199 +0,0 @@
21 -# Copyright 1999-2011 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.28.8.ebuild,v 1.10 2011/07/29 04:13:33 zmedico Exp $
24 -
25 -EAPI="3"
26 -GNOME_TARBALL_SUFFIX="bz2"
27 -PYTHON_DEPEND="2"
28 -
29 -inherit autotools gnome.org libtool eutils flag-o-matic pax-utils python virtualx
30 -
31 -DESCRIPTION="The GLib library of C routines"
32 -HOMEPAGE="http://www.gtk.org/"
33 -SRC_URI="${SRC_URI}
34 - http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf
35 -
36 -LICENSE="LGPL-2"
37 -SLOT="2"
38 -KEYWORDS="" # blind-bump + patches disabled
39 -IUSE="debug doc fam +introspection selinux +static-libs test xattr"
40 -
41 -RDEPEND="virtual/libiconv
42 - sys-libs/zlib
43 - xattr? ( sys-apps/attr )
44 - fam? ( virtual/fam )"
45 -DEPEND="${RDEPEND}
46 - >=sys-devel/gettext-0.11
47 - >=dev-util/gtk-doc-am-1.13
48 - doc? (
49 - >=dev-libs/libxslt-1.0
50 - >=dev-util/gtk-doc-1.13
51 - ~app-text/docbook-xml-dtd-4.1.2 )
52 - test? ( dev-util/pkgconfig
53 - >=sys-apps/dbus-1.2.14 )
54 - !<dev-util/gtk-doc-1.15-r2"
55 -PDEPEND="introspection? ( dev-libs/gobject-introspection )
56 - !<gnome-base/gvfs-1.6.4-r990" # Earlier versions do not work with glib
57 -
58 -# XXX: Consider adding test? ( sys-devel/gdb ); assert-msg-test tries to use it
59 -
60 -pkg_setup() {
61 - python_set_active_version 2
62 -}
63 -
64 -src_prepare() {
65 - mv -vf "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die
66 -
67 - if use ia64 ; then
68 - # Only apply for < 4.1
69 - local major=$(gcc-major-version)
70 - local minor=$(gcc-minor-version)
71 - if (( major < 4 || ( major == 4 && minor == 0 ) )); then
72 - epatch "${FILESDIR}/glib-2.10.3-ia64-atomic-ops.patch"
73 - fi
74 - fi
75 -
76 - # Don't fail gio tests when ran without userpriv, upstream bug 552912
77 - # This is only a temporary workaround, remove as soon as possible
78 - ########## epatch "${FILESDIR}/${PN}-2.18.1-workaround-gio-test-failure-without-userpriv.patch"
79 -
80 - # Fix gmodule issues on fbsd; bug #184301
81 - ######## epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch
82 -
83 - # Don't check for python, hence removing the build-time python dep.
84 - # We remove the gdb python scripts in src_install due to bug 291328
85 - ######### epatch "${FILESDIR}/${PN}-2.25-punt-python-check.patch"
86 -
87 - # Fix test failure when upgrading from 2.22 to 2.24, upstream bug 621368
88 - ######## epatch "${FILESDIR}/${PN}-2.24-assert-test-failure.patch"
89 -
90 - # Do not try to remove files on live filesystem, upstream bug #619274
91 - sed 's:^\(.*"/desktop-app-info/delete".*\):/*\1*/:' \
92 - -i "${S}"/gio/tests/desktop-app-info.c || die "sed failed"
93 -
94 - # Disable failing tests, upstream bug #???
95 - ########## epatch "${FILESDIR}/${PN}-2.26.0-disable-locale-sensitive-test.patch"
96 - ########### epatch "${FILESDIR}/${PN}-2.26.0-disable-volumemonitor-broken-test.patch"
97 -
98 - if ! use test; then
99 - # don't waste time building tests
100 - sed 's/^\(.*\SUBDIRS .*\=.*\)tests\(.*\)$/\1\2/' -i $(find . -name Makefile.am -o -name Makefile.in) || die
101 - else
102 - # Disable tests requiring dev-util/desktop-file-utils when not installed, bug #286629
103 - if ! has_version dev-util/desktop-file-utils ; then
104 - ewarn "Some tests will be skipped due dev-util/desktop-file-utils not being present on your system,"
105 - ewarn "think on installing it to get these tests run."
106 - sed -i -e "/appinfo\/associations/d" gio/tests/appinfo.c || die
107 - sed -i -e "/desktop-app-info\/default/d" gio/tests/desktop-app-info.c || die
108 - sed -i -e "/desktop-app-info\/fallback/d" gio/tests/desktop-app-info.c || die
109 - sed -i -e "/desktop-app-info\/lastused/d" gio/tests/desktop-app-info.c || die
110 - fi
111 -
112 - # Disable tests requiring dev-python/dbus-python, bug #349236
113 - if ! has_version dev-python/dbus-python ; then
114 - ewarn "Some tests will be skipped due dev-python/dbus-python not being present on your system,"
115 - ewarn "think on installing it to get these tests run."
116 - sed -i -e "/connection\/filter/d" gio/tests/gdbus-connection.c || die
117 - sed -i -e "/connection\/large_message/d" gio/tests/gdbus-connection-slow.c || die
118 - sed -i -e "/gdbus\/proxy/d" gio/tests/gdbus-proxy.c || die
119 - sed -i -e "/gdbus\/bus-watch-name/d" gio/tests/gdbus-names.c || die
120 - sed -i -e "/gdbus\/proxy-well-known-name/d" gio/tests/gdbus-proxy-well-known-name.c || die
121 - sed -i -e "/gdbus\/introspection-parser/d" gio/tests/gdbus-introspection.c || die
122 - sed -i -e "/gdbus\/method-calls-in-thread/d" gio/tests/gdbus-threading.c || die
123 - fi
124 - fi
125 -
126 - # Needed for the punt-python-check patch, disabling timeout test
127 - # Also needed to prevent croscompile failures, see bug #267603
128 - AT_M4DIR="${WORKDIR}" eautoreconf
129 -
130 - [[ ${CHOST} == *-freebsd* ]] && elibtoolize
131 -
132 - epunt_cxx
133 -}
134 -
135 -src_configure() {
136 - local myconf
137 -
138 - # Building with --disable-debug highly unrecommended. It will build glib in
139 - # an unusable form as it disables some commonly used API. Please do not
140 - # convert this to the use_enable form, as it results in a broken build.
141 - # -- compnerd (3/27/06)
142 - use debug && myconf="--enable-debug"
143 -
144 - # Always use internal libpcre, bug #254659
145 - econf ${myconf} \
146 - $(use_enable xattr) \
147 - $(use_enable doc man) \
148 - $(use_enable doc gtk-doc) \
149 - $(use_enable fam) \
150 - $(use_enable selinux) \
151 - $(use_enable static-libs static) \
152 - --enable-regex \
153 - --with-pcre=internal \
154 - --with-threads=posix \
155 - --disable-dtrace \
156 - --disable-systemtap
157 -}
158 -
159 -src_install() {
160 - local f
161 - emake DESTDIR="${D}" install || die "Installation failed"
162 -
163 - # Do not install charset.alias even if generated, leave it to libiconv
164 - rm -f "${ED}/usr/lib/charset.alias"
165 -
166 - # Don't install gdb python macros, bug 291328
167 - rm -rf "${ED}/usr/share/gdb/" "${ED}/usr/share/glib-2.0/gdb/"
168 -
169 - dodoc AUTHORS ChangeLog* NEWS* README || die "dodoc failed"
170 -
171 - insinto /usr/share/bash-completion
172 - for f in gdbus gsettings; do
173 - newins "${ED}/etc/bash_completion.d/${f}-bash-completion.sh" ${f} || die
174 - done
175 - rm -rf "${ED}/etc"
176 -}
177 -
178 -src_test() {
179 - unset DBUS_SESSION_BUS_ADDRESS
180 - export XDG_CONFIG_DIRS=/etc/xdg
181 - export XDG_DATA_DIRS=/usr/local/share:/usr/share
182 - export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
183 - export XDG_DATA_HOME="${T}"
184 - unset GSETTINGS_BACKEND # bug 352451
185 -
186 - # Related test is a bit nitpicking
187 - mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
188 - chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
189 -
190 - # Hardened: gdb needs this, bug #338891
191 - if host-is-pax ; then
192 - pax-mark -mr "${S}"/tests/.libs/assert-msg-test \
193 - || die "Hardened adjustment failed"
194 - fi
195 -
196 - # Need X for dbus-launch session X11 initialization
197 - Xemake check || die "tests failed"
198 -}
199 -
200 -pkg_preinst() {
201 - # Only give the introspection message if:
202 - # * The user has it enabled
203 - # * Has glib already installed
204 - # * Previous version was different from new version
205 - if use introspection && has_version "${CATEGORY}/${PN}"; then
206 - if ! has_version "=${CATEGORY}/${PF}"; then
207 - ewarn "You must rebuild gobject-introspection so that the installed"
208 - ewarn "typelibs and girs are regenerated for the new APIs in glib"
209 - fi
210 - fi
211 -}
212 -
213 -pkg_postinst() {
214 - # Inform users about possible breakage when updating glib and not dbus-glib, bug #297483
215 - if has_version dev-libs/dbus-glib; then
216 - ewarn "If you experience a breakage after updating dev-libs/glib try"
217 - ewarn "rebuilding dev-libs/dbus-glib"
218 - fi
219 -}
220
221 diff --git a/dev-libs/glib/glib-2.29.4.ebuild b/dev-libs/glib/glib-2.29.4.ebuild
222 deleted file mode 100644
223 index b463b10..0000000
224 --- a/dev-libs/glib/glib-2.29.4.ebuild
225 +++ /dev/null
226 @@ -1,199 +0,0 @@
227 -# Copyright 1999-2011 Gentoo Foundation
228 -# Distributed under the terms of the GNU General Public License v2
229 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.28.8.ebuild,v 1.10 2011/07/29 04:13:33 zmedico Exp $
230 -
231 -EAPI="3"
232 -GNOME_TARBALL_SUFFIX="bz2"
233 -PYTHON_DEPEND="2"
234 -
235 -inherit autotools gnome.org libtool eutils flag-o-matic pax-utils python virtualx
236 -
237 -DESCRIPTION="The GLib library of C routines"
238 -HOMEPAGE="http://www.gtk.org/"
239 -SRC_URI="${SRC_URI}
240 - http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf
241 -
242 -LICENSE="LGPL-2"
243 -SLOT="2"
244 -KEYWORDS="" # blind-bump + patches disabled
245 -IUSE="debug doc fam +introspection selinux +static-libs test xattr"
246 -
247 -RDEPEND="virtual/libiconv
248 - sys-libs/zlib
249 - xattr? ( sys-apps/attr )
250 - fam? ( virtual/fam )"
251 -DEPEND="${RDEPEND}
252 - >=sys-devel/gettext-0.11
253 - >=dev-util/gtk-doc-am-1.13
254 - doc? (
255 - >=dev-libs/libxslt-1.0
256 - >=dev-util/gtk-doc-1.13
257 - ~app-text/docbook-xml-dtd-4.1.2 )
258 - test? ( dev-util/pkgconfig
259 - >=sys-apps/dbus-1.2.14 )
260 - !<dev-util/gtk-doc-1.15-r2"
261 -PDEPEND="introspection? ( dev-libs/gobject-introspection )
262 - !<gnome-base/gvfs-1.6.4-r990" # Earlier versions do not work with glib
263 -
264 -# XXX: Consider adding test? ( sys-devel/gdb ); assert-msg-test tries to use it
265 -
266 -pkg_setup() {
267 - python_set_active_version 2
268 -}
269 -
270 -src_prepare() {
271 - mv -vf "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die
272 -
273 - if use ia64 ; then
274 - # Only apply for < 4.1
275 - local major=$(gcc-major-version)
276 - local minor=$(gcc-minor-version)
277 - if (( major < 4 || ( major == 4 && minor == 0 ) )); then
278 - epatch "${FILESDIR}/glib-2.10.3-ia64-atomic-ops.patch"
279 - fi
280 - fi
281 -
282 - # Don't fail gio tests when ran without userpriv, upstream bug 552912
283 - # This is only a temporary workaround, remove as soon as possible
284 - ########## epatch "${FILESDIR}/${PN}-2.18.1-workaround-gio-test-failure-without-userpriv.patch"
285 -
286 - # Fix gmodule issues on fbsd; bug #184301
287 - ######## epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch
288 -
289 - # Don't check for python, hence removing the build-time python dep.
290 - # We remove the gdb python scripts in src_install due to bug 291328
291 - ######### epatch "${FILESDIR}/${PN}-2.25-punt-python-check.patch"
292 -
293 - # Fix test failure when upgrading from 2.22 to 2.24, upstream bug 621368
294 - ######## epatch "${FILESDIR}/${PN}-2.24-assert-test-failure.patch"
295 -
296 - # Do not try to remove files on live filesystem, upstream bug #619274
297 - sed 's:^\(.*"/desktop-app-info/delete".*\):/*\1*/:' \
298 - -i "${S}"/gio/tests/desktop-app-info.c || die "sed failed"
299 -
300 - # Disable failing tests, upstream bug #???
301 - ########## epatch "${FILESDIR}/${PN}-2.26.0-disable-locale-sensitive-test.patch"
302 - ########### epatch "${FILESDIR}/${PN}-2.26.0-disable-volumemonitor-broken-test.patch"
303 -
304 - if ! use test; then
305 - # don't waste time building tests
306 - sed 's/^\(.*\SUBDIRS .*\=.*\)tests\(.*\)$/\1\2/' -i $(find . -name Makefile.am -o -name Makefile.in) || die
307 - else
308 - # Disable tests requiring dev-util/desktop-file-utils when not installed, bug #286629
309 - if ! has_version dev-util/desktop-file-utils ; then
310 - ewarn "Some tests will be skipped due dev-util/desktop-file-utils not being present on your system,"
311 - ewarn "think on installing it to get these tests run."
312 - sed -i -e "/appinfo\/associations/d" gio/tests/appinfo.c || die
313 - sed -i -e "/desktop-app-info\/default/d" gio/tests/desktop-app-info.c || die
314 - sed -i -e "/desktop-app-info\/fallback/d" gio/tests/desktop-app-info.c || die
315 - sed -i -e "/desktop-app-info\/lastused/d" gio/tests/desktop-app-info.c || die
316 - fi
317 -
318 - # Disable tests requiring dev-python/dbus-python, bug #349236
319 - if ! has_version dev-python/dbus-python ; then
320 - ewarn "Some tests will be skipped due dev-python/dbus-python not being present on your system,"
321 - ewarn "think on installing it to get these tests run."
322 - sed -i -e "/connection\/filter/d" gio/tests/gdbus-connection.c || die
323 - sed -i -e "/connection\/large_message/d" gio/tests/gdbus-connection-slow.c || die
324 - sed -i -e "/gdbus\/proxy/d" gio/tests/gdbus-proxy.c || die
325 - sed -i -e "/gdbus\/bus-watch-name/d" gio/tests/gdbus-names.c || die
326 - sed -i -e "/gdbus\/proxy-well-known-name/d" gio/tests/gdbus-proxy-well-known-name.c || die
327 - sed -i -e "/gdbus\/introspection-parser/d" gio/tests/gdbus-introspection.c || die
328 - sed -i -e "/gdbus\/method-calls-in-thread/d" gio/tests/gdbus-threading.c || die
329 - fi
330 - fi
331 -
332 - # Needed for the punt-python-check patch, disabling timeout test
333 - # Also needed to prevent croscompile failures, see bug #267603
334 - AT_M4DIR="${WORKDIR}" eautoreconf
335 -
336 - [[ ${CHOST} == *-freebsd* ]] && elibtoolize
337 -
338 - epunt_cxx
339 -}
340 -
341 -src_configure() {
342 - local myconf
343 -
344 - # Building with --disable-debug highly unrecommended. It will build glib in
345 - # an unusable form as it disables some commonly used API. Please do not
346 - # convert this to the use_enable form, as it results in a broken build.
347 - # -- compnerd (3/27/06)
348 - use debug && myconf="--enable-debug"
349 -
350 - # Always use internal libpcre, bug #254659
351 - econf ${myconf} \
352 - $(use_enable xattr) \
353 - $(use_enable doc man) \
354 - $(use_enable doc gtk-doc) \
355 - $(use_enable fam) \
356 - $(use_enable selinux) \
357 - $(use_enable static-libs static) \
358 - --enable-regex \
359 - --with-pcre=internal \
360 - --with-threads=posix \
361 - --disable-dtrace \
362 - --disable-systemtap
363 -}
364 -
365 -src_install() {
366 - local f
367 - emake DESTDIR="${D}" install || die "Installation failed"
368 -
369 - # Do not install charset.alias even if generated, leave it to libiconv
370 - rm -f "${ED}/usr/lib/charset.alias"
371 -
372 - # Don't install gdb python macros, bug 291328
373 - rm -rf "${ED}/usr/share/gdb/" "${ED}/usr/share/glib-2.0/gdb/"
374 -
375 - dodoc AUTHORS ChangeLog* NEWS* README || die "dodoc failed"
376 -
377 - insinto /usr/share/bash-completion
378 - for f in gdbus gsettings; do
379 - newins "${ED}/etc/bash_completion.d/${f}-bash-completion.sh" ${f} || die
380 - done
381 - rm -rf "${ED}/etc"
382 -}
383 -
384 -src_test() {
385 - unset DBUS_SESSION_BUS_ADDRESS
386 - export XDG_CONFIG_DIRS=/etc/xdg
387 - export XDG_DATA_DIRS=/usr/local/share:/usr/share
388 - export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
389 - export XDG_DATA_HOME="${T}"
390 - unset GSETTINGS_BACKEND # bug 352451
391 -
392 - # Related test is a bit nitpicking
393 - mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
394 - chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
395 -
396 - # Hardened: gdb needs this, bug #338891
397 - if host-is-pax ; then
398 - pax-mark -mr "${S}"/tests/.libs/assert-msg-test \
399 - || die "Hardened adjustment failed"
400 - fi
401 -
402 - # Need X for dbus-launch session X11 initialization
403 - Xemake check || die "tests failed"
404 -}
405 -
406 -pkg_preinst() {
407 - # Only give the introspection message if:
408 - # * The user has it enabled
409 - # * Has glib already installed
410 - # * Previous version was different from new version
411 - if use introspection && has_version "${CATEGORY}/${PN}"; then
412 - if ! has_version "=${CATEGORY}/${PF}"; then
413 - ewarn "You must rebuild gobject-introspection so that the installed"
414 - ewarn "typelibs and girs are regenerated for the new APIs in glib"
415 - fi
416 - fi
417 -}
418 -
419 -pkg_postinst() {
420 - # Inform users about possible breakage when updating glib and not dbus-glib, bug #297483
421 - if has_version dev-libs/dbus-glib; then
422 - ewarn "If you experience a breakage after updating dev-libs/glib try"
423 - ewarn "rebuilding dev-libs/dbus-glib"
424 - fi
425 -}