Openembedded Devel Discussions
 help / color / mirror / Atom feed
* evince: who is responsible to pack all within usr/lib/evince/3/backends to ${PN}?
@ 2012-01-27  1:16 Andreas Müller
  2012-01-27  1:28 ` Saul Wold
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Müller @ 2012-01-27  1:16 UTC (permalink / raw)
  To: openembedded-devel

Since the staticdev update of insane.bbclass in oe-core I get

WARNING: QA Issue: non -staticdev package contains static .a library:
evince path '/work/armv7a-angstrom-linux-gnueabi/evince-2.32.0-r1/packages-split/evince/usr/lib/evince/3/backends/libtiffdocument.a'
WARNING: QA Issue: non -staticdev package contains static .a library:
evince path '/work/armv7a-angstrom-linux-gnueabi/evince-2.32.0-r1/packages-split/evince/usr/lib/evince/3/backends/libpixbufdocument.a'
WARNING: QA Issue: non -staticdev package contains static .a library:
evince path '/work/armv7a-angstrom-linux-gnueabi/evince-2.32.0-r1/packages-split/evince/usr/lib/evince/3/backends/libcomicsdocument.a'
WARNING: QA Issue: non -staticdev package contains static .a library:
evince path '/work/armv7a-angstrom-linux-gnueabi/evince-2.32.0-r1/packages-split/evince/usr/lib/evince/3/backends/libpdfdocument.a'

I checked: the complete contents of /usr/lib/evince/3/backends go to
evince package and I would like to move *.a to ${PN}-staticdev and
*.la to ${PN}-dev but I don't understand: who is responsible for
adding all this to ${PN}?

Regards

Andreas



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: evince: who is responsible to pack all within usr/lib/evince/3/backends to ${PN}?
  2012-01-27  1:16 evince: who is responsible to pack all within usr/lib/evince/3/backends to ${PN}? Andreas Müller
@ 2012-01-27  1:28 ` Saul Wold
       [not found]   ` <CALbNGRQ0+FDE7QisckBOCXBUspQiumZFLjPJYgRf87a1mqtHaw@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Saul Wold @ 2012-01-27  1:28 UTC (permalink / raw)
  To: openembedded-devel

On 01/26/2012 05:16 PM, Andreas Müller wrote:
> Since the staticdev update of insane.bbclass in oe-core I get
>
> WARNING: QA Issue: non -staticdev package contains static .a library:
> evince path '/work/armv7a-angstrom-linux-gnueabi/evince-2.32.0-r1/packages-split/evince/usr/lib/evince/3/backends/libtiffdocument.a'
> WARNING: QA Issue: non -staticdev package contains static .a library:
> evince path '/work/armv7a-angstrom-linux-gnueabi/evince-2.32.0-r1/packages-split/evince/usr/lib/evince/3/backends/libpixbufdocument.a'
> WARNING: QA Issue: non -staticdev package contains static .a library:
> evince path '/work/armv7a-angstrom-linux-gnueabi/evince-2.32.0-r1/packages-split/evince/usr/lib/evince/3/backends/libcomicsdocument.a'
> WARNING: QA Issue: non -staticdev package contains static .a library:
> evince path '/work/armv7a-angstrom-linux-gnueabi/evince-2.32.0-r1/packages-split/evince/usr/lib/evince/3/backends/libpdfdocument.a'
>
> I checked: the complete contents of /usr/lib/evince/3/backends go to
> evince package and I would like to move *.a to ${PN}-staticdev and
> *.la to ${PN}-dev but I don't understand: who is responsible for
> adding all this to ${PN}?
>
bitbake.conf defines where most files should go, but when you get files 
in sub-directories, such as /usr/lib/evince/..., then the recipe needs 
to do a little more work. If you look at the evince_2.32.0.bb, there 
already is a FILES_${PN}-staticdev that adds some extensions, you need 
to add this set of backends to that list, probably same with the .la to 
the -dev package.

Sau!

> Regards
>
> Andreas
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: evince: who is responsible to pack all within usr/lib/evince/3/backends to ${PN}?
       [not found]   ` <CALbNGRQ0+FDE7QisckBOCXBUspQiumZFLjPJYgRf87a1mqtHaw@mail.gmail.com>
@ 2012-01-27 12:48     ` Andreas Müller
  2012-01-27 15:22       ` [OE-core] " Saul Wold
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Müller @ 2012-01-27 12:48 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-core

On Fri, Jan 27, 2012 at 9:43 AM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> On Fri, Jan 27, 2012 at 2:28 AM, Saul Wold <sgw@linux.intel.com> wrote:
>> On 01/26/2012 05:16 PM, Andreas Müller wrote:
>>>
>>> I checked: the complete contents of /usr/lib/evince/3/backends go to
>>> evince package and I would like to move *.a to ${PN}-staticdev and
>>> *.la to ${PN}-dev but I don't understand: who is responsible for
>>> adding all this to ${PN}?
>>>
>> bitbake.conf defines where most files should go, but when you get files in
>> sub-directories, such as /usr/lib/evince/..., then the recipe needs to do a
>> little more work. If you look at the evince_2.32.0.bb, there already is a
>> FILES_${PN}-staticdev that adds some extensions, you need to add this set of
>> backends to that list, probably same with the .la to the -dev package.
>>
> Why I asked this: Maybe there is a chance to fix this more globally
> instead of one by one in each recipe. But therefore I need to know
> where the path is packed.
>
I looked around for this a bit: As Saul pointed out, in bitbake.conf we have
FILES_${PN} = ... ${libdir}/${BPN}/* ...

This
* drags in all below this directory ( e.g *.la / *.a )
* Forces me to rewrite FILES_${PN} in evince ( e.g just adding
${libdir}/${BPN}/*/backends/*.a to FILES_${PN}-staticdev fixes nothing
). This is something I would like to avoid.

Suggestions?

I guess others but evince are also affected.

Andreas



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] evince: who is responsible to pack all within usr/lib/evince/3/backends to ${PN}?
  2012-01-27 12:48     ` Andreas Müller
@ 2012-01-27 15:22       ` Saul Wold
  0 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2012-01-27 15:22 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: openembedded-devel

On 01/27/2012 04:48 AM, Andreas Müller wrote:
> On Fri, Jan 27, 2012 at 9:43 AM, Andreas Müller
> <schnitzeltony@googlemail.com>  wrote:
>> On Fri, Jan 27, 2012 at 2:28 AM, Saul Wold<sgw@linux.intel.com>  wrote:
>>> On 01/26/2012 05:16 PM, Andreas Müller wrote:
>>>>
>>>> I checked: the complete contents of /usr/lib/evince/3/backends go to
>>>> evince package and I would like to move *.a to ${PN}-staticdev and
>>>> *.la to ${PN}-dev but I don't understand: who is responsible for
>>>> adding all this to ${PN}?
>>>>
>>> bitbake.conf defines where most files should go, but when you get files in
>>> sub-directories, such as /usr/lib/evince/..., then the recipe needs to do a
>>> little more work. If you look at the evince_2.32.0.bb, there already is a
>>> FILES_${PN}-staticdev that adds some extensions, you need to add this set of
>>> backends to that list, probably same with the .la to the -dev package.
>>>
>> Why I asked this: Maybe there is a chance to fix this more globally
>> instead of one by one in each recipe. But therefore I need to know
>> where the path is packed.
>>
> I looked around for this a bit: As Saul pointed out, in bitbake.conf we have
> FILES_${PN} = ... ${libdir}/${BPN}/* ...
>
> This
> * drags in all below this directory ( e.g *.la / *.a )
> * Forces me to rewrite FILES_${PN} in evince ( e.g just adding
> ${libdir}/${BPN}/*/backends/*.a to FILES_${PN}-staticdev fixes nothing
> ). This is something I would like to avoid.
>
> Suggestions?
>
> I guess others but evince are also affected.
>
Actually the ordering of PACKAGES matters here and since bitbake.conf 
lists the ${PN}-dev and ${PN}-staticdev package before ${PN}, you can 
append the ${libdir}/${BPN}/3/backends/*.a to FILES_${PN}-staticdev and 
it will pull those first before doing the FILES_${PN}. does that make 
sense?  You don't have to re-write FILES_${PN}.

Sau!

> Andreas
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-27 15:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-27  1:16 evince: who is responsible to pack all within usr/lib/evince/3/backends to ${PN}? Andreas Müller
2012-01-27  1:28 ` Saul Wold
     [not found]   ` <CALbNGRQ0+FDE7QisckBOCXBUspQiumZFLjPJYgRf87a1mqtHaw@mail.gmail.com>
2012-01-27 12:48     ` Andreas Müller
2012-01-27 15:22       ` [OE-core] " Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox