Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/glib: ChangeLog glib-2.22.4.ebuild glib-2.20.5.ebuild
Date: Thu, 28 Jan 2010 23:54:56
Message-Id: E1NaeCK-0000MC-CN@stork.gentoo.org
1 eva 10/01/28 23:54:52
2
3 Modified: ChangeLog
4 Added: glib-2.22.4.ebuild
5 Removed: glib-2.20.5.ebuild
6 Log:
7 Version bump. Bug fixes, and notably bug #297483. Disable test affecting live filesystem, bug #297684.
8 (Portage version: 2.2_rc61/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.398 dev-libs/glib/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.398&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.398&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?r1=1.397&r2=1.398
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v
20 retrieving revision 1.397
21 retrieving revision 1.398
22 diff -u -r1.397 -r1.398
23 --- ChangeLog 19 Jan 2010 17:17:43 -0000 1.397
24 +++ ChangeLog 28 Jan 2010 23:54:51 -0000 1.398
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-libs/glib
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.397 2010/01/19 17:17:43 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.398 2010/01/28 23:54:51 eva Exp $
30 +
31 +*glib-2.22.4 (28 Jan 2010)
32 +
33 + 28 Jan 2010; Gilles Dartiguelongue <eva@g.o> -glib-2.20.5.ebuild,
34 + +glib-2.22.4.ebuild:
35 + Version bump. Bug fixes, and notably bug #297483. Disable test affecting
36 + live filesystem, bug #297684.
37
38 19 Jan 2010; Raúl Porcel <armin76@g.o> glib-2.22.2.ebuild:
39 arm stable
40
41
42
43 1.1 dev-libs/glib/glib-2.22.4.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/glib-2.22.4.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/glib-2.22.4.ebuild?rev=1.1&content-type=text/plain
47
48 Index: glib-2.22.4.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.22.4.ebuild,v 1.1 2010/01/28 23:54:51 eva Exp $
53
54 EAPI="2"
55
56 inherit gnome.org libtool eutils flag-o-matic
57
58 DESCRIPTION="The GLib library of C routines"
59 HOMEPAGE="http://www.gtk.org/"
60
61 LICENSE="LGPL-2"
62 SLOT="2"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
64 IUSE="debug doc fam hardened selinux xattr"
65
66 RDEPEND="virtual/libiconv
67 xattr? ( sys-apps/attr )
68 fam? ( virtual/fam )"
69 DEPEND="${RDEPEND}
70 >=dev-util/pkgconfig-0.16
71 >=sys-devel/gettext-0.11
72 doc? (
73 >=dev-libs/libxslt-1.0
74 >=dev-util/gtk-doc-1.11
75 ~app-text/docbook-xml-dtd-4.1.2 )"
76
77 src_prepare() {
78 if use ppc64 && use hardened ; then
79 replace-flags -O[2-3] -O1
80 epatch "${FILESDIR}/glib-2.6.3-testglib-ssp.patch"
81 fi
82
83 if use ia64 ; then
84 # Only apply for < 4.1
85 local major=$(gcc-major-version)
86 local minor=$(gcc-minor-version)
87 if (( major < 4 || ( major == 4 && minor == 0 ) )); then
88 epatch "${FILESDIR}/glib-2.10.3-ia64-atomic-ops.patch"
89 fi
90 fi
91
92 # Don't fail gio tests when ran without userpriv, upstream bug 552912
93 # This is only a temporary workaround, remove as soon as possible
94 epatch "${FILESDIR}/${PN}-2.18.1-workaround-gio-test-failure-without-userpriv.patch"
95
96 # Fix gmodule issues on fbsd; bug #184301
97 epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch
98
99 # Do not try to remove files on live filesystem, bug #XXX ?
100 sed 's:^\(.*"/desktop-app-info/delete".*\):/*\1*/:' \
101 -i "${S}"/gio/tests/desktop-app-info.c || die "sed failed"
102
103 [[ ${CHOST} == *-freebsd* ]] && elibtoolize
104 }
105
106 src_configure() {
107 local myconf
108
109 epunt_cxx
110
111 # Building with --disable-debug highly unrecommended. It will build glib in
112 # an unusable form as it disables some commonly used API. Please do not
113 # convert this to the use_enable form, as it results in a broken build.
114 # -- compnerd (3/27/06)
115 use debug && myconf="--enable-debug"
116
117 # Always build static libs, see #153807
118 # Always use internal libpcre, bug #254659
119 econf ${myconf} \
120 $(use_enable xattr) \
121 $(use_enable doc man) \
122 $(use_enable doc gtk-doc) \
123 $(use_enable fam) \
124 $(use_enable selinux) \
125 --enable-static \
126 --enable-regex \
127 --with-pcre=internal \
128 --with-threads=posix
129 }
130
131 src_install() {
132 emake DESTDIR="${D}" install || die "Installation failed"
133
134 # Do not install charset.alias even if generated, leave it to libiconv
135 rm -f "${D}/usr/lib/charset.alias"
136
137 dodoc AUTHORS ChangeLog* NEWS* README || die "dodoc failed"
138 }
139
140 src_test() {
141 unset DBUS_SESSION_BUS_ADDRESS
142 export XDG_CONFIG_DIRS=/etc/xdg
143 export XDG_DATA_DIRS=/usr/local/share:/usr/share
144 export XDG_DATA_HOME="${T}"
145 emake check || die "tests failed"
146 }