[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6459/8267] ghostscript: add X11 PACKAGECONFIG info
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 6459/8267] ghostscript: add X11 PACKAGECONFIG info
- Date: Sun, 17 Dec 2017 04:52:29 +0000 (UTC)
commit 8f6c991a302a96b82bc3132ba75713f2153477d1
Author: Joe Slater <jslater windriver com>
Date: Thu Jun 15 14:35:27 2017 -0700
ghostscript: add X11 PACKAGECONFIG info
Add information necessary to build for x11, but
do not enable that option.
Fix parallel build directory creation issue.
(From OE-Core rev: 2bfc7be412da501d8a9138a3dde33636c5fe2616)
Signed-off-by: Joe Slater <jslater windriver com>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
.../ghostscript/ghostscript_9.21.bb | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.21.bb
b/meta/recipes-extended/ghostscript/ghostscript_9.21.bb
index ed0fd43..fb36a13 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.21.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.21.bb
@@ -48,7 +48,21 @@ SRC_URI_class-native = "${SRC_URI_BASE} \
SRC_URI[md5sum] = "5f213281761d2750fcf27476c404d17f"
SRC_URI[sha256sum] = "02bceadbc4dddeb6f2eec9c8b1623d945d355ca11b8b4df035332b217d58ce85"
-EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec \
+# Put something like
+#
+# PACKAGECONFIG_append_pn-ghostscript = " x11"
+#
+# in local.conf to enable building with X11. Be careful. The order
+# of the overrides matters!
+#
+#PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
+PACKAGECONFIG_class-native = ""
+
+PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}, \
+ --without-x, virtual/libx11 libxext libxt gtk+3\
+ "
+
+EXTRA_OECONF = "--with-system-libtiff --without-jbig2dec \
--with-fontpath=${datadir}/fonts \
--without-libidn --with-cups-serverbin=${exec_prefix}/lib/cups \
--with-cups-datadir=${datadir}/cups \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]