All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: Saul Wold <sgw@linux.intel.com>
Cc: poky@yoctoproject.org
Subject: Re: [PATCH 2/4] foomatic-filters: add a link to pass LSB printing test
Date: Fri, 13 May 2011 11:54:20 -0500	[thread overview]
Message-ID: <4DCD623C.1050101@windriver.com> (raw)
In-Reply-To: <4DCD6128.6030506@linux.intel.com>

On 5/13/11 11:49 AM, Saul Wold wrote:
> On 05/13/2011 12:56 AM, Kang Kai wrote:
>> From: Kang Kai<kai.kang@windriver.com>
>>
>> LSB printing test will test a foomatic-rip under cups' directory,
>> so add it as link.
>> Part fixes [Yocto 904]
>>
>> Signed-off-by: Kang Kai<kai.kang@windriver.com>
>> ---
>>   .../foomatic/foomatic-filters_4.0.7.bb             |    9 ++++++++-
>>   1 files changed, 8 insertions(+), 1 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 8d70400..43e9c8d 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 = "r0"
>> +PR = "r1"
>>
>>   LICENSE = "GPLv2+"
>>   LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833"
>> @@ -20,4 +20,11 @@ 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 ../../../bin/foomatic-rip ${D}${libdir}/cups/filter
> Kai Kang:
> 
> This should really be an absolute patch instead of a relative, there are 
> distros that might have a different exec_prefix

We should likely audit our environments for these items.  I know at Wind River
our policy is all links are relative, we do not allow absolute links as the
values usually cause problems in sysroots, or external SDK environments.

(Note, pseudo has a mechanism internal to it that ensures that absolute links
don't point off to system files.. but we still avoid it.)

--Mark

>> +}
>> +
>> +FILES_${PN} += "${libdir}/cups/filter/foomatic-rip"
> 
> Should this be _linuxstdbase also?
> 
>> +
>>   inherit autotools
> Sau!
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky



  reply	other threads:[~2011-05-13 16:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-13  7:55 [PATCH 0/4] Add some packages for LSB test Kang Kai
2011-05-13  7:55 ` [PATCH 1/4] libxml-sax-perl: added to create LSB olver test report Kang Kai
2011-05-13  7:56 ` [PATCH 2/4] foomatic-filters: add a link to pass LSB printing test Kang Kai
2011-05-13 16:49   ` Saul Wold
2011-05-13 16:54     ` Mark Hatle [this message]
2011-05-16 14:50       ` Richard Purdie
2011-05-13  7:56 ` [PATCH 3/4] task-core-lsb: add packages into lsb image Kang Kai
2011-05-13  7:56 ` [PATCH 4/4] lsbsetup: recreate locale fr_FR Kang Kai
  -- strict thread matches above, loose matches on Subject: below --
2011-05-14  9:53 [PATCH 0/4] Add some packages for LSB test V2 Kang Kai
2011-05-14  9:53 ` [PATCH 2/4] foomatic-filters: add a link to pass LSB printing test Kang Kai

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=4DCD623C.1050101@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=poky@yoctoproject.org \
    --cc=sgw@linux.intel.com \
    /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.