Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143563 - x11-libs/pango X use flag
Summary: x11-libs/pango X use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://overlays.gentoo.org/dev/betelg...
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks: 170390
  Show dependency tree
 
Reported: 2006-08-11 05:32 UTC by Thomas Hiller
Modified: 2008-01-04 03:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Hiller 2006-08-11 05:32:50 UTC
Please allow pango to compile with directfb and without the X dependencies.
A sample patch looks like:
diff -ur portage/x11-libs/pango/pango-1.13.2.ebuild gentoo_uclibc/usr/portage/x11-libs/pango/pango-1.13.2.ebuild
--- portage/x11-libs/pango/pango-1.13.2.ebuild	2006-07-05 17:02:33.000000000 +0200
+++ gentoo_uclibc/usr/portage/x11-libs/pango/pango-1.13.2.ebuild	2006-08-03 18:14:58.000000000 +0200
@@ -10,14 +10,14 @@
 LICENSE="LGPL-2 FTL"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="doc"
+IUSE="doc X"
 
-RDEPEND="|| ( (
+RDEPEND="X? ( || ( (
 		x11-libs/libXrender
 		x11-libs/libX11
 		x11-libs/libXft
 		)
-		virtual/x11 )
+		virtual/x11 ) )
 	>=dev-libs/glib-2.12.0
 	>=media-libs/fontconfig-1.0.1
 	>=media-libs/freetype-2
@@ -25,7 +25,7 @@
 
 DEPEND="${RDEPEND}
 	>=dev-util/pkgconfig-0.9
-	|| ( x11-proto/xproto virtual/x11 )
+	X? (|| ( x11-proto/xproto virtual/x11 ) )
 	doc? (
 		>=dev-util/gtk-doc-1
 		~app-text/docbook-xml-dtd-4.1.2 )"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-11 06:13:05 UTC
Don't restrict bugs without any reason. Just leave those checkboxes alone.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-06-25 22:43:31 UTC
I have this patches against the latest version in my developer overlay:
http://overlays.gentoo.org/dev/betelgeuse/browser/x11-libs/pango
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-11-14 20:51:19 UTC
if there is no configure switch for enabling this behavior, it won't be added to the tree.
Comment 4 Mart Raudsepp gentoo-dev 2007-11-14 21:54:27 UTC
--without-x, so $(use_with X x) is the flag... Not implying that I agree with adding it - haven't thought about it much yet (2.20 busy times :)
Comment 5 Saleem Abdulrasool (RETIRED) gentoo-dev 2008-01-04 03:53:51 UTC
Added in the gnome overlay, for testing.