From: Trevor Woerner <twoerner@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 2/2] cups-filters: fix ghostscript handling
Date: Thu, 9 Mar 2023 12:16:23 -0500 [thread overview]
Message-ID: <20230309171623.28428-2-twoerner@gmail.com> (raw)
In-Reply-To: <20230309171623.28428-1-twoerner@gmail.com>
ghostscript is not needed at build-time (it only needs to be enabled in the
configuration step) but it is required at run-time for two of this recipe's
packages.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb b/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb
index 0d3560b9c2ac..fd82bb39c2d4 100644
--- a/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb
+++ b/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d77679ce6a2cc4d873d4ebbf2a401e6"
SECTION = "console/utils"
-DEPENDS = "cups glib-2.0 glib-2.0-native dbus dbus-glib lcms ghostscript poppler qpdf libpng libexif"
+DEPENDS = "cups glib-2.0 glib-2.0-native dbus dbus-glib lcms poppler qpdf libpng libexif"
DEPENDS:class-native = "poppler-native glib-2.0-native dbus-native pkgconfig-native gettext-native libpng-native"
SRC_URI = "https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \
@@ -51,6 +51,7 @@ PACKAGES =+ "\
FILES:${PN}-gst = "\
${libexecdir}/cups/filter/gsto* \
"
+RDEPENDS:${PN}-gst += "ghostscript"
FILES:${PN}-data = "\
${datadir}/cups/data \
@@ -71,6 +72,8 @@ FILES:${PN} += "\
${datadir}/cups/ppdc \
${datadir}/cups/banners \
"
+RDEPENDS:${PN} += "bash"
+RDEPENDS:${PN} += "ghostscript"
do_install:append() {
# remove braille dir
@@ -79,5 +82,3 @@ do_install:append() {
# remove sysroot path contamination from pkgconfig file
sed -i -e 's:${STAGING_DIR_TARGET}::' ${D}/${libdir}/pkgconfig/libcupsfilters.pc
}
-
-RDEPENDS:${PN} += "bash"
--
2.36.0.rc2.17.g4027e30c53
prev parent reply other threads:[~2023-03-09 17:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-09 17:16 [PATCH 1/2] cups-filters: remove duplicate configure option Trevor Woerner
2023-03-09 17:16 ` Trevor Woerner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230309171623.28428-2-twoerner@gmail.com \
--to=twoerner@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox