Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8572 - New (r)ebuild: gtk+2.1.0.ebuild (Using pango 1.1.1 and Xft2 :-D !)
Summary: New (r)ebuild: gtk+2.1.0.ebuild (Using pango 1.1.1 and Xft2 :-D !)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-30 07:00 UTC by Rigo
Modified: 2003-04-04 01:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gtk+-2.1.0.ebuild (gtk+-2.1.0.ebuild,1.75 KB, text/plain)
2002-09-30 07:02 UTC, Rigo
Details
gtk-2.1.0.ebuild (gtk+-2.1.0.ebuild,1.75 KB, text/plain)
2002-09-30 07:10 UTC, Rigo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rigo 2002-09-30 07:00:40 UTC
You'll need pango-1.1.1.ebuild and font-config too (See bug #7993)
Comment 1 Rigo 2002-09-30 07:01:47 UTC
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
 }
Comment 2 Rigo 2002-09-30 07:02:36 UTC
Created attachment 4323 [details]
gtk+-2.1.0.ebuild

libxft2 :-D !
Comment 3 Rigo 2002-09-30 07:10:13 UTC
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=""
Comment 4 Rigo 2002-09-30 07:10:58 UTC
Created attachment 4325 [details]
gtk-2.1.0.ebuild

Use this one instead
Comment 5 Rigo 2002-10-02 10:38:07 UTC
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

Comment 6 foser (RETIRED) gentoo-dev 2002-10-12 16:35:38 UTC
unstble tree
Comment 7 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:23:07 UTC
db fix
Comment 8 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:28:01 UTC
db fix