You'll need pango-1.1.1.ebuild and font-config too (See bug #7993)
lappy gtk+ # diff -ur gtk+-2.0.6-r1.ebuild gtk+-2.1.0.ebuild --- gtk+-2.0.6-r1.ebuild 2002-09-30 13:25:58.000000000 +0200 +++ gtk+-2.1.0.ebuild 2002-09-30 13:35:44.000000000 +0200 @@ -2,14 +2,14 @@ # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /home/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.0.6-r1.ebuild,v 1.4 2002/09/21 11:49:09 bjb Exp $ -inherit libtool +inherit libtool SLOT="2" KEYWORDS="x86 ppc sparc sparc64 alpha" S=${WORKDIR}/${P} DESCRIPTION="Gimp ToolKit + " -SRC_URI="ftp://ftp.gtk.org/pub/gtk/v2.0/${P}.tar.bz2" +SRC_URI="ftp://ftp.gtk.org/pub/gtk/v2.1/${P}.tar.bz2" # mirror://gentoo//${PN}-directfb-${PV}-gentoo.patch.bz2" HOMEPAGE="http://www.gtk.org/" LICENSE="LGPL-2.1" @@ -17,7 +17,7 @@ RDEPEND="virtual/x11 >=dev-libs/glib-2.0.6-r1 >=dev-libs/atk-1.0.3-r1 - >=x11-libs/pango-1.0.4-r1 + >=x11-libs/pango-1.1.1 >=media-libs/libpng-1.2.1 jpeg? ( >=media-libs/jpeg-6b-r2 ) tiff? ( >=media-libs/tiff-3.5.7 ) @@ -38,6 +38,7 @@ } src_compile() { + export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig elibtoolize local myconf="" @@ -55,7 +56,7 @@ } src_install() { - dodir /etc/gtk-2.0 + dodir /etc/gtk-2.1 make DESTDIR=${D} \ prefix=/usr \ sysconfdir=/etc \ @@ -67,6 +68,6 @@ pkg_postinst() { - gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules + gtk-query-immodules-2.1 > /etc/gtk-2.1/gtk.immodules }
Created attachment 4323 [details] gtk+-2.1.0.ebuild libxft2 :-D !
Was a little bit too enthousiastic with 2.1 ;-), a little correction included in new ebuild (/etc/gtk-2.0 instead of 2.1) lappy gtk+ # diff -ur gtk+-2.0.6-r1.ebuild gtk+-2.1.0.ebuild --- gtk+-2.0.6-r1.ebuild 2002-09-30 13:25:58.000000000 +0200 +++ gtk+-2.1.0.ebuild 2002-09-30 13:49:13.000000000 +0200 @@ -2,14 +2,14 @@ # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /home/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.0.6-r1.ebuild,v 1.4 2002/09/21 11:49:09 bjb Exp $ -inherit libtool +inherit libtool SLOT="2" KEYWORDS="x86 ppc sparc sparc64 alpha" S=${WORKDIR}/${P} DESCRIPTION="Gimp ToolKit + " -SRC_URI="ftp://ftp.gtk.org/pub/gtk/v2.0/${P}.tar.bz2" +SRC_URI="ftp://ftp.gtk.org/pub/gtk/v2.1/${P}.tar.bz2" # mirror://gentoo//${PN}-directfb-${PV}-gentoo.patch.bz2" HOMEPAGE="http://www.gtk.org/" LICENSE="LGPL-2.1" @@ -17,7 +17,7 @@ RDEPEND="virtual/x11 >=dev-libs/glib-2.0.6-r1 >=dev-libs/atk-1.0.3-r1 - >=x11-libs/pango-1.0.4-r1 + >=x11-libs/pango-1.1.1 >=media-libs/libpng-1.2.1 jpeg? ( >=media-libs/jpeg-6b-r2 ) tiff? ( >=media-libs/tiff-3.5.7 ) @@ -38,6 +38,7 @@ } src_compile() { + export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig elibtoolize local myconf=""
Created attachment 4325 [details] gtk-2.1.0.ebuild Use this one instead
Hmmm, after installing gtk-2.1; recompiling pango suddely fails: /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.1.0\" -DG_DISABLE_DEPRECATED /freetype2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I.. -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -Wall -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c break.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.1.0\" -DG_DISABLE_DEPRECATED /freetype2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I.. -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -Wall -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c break.c -fPIC -DPIC -o break.lo gcc: cannot specify -o with -c or -S and multiple compilations make[3]: *** [break.lo] Fout 1 make[3]: Weggaan uit map `/var/tmp/portage/pango-1.1.1/work/pango-1.1.1/pango' make[2]: *** [all-recursive] Fout 1 make[2]: Weggaan uit map `/var/tmp/portage/pango-1.1.1/work/pango-1.1.1/pango' make[1]: *** [all-recursive] Fout 1 make[1]: Weggaan uit map `/var/tmp/portage/pango-1.1.1/work/pango-1.1.1' make: *** [all-recursive-am] Fout 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 28, Exitcode 2 !!! serial make failed
unstble tree
db fix