Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/pango: ChangeLog pango-1.30.1.ebuild
Date: Thu, 07 Jun 2012 07:21:48
Message-Id: 20120607072133.1F08C2004B@flycatcher.gentoo.org
1 tetromino 12/06/07 07:21:33
2
3 Modified: ChangeLog
4 Added: pango-1.30.1.ebuild
5 Log:
6 Version bump, user configuration files are now in ~/.config/pango by default.
7
8 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.348 x11-libs/pango/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/ChangeLog?rev=1.348&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/ChangeLog?rev=1.348&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/ChangeLog?r1=1.347&r2=1.348
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/pango/ChangeLog,v
20 retrieving revision 1.347
21 retrieving revision 1.348
22 diff -u -r1.347 -r1.348
23 --- ChangeLog 20 May 2012 19:31:39 -0000 1.347
24 +++ ChangeLog 7 Jun 2012 07:21:33 -0000 1.348
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-libs/pango
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/ChangeLog,v 1.347 2012/05/20 19:31:39 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/ChangeLog,v 1.348 2012/06/07 07:21:33 tetromino Exp $
30 +
31 +*pango-1.30.1 (07 Jun 2012)
32 +
33 + 07 Jun 2012; Alexandre Rostovtsev <tetromino@g.o>
34 + +pango-1.30.1.ebuild, +files/pango-1.30.1-coretext-hash.patch:
35 + Version bump, user configuration files are now in ~/.config/pango by default.
36
37 20 May 2012; Samuli Suominen <ssuominen@g.o> pango-1.29.4.ebuild:
38 ppc stable wrt #407643
39
40
41
42 1.1 x11-libs/pango/pango-1.30.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/pango-1.30.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/pango-1.30.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pango-1.30.1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/pango-1.30.1.ebuild,v 1.1 2012/06/07 07:21:33 tetromino Exp $
52
53 EAPI="4"
54 GCONF_DEBUG="yes"
55 GNOME2_LA_PUNT="yes"
56
57 inherit autotools eutils gnome2 multilib toolchain-funcs
58
59 DESCRIPTION="Internationalized text layout and rendering library"
60 HOMEPAGE="http://www.pango.org/"
61
62 LICENSE="LGPL-2 FTL"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
65
66 IUSE="X doc +introspection test"
67
68 # Upstream bug #643802
69 REQUIRED_USE="doc? ( X )"
70
71 RDEPEND=">=dev-libs/glib-2.31.0:2
72 >=media-libs/fontconfig-2.5.0:1.0
73 media-libs/freetype:2
74 >=x11-libs/cairo-1.7.6[X?]
75 X? (
76 x11-libs/libXrender
77 x11-libs/libX11
78 >=x11-libs/libXft-2.0.0 )"
79 DEPEND="${RDEPEND}
80 virtual/pkgconfig
81 >=dev-util/gtk-doc-am-1.13
82 doc? (
83 >=dev-util/gtk-doc-1.13
84 ~app-text/docbook-xml-dtd-4.1.2
85 x11-libs/libXft )
86 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
87 test? (
88 >=dev-util/gtk-doc-1.13
89 ~app-text/docbook-xml-dtd-4.1.2
90 x11-libs/libXft )
91 X? ( x11-proto/xproto )
92 !<=sys-devel/autoconf-2.63:2.5"
93
94 function multilib_enabled() {
95 has_multilib_profile || ( use x86 && [ "$(get_libdir)" = "lib32" ] )
96 }
97
98 pkg_setup() {
99 tc-export CXX
100 G2CONF="${G2CONF}
101 $(use_enable introspection)
102 $(use_with X x)
103 $(use X && echo --x-includes=${EPREFIX}/usr/include)
104 $(use X && echo --x-libraries=${EPREFIX}/usr/$(get_libdir))"
105 DOCS="AUTHORS ChangeLog* NEWS README THANKS"
106 }
107
108 src_prepare() {
109 # In next release
110 epatch "${FILESDIR}/${P}-coretext-hash.patch"
111
112 # make config file location host specific so that a 32bit and 64bit pango
113 # wont fight with each other on a multilib system. Fix building for
114 # emul-linux-x86-gtklibs
115 if multilib_enabled ; then
116 epatch "${FILESDIR}/${PN}-1.26.0-lib64.patch"
117 eautoreconf
118 fi
119
120 gnome2_src_prepare
121 }
122
123 pkg_postinst() {
124 einfo "Generating modules listing..."
125
126 local PANGO_CONFDIR="${EROOT}/etc/pango"
127 multilib_enabled && PANGO_CONFDIR+="/${CHOST}"
128
129 mkdir -p "${PANGO_CONFDIR}"
130 local pango_conf="${PANGO_CONFDIR}/pango.modules"
131 local tmp_file=$(mktemp -t tmp.XXXXXXXXXXgdk_pixbuf_ebuild)
132
133 # be atomic!
134 if pango-querymodules --system \
135 "${EROOT}"usr/$(get_libdir)/pango/1.6.0/modules/*.so \
136 > "${tmp_file}"; then
137 cat "${tmp_file}" > "${pango_conf}" || {
138 rm "${tmp_file}"; die; }
139 else
140 ewarn "Cannot update pango.modules, file generation failed"
141 fi
142 rm "${tmp_file}"
143
144 elog "In >=${PN}-1.30.1, default configuration file locations moved from"
145 elog "~/.pangorc and ~/.pangox_aliases to ~/.config/pango/pangorc and"
146 elog "~/.config/pango/pangox.aliases"
147 }