All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] foomatic-filters_4.0.16.bb: update recipe to work on Fedora 17
Date: Thu, 02 Aug 2012 15:30:30 +0100	[thread overview]
Message-ID: <1343917830.9756.76.camel@ted> (raw)
In-Reply-To: <1343767324-11395-1-git-send-email-msm@freescale.com>

On Tue, 2012-07-31 at 15:42 -0500, Matthew McClintock wrote:
> This fixes isses on distro that have perl in /bin/perl instead
> of /usr/bin/perl such as Fedora 17
> 
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
>  .../foomatic/foomatic-filters_4.0.16.bb            |    9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb b/meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb
> index 5f145b0..d5ae4c7 100644
> --- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb
> +++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb
> @@ -10,7 +10,7 @@ format using a printer-specific, but spooler-independent PPD file. \
>  "
>  
>  DEPENDS += "cups perl libxml2"
> -PR = "r0"
> +PR = "r1"
>  
>  LICENSE = "GPLv2+"
>  LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833"
> @@ -31,6 +31,13 @@ do_configure_prepend() {
>      export CUPS_PPDS=${datadir}/cups/model
>  }
>  
> +PERLPATH = "${bindir}/env perl"
> +PERLPATH_virtclass-nativesdk = "/usr/bin/env perl"
> +
> +do_install_append() {
> +    sed -i -e '1s,#!.*perl,#! ${PERLPATH},' ${D}${libdir}/cups/backend/beh
> +}
> +
>  do_install_append_linuxstdbase() {
>      install -d ${D}${exec_prefix}/lib/cups/filter
>      ln -sf ${bindir}/foomatic-rip ${D}${exec_prefix}/lib/cups/filter

Could you adjust this to account for:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=ac7a0311825e20c544d17bfd8be63546ad36e665

please?

Thanks,

Richard




  reply	other threads:[~2012-08-02 14:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-31 20:42 [PATCH] foomatic-filters_4.0.16.bb: update recipe to work on Fedora 17 Matthew McClintock
2012-08-02 14:30 ` Richard Purdie [this message]
2012-08-02 15:54   ` McClintock Matthew-B29882
2012-08-02 15:56     ` McClintock Matthew-B29882

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=1343917830.9756.76.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.