1 |
eva 10/09/03 10:39:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: glib-2.24.2.ebuild |
5 |
Log: |
6 |
Version bump. Couple of fixes, notably gtester race condition. Translation updates. |
7 |
|
8 |
(Portage version: 2.2_rc73/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.420 dev-libs/glib/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.420&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.420&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/ChangeLog?r1=1.419&r2=1.420 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v |
20 |
retrieving revision 1.419 |
21 |
retrieving revision 1.420 |
22 |
diff -u -r1.419 -r1.420 |
23 |
--- ChangeLog 31 Aug 2010 12:58:59 -0000 1.419 |
24 |
+++ ChangeLog 3 Sep 2010 10:39:05 -0000 1.420 |
25 |
@@ -1,6 +1,12 @@ |
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.419 2010/08/31 12:58:59 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.420 2010/09/03 10:39:05 eva Exp $ |
30 |
+ |
31 |
+*glib-2.24.2 (03 Sep 2010) |
32 |
+ |
33 |
+ 03 Sep 2010; Gilles Dartiguelongue <eva@g.o> +glib-2.24.2.ebuild: |
34 |
+ Version bump. Couple of fixes, notably gtester race condition. Translation |
35 |
+ updates. |
36 |
|
37 |
31 Aug 2010; Pacho Ramos <pacho@g.o> -glib-2.22.2.ebuild, |
38 |
-glib-2.24.1.ebuild, glib-2.24.1-r1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-libs/glib/glib-2.24.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/glib-2.24.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/glib-2.24.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: glib-2.24.2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 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.24.2.ebuild,v 1.1 2010/09/03 10:39:05 eva Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit autotools 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/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 |
>=dev-util/gtk-doc-am-1.13 |
72 |
doc? ( |
73 |
>=dev-libs/libxslt-1.0 |
74 |
>=dev-util/gtk-doc-1.13 |
75 |
~app-text/docbook-xml-dtd-4.1.2 )" |
76 |
# eautoreconf needs gtk-doc-am |
77 |
# XXX: Consider adding test? ( sys-devel/gdb ); assert-msg-test tries to use it |
78 |
|
79 |
src_prepare() { |
80 |
if use ppc64 && use hardened ; then |
81 |
replace-flags -O[2-3] -O1 |
82 |
epatch "${FILESDIR}/glib-2.6.3-testglib-ssp.patch" |
83 |
fi |
84 |
|
85 |
if use ia64 ; then |
86 |
# Only apply for < 4.1 |
87 |
local major=$(gcc-major-version) |
88 |
local minor=$(gcc-minor-version) |
89 |
if (( major < 4 || ( major == 4 && minor == 0 ) )); then |
90 |
epatch "${FILESDIR}/glib-2.10.3-ia64-atomic-ops.patch" |
91 |
fi |
92 |
fi |
93 |
|
94 |
# Don't fail gio tests when ran without userpriv, upstream bug 552912 |
95 |
# This is only a temporary workaround, remove as soon as possible |
96 |
epatch "${FILESDIR}/${PN}-2.18.1-workaround-gio-test-failure-without-userpriv.patch" |
97 |
|
98 |
# Fix gmodule issues on fbsd; bug #184301 |
99 |
epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch |
100 |
|
101 |
# Don't check for python, hence removing the build-time python dep. |
102 |
# We remove the gdb python scripts in src_install due to bug 291328 |
103 |
epatch "${FILESDIR}/${PN}-2.24-punt-python-check.patch" |
104 |
|
105 |
# Fix test failure when upgrading from 2.22 to 2.24, upstream bug 621368 |
106 |
epatch "${FILESDIR}/${PN}-2.24-assert-test-failure.patch" |
107 |
|
108 |
# Do not try to remove files on live filesystem, bug #XXX ? |
109 |
sed 's:^\(.*"/desktop-app-info/delete".*\):/*\1*/:' \ |
110 |
-i "${S}"/gio/tests/desktop-app-info.c || die "sed failed" |
111 |
|
112 |
# Needed for the punt-python-check patch. |
113 |
# Also needed to prevent croscompile failures, see bug #267603 |
114 |
eautoreconf |
115 |
|
116 |
[[ ${CHOST} == *-freebsd* ]] && elibtoolize |
117 |
} |
118 |
|
119 |
src_configure() { |
120 |
local myconf |
121 |
|
122 |
epunt_cxx |
123 |
|
124 |
# Building with --disable-debug highly unrecommended. It will build glib in |
125 |
# an unusable form as it disables some commonly used API. Please do not |
126 |
# convert this to the use_enable form, as it results in a broken build. |
127 |
# -- compnerd (3/27/06) |
128 |
use debug && myconf="--enable-debug" |
129 |
|
130 |
# Always build static libs, see #153807 |
131 |
# Always use internal libpcre, bug #254659 |
132 |
econf ${myconf} \ |
133 |
$(use_enable xattr) \ |
134 |
$(use_enable doc man) \ |
135 |
$(use_enable doc gtk-doc) \ |
136 |
$(use_enable fam) \ |
137 |
$(use_enable selinux) \ |
138 |
--enable-static \ |
139 |
--enable-regex \ |
140 |
--with-pcre=internal \ |
141 |
--with-threads=posix |
142 |
} |
143 |
|
144 |
src_install() { |
145 |
emake DESTDIR="${D}" install || die "Installation failed" |
146 |
|
147 |
# Do not install charset.alias even if generated, leave it to libiconv |
148 |
rm -f "${D}/usr/lib/charset.alias" |
149 |
|
150 |
# Don't install gdb python macros, bug 291328 |
151 |
rm -rf "${D}/usr/share/gdb/" "${D}/usr/share/glib-2.0/gdb/" |
152 |
|
153 |
dodoc AUTHORS ChangeLog* NEWS* README || die "dodoc failed" |
154 |
} |
155 |
|
156 |
src_test() { |
157 |
unset DBUS_SESSION_BUS_ADDRESS |
158 |
export XDG_CONFIG_DIRS=/etc/xdg |
159 |
export XDG_DATA_DIRS=/usr/local/share:/usr/share |
160 |
export XDG_DATA_HOME="${T}" |
161 |
emake check || die "tests failed" |
162 |
} |