1 |
remi 08/10/01 21:49:03 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gtk+-2.14.3-r2.ebuild |
5 |
Log: |
6 |
x11-libs/gtk+: fix broken diacritics on intl keyboards (see gnome bug #554192) |
7 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r3 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.401 x11-libs/gtk+/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?rev=1.401&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?rev=1.401&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?r1=1.400&r2=1.401 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v |
19 |
retrieving revision 1.400 |
20 |
retrieving revision 1.401 |
21 |
diff -u -r1.400 -r1.401 |
22 |
--- ChangeLog 29 Sep 2008 07:40:36 -0000 1.400 |
23 |
+++ ChangeLog 1 Oct 2008 21:49:03 -0000 1.401 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for x11-libs/gtk+ |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.400 2008/09/29 07:40:36 leio Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.401 2008/10/01 21:49:03 remi Exp $ |
29 |
+ |
30 |
+*gtk+-2.14.3-r2 (01 Oct 2008) |
31 |
+ |
32 |
+ 01 Oct 2008; RĂ©mi Cardona <remi@g.o> |
33 |
+ +files/gtk+-2.14.3-fix-combining-broken-diacritics.patch, |
34 |
+ +files/gtk+-2.14.3-reorder-compose-key-table-order.patch, |
35 |
+ +gtk+-2.14.3-r2.ebuild: |
36 |
+ fix broken diacritics on intl keyboards (see gnome bug #554192) |
37 |
|
38 |
*gtk+-2.14.3-r1 (29 Sep 2008) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 x11-libs/gtk+/gtk+-2.14.3-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/gtk+-2.14.3-r2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/gtk+-2.14.3-r2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gtk+-2.14.3-r2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.14.3-r2.ebuild,v 1.1 2008/10/01 21:49:03 remi Exp $ |
53 |
|
54 |
WANT_AUTOMAKE="1.7" |
55 |
|
56 |
inherit gnome.org flag-o-matic eutils libtool virtualx |
57 |
|
58 |
DESCRIPTION="Gimp ToolKit +" |
59 |
HOMEPAGE="http://www.gtk.org/" |
60 |
|
61 |
LICENSE="LGPL-2" |
62 |
SLOT="2" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
64 |
IUSE="cups debug doc jpeg jpeg2k tiff vim-syntax xinerama" |
65 |
|
66 |
RDEPEND="x11-libs/libXrender |
67 |
x11-libs/libX11 |
68 |
x11-libs/libXi |
69 |
x11-libs/libXt |
70 |
x11-libs/libXext |
71 |
>=x11-libs/libXrandr-1.2 |
72 |
x11-libs/libXcursor |
73 |
x11-libs/libXfixes |
74 |
x11-libs/libXcomposite |
75 |
x11-libs/libXdamage |
76 |
xinerama? ( x11-libs/libXinerama ) |
77 |
>=dev-libs/glib-2.17.6 |
78 |
>=x11-libs/pango-1.20 |
79 |
>=dev-libs/atk-1.13 |
80 |
>=x11-libs/cairo-1.6 |
81 |
media-libs/fontconfig |
82 |
x11-misc/shared-mime-info |
83 |
>=media-libs/libpng-1.2.1 |
84 |
cups? ( net-print/cups ) |
85 |
jpeg? ( >=media-libs/jpeg-6b-r2 ) |
86 |
jpeg2k? ( media-libs/jasper ) |
87 |
tiff? ( >=media-libs/tiff-3.5.7 ) |
88 |
!<gnome-base/gail-1000" |
89 |
DEPEND="${RDEPEND} |
90 |
>=dev-util/pkgconfig-0.9 |
91 |
x11-proto/xextproto |
92 |
x11-proto/xproto |
93 |
x11-proto/inputproto |
94 |
x11-proto/damageproto |
95 |
xinerama? ( x11-proto/xineramaproto ) |
96 |
>=dev-util/gtk-doc-am-1.8 |
97 |
doc? ( |
98 |
>=dev-util/gtk-doc-1.8 |
99 |
~app-text/docbook-xml-dtd-4.1.2 |
100 |
)" |
101 |
PDEPEND="vim-syntax? ( app-vim/gtk-syntax )" |
102 |
|
103 |
pkg_setup() { |
104 |
if ! built_with_use x11-libs/cairo X; then |
105 |
eerror "Please re-emerge x11-libs/cairo with the X USE flag set" |
106 |
die "cairo needs the X flag set" |
107 |
fi |
108 |
} |
109 |
|
110 |
set_gtk2_confdir() { |
111 |
# An arch specific config directory is used on multilib systems |
112 |
has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" |
113 |
GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0} |
114 |
} |
115 |
|
116 |
src_unpack() { |
117 |
unpack ${A} |
118 |
cd "${S}" |
119 |
|
120 |
# use an arch-specific config directory so that 32bit and 64bit versions |
121 |
# dont clash on multilib systems |
122 |
has_multilib_profile && epatch "${FILESDIR}/${PN}-2.8.0-multilib.patch" |
123 |
|
124 |
# Workaround adobe flash infinite loop. Patch from http://bugzilla.gnome.org/show_bug.cgi?id=463773#c11 |
125 |
epatch "${FILESDIR}/${PN}-2.12.0-flash-workaround.patch" |
126 |
|
127 |
# Various fixes from upstream gtk-2-14 branch, will be part of 2.14.4 |
128 |
epatch "${FILESDIR}/${P}-fix-filesystem-double-free.patch" |
129 |
epatch "${FILESDIR}/${P}-fix-lpr_write-double-free.patch" |
130 |
epatch "${FILESDIR}/${P}-fix-password-dialog-on-mount.patch" |
131 |
epatch "${FILESDIR}/${P}-notebook-tab-draw-correctness.patch" |
132 |
epatch "${FILESDIR}/${P}-dont-unset-filechooser-filter-after-first-use.patch" |
133 |
|
134 |
# Don't break inclusion of gtkclist.h, upstream bug 536767 |
135 |
epatch "${FILESDIR}/${P}-limit-gtksignal-includes.patch" |
136 |
|
137 |
# broken compose keys (see fixed bug #554506 and bug #554192) |
138 |
epatch "${FILESDIR}/${P}-fix-combining-broken-diacritics.patch" |
139 |
epatch "${FILESDIR}/${P}-reorder-compose-key-table-order.patch" |
140 |
|
141 |
# -O3 and company cause random crashes in applications. Bug #133469 |
142 |
replace-flags -O3 -O2 |
143 |
strip-flags |
144 |
|
145 |
use ppc64 && append-flags -mminimal-toc |
146 |
|
147 |
elibtoolize |
148 |
} |
149 |
|
150 |
src_compile() { |
151 |
# png always on to display icons (foser) |
152 |
local myconf="$(use_enable doc gtk-doc) \ |
153 |
$(use_with jpeg libjpeg) \ |
154 |
$(use_with jpeg2k libjasper) \ |
155 |
$(use_with tiff libtiff) \ |
156 |
$(use_enable xinerama) \ |
157 |
$(use_enable cups cups auto) \ |
158 |
--with-libpng \ |
159 |
--with-gdktarget=x11 \ |
160 |
--with-xinput" |
161 |
|
162 |
# Passing --disable-debug is not recommended for production use |
163 |
use debug && myconf="${myconf} --enable-debug=yes" |
164 |
|
165 |
econf ${myconf} || die "configure failed" |
166 |
emake || die "compile failed" |
167 |
} |
168 |
|
169 |
src_test() { |
170 |
Xemake check || die "tests failed" |
171 |
} |
172 |
|
173 |
src_install() { |
174 |
emake DESTDIR="${D}" install || die "Installation failed" |
175 |
|
176 |
set_gtk2_confdir |
177 |
dodir ${GTK2_CONFDIR} |
178 |
keepdir ${GTK2_CONFDIR} |
179 |
|
180 |
# see bug #133241 |
181 |
echo 'gtk-fallback-icon-theme = "gnome"' > "${D}/${GTK2_CONFDIR}/gtkrc" |
182 |
|
183 |
# Enable xft in environment as suggested by <utx@g.o> |
184 |
dodir /etc/env.d |
185 |
echo "GDK_USE_XFT=1" > "${D}/etc/env.d/50gtk2" |
186 |
|
187 |
dodoc AUTHORS ChangeLog* HACKING NEWS* README* |
188 |
|
189 |
# This has to be removed, because it's multilib specific; generated in |
190 |
# postinst |
191 |
rm "${D}/etc/gtk-2.0/gtk.immodules" |
192 |
} |
193 |
|
194 |
pkg_postinst() { |
195 |
set_gtk2_confdir |
196 |
|
197 |
if [ -d "${ROOT}${GTK2_CONFDIR}" ]; then |
198 |
gtk-query-immodules-2.0 > "${ROOT}${GTK2_CONFDIR}/gtk.immodules" |
199 |
gdk-pixbuf-query-loaders > "${ROOT}${GTK2_CONFDIR}/gdk-pixbuf.loaders" |
200 |
else |
201 |
ewarn "The destination path ${ROOT}${GTK2_CONFDIR} doesn't exist;" |
202 |
ewarn "to complete the installation of GTK+, please create the" |
203 |
ewarn "directory and then manually run:" |
204 |
ewarn " cd ${ROOT}${GTK2_CONFDIR}" |
205 |
ewarn " gtk-query-immodules-2.0 > gtk.immodules" |
206 |
ewarn " gdk-pixbuf-query-loaders > gdk-pixbuf.loaders" |
207 |
fi |
208 |
|
209 |
if [ -e /usr/lib/gtk-2.0/2.[^1]* ]; then |
210 |
elog "You need to rebuild ebuilds that installed into" /usr/lib/gtk-2.0/2.[^1]* |
211 |
elog "to do that you can use qfile from portage-utils:" |
212 |
elog "emerge -va1 \$(qfile -qC /usr/lib/gtk-2.0/2.[^1]*)" |
213 |
fi |
214 |
|
215 |
elog "Please install app-text/evince for print preview functionality" |
216 |
} |