Please change the ebuild of gtk+-2.10.1 to allow compilation of gtk+ with directfb. I can only provide a simple fix, which is not the complete solution (I'm new to ebuilds). I'm using a cvs snapshot of DirectFB because of an unresolved symbol with 0.9.25.1. diff -ur portage/x11-libs/gtk+/gtk+-2.10.1.ebuild gentoo_uclibc/usr/portage/x11-libs/gtk+/gtk+-2.10.1.ebuild --- portage/x11-libs/gtk+/gtk+-2.10.1.ebuild 2006-07-26 18:36:21.000000000 +0200 +++ gentoo_uclibc/usr/portage/x11-libs/gtk+/gtk+-2.10.1.ebuild 2006-08-03 21:13:44.000000000 +0200 @@ -10,9 +10,9 @@ LICENSE="LGPL-2" SLOT="2" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="debug doc jpeg tiff xinerama" +IUSE="debug directfb doc jpeg tiff xinerama X" -RDEPEND="|| ( ( +RDEPEND="X? ( || ( ( x11-libs/libXrender x11-libs/libX11 x11-libs/libXi @@ -22,7 +22,7 @@ x11-libs/libXrandr x11-libs/libXfixes xinerama? ( x11-libs/libXinerama ) ) - virtual/x11 ) + virtual/x11 ) ) >=dev-libs/glib-2.12.1 >=x11-libs/pango-1.12.0 >=dev-libs/atk-1.10.1 @@ -31,18 +31,19 @@ x11-misc/shared-mime-info >=media-libs/libpng-1.2.1 jpeg? ( >=media-libs/jpeg-6b-r2 ) - tiff? ( >=media-libs/tiff-3.5.7 )" + tiff? ( >=media-libs/tiff-3.5.7 ) + directfb? ( >=dev-libs/DirectFB-0.9.26 )" DEPEND="${RDEPEND} sys-devel/autoconf >=dev-util/pkgconfig-0.9 =sys-devel/automake-1.7* - || ( ( + X? ( || ( ( x11-proto/xextproto x11-proto/xproto x11-proto/inputproto x11-proto/xineramaproto ) - virtual/x11 ) + virtual/x11 ) ) doc? ( >=dev-util/gtk-doc-1.4 ~app-text/docbook-xml-dtd-4.1.2 )" @@ -50,14 +51,14 @@ RESTRICT="confcache" -pkg_setup() { +#pkg_setup() { - if ! built_with_use x11-libs/cairo X pdf ; then - einfo "Please re-emerge x11-libs/cairo with the X and pdf USE flag set" - die "cairo needs the X and pdf flag set" - fi +# if ! built_with_use x11-libs/cairo X pdf ; then +# einfo "Please re-emerge x11-libs/cairo with the X and pdf USE flag set" +# die "cairo needs the X and pdf flag set" +# fi -} +#} set_gtk2_confdir() { # An arch specific config directory is used on multilib systems @@ -104,9 +105,16 @@ $(use_with jpeg libjpeg) \ $(use_with tiff libtiff) \ $(use_enable xinerama) \ - --with-libpng \ + --with-libpng" + if use X; then + myconf="${myconf} \ --with-gdktarget=x11 \ --with-xinput" + fi + if use directfb; then + myconf="${myconf} \ + --with-gdktarget=directfb" + fi # Passing --disable-debug is not recommended for production use use debug && myconf="${myconf} --enable-debug=yes"
Don't restrict bugs without any reason. Just leave those checkboxes alone.
It seems no one actually misses directfb support in gentoo. I know I don't, it seeped its way into _every_ *.la file on my system and took me four days to get remove it. @gnome-herd: can we close this bug and 143563 along ? Thanks
I have zero desire to support directfb; it causes huge problems, in the form of circular deps (X doesn't; why does directfb?) so I vote for not supporting it.
I have this in my developer overlay: http://overlays.gentoo.org/dev/betelgeuse/browser/x11-libs/gtk%2B
closing wontfix. DirectFB support caused way too much trouble in the past. But please use Petteri's ebuild if you need it.
*** Bug 202559 has been marked as a duplicate of this bug. ***
*** Bug 204735 has been marked as a duplicate of this bug. ***