Patchwork [1/1] gupnp: upgrade from 0.16.0 to 0.16.1

login
register
mail settings
Submitter Mei Lei
Date June 14, 2011, 5:59 a.m.
Message ID <c3921b032b4db674706a2e17e6100d97c30ba994.1308030161.git.lei.mei@intel.com>
Download mbox | patch
Permalink /patch/5817/
State New, archived
Headers show

Comments

Mei Lei - June 14, 2011, 5:59 a.m.
Signed-off-by: Mei Lei <lei.mei@intel.com>
---
 .../gupnp/{gupnp_0.16.0.bb => gupnp_0.16.1.bb}     |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/gupnp/{gupnp_0.16.0.bb => gupnp_0.16.1.bb} (79%)
Koen Kooi - June 14, 2011, 7:45 a.m.
Op 14 jun 2011, om 07:59 heeft Mei Lei het volgende geschreven:

> Signed-off-by: Mei Lei <lei.mei@intel.com>
> ---
> .../gupnp/{gupnp_0.16.0.bb => gupnp_0.16.1.bb}     |    7 +++++--
> 1 files changed, 5 insertions(+), 2 deletions(-)
> rename meta/recipes-connectivity/gupnp/{gupnp_0.16.0.bb => gupnp_0.16.1.bb} (79%)
> 
> diff --git a/meta/recipes-connectivity/gupnp/gupnp_0.16.0.bb b/meta/recipes-connectivity/gupnp/gupnp_0.16.1.bb
> similarity index 79%
> rename from meta/recipes-connectivity/gupnp/gupnp_0.16.0.bb
> rename to meta/recipes-connectivity/gupnp/gupnp_0.16.1.bb
> index 07b6b90..5b23134 100644
> --- a/meta/recipes-connectivity/gupnp/gupnp_0.16.0.bb
> +++ b/meta/recipes-connectivity/gupnp/gupnp_0.16.1.bb
> @@ -7,8 +7,8 @@ DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2 gnome-icon-theme"
> 
> SRC_URI = "http://gupnp.org/sites/all/files/sources/${BPN}-${PV}.tar.gz"
> 
> -SRC_URI[md5sum] = "61b240c1a9fdf8ca82c5c3adde0d6757"
> -SRC_URI[sha256sum] = "1b77201866b7632fb68bc2a3bdea22ef8ead34ba850b3ee367797432cfc0f04a"
> +SRC_URI[md5sum] = "021bb237741532af4bca50157ff326e4"
> +SRC_URI[sha256sum] = "f01a1f4fd36ce161a3df29fa83e1a0a2fb40d3c9f30f6b403e7791688ad24cfe"
> 
> PR = "r0"
> 
> @@ -19,6 +19,9 @@ inherit autotools pkgconfig
> FILES_${PN} = "${libdir}/*.so.*"
> FILES_${PN}-dev += "${bindir}/gupnp-binding-tool"
> 
> +do_configure_prepend() {
> +	sed -i -e 's:GOBJECT_INTROSPECTION_CHECK(\[0.6.4\]):AM_CONDITIONAL([HAVE_INTROSPECTION], [false]):g' ${S}/configure.ac
> +}
> SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess"

Does adding 'gobject-introspection' to DEPENDS or --disable-introspection to EXTRA_OECONF fix the build issue?

regards,

Koen
Mei Lei - June 14, 2011, 8:04 a.m.
>-----Original Message-----
>From: openembedded-core-bounces@lists.openembedded.org
>[mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of
>Koen Kooi
>Sent: Tuesday, June 14, 2011 3:46 PM
>To: Patches and discussions about the oe-core layer
>Subject: Re: [OE-core] [PATCH 1/1] gupnp: upgrade from 0.16.0 to 0.16.1
>
>
>Op 14 jun 2011, om 07:59 heeft Mei Lei het volgende geschreven:
>
>> Signed-off-by: Mei Lei <lei.mei@intel.com>
>> ---
>> .../gupnp/{gupnp_0.16.0.bb => gupnp_0.16.1.bb}     |    7 +++++--
>> 1 files changed, 5 insertions(+), 2 deletions(-)
>> rename meta/recipes-connectivity/gupnp/{gupnp_0.16.0.bb =>
>gupnp_0.16.1.bb} (79%)
>>
>> diff --git a/meta/recipes-connectivity/gupnp/gupnp_0.16.0.bb
>b/meta/recipes-connectivity/gupnp/gupnp_0.16.1.bb
>> similarity index 79%
>> rename from meta/recipes-connectivity/gupnp/gupnp_0.16.0.bb
>> rename to meta/recipes-connectivity/gupnp/gupnp_0.16.1.bb
>> index 07b6b90..5b23134 100644
>> --- a/meta/recipes-connectivity/gupnp/gupnp_0.16.0.bb
>> +++ b/meta/recipes-connectivity/gupnp/gupnp_0.16.1.bb
>> @@ -7,8 +7,8 @@ DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2
>gnome-icon-theme"
>>
>> SRC_URI = "http://gupnp.org/sites/all/files/sources/${BPN}-${PV}.tar.gz"
>>
>> -SRC_URI[md5sum] = "61b240c1a9fdf8ca82c5c3adde0d6757"
>> -SRC_URI[sha256sum] =
>"1b77201866b7632fb68bc2a3bdea22ef8ead34ba850b3ee367797432cfc0f04a"
>> +SRC_URI[md5sum] = "021bb237741532af4bca50157ff326e4"
>> +SRC_URI[sha256sum] =
>"f01a1f4fd36ce161a3df29fa83e1a0a2fb40d3c9f30f6b403e7791688ad24cfe"
>>
>> PR = "r0"
>>
>> @@ -19,6 +19,9 @@ inherit autotools pkgconfig
>> FILES_${PN} = "${libdir}/*.so.*"
>> FILES_${PN}-dev += "${bindir}/gupnp-binding-tool"
>>
>> +do_configure_prepend() {
>> +	sed -i -e
>'s:GOBJECT_INTROSPECTION_CHECK(\[0.6.4\]):AM_CONDITIONAL([HAVE_INTR
>OSPECTION], [false]):g' ${S}/configure.ac
>> +}
>> SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess"
>
>Does adding 'gobject-introspection' to DEPENDS or --disable-introspection to
>EXTRA_OECONF fix the build issue?

"--disable-introspection to EXTRA_OECONF" didn't fix the configure issue.
Adding depends is my first option, but that will trigger a do_compile failure of 'gobject-introspection'.
So decide to upgrade it to the latest version in this way.

Thanks
Lei 

>
>regards,
>
>Koen
>_______________________________________________
>Openembedded-core mailing list
>Openembedded-core@lists.openembedded.org
>http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Saul Wold - June 24, 2011, 10:56 p.m.
On 06/14/2011 01:04 AM, Mei, Lei wrote:
>
>
>> -----Original Message-----
>> From: openembedded-core-bounces@lists.openembedded.org
>> [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of
>> Koen Kooi
>> Sent: Tuesday, June 14, 2011 3:46 PM
>> To: Patches and discussions about the oe-core layer
>> Subject: Re: [OE-core] [PATCH 1/1] gupnp: upgrade from 0.16.0 to 0.16.1
>>
>>
>> Op 14 jun 2011, om 07:59 heeft Mei Lei het volgende geschreven:
>>
>>> Signed-off-by: Mei Lei<lei.mei@intel.com>
>>> ---
>>> .../gupnp/{gupnp_0.16.0.bb =>  gupnp_0.16.1.bb}     |    7 +++++--
>>> 1 files changed, 5 insertions(+), 2 deletions(-)
>>> rename meta/recipes-connectivity/gupnp/{gupnp_0.16.0.bb =>
>> gupnp_0.16.1.bb} (79%)
>>>
>>> diff --git a/meta/recipes-connectivity/gupnp/gupnp_0.16.0.bb
>> b/meta/recipes-connectivity/gupnp/gupnp_0.16.1.bb
>>> similarity index 79%
>>> rename from meta/recipes-connectivity/gupnp/gupnp_0.16.0.bb
>>> rename to meta/recipes-connectivity/gupnp/gupnp_0.16.1.bb
>>> index 07b6b90..5b23134 100644
>>> --- a/meta/recipes-connectivity/gupnp/gupnp_0.16.0.bb
>>> +++ b/meta/recipes-connectivity/gupnp/gupnp_0.16.1.bb
>>> @@ -7,8 +7,8 @@ DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2
>> gnome-icon-theme"
>>>
>>> SRC_URI = "http://gupnp.org/sites/all/files/sources/${BPN}-${PV}.tar.gz"
>>>
>>> -SRC_URI[md5sum] = "61b240c1a9fdf8ca82c5c3adde0d6757"
>>> -SRC_URI[sha256sum] =
>> "1b77201866b7632fb68bc2a3bdea22ef8ead34ba850b3ee367797432cfc0f04a"
>>> +SRC_URI[md5sum] = "021bb237741532af4bca50157ff326e4"
>>> +SRC_URI[sha256sum] =
>> "f01a1f4fd36ce161a3df29fa83e1a0a2fb40d3c9f30f6b403e7791688ad24cfe"
>>>
>>> PR = "r0"
>>>
>>> @@ -19,6 +19,9 @@ inherit autotools pkgconfig
>>> FILES_${PN} = "${libdir}/*.so.*"
>>> FILES_${PN}-dev += "${bindir}/gupnp-binding-tool"
>>>
>>> +do_configure_prepend() {
>>> +	sed -i -e
>> 's:GOBJECT_INTROSPECTION_CHECK(\[0.6.4\]):AM_CONDITIONAL([HAVE_INTR
>> OSPECTION], [false]):g' ${S}/configure.ac
>>> +}
>>> SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess"
>>
>> Does adding 'gobject-introspection' to DEPENDS or --disable-introspection to
>> EXTRA_OECONF fix the build issue?
>
> "--disable-introspection to EXTRA_OECONF" didn't fix the configure issue.
> Adding depends is my first option, but that will trigger a do_compile failure of 'gobject-introspection'.
> So decide to upgrade it to the latest version in this way.
>
Can you look into correctly fixing the gobject-introspection instead of 
leaving it broken?  That's another option to fix this problem.

Sau!


> Thanks
> Lei
>
>>
>> regards,
>>
>> Koen
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

Patch

diff --git a/meta/recipes-connectivity/gupnp/gupnp_0.16.0.bb b/meta/recipes-connectivity/gupnp/gupnp_0.16.1.bb
similarity index 79%
rename from meta/recipes-connectivity/gupnp/gupnp_0.16.0.bb
rename to meta/recipes-connectivity/gupnp/gupnp_0.16.1.bb
index 07b6b90..5b23134 100644
--- a/meta/recipes-connectivity/gupnp/gupnp_0.16.0.bb
+++ b/meta/recipes-connectivity/gupnp/gupnp_0.16.1.bb
@@ -7,8 +7,8 @@  DEPENDS = "e2fsprogs gssdp libsoup-2.4 libxml2 gnome-icon-theme"
 
 SRC_URI = "http://gupnp.org/sites/all/files/sources/${BPN}-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "61b240c1a9fdf8ca82c5c3adde0d6757"
-SRC_URI[sha256sum] = "1b77201866b7632fb68bc2a3bdea22ef8ead34ba850b3ee367797432cfc0f04a"
+SRC_URI[md5sum] = "021bb237741532af4bca50157ff326e4"
+SRC_URI[sha256sum] = "f01a1f4fd36ce161a3df29fa83e1a0a2fb40d3c9f30f6b403e7791688ad24cfe"
 
 PR = "r0"
 
@@ -19,6 +19,9 @@  inherit autotools pkgconfig
 FILES_${PN} = "${libdir}/*.so.*"
 FILES_${PN}-dev += "${bindir}/gupnp-binding-tool"
 
+do_configure_prepend() {
+	sed -i -e 's:GOBJECT_INTROSPECTION_CHECK(\[0.6.4\]):AM_CONDITIONAL([HAVE_INTROSPECTION], [false]):g' ${S}/configure.ac
+}
 SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess"
 
 gupnp_sysroot_preprocess () {