1 |
mgorny 14/03/01 13:33:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pango-1.36.2-r1.ebuild |
5 |
Log: |
6 |
Introduce multilib support, bug #488868. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.388 x11-libs/pango/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/ChangeLog?rev=1.388&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/ChangeLog?rev=1.388&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/ChangeLog?r1=1.387&r2=1.388 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/pango/ChangeLog,v |
20 |
retrieving revision 1.387 |
21 |
retrieving revision 1.388 |
22 |
diff -u -r1.387 -r1.388 |
23 |
--- ChangeLog 22 Feb 2014 22:47:59 -0000 1.387 |
24 |
+++ ChangeLog 1 Mar 2014 13:33:52 -0000 1.388 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for x11-libs/pango |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/ChangeLog,v 1.387 2014/02/22 22:47:59 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/ChangeLog,v 1.388 2014/03/01 13:33:52 mgorny Exp $ |
30 |
+ |
31 |
+*pango-1.36.2-r1 (01 Mar 2014) |
32 |
+ |
33 |
+ 01 Mar 2014; Michał Górny <mgorny@g.o> +pango-1.36.2-r1.ebuild: |
34 |
+ Introduce multilib support, bug #488868. |
35 |
|
36 |
22 Feb 2014; Pacho Ramos <pacho@g.o> pango-1.36.2.ebuild: |
37 |
Fix wrong commit, bug 502160 |
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-libs/pango/pango-1.36.2-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/pango-1.36.2-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pango/pango-1.36.2-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pango-1.36.2-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 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.36.2-r1.ebuild,v 1.1 2014/03/01 13:33:52 mgorny Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
GCONF_DEBUG="yes" |
54 |
GNOME2_LA_PUNT="yes" |
55 |
|
56 |
inherit autotools eutils gnome2 multilib toolchain-funcs multilib-minimal |
57 |
|
58 |
DESCRIPTION="Internationalized text layout and rendering library" |
59 |
HOMEPAGE="http://www.pango.org/" |
60 |
|
61 |
LICENSE="LGPL-2+ FTL" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
64 |
|
65 |
IUSE="X +introspection" |
66 |
|
67 |
RDEPEND=" |
68 |
>=media-libs/harfbuzz-0.9.9:=[glib(+),truetype(+),${MULTILIB_USEDEP}] |
69 |
>=dev-libs/glib-2.33.12:2[${MULTILIB_USEDEP}] |
70 |
>=media-libs/fontconfig-2.10.91:1.0=[${MULTILIB_USEDEP}] |
71 |
media-libs/freetype:2=[${MULTILIB_USEDEP}] |
72 |
>=x11-libs/cairo-1.12.10:=[X?,${MULTILIB_USEDEP}] |
73 |
introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) |
74 |
X? ( |
75 |
x11-libs/libXrender[${MULTILIB_USEDEP}] |
76 |
x11-libs/libX11[${MULTILIB_USEDEP}] |
77 |
>=x11-libs/libXft-2.0.0[${MULTILIB_USEDEP}] |
78 |
) |
79 |
abi_x86_32? ( |
80 |
!<=app-emulation/emul-linux-x86-gtklibs-20131008-r3 |
81 |
!app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)] |
82 |
) |
83 |
" |
84 |
DEPEND="${RDEPEND} |
85 |
>=dev-util/gtk-doc-am-1.15 |
86 |
virtual/pkgconfig |
87 |
X? ( x11-proto/xproto[${MULTILIB_USEDEP}] ) |
88 |
!<=sys-devel/autoconf-2.63:2.5 |
89 |
" |
90 |
|
91 |
MULTILIB_CHOST_TOOLS=( |
92 |
/usr/bin/pango-querymodules |
93 |
) |
94 |
|
95 |
src_prepare() { |
96 |
epatch "${FILESDIR}/${PN}-1.32.1-lib64.patch" |
97 |
eautoreconf |
98 |
|
99 |
gnome2_src_prepare |
100 |
} |
101 |
|
102 |
multilib_src_configure() { |
103 |
tc-export CXX |
104 |
|
105 |
ECONF_SOURCE=${S} \ |
106 |
gnome2_src_configure \ |
107 |
--with-cairo \ |
108 |
$(multilib_build_binaries \ |
109 |
&& use_enable introspection \ |
110 |
|| echo --disable-introspection) \ |
111 |
$(use_with X xft) \ |
112 |
"$(usex X --x-includes="${EPREFIX}/usr/include" "")" \ |
113 |
"$(usex X --x-libraries="${EPREFIX}/usr/$(get_libdir)" "")" |
114 |
} |
115 |
|
116 |
multilib_src_install() { |
117 |
gnome2_src_install |
118 |
|
119 |
local PANGO_CONFDIR="/etc/pango/${CHOST}" |
120 |
dodir "${PANGO_CONFDIR}" |
121 |
keepdir "${PANGO_CONFDIR}" |
122 |
} |
123 |
|
124 |
pkg_postinst() { |
125 |
gnome2_pkg_postinst |
126 |
|
127 |
multilib_pkg_postinst() { |
128 |
einfo "Generating modules listing..." |
129 |
local PANGO_CONFDIR="${EROOT}/etc/pango/${CHOST}" |
130 |
local pango_conf="${PANGO_CONFDIR}/pango.modules" |
131 |
local tmp_file=$(mktemp -t tmp_pango_ebuild.XXXXXXXXXX) |
132 |
|
133 |
# be atomic! |
134 |
if "${CHOST}"-pango-querymodules --system \ |
135 |
"${EROOT}"usr/$(get_libdir)/pango/1.8.0/modules/*$(get_modname) \ |
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 |
multilib_foreach_abi multilib_pkg_postinst |
145 |
|
146 |
if [[ ${REPLACING_VERSIONS} < 1.30.1 ]]; then |
147 |
elog "In >=${PN}-1.30.1, default configuration file locations moved from" |
148 |
elog "~/.pangorc and ~/.pangox_aliases to ~/.config/pango/pangorc and" |
149 |
elog "~/.config/pango/pangox.aliases" |
150 |
fi |
151 |
} |