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