Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] xz: split out liblzma as seperate packages
@ 2012-03-06 12:03 Koen Kooi
  2012-03-06 12:08 ` Paul Menzel
  2012-03-12 21:21 ` Saul Wold
  0 siblings, 2 replies; 4+ messages in thread
From: Koen Kooi @ 2012-03-06 12:03 UTC (permalink / raw)
  To: openembedded-core; +Cc: Koen Kooi

As usual, this creates problems for upgrade paths, but splitting out the lib is worth the short term hassle

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta/recipes-extended/xz/xz_5.0.3.bb |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/xz/xz_5.0.3.bb b/meta/recipes-extended/xz/xz_5.0.3.bb
index bae71ec..e8f96b6 100644
--- a/meta/recipes-extended/xz/xz_5.0.3.bb
+++ b/meta/recipes-extended/xz/xz_5.0.3.bb
@@ -14,8 +14,15 @@ SRC_URI = "http://tukaani.org/xz/xz-${PV}.tar.gz"
 SRC_URI[md5sum] = "fefe52f9ecd521de2a8ce38c21a27574"
 SRC_URI[sha256sum] = "10eb4df72dffb2fb14c3d2d82b450e72282ffcb9ee3908a8e5b392b8f09681bf"
 
-PR = "r0"
+PR = "r1"
 
 inherit autotools gettext
 
+PACKAGES =+ "liblzma liblzma-dev liblzma-staticdev liblzma-dbg"
+
+FILES_liblzma = "${libdir}/liblzma*${SOLIBS}"
+FILES_liblzma-dev = "${includedir}/lzma* ${libdir}/liblzma*${SOLIBSDEV} ${libdir}/liblzma.la ${libdir}/pkgconfig/liblzma.pc"
+FILES_liblzma-staticdev = "${libdir}/liblzma.a"
+FILES_liblzma-dbg = "${libdir}/.debug/liblzma*"
+
 BBCLASSEXTEND = "native"
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] xz: split out liblzma as seperate packages
  2012-03-06 12:03 [PATCH] xz: split out liblzma as seperate packages Koen Kooi
@ 2012-03-06 12:08 ` Paul Menzel
  2012-03-06 12:16   ` Koen Kooi
  2012-03-12 21:21 ` Saul Wold
  1 sibling, 1 reply; 4+ messages in thread
From: Paul Menzel @ 2012-03-06 12:08 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1478 bytes --]

Dear Koen,


Am Dienstag, den 06.03.2012, 13:03 +0100 schrieb Koen Kooi:

sep*a*rate in the commit summary.

> As usual, this creates problems for upgrade paths, but splitting out the lib is worth the short term hassle

Is there some documentation what distros or users should do facing this
hassle?

> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
>  meta/recipes-extended/xz/xz_5.0.3.bb |    9 ++++++++-
>  1 files changed, 8 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-extended/xz/xz_5.0.3.bb b/meta/recipes-extended/xz/xz_5.0.3.bb
> index bae71ec..e8f96b6 100644
> --- a/meta/recipes-extended/xz/xz_5.0.3.bb
> +++ b/meta/recipes-extended/xz/xz_5.0.3.bb
> @@ -14,8 +14,15 @@ SRC_URI = "http://tukaani.org/xz/xz-${PV}.tar.gz"
>  SRC_URI[md5sum] = "fefe52f9ecd521de2a8ce38c21a27574"
>  SRC_URI[sha256sum] = "10eb4df72dffb2fb14c3d2d82b450e72282ffcb9ee3908a8e5b392b8f09681bf"
>  
> -PR = "r0"
> +PR = "r1"
>  
>  inherit autotools gettext
>  
> +PACKAGES =+ "liblzma liblzma-dev liblzma-staticdev liblzma-dbg"
> +
> +FILES_liblzma = "${libdir}/liblzma*${SOLIBS}"
> +FILES_liblzma-dev = "${includedir}/lzma* ${libdir}/liblzma*${SOLIBSDEV} ${libdir}/liblzma.la ${libdir}/pkgconfig/liblzma.pc"
> +FILES_liblzma-staticdev = "${libdir}/liblzma.a"
> +FILES_liblzma-dbg = "${libdir}/.debug/liblzma*"
> +
>  BBCLASSEXTEND = "native"

Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>


Thanks,

Paul

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] xz: split out liblzma as seperate packages
  2012-03-06 12:08 ` Paul Menzel
@ 2012-03-06 12:16   ` Koen Kooi
  0 siblings, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2012-03-06 12:16 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Op 6 mrt. 2012, om 13:08 heeft Paul Menzel het volgende geschreven:

> Dear Koen,
> 
> 
> Am Dienstag, den 06.03.2012, 13:03 +0100 schrieb Koen Kooi:
> 
> sep*a*rate in the commit summary.
> 
>> As usual, this creates problems for upgrade paths, but splitting out the lib is worth the short term hassle
> 
> Is there some documentation what distros or users should do facing this
> hassle?

$packagemagager upgrade --$forceoverwrite-switch or ensure xz is upgraded first. I know opkg gets this wrong most of the time.

regards,

Koen


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] xz: split out liblzma as seperate packages
  2012-03-06 12:03 [PATCH] xz: split out liblzma as seperate packages Koen Kooi
  2012-03-06 12:08 ` Paul Menzel
@ 2012-03-12 21:21 ` Saul Wold
  1 sibling, 0 replies; 4+ messages in thread
From: Saul Wold @ 2012-03-12 21:21 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi

On 03/06/2012 04:03 AM, Koen Kooi wrote:
> As usual, this creates problems for upgrade paths, but splitting out the lib is worth the short term hassle
>
> Signed-off-by: Koen Kooi<koen@dominion.thruhere.net>
> ---
>   meta/recipes-extended/xz/xz_5.0.3.bb |    9 ++++++++-
>   1 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-extended/xz/xz_5.0.3.bb b/meta/recipes-extended/xz/xz_5.0.3.bb
> index bae71ec..e8f96b6 100644
> --- a/meta/recipes-extended/xz/xz_5.0.3.bb
> +++ b/meta/recipes-extended/xz/xz_5.0.3.bb
> @@ -14,8 +14,15 @@ SRC_URI = "http://tukaani.org/xz/xz-${PV}.tar.gz"
>   SRC_URI[md5sum] = "fefe52f9ecd521de2a8ce38c21a27574"
>   SRC_URI[sha256sum] = "10eb4df72dffb2fb14c3d2d82b450e72282ffcb9ee3908a8e5b392b8f09681bf"
>
> -PR = "r0"
> +PR = "r1"
>
>   inherit autotools gettext
>
> +PACKAGES =+ "liblzma liblzma-dev liblzma-staticdev liblzma-dbg"
> +
> +FILES_liblzma = "${libdir}/liblzma*${SOLIBS}"
> +FILES_liblzma-dev = "${includedir}/lzma* ${libdir}/liblzma*${SOLIBSDEV} ${libdir}/liblzma.la ${libdir}/pkgconfig/liblzma.pc"
> +FILES_liblzma-staticdev = "${libdir}/liblzma.a"
> +FILES_liblzma-dbg = "${libdir}/.debug/liblzma*"
> +
>   BBCLASSEXTEND = "native"

Merged into OE-Core

Thanks
	Sau!



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-12 21:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 12:03 [PATCH] xz: split out liblzma as seperate packages Koen Kooi
2012-03-06 12:08 ` Paul Menzel
2012-03-06 12:16   ` Koen Kooi
2012-03-12 21:21 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox