Gentoo Archives: gentoo-commits

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