libx11: Disable generating PS/PDF for the spec
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 11 Sep 2010 15:57:08 +0000 (23:57 +0800)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 11 Sep 2010 16:31:19 +0000 (00:31 +0800)
libx11 would search for groff and ps2pdf to generate a PS/PDF of
the specs, if a broken ps2pdf (fedora 14 testing) is installed the
build will fail barfing about Fontmap.local. The PS/PDF does not
appear to be in any FILES_* so we can disable the PS/PDF generation
at tall and not run into the issue.

The fedora bug is at: https://bugzilla.redhat.com/show_bug.cgi?id=610301.

libx11.inc: Disable groff, ps2pdf effectively disabling generating
a PS/PDF for the X11 spec
xorg-lib-common.inc: Bump the INC_PR used by libx11.inc. This sadly
affects quite some other recipes too.

recipes/xorg-lib/libx11.inc
recipes/xorg-lib/xorg-lib-common.inc

index 3a1ad95..b9eb64a 100644 (file)
@@ -22,9 +22,9 @@ FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
 
 XORG_PN = "libX11"
 
-EXTRA_OECONF += " --with-xcb --with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h"
-EXTRA_OECONF_virtclass-native = " --without-xcb"
-EXTRA_OECONF_virtclass-nativesdk = " --without-xcb"
+EXTRA_OECONF += " --with-xcb --with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --with-groff=no --with-ps2pdf=no"
+EXTRA_OECONF_virtclass-native = " --without-xcb --with-groff=no --with-ps2pdf=no"
+EXTRA_OECONF_virtclass-nativesdk = " --without-xcb --with-groff=no --with-ps2pdf=no"
 
 # Below option is added to overcome the GCC bug on ARM
 # see http://gcc.gnu.org/PR42981 for further details.
index 9da51db..9a3bad8 100644 (file)
@@ -4,7 +4,7 @@ LICENSE = "MIT-X"
 DEPENDS = "util-macros xorg-headers-native"
 
 XORG_PN = "${BPN}"
-INC_PR = "r8"
+INC_PR = "r9"
 
 SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.bz2;name=archive"