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.20.4.ebuild glib-2.20.2.ebuild
Date: Thu, 09 Jul 2009 20:19:33
Message-Id: E1MP05b-0002ac-Ac@stork.gentoo.org
1 eva 09/07/09 20:19:31
2
3 Modified: ChangeLog
4 Added: glib-2.20.4.ebuild
5 Removed: glib-2.20.2.ebuild
6 Log:
7 Version bump. Bug fixes and translation updates.
8 (Portage version: 2.2_rc33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.372 dev-libs/glib/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.372&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.372&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?r1=1.371&r2=1.372
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v
20 retrieving revision 1.371
21 retrieving revision 1.372
22 diff -u -r1.371 -r1.372
23 --- ChangeLog 8 Jun 2009 22:00:41 -0000 1.371
24 +++ ChangeLog 9 Jul 2009 20:19:31 -0000 1.372
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/glib
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.371 2009/06/08 22:00:41 eva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.372 2009/07/09 20:19:31 eva Exp $
30 +
31 +*glib-2.20.4 (09 Jul 2009)
32 +
33 + 09 Jul 2009; Gilles Dartiguelongue <eva@g.o> -glib-2.20.2.ebuild,
34 + +glib-2.20.4.ebuild:
35 + Version bump. Bug fixes and translation updates.
36
37 *glib-2.20.3 (08 Jun 2009)
38
39
40
41
42 1.1 dev-libs/glib/glib-2.20.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/glib-2.20.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/glib-2.20.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: glib-2.20.4.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.20.4.ebuild,v 1.1 2009/07/09 20:19:31 eva Exp $
52
53 EAPI="2"
54
55 inherit gnome.org libtool eutils flag-o-matic
56
57 DESCRIPTION="The GLib library of C routines"
58 HOMEPAGE="http://www.gtk.org/"
59
60 LICENSE="LGPL-2"
61 SLOT="2"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
63 IUSE="debug doc fam hardened selinux xattr"
64
65 RDEPEND="virtual/libc
66 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 [[ ${CHOST} == *-freebsd* ]] && elibtoolize
100 }
101
102 src_configure() {
103 local myconf
104
105 epunt_cxx
106
107 # Building with --disable-debug highly unrecommended. It will build glib in
108 # an unusable form as it disables some commonly used API. Please do not
109 # convert this to the use_enable form, as it results in a broken build.
110 # -- compnerd (3/27/06)
111 use debug && myconf="--enable-debug"
112
113 # Always build static libs, see #153807
114 # Always use internal libpcre, bug #254659
115 econf ${myconf} \
116 $(use_enable xattr) \
117 $(use_enable doc man) \
118 $(use_enable doc gtk-doc) \
119 $(use_enable fam) \
120 $(use_enable selinux) \
121 --enable-static \
122 --enable-regex \
123 --with-pcre=internal \
124 --with-threads=posix
125 }
126
127 src_install() {
128 emake DESTDIR="${D}" install || die "Installation failed"
129
130 # Do not install charset.alias even if generated, leave it to libiconv
131 rm -f "${D}/usr/lib/charset.alias"
132
133 dodoc AUTHORS ChangeLog* NEWS* README || die "dodoc failed"
134 }
135
136 src_test() {
137 unset DBUS_SESSION_BUS_ADDRESS
138 export XDG_CONFIG_DIRS=/etc/xdg
139 export XDG_DATA_DIRS=/usr/local/share:/usr/share
140 emake check || die "tests failed"
141 }