1 |
commit: 7e14da15b91e2920f35e4944a676cf79f1994e3d |
2 |
Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Sep 28 20:17:01 2011 +0000 |
4 |
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Sep 28 20:17:01 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=7e14da15 |
7 |
|
8 |
x11-libs/pango: 1.29.3 → 1.29.4 |
9 |
|
10 |
Bump. Fix pango-querymodules to work when ROOT != / (bug #384671). |
11 |
Depend on a newer version of glib-2.29.5 in case future versions of glib |
12 |
drop the deprecated g_atomic_int_exchange_and_add function. |
13 |
|
14 |
--- |
15 |
.../{pango-1.29.3.ebuild => pango-1.29.4.ebuild} | 25 ++++++++------------ |
16 |
1 files changed, 10 insertions(+), 15 deletions(-) |
17 |
|
18 |
diff --git a/x11-libs/pango/pango-1.29.3.ebuild b/x11-libs/pango/pango-1.29.4.ebuild |
19 |
similarity index 81% |
20 |
rename from x11-libs/pango/pango-1.29.3.ebuild |
21 |
rename to x11-libs/pango/pango-1.29.4.ebuild |
22 |
index 0e75080..f6be33e 100644 |
23 |
--- a/x11-libs/pango/pango-1.29.3.ebuild |
24 |
+++ b/x11-libs/pango/pango-1.29.4.ebuild |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2011 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/pango-1.28.4.ebuild,v 1.8 2011/06/22 18:26:42 grobian Exp $ |
29 |
+# $Header: $ |
30 |
|
31 |
EAPI="4" |
32 |
GCONF_DEBUG="yes" |
33 |
@@ -24,7 +24,8 @@ fi |
34 |
|
35 |
IUSE="X doc +introspection test" |
36 |
|
37 |
-RDEPEND=">=dev-libs/glib-2.26.0:2 |
38 |
+# Use glib-2.29.5 for g_atomic_int_add |
39 |
+RDEPEND=">=dev-libs/glib-2.29.5:2 |
40 |
>=media-libs/fontconfig-2.5.0:1.0 |
41 |
media-libs/freetype:2 |
42 |
>=x11-libs/cairo-1.7.6[X?] |
43 |
@@ -76,19 +77,13 @@ src_prepare() { |
44 |
} |
45 |
|
46 |
pkg_postinst() { |
47 |
- if [ "${ROOT}" = "/" ] ; then |
48 |
- einfo "Generating modules listing..." |
49 |
+ einfo "Generating modules listing..." |
50 |
|
51 |
- local PANGO_CONFDIR= |
52 |
+ local PANGO_CONFDIR="${EROOT}/etc/pango" |
53 |
+ multilib_enabled && PANGO_CONFDIR+="/${CHOST}" |
54 |
|
55 |
- if multilib_enabled ; then |
56 |
- PANGO_CONFDIR="${EPREFIX}/etc/pango/${CHOST}" |
57 |
- else |
58 |
- PANGO_CONFDIR="${EPREFIX}/etc/pango" |
59 |
- fi |
60 |
- |
61 |
- mkdir -p ${PANGO_CONFDIR} |
62 |
- |
63 |
- pango-querymodules > ${PANGO_CONFDIR}/pango.modules |
64 |
- fi |
65 |
+ mkdir -p "${PANGO_CONFDIR}" |
66 |
+ pango-querymodules \ |
67 |
+ "${EROOT}"usr/$(get_libdir)/pango/1.6.0/modules/*.so \ |
68 |
+ > "${PANGO_CONFDIR}"/pango.modules |
69 |
} |