All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add libraries to lsb image
@ 2013-03-25 10:21 Kang Kai
  2013-03-25 10:21 ` [PATCH 1/2] libpng: add version 1.2 back Kang Kai
  2013-03-25 10:21 ` [PATCH 2/2] packagegroup-core-lsb: add nspr Kang Kai
  0 siblings, 2 replies; 6+ messages in thread
From: Kang Kai @ 2013-03-25 10:21 UTC (permalink / raw)
  To: openembedded-core

[YOCTO #4015]

The following changes since commit 3c5f4d54d01887a117bf659fc9af6b2b892c2b08:

  separatebuilddir.inc: mxsldr should never have been added to this list, remove (2013-03-24 14:03:19 +0000)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib kangkai/lsb-libs
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/lsb-libs

Kang Kai (2):
  libpng: add version 1.2 back
  packagegroup-core-lsb: add nspr

 meta/conf/distro/include/default-versions.inc      |    3 ++
 .../packagegroups/packagegroup-core-lsb.bb         |    1 +
 meta/recipes-multimedia/libpng/libpng_1.2.50.bb    |   21 ++++++++++++++++++++
 3 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-multimedia/libpng/libpng_1.2.50.bb

-- 
1.7.5.4




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

* [PATCH 1/2] libpng: add version 1.2 back
  2013-03-25 10:21 [PATCH 0/2] Add libraries to lsb image Kang Kai
@ 2013-03-25 10:21 ` Kang Kai
  2013-03-25 10:52   ` Richard Purdie
  2013-03-25 13:38   ` Mark Hatle
  2013-03-25 10:21 ` [PATCH 2/2] packagegroup-core-lsb: add nspr Kang Kai
  1 sibling, 2 replies; 6+ messages in thread
From: Kang Kai @ 2013-03-25 10:21 UTC (permalink / raw)
  To: openembedded-core

Current LSB 4.1 test suite still check libpng12.so, so add libpng 1.2.x
back, and set it as default verison for linuxstdbase image.

[YOCTO 4015]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 meta/conf/distro/include/default-versions.inc   |    3 +++
 meta/recipes-multimedia/libpng/libpng_1.2.50.bb |   21 +++++++++++++++++++++
 2 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-multimedia/libpng/libpng_1.2.50.bb

diff --git a/meta/conf/distro/include/default-versions.inc b/meta/conf/distro/include/default-versions.inc
index 53ec2e7..0a5b2f4 100644
--- a/meta/conf/distro/include/default-versions.inc
+++ b/meta/conf/distro/include/default-versions.inc
@@ -9,3 +9,6 @@ PREFERRED_VERSION_python-native ?= "2.7.3"
 
 # Force the older version of liberation-fonts until we fix the fontforge issue
 PREFERRED_VERSION_liberation-fonts ?= "1.04"
+
+# Set libpng default version for linuxstdbase
+PREFERRED_VERSION_libpng_linuxstdbase ?= "1.2.50"
diff --git a/meta/recipes-multimedia/libpng/libpng_1.2.50.bb b/meta/recipes-multimedia/libpng/libpng_1.2.50.bb
new file mode 100644
index 0000000..8fdc41b
--- /dev/null
+++ b/meta/recipes-multimedia/libpng/libpng_1.2.50.bb
@@ -0,0 +1,21 @@
+SUMMARY = "PNG Library"
+DESCRIPTION = "PNG Library"
+HOMEPAGE = "http://www.libpng.org/"
+SECTION = "libs"
+LICENSE = "Libpng"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c3d807a85c09ebdff087f18b4969ff96 \
+                    file://png.h;beginline=310;endline=424;md5=b87b5e9252a3e14808a27b92912d268d"
+DEPENDS = "zlib"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.xz"
+
+SRC_URI[md5sum] = "a3e00fccbfe356174ab515b5c00641c7"
+SRC_URI[sha256sum] = "4724f81f8c92ac7f360ad1fbf173396ea7c535923424db9fbaff07bfd9d8e8e7"
+
+inherit autotools binconfig pkgconfig
+
+PACKAGES =+ "${PN}12"
+
+FILES_${PN}12 = "${libdir}/libpng12${SOLIBS}"
+RPROVIDES_${PN}-dev += "${PN}12-dev"
-- 
1.7.5.4




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

* [PATCH 2/2] packagegroup-core-lsb: add nspr
  2013-03-25 10:21 [PATCH 0/2] Add libraries to lsb image Kang Kai
  2013-03-25 10:21 ` [PATCH 1/2] libpng: add version 1.2 back Kang Kai
@ 2013-03-25 10:21 ` Kang Kai
  1 sibling, 0 replies; 6+ messages in thread
From: Kang Kai @ 2013-03-25 10:21 UTC (permalink / raw)
  To: openembedded-core

Add nspr for LSB library check.

[YOCTO 4015]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../packagegroups/packagegroup-core-lsb.bb         |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
index 51517dc..d692a26 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
@@ -160,6 +160,7 @@ RDEPENDS_packagegroup-core-lsb-core = "\
     libxml2 \
     ncurses \
     zlib \
+    nspr \
 "
 
 SUMMARY_packagegroup-core-lsb-perl = "LSB Runtime Languages (Perl)"
-- 
1.7.5.4




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

* Re: [PATCH 1/2] libpng: add version 1.2 back
  2013-03-25 10:21 ` [PATCH 1/2] libpng: add version 1.2 back Kang Kai
@ 2013-03-25 10:52   ` Richard Purdie
  2013-03-26  2:17     ` Kang Kai
  2013-03-25 13:38   ` Mark Hatle
  1 sibling, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2013-03-25 10:52 UTC (permalink / raw)
  To: Kang Kai; +Cc: openembedded-core

On Mon, 2013-03-25 at 18:21 +0800, Kang Kai wrote:
> Current LSB 4.1 test suite still check libpng12.so, so add libpng 1.2.x
> back, and set it as default verison for linuxstdbase image.
> 
> [YOCTO 4015]
> 
> Signed-off-by: Kang Kai <kai.kang@windriver.com>
> ---
>  meta/conf/distro/include/default-versions.inc   |    3 +++
>  meta/recipes-multimedia/libpng/libpng_1.2.50.bb |   21 +++++++++++++++++++++
>  2 files changed, 24 insertions(+), 0 deletions(-)
>  create mode 100644 meta/recipes-multimedia/libpng/libpng_1.2.50.bb

I'm not entirely happy about this :/ Lets put this into
meta/recipes-lsb4 along with the other stuff we just have around for
official compatibility. 

Cheers,

Richard





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

* Re: [PATCH 1/2] libpng: add version 1.2 back
  2013-03-25 10:21 ` [PATCH 1/2] libpng: add version 1.2 back Kang Kai
  2013-03-25 10:52   ` Richard Purdie
@ 2013-03-25 13:38   ` Mark Hatle
  1 sibling, 0 replies; 6+ messages in thread
From: Mark Hatle @ 2013-03-25 13:38 UTC (permalink / raw)
  To: openembedded-core

On 3/25/13 5:21 AM, Kang Kai wrote:
> Current LSB 4.1 test suite still check libpng12.so, so add libpng 1.2.x
> back, and set it as default verison for linuxstdbase image.

I think this is close, but incorrect.  What should be added for compatibility is 
a -new- package called "libpng12_1.2.50.bb".  Ensure that the libpng-config 
(which should installed into crossscripts) is also renamed to libpng12-config.

We want to make sure we have both the old and new versions to meet LSB 
compliance (for people who have that enabled) as well as the new version for 
newer applications.

--Mark

> [YOCTO 4015]
>
> Signed-off-by: Kang Kai <kai.kang@windriver.com>
> ---
>   meta/conf/distro/include/default-versions.inc   |    3 +++
>   meta/recipes-multimedia/libpng/libpng_1.2.50.bb |   21 +++++++++++++++++++++
>   2 files changed, 24 insertions(+), 0 deletions(-)
>   create mode 100644 meta/recipes-multimedia/libpng/libpng_1.2.50.bb
>
> diff --git a/meta/conf/distro/include/default-versions.inc b/meta/conf/distro/include/default-versions.inc
> index 53ec2e7..0a5b2f4 100644
> --- a/meta/conf/distro/include/default-versions.inc
> +++ b/meta/conf/distro/include/default-versions.inc
> @@ -9,3 +9,6 @@ PREFERRED_VERSION_python-native ?= "2.7.3"
>
>   # Force the older version of liberation-fonts until we fix the fontforge issue
>   PREFERRED_VERSION_liberation-fonts ?= "1.04"
> +
> +# Set libpng default version for linuxstdbase
> +PREFERRED_VERSION_libpng_linuxstdbase ?= "1.2.50"
> diff --git a/meta/recipes-multimedia/libpng/libpng_1.2.50.bb b/meta/recipes-multimedia/libpng/libpng_1.2.50.bb
> new file mode 100644
> index 0000000..8fdc41b
> --- /dev/null
> +++ b/meta/recipes-multimedia/libpng/libpng_1.2.50.bb
> @@ -0,0 +1,21 @@
> +SUMMARY = "PNG Library"
> +DESCRIPTION = "PNG Library"
> +HOMEPAGE = "http://www.libpng.org/"
> +SECTION = "libs"
> +LICENSE = "Libpng"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=c3d807a85c09ebdff087f18b4969ff96 \
> +                    file://png.h;beginline=310;endline=424;md5=b87b5e9252a3e14808a27b92912d268d"
> +DEPENDS = "zlib"
> +PR = "r0"
> +
> +SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.xz"
> +
> +SRC_URI[md5sum] = "a3e00fccbfe356174ab515b5c00641c7"
> +SRC_URI[sha256sum] = "4724f81f8c92ac7f360ad1fbf173396ea7c535923424db9fbaff07bfd9d8e8e7"
> +
> +inherit autotools binconfig pkgconfig
> +
> +PACKAGES =+ "${PN}12"
> +
> +FILES_${PN}12 = "${libdir}/libpng12${SOLIBS}"
> +RPROVIDES_${PN}-dev += "${PN}12-dev"
>




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

* Re: [PATCH 1/2] libpng: add version 1.2 back
  2013-03-25 10:52   ` Richard Purdie
@ 2013-03-26  2:17     ` Kang Kai
  0 siblings, 0 replies; 6+ messages in thread
From: Kang Kai @ 2013-03-26  2:17 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

On 2013年03月25日 18:52, Richard Purdie wrote:
> On Mon, 2013-03-25 at 18:21 +0800, Kang Kai wrote:
>> Current LSB 4.1 test suite still check libpng12.so, so add libpng 1.2.x
>> back, and set it as default verison for linuxstdbase image.
>>
>> [YOCTO 4015]
>>
>> Signed-off-by: Kang Kai<kai.kang@windriver.com>
>> ---
>>   meta/conf/distro/include/default-versions.inc   |    3 +++
>>   meta/recipes-multimedia/libpng/libpng_1.2.50.bb |   21 +++++++++++++++++++++
>>   2 files changed, 24 insertions(+), 0 deletions(-)
>>   create mode 100644 meta/recipes-multimedia/libpng/libpng_1.2.50.bb
> I'm not entirely happy about this :/ Lets put this into
> meta/recipes-lsb4 along with the other stuff we just have around for
> official compatibility.

OK, I'll send V2.

Regards,
Kai

>
> Cheers,
>
> Richard
>
>
>




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

end of thread, other threads:[~2013-03-26  3:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-25 10:21 [PATCH 0/2] Add libraries to lsb image Kang Kai
2013-03-25 10:21 ` [PATCH 1/2] libpng: add version 1.2 back Kang Kai
2013-03-25 10:52   ` Richard Purdie
2013-03-26  2:17     ` Kang Kai
2013-03-25 13:38   ` Mark Hatle
2013-03-25 10:21 ` [PATCH 2/2] packagegroup-core-lsb: add nspr Kang Kai

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.