[oe] [PATCH] Added gsoap version 2.7.13

Koen Kooi k.kooi at student.utwente.nl
Tue Apr 7 15:03:31 UTC 2009


On 07-04-09 16:45, Dirk Van Haerenborgh wrote:
> Thanks for looking at it.
>
> I've changed everything as advised.
>
> However, I am quite new to both gsoap and OE, hence I do not know how to
> define FILES_${PN} more narrowly.

Basically:

dpkg-deb -c gsoap-ipk-produced-from-old-recipe.ipk

Look at the output e.g.

/usr/bin/foo
/usr/bin/bar

Based on that do:

FILES_${PN} = "${bindir}/foo \
${bindir}/bar \
"

I suspect the PACKAGES and FILES_gsoap-dev trickery was used to keep 
some files *out* of ${PN}.

regards,

Koen

> this recipe is quite similar to gsoap_2.7.7 (which is in the oe.dev repo
> atm) in which FILES_${PN} as broad as here.
>
> -Dirk
>
> 2009/4/7 Koen Kooi<k.kooi at student.utwente.nl>
>
>> On 07-04-09 15:47, Dirk 'Virk' Van Haerenborgh wrote:
>>
>>> The patch is to make sure the just build binary soapcpp2 is used instead
>>> of looking for it in /usr/bin in the staging dir, just the same as
>>> v2.7.7 of gsoap.
>>>
>>
>>
>>   +++ b/recipes/gsoap/gsoap-native_2.7.13.bb
>>> @@ -0,0 +1,16 @@
>>>
>>
>>   +PR = "r1"
>>>
>>
>> remove that
>>
>>   +do_stage() {
>>> +       autotools_stage_all
>>> +}
>>>
>>
>> Remove that (see below)
>>
>>   +++ b/recipes/gsoap/gsoap_2.7.13.bb
>>>
>>
>>   +PR = "r1"
>>>
>>
>> remove that
>>
>>   +inherit autotools
>>>
>>
>> change that to autotools_stage
>>
>>   +do_stage() {
>>> +       autotools_stage_all
>>> +}
>>>
>>
>> That can be removed if you inherit autotools_stage
>>
>>   +PACKAGES = "${PN}-dbg ${PN}-dev ${PN} ${PN}-doc ${PN}-locale"
>>>
>>
>> That looks wrong, remove that
>>
>>   +FILES_gsoap-dev = "${bindir}/wsdl2h ${bindir}/src ${libdir}"
>>>
>>
>> Change that to something like:
>>
>> FILES_${PN}-dev += "${bindir}/wsdl2h ${bindir}/src ${libdir}"
>>
>> And define FILES_${PN} more narrowly.
>>
>> regards,
>>
>> Koen
>>
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>






More information about the Openembedded-devel mailing list