Skip to contentSkip to conversation

V2: Add libraries to lsb image

PATCH New Kang Kai 1 participant 2 messages Mar 26, 2013

lore
Share & tools
lore

Kang Kai

author
#0 lore raw

cover V2: Add libraries to lsb image

V2: put libpng_1.2.50.bb to meta-lsb4

The following changes since commit f36926a264190e6202830e8520b41b30ae77ea43:

docbook-utils-native: Unbreak the build after source and build dir split (2013-03-25 20:51: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 (1):
libpng: add version 1.2 back

 meta/conf/distro/include/default-versions.inc |    3 +++
 meta/recipes-lsb4/libpng/libpng_1.2.50.bb     |   21 +++++++++++++++++++++
 2 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-lsb4/libpng/libpng_1.2.50.bb
Signature · 1 line
1.7.5.4
author
#1 lore raw

PATCH 1/1 libpng: add version 1.2 back

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]

---
 meta/conf/distro/include/default-versions.inc |    3 +++
 meta/recipes-lsb4/libpng/libpng_1.2.50.bb     |   21 +++++++++++++++++++++
 2 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-lsb4/libpng/libpng_1.2.50.bb
meta/conf/distro/include/default-versions.inc +3 -0
index 53ec2e7..0a5b2f4 100644
@@ -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"
meta/recipes-lsb4/libpng/libpng_1.2.50.bb new file +21 -0
new file mode 100644
index 0000000..8fdc41b
@@ -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"
Signature · 1 line
1.7.5.4