Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/pango: pango-1.28.3.ebuild ChangeLog
Date: Sun, 03 Oct 2010 22:22:33
Message-Id: 20101003222227.140BE20051@flycatcher.gentoo.org
1 eva 10/10/03 22:22:27
2
3 Modified: ChangeLog
4 Added: pango-1.28.3.ebuild
5 Log:
6 Version bump. Bug fixes, introspection updates.
7
8 (Portage version: 2.2_rc88/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.297 x11-libs/pango/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/ChangeLog?rev=1.297&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/ChangeLog?rev=1.297&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/ChangeLog?r1=1.296&r2=1.297
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/pango/ChangeLog,v
20 retrieving revision 1.296
21 retrieving revision 1.297
22 diff -u -r1.296 -r1.297
23 --- ChangeLog 2 Oct 2010 15:30:42 -0000 1.296
24 +++ ChangeLog 3 Oct 2010 22:22:26 -0000 1.297
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-libs/pango
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/ChangeLog,v 1.296 2010/10/02 15:30:42 klausman Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/ChangeLog,v 1.297 2010/10/03 22:22:26 eva Exp $
30 +
31 +*pango-1.28.3 (03 Oct 2010)
32 +
33 + 03 Oct 2010; Gilles Dartiguelongue <eva@g.o> +pango-1.28.3.ebuild:
34 + Version bump. Bug fixes, introspection updates.
35
36 02 Oct 2010; Tobias Klausmann <klausman@g.o> pango-1.28.1.ebuild:
37 Stable on alpha, bug #313331
38
39
40
41 1.1 x11-libs/pango/pango-1.28.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/pango-1.28.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/pango-1.28.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pango-1.28.3.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/pango-1.28.3.ebuild,v 1.1 2010/10/03 22:22:26 eva Exp $
51
52 EAPI="3"
53 GCONF_DEBUG="yes"
54
55 inherit autotools eutils gnome2 multilib toolchain-funcs
56
57 DESCRIPTION="Internationalized text layout and rendering library"
58 HOMEPAGE="http://www.pango.org/"
59
60 LICENSE="LGPL-2 FTL"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
63 IUSE="X doc +introspection test"
64
65 RDEPEND=">=dev-libs/glib-2.17.3
66 >=media-libs/fontconfig-2.5.0
67 media-libs/freetype:2
68 >=x11-libs/cairo-1.7.6[X?]
69 X? (
70 x11-libs/libXrender
71 x11-libs/libX11
72 x11-libs/libXft )"
73 DEPEND="${RDEPEND}
74 >=dev-util/pkgconfig-0.9
75 >=dev-util/gtk-doc-am-1.13
76 doc? (
77 >=dev-util/gtk-doc-1.13
78 ~app-text/docbook-xml-dtd-4.1.2
79 x11-libs/libXft )
80 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
81 test? (
82 >=dev-util/gtk-doc-1.13
83 ~app-text/docbook-xml-dtd-4.1.2
84 x11-libs/libXft )
85 X? ( x11-proto/xproto )"
86
87 DOCS="AUTHORS ChangeLog* NEWS README THANKS"
88
89 function multilib_enabled() {
90 has_multilib_profile || ( use x86 && [ "$(get_libdir)" = "lib32" ] )
91 }
92
93 pkg_setup() {
94 tc-export CXX
95 G2CONF="${G2CONF}
96 $(use_enable introspection)
97 $(use_with X x)"
98 }
99
100 src_prepare() {
101 gnome2_src_prepare
102
103 # make config file location host specific so that a 32bit and 64bit pango
104 # wont fight with each other on a multilib system. Fix building for
105 # emul-linux-x86-gtklibs
106 if multilib_enabled ; then
107 epatch "${FILESDIR}/${PN}-1.26.0-lib64.patch"
108 fi
109
110 eautoreconf
111 }
112
113 src_install() {
114 gnome2_src_install
115 find "${ED}/usr/$(get_libdir)/pango/1.6.0/modules" -name "*.la" -delete || die
116 }
117
118 pkg_postinst() {
119 if [ "${ROOT}" = "/" ] ; then
120 einfo "Generating modules listing..."
121
122 local PANGO_CONFDIR=
123
124 if multilib_enabled ; then
125 PANGO_CONFDIR="/etc/pango/${CHOST}"
126 else
127 PANGO_CONFDIR="/etc/pango"
128 fi
129
130 mkdir -p ${PANGO_CONFDIR}
131
132 pango-querymodules > ${PANGO_CONFDIR}/pango.modules
133 fi
134 }