* [PATCH] tcl 8.5.11: fix packaging
@ 2012-02-28 7:58 Koen Kooi
2012-02-28 13:22 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Koen Kooi @ 2012-02-28 7:58 UTC (permalink / raw)
To: openembedded-core; +Cc: Koen Kooi
Include /usr/lib/tcl8 for the msgcat and test module, force dependency on tcl-lib since shlibs isn't picking it up.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
meta/recipes-devtools/tcltk/tcl_8.5.11.bb | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
index 146021a..a9a41fb 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://../license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11
file://../win/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \
"
-PR = "r2"
+PR = "r3"
BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
file://tcl-add-soname.patch"
@@ -59,7 +59,10 @@ do_install() {
PACKAGES =+ "${PN}-lib"
FILES_${PN}-lib = "${libdir}/libtcl8.5.so*"
-FILES_${PN} += "${prefix}/lib/tcl8.5"
+FILES_${PN} += "${prefix}/lib/tcl8.5 ${prefix}/lib/tcl8"
FILES_${PN}-dev += "${libdir}/tclConfig.sh"
+# isn't getting picked up by shlibs code
+RDEPENDS_${PN} += "${PN}-lib"
+
BBCLASSEXTEND = "native"
--
1.7.2.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] tcl 8.5.11: fix packaging
2012-02-28 7:58 [PATCH] tcl 8.5.11: fix packaging Koen Kooi
@ 2012-02-28 13:22 ` Richard Purdie
2012-02-28 13:24 ` Koen Kooi
0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2012-02-28 13:22 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi
On Tue, 2012-02-28 at 08:58 +0100, Koen Kooi wrote:
> Include /usr/lib/tcl8 for the msgcat and test module, force dependency on tcl-lib since shlibs isn't picking it up.
>
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
> meta/recipes-devtools/tcltk/tcl_8.5.11.bb | 7 +++++--
> 1 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
> index 146021a..a9a41fb 100644
> --- a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
> +++ b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
> @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://../license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11
> file://../win/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \
> "
>
> -PR = "r2"
> +PR = "r3"
>
> BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
> file://tcl-add-soname.patch"
> @@ -59,7 +59,10 @@ do_install() {
>
> PACKAGES =+ "${PN}-lib"
> FILES_${PN}-lib = "${libdir}/libtcl8.5.so*"
> -FILES_${PN} += "${prefix}/lib/tcl8.5"
> +FILES_${PN} += "${prefix}/lib/tcl8.5 ${prefix}/lib/tcl8"
> FILES_${PN}-dev += "${libdir}/tclConfig.sh"
>
> +# isn't getting picked up by shlibs code
> +RDEPENDS_${PN} += "${PN}-lib"
> +
> BBCLASSEXTEND = "native"
ERROR: Nothing RPROVIDES 'tcl-native-lib-native' (but virtual:native:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/tcltk/tcl_8.5.11.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'tcl-native-lib-native' is unbuildable, removing.
This needs to be spelt out as tcl-lib instead of ${PN}-lib...
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] tcl 8.5.11: fix packaging
2012-02-28 13:22 ` Richard Purdie
@ 2012-02-28 13:24 ` Koen Kooi
0 siblings, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2012-02-28 13:24 UTC (permalink / raw)
To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer
Op 28 feb. 2012, om 14:22 heeft Richard Purdie het volgende geschreven:
> On Tue, 2012-02-28 at 08:58 +0100, Koen Kooi wrote:
>> Include /usr/lib/tcl8 for the msgcat and test module, force dependency on tcl-lib since shlibs isn't picking it up.
>>
>> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
>> ---
>> meta/recipes-devtools/tcltk/tcl_8.5.11.bb | 7 +++++--
>> 1 files changed, 5 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
>> index 146021a..a9a41fb 100644
>> --- a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
>> +++ b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
>> @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://../license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11
>> file://../win/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \
>> "
>>
>> -PR = "r2"
>> +PR = "r3"
>>
>> BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
>> file://tcl-add-soname.patch"
>> @@ -59,7 +59,10 @@ do_install() {
>>
>> PACKAGES =+ "${PN}-lib"
>> FILES_${PN}-lib = "${libdir}/libtcl8.5.so*"
>> -FILES_${PN} += "${prefix}/lib/tcl8.5"
>> +FILES_${PN} += "${prefix}/lib/tcl8.5 ${prefix}/lib/tcl8"
>> FILES_${PN}-dev += "${libdir}/tclConfig.sh"
>>
>> +# isn't getting picked up by shlibs code
>> +RDEPENDS_${PN} += "${PN}-lib"
>> +
>> BBCLASSEXTEND = "native"
>
>
> ERROR: Nothing RPROVIDES 'tcl-native-lib-native' (but virtual:native:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/tcltk/tcl_8.5.11.bb RDEPENDS on or otherwise requires it)
> NOTE: Runtime target 'tcl-native-lib-native' is unbuildable, removing.
>
> This needs to be spelt out as tcl-lib instead of ${PN}-lib...
Argh, bitbake -b strikes again :(
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-28 13:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28 7:58 [PATCH] tcl 8.5.11: fix packaging Koen Kooi
2012-02-28 13:22 ` Richard Purdie
2012-02-28 13:24 ` Koen Kooi
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.