* [PATCH] tcl: Fix packaging of platform independent files
@ 2011-08-03 15:43 Kumar Gala
2011-08-03 17:07 ` Richard Purdie
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Kumar Gala @ 2011-08-03 15:43 UTC (permalink / raw)
To: openembedded-core
Tcl's doesn't utilize ${baselib} for platform independent files but
defines it as follows:
TCL_LIBRARY = $(prefix)/lib/tcl$(VERSION)
Match that so if ${baselib} is not just /lib things work properly.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
meta/recipes-devtools/tcltk/tcl_8.5.9.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.9.bb b/meta/recipes-devtools/tcltk/tcl_8.5.9.bb
index 12e2bd0..2eabb4d 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.5.9.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.5.9.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://../license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11
file://../win/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \
"
-PR = "r0"
+PR = "r1"
BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
file://tcl-add-soname.patch"
@@ -59,7 +59,7 @@ do_install() {
PACKAGES =+ "${PN}-lib"
FILES_${PN}-lib = "${libdir}/libtcl8.5.so*"
-FILES_${PN} += "${libdir}/tcl8.5"
+FILES_${PN} += "${prefix}/lib/tcl8.5"
FILES_${PN}-dev += "${libdir}/tclConfig.sh"
BBCLASSEXTEND = "native"
--
1.7.3.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] tcl: Fix packaging of platform independent files
2011-08-03 15:43 [PATCH] tcl: Fix packaging of platform independent files Kumar Gala
@ 2011-08-03 17:07 ` Richard Purdie
2011-08-03 18:07 ` Khem Raj
2011-08-03 20:03 ` Phil Blundell
2 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2011-08-03 17:07 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2011-08-03 at 10:43 -0500, Kumar Gala wrote:
> Tcl's doesn't utilize ${baselib} for platform independent files but
> defines it as follows:
>
> TCL_LIBRARY = $(prefix)/lib/tcl$(VERSION)
>
> Match that so if ${baselib} is not just /lib things work properly.
>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> meta/recipes-devtools/tcltk/tcl_8.5.9.bb | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] tcl: Fix packaging of platform independent files
2011-08-03 15:43 [PATCH] tcl: Fix packaging of platform independent files Kumar Gala
2011-08-03 17:07 ` Richard Purdie
@ 2011-08-03 18:07 ` Khem Raj
2011-08-03 20:03 ` Phil Blundell
2 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2011-08-03 18:07 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, Aug 3, 2011 at 8:43 AM, Kumar Gala <galak@kernel.crashing.org> wrote:
> Tcl's doesn't utilize ${baselib} for platform independent files but
> defines it as follows:
>
> TCL_LIBRARY = $(prefix)/lib/tcl$(VERSION)
>
> Match that so if ${baselib} is not just /lib things work properly.
hmm may be fixing tcl to honour --libdir=<dir> to generate TCL_LIBRARY
from configure would be a nice solution
>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> meta/recipes-devtools/tcltk/tcl_8.5.9.bb | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.9.bb b/meta/recipes-devtools/tcltk/tcl_8.5.9.bb
> index 12e2bd0..2eabb4d 100644
> --- a/meta/recipes-devtools/tcltk/tcl_8.5.9.bb
> +++ b/meta/recipes-devtools/tcltk/tcl_8.5.9.bb
> @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://../license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11
> file://../win/license.terms;md5=a47a9be26d03f925fc1fbd2784f27e11 \
> "
>
> -PR = "r0"
> +PR = "r1"
>
> BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
> file://tcl-add-soname.patch"
> @@ -59,7 +59,7 @@ do_install() {
>
> PACKAGES =+ "${PN}-lib"
> FILES_${PN}-lib = "${libdir}/libtcl8.5.so*"
> -FILES_${PN} += "${libdir}/tcl8.5"
> +FILES_${PN} += "${prefix}/lib/tcl8.5"
> FILES_${PN}-dev += "${libdir}/tclConfig.sh"
>
> BBCLASSEXTEND = "native"
> --
> 1.7.3.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] tcl: Fix packaging of platform independent files
2011-08-03 15:43 [PATCH] tcl: Fix packaging of platform independent files Kumar Gala
2011-08-03 17:07 ` Richard Purdie
2011-08-03 18:07 ` Khem Raj
@ 2011-08-03 20:03 ` Phil Blundell
2011-08-04 14:36 ` Richard Purdie
2 siblings, 1 reply; 5+ messages in thread
From: Phil Blundell @ 2011-08-03 20:03 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2011-08-03 at 10:43 -0500, Kumar Gala wrote:
> Tcl's doesn't utilize ${baselib} for platform independent files but
> defines it as follows:
>
> TCL_LIBRARY = $(prefix)/lib/tcl$(VERSION)
>
> Match that so if ${baselib} is not just /lib things work properly.
>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
Even better would be bashing tcl so that it puts its bits in ${datadir}
where they belong. :-) But your patch is fine though.
p.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] tcl: Fix packaging of platform independent files
2011-08-03 20:03 ` Phil Blundell
@ 2011-08-04 14:36 ` Richard Purdie
0 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2011-08-04 14:36 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2011-08-03 at 21:03 +0100, Phil Blundell wrote:
> On Wed, 2011-08-03 at 10:43 -0500, Kumar Gala wrote:
> > Tcl's doesn't utilize ${baselib} for platform independent files but
> > defines it as follows:
> >
> > TCL_LIBRARY = $(prefix)/lib/tcl$(VERSION)
> >
> > Match that so if ${baselib} is not just /lib things work properly.
> >
> > Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> > ---
>
> Even better would be bashing tcl so that it puts its bits in ${datadir}
> where they belong. :-) But your patch is fine though.
Agreed, this would be the ideal solution...
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-08-04 14:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03 15:43 [PATCH] tcl: Fix packaging of platform independent files Kumar Gala
2011-08-03 17:07 ` Richard Purdie
2011-08-03 18:07 ` Khem Raj
2011-08-03 20:03 ` Phil Blundell
2011-08-04 14:36 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox