From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 3/6] foomatic-filters: Disable filter checking
Date: Thu, 22 Sep 2011 05:16:40 +0100 [thread overview]
Message-ID: <1316665014.13622.8.camel@ted> (raw)
In-Reply-To: <8d17a7e67c22daca0d60fe77619283d9bdd31bb2.1316655855.git.mark.hatle@windriver.com>
On Wed, 2011-09-21 at 20:47 -0500, Mark Hatle wrote:
> Disable a few checks, and hard code the values for a few other items
> to work around potential host contamination issues. We also default
> to the cups configuration for items.
>
> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
> ---
> .../foomatic/foomatic-filters_4.0.7.bb | 21 ++++++++++++++-----
> 1 files changed, 15 insertions(+), 6 deletions(-)
>
> diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb b/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb
> index 9627187..856f5ac 100644
> --- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb
> +++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb
> @@ -10,7 +10,7 @@ format using a printer-specific, but spooler-independent PPD file. \
> "
>
> DEPENDS += "cups perl libxml2"
> -PR = "r1"
> +PR = "r2"
>
> LICENSE = "GPLv2+"
> LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833"
> @@ -20,11 +20,20 @@ SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.
> SRC_URI[md5sum] = "20abd25c1c98b2dae68709062a132a7d"
> SRC_URI[sha256sum] = "090313fae40b177f505d9c9b93d7a4d7188b6d5d18b6ae41ab24903ac983478d"
>
> -do_install_append_linuxstdbase() {
> - install -d ${D}${libdir}/cups/filter
> - ln -sf ${bindir}/foomatic-rip ${D}${libdir}/cups/filter
> +inherit autotools
> +
> +EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops"
> +
> +do_configure_prepend() {
> + export LIB_CUPS=/usr/lib/cups # /usr/lib NOT libdir
> + export CUPS_BACKENDS=/usr/lib/cups/backend # /usr/lib NOT libdir
> + export CUPS_FILTERS=/usr/lib/cups/filter # /usr/lib NOT libdir
> + export CUPS_PPDS=%{_datadir}/cups/model
> }
>
> -FILES_${PN}_append_linuxstdbase += "${libdir}/cups/filter/foomatic-rip"
> +do_install_append_linuxstdbase() {
> + install -d ${D}/usr/lib/cups/filter
> + ln -sf ${bindir}/foomatic-rip ${D}/usr/lib/cups/filter
> +}
>
> -inherit autotools
> +FILES_${PN}_append_linuxstdbase += "/usr/lib/cups/filter/foomatic-rip"
This needs a little more explaintion. What happens for the micro (or
minimal, I forget which) distro where they don't have /usr/ ?
I suspect you mean to use ${exec_prefix}/lib above...
Cheers,
Richard
next prev parent reply other threads:[~2011-09-22 4:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 1:46 [PATCH 0/6] Fix core-image-lsb dependencies Mark Hatle
2011-09-22 1:47 ` [PATCH 1/6] python: Fix cgi.py runtime issue Mark Hatle
2011-09-22 1:47 ` [PATCH 2/6] usbutils: Move the pkgconfig file(s) to the -dev package Mark Hatle
2011-09-22 1:47 ` [PATCH 3/6] foomatic-filters: Disable filter checking Mark Hatle
2011-09-22 4:16 ` Richard Purdie [this message]
2011-09-22 15:25 ` Mark Hatle
2011-09-22 1:47 ` [PATCH 4/6] perl: Fix a few perl binaries to use target interpreter paths Mark Hatle
2011-09-22 1:47 ` [PATCH 5/6] sudo: Fix PAM dependencies Mark Hatle
2011-09-22 1:47 ` [PATCH 6/6] task-core-lsb: Remove perl-dev Mark Hatle
2011-09-22 4:17 ` [PATCH 0/6] Fix core-image-lsb dependencies Richard Purdie
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=1316665014.13622.8.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@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