Patchwork [meta-oe,for-denzil] libxaw: Fix libxaw-dev to not depends on non-existent libxaw package

login
register
mail settings
Submitter Otavio Salvador
Date Sept. 12, 2012, 1:05 p.m.
Message ID <1347455128-14588-1-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/36423/
State Accepted
Headers show

Comments

Otavio Salvador - Sept. 12, 2012, 1:05 p.m.
The libxaw recipe generate a binary package for each soname of libxaw
(currently libxaw6-6 and libxaw-7-7) but no libxaw so libxaw-dev
cannot depends on it.

Reported-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-graphics/xorg-lib/libxaw_1.0.10.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Eric BENARD - Sept. 14, 2012, 12:54 p.m.
Hi Otavio,

Le Wed, 12 Sep 2012 10:05:28 -0300,
Otavio Salvador <otavio@ossystems.com.br> a écrit :

> The libxaw recipe generate a binary package for each soname of libxaw
> (currently libxaw6-6 and libxaw-7-7) but no libxaw so libxaw-dev
> cannot depends on it.
> 
> Reported-by: Daiane Angolini <daiane.angolini@freescale.com>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

applied to denzil-next & denzil, please put me in cc of patches for
meta-oe/denzil else I don't always see them.

best regards,
Eric
Otavio Salvador - Sept. 14, 2012, 1:04 p.m.
On Fri, Sep 14, 2012 at 9:54 AM, Eric Bénard <eric@eukrea.com> wrote:
> Hi Otavio,
>
> Le Wed, 12 Sep 2012 10:05:28 -0300,
> Otavio Salvador <otavio@ossystems.com.br> a écrit :
>
>> The libxaw recipe generate a binary package for each soname of libxaw
>> (currently libxaw6-6 and libxaw-7-7) but no libxaw so libxaw-dev
>> cannot depends on it.
>>
>> Reported-by: Daiane Angolini <daiane.angolini@freescale.com>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
>
> applied to denzil-next & denzil, please put me in cc of patches for
> meta-oe/denzil else I don't always see them.

Thanks a lot; will do next time.
Koen Kooi - Sept. 14, 2012, 2:21 p.m.
Op 14 sep. 2012, om 15:04 heeft Otavio Salvador <otavio@ossystems.com.br> het volgende geschreven:

> On Fri, Sep 14, 2012 at 9:54 AM, Eric Bénard <eric@eukrea.com> wrote:
>> Hi Otavio,
>> 
>> Le Wed, 12 Sep 2012 10:05:28 -0300,
>> Otavio Salvador <otavio@ossystems.com.br> a écrit :
>> 
>>> The libxaw recipe generate a binary package for each soname of libxaw
>>> (currently libxaw6-6 and libxaw-7-7) but no libxaw so libxaw-dev
>>> cannot depends on it.
>>> 
>>> Reported-by: Daiane Angolini <daiane.angolini@freescale.com>
>>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>>> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
>> 
>> applied to denzil-next & denzil, please put me in cc of patches for
>> meta-oe/denzil else I don't always see them.
> 
> Thanks a lot; will do next time.

That reminds me, we need to update the READMEs in the denzil branch. I'll see if I can come up with a patch over the weekend, stuck at a conference now.

Patch

diff --git a/meta-oe/recipes-graphics/xorg-lib/libxaw_1.0.10.bb b/meta-oe/recipes-graphics/xorg-lib/libxaw_1.0.10.bb
index 89338d9..88863a7 100644
--- a/meta-oe/recipes-graphics/xorg-lib/libxaw_1.0.10.bb
+++ b/meta-oe/recipes-graphics/xorg-lib/libxaw_1.0.10.bb
@@ -5,6 +5,7 @@  DEPENDS += "xproto virtual/libx11 libxext xextproto libxt libxmu libxpm libxp pr
 LIC_FILES_CHKSUM = "file://COPYING;md5=1c65719d42900bb81b83e8293c20a364"
 
 PE = "1"
+PR = "r1"
 
 SRC_URI[md5sum] = "f1ea52debce7a18cc26b21647a00ad8b"
 SRC_URI[sha256sum] = "2d96bcf92638b8ec5c91d379f5ec2e7b15133adeb2ba22066d48bf3239ee1bdd"
@@ -24,4 +25,7 @@  FILES_libxaw6 = "${libdir}/libXaw*.so.6*"
 FILES_libxaw7 = "${libdir}/libXaw*.so.7*"
 FILES_libxaw8 = "${libdir}/libXaw8.so.8*"
 
+# Avoid dependency on libxaw as it is not build
+RDEPENDS_${PN}-dev = ""
+
 XORG_PN = "libXaw"