Skip to contentSkip to conversation

libpng update to 1.5.13 V2

PATCH Superseded Marko Lindqvist 2 participants 4 messages Dec 7, 2012 – Dec 10, 2012

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

In openembedded-core itself, libmatchbox does not compile against libpng15. Patch for that sent already.

In meta-openembedded, libsdl-image is known not to compile against libpng15. Patch for that too sent already.

I have not been systematically testing build of all the possible components. Above two problems are just the ones I've encountered as part of my typical builds.

- ML

#1 lore raw

PATCH v2 1/1 libpng: update to upstream version 1.5.13

Updating from 1.2.x means also change in actual library name from libpng12 to libpng15, and slight changes in API.

License md5sums differ only because of license text formatting changes and because they contain version numbers and release dates.

---
 meta/recipes-multimedia/libpng/libpng_1.2.50.bb |   23 ----------------------
 meta/recipes-multimedia/libpng/libpng_1.5.13.bb |   24 +++++++++++++++++++++++
 2 files changed, 24 insertions(+), 23 deletions(-)
 delete mode 100644 meta/recipes-multimedia/libpng/libpng_1.2.50.bb
 create mode 100644 meta/recipes-multimedia/libpng/libpng_1.5.13.bb
meta/recipes-multimedia/libpng/libpng_1.2.50.bb deleted +0 -23
deleted file mode 100644
index 62989bb..0000000
@@ -1,23 +0,0 @@
-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"
-
-BBCLASSEXTEND = "native"
meta/recipes-multimedia/libpng/libpng_1.5.13.bb new file +24 -0
new file mode 100644
index 0000000..3b7168e
@@ -0,0 +1,24 @@
+SUMMARY = "PNG Library"
+DESCRIPTION = "PNG Library"
+HOMEPAGE = "http://www.libpng.org/"
+SECTION = "libs"
+LICENSE = "Libpng"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=00b5b35853278d508806c2e5860e82cb \
+                    file://png.h;beginline=207;endline=321;md5=50e583fb60bb36f37ab5023b2a3715d1"
+DEPENDS = "zlib"
+PR = "r0"
+LIBV = "15"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/${PV}/libpng-${PV}.tar.xz"
+
+SRC_URI[md5sum] = "0b607a685da977f1bfc96e1c47055183"
+SRC_URI[sha256sum] = "b843f9cb01d10ae22acd9aaf58aceaa4a6aeb9cf78943b41588004b271257aee"
+
+inherit autotools binconfig pkgconfig
+
+PACKAGES =+ "${PN}${LIBV}"
+
+FILES_${PN}${LIBV} = "${libdir}/libpng${LIBV}${SOLIBS}"
+RPROVIDES_${PN}-dev += "${PN}${LIBV}-dev"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.10.4
#2 lore raw
In reply to Marko Lindqvist
Quoted 11 lines · Marko Lindqvist

In openembedded-core itself, libmatchbox does not compile against libpng15. Patch for that sent already.

In meta-openembedded, libsdl-image is known not to compile against libpng15. Patch for that too sent already.

I have not been systematically testing build of all the possible components. Above two problems are just the ones I've encountered as part of my typical builds.

Did you at least try to build all the recipes that are in OE-Core that depend on libpng, not just typical builds? A quick grep in OE-Core shows that the following depend on libpng:

transfig-native
cups
gdk-pixbuf
gthumb
gtk+
cairo
directfb
libmatchbox
pixman
gst-plugins-good
qt4

So I would strongly recommend building and doing somekind of basic validation of these to ensure there are not any more API issues.

Thanks
Sau!

Quoted 9 lines

- ML

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 29 lines · Saul Wold
Quoted 5 lines · Marko Lindqvist

In openembedded-core itself, libmatchbox does not compile against libpng15. Patch for that sent already.

Quoted 7 lines

In meta-openembedded, libsdl-image is known not to compile against libpng15. Patch for that too sent already.

I have not been systematically testing build of all the possible components. Above two problems are just the ones I've encountered as part of my typical builds.

Did you at least try to build all the recipes that are in OE-Core that depend on libpng, not just typical builds? A quick grep in OE-Core shows that the following depend on libpng:

transfig-native
cups
gdk-pixbuf
gthumb
gtk+
cairo
directfb
libmatchbox
pixman
gst-plugins-good
qt4

Quoted 2 lines

So I would strongly recommend building and doing somekind of basic validation of these to ensure there are not any more API issues.

All built succesfully. As for validation, build already proves that
they are not trying to use removed data members directly (linking at least would have failed).

- ML