libpng : update to 1.60.0
PATCH 1/1 libpng : update to 1.60.0
---
.../libpng/{libpng_1.5.14.bb => libpng_1.6.0.bb} | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
rename meta/recipes-multimedia/libpng/{libpng_1.5.14.bb => libpng_1.6.0.bb} (50%)meta/recipes-multimedia/libpng/libpng_1.6.0.bb renamed from meta/recipes-multimedia/libpng/libpng_1.5.14.bb +5 -5
@@ -3,17 +3,17 @@ DESCRIPTION = "PNG Library" HOMEPAGE = "http://www.libpng.org/" SECTION = "libs" LICENSE = "Libpng" -LIC_FILES_CHKSUM = "file://LICENSE;md5=58c8238139ee86082f8d29eb89304241 \ - file://png.h;beginline=207;endline=321;md5=4f17771edaee8bb3c17a95d7faaa3681" +LIC_FILES_CHKSUM = "file://LICENSE;md5=03b8ec701cb796c0ec84af22f884edef \ + file://png.h;beginline=207;endline=321;md5=e829cebefd08488ba5142ea5faea6821" DEPENDS = "zlib" PR = "r0" -LIBV = "15" +LIBV = "16" SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/${PV}/libpng-${PV}.tar.xz \ " -SRC_URI[md5sum] = "94284b01d62ca43c5eb3f6702db08ed8" -SRC_URI[sha256sum] = "1459488e1b58d3be1c798453cf40c522c05bd66b61156cd51f469f17dff87b54" +SRC_URI[md5sum] = "3ee623b9a4d33bda7310a5124080b14d" +SRC_URI[sha256sum] = "5e13c31321083b03956b5ff298bacffab7a7ad35c34c122acef314593944b97b" inherit autotools binconfig pkgconfig
Signature · 1 line
1.7.9.5
While this is a straight forward patch, it causes some problems with depender's of libpng, since the library name changes from libpng15 -> libpng16 a lot of both -native and target packages fail to compile.
I know in the past we would do a load of PR bumps to all these packages to address this issue.
This is because many packages encode the libpng15 information into libtool (.la) files, when the sysroot is populated with an older build or sstate cache, the libpng15 info remains.
There already is a link from libpng.la, why does this not get used by libtool and stored in the .la file?
I am sure there is some strange magical history around this issue.
Thanks
Sau!
Quoted 37 lines · Andrei Dinu
Signed-off-by Andrei Dinu <[email protected]>--- .../libpng/{libpng_1.5.14.bb => libpng_1.6.0.bb} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)rename meta/recipes-multimedia/libpng/{libpng_1.5.14.bb => libpng_1.6.0.bb} (50%)
meta/recipes-multimedia/libpng/libpng_1.6.0.bb renamed from meta/recipes-multimedia/libpng/libpng_1.5.14.bb +5
-5@@ -3,17 +3,17 @@ DESCRIPTION = "PNG Library" HOMEPAGE = "http://www.libpng.org/" SECTION = "libs" LICENSE = "Libpng" -LIC_FILES_CHKSUM = "file://LICENSE;md5=58c8238139ee86082f8d29eb89304241 \ - file://png.h;beginline=207;endline=321;md5=4f17771edaee8bb3c17a95d7faaa3681" +LIC_FILES_CHKSUM = "file://LICENSE;md5=03b8ec701cb796c0ec84af22f884edef \ + file://png.h;beginline=207;endline=321;md5=e829cebefd08488ba5142ea5faea6821" DEPENDS = "zlib" PR = "r0" -LIBV = "15" +LIBV = "16" SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/${PV}/libpng-${PV}.tar.xz \ " -SRC_URI[md5sum] = "94284b01d62ca43c5eb3f6702db08ed8" -SRC_URI[sha256sum] = "1459488e1b58d3be1c798453cf40c522c05bd66b61156cd51f469f17dff87b54" +SRC_URI[md5sum] = "3ee623b9a4d33bda7310a5124080b14d" +SRC_URI[sha256sum] = "5e13c31321083b03956b5ff298bacffab7a7ad35c34c122acef314593944b97b" inherit autotools binconfig pkgconfig
Quoted 8 lines · Saul Wold
While this is a straight forward patch, it causes some problems with depender's of libpng, since the library name changes from libpng15 -> libpng16 a lot of both -native and target packages fail to compile.
I know in the past we would do a load of PR bumps to all these packages to address this issue.
Quoted 8 lines
This is because many packages encode the libpng15 information into libtool (.la) files, when the sysroot is populated with an older build or sstate cache, the libpng15 info remains.
There already is a link from libpng.la, why does this not get used by libtool and stored in the .la file?
I am sure there is some strange magical history around this issue.
Last upgrade to 1.5 had the same problem, I still have magical "cleanup" oneliner from that:
for MACHINE in nokia900 om-gta04 tuna qemux86-64 om-gta02 spitz; do export MACHINE; bitbake -c cleansstate vlc vte qt4-x11-free qt4-embedded python-pygtk pidgin poppler pango packagekit nautilus mplayer2 metacity matchbox-keyboard matchbox-panel-2 librsvg libwmf libsdl-image libunique gst-plugins-bad gst-plugins-good avahi-ui cheese libass glade3 evolution-data-server gtk+3 gnome-disk-utility gnome-panel gnome-desktop directfb cups gnome-keyring evince webkit-efl libcanberra cairo libglade libgweather libwnck polkit-gnome libgpewidget libgnomekbd gmtk numptyphysics; done;
But this list is only to fix binary feed I care about, not all packages available in layers.
Quoted 43 lines · Andrei Dinu
Quoted 27 lines
Signed-off-by Andrei Dinu <[email protected]>--- .../libpng/{libpng_1.5.14.bb => libpng_1.6.0.bb} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)rename meta/recipes-multimedia/libpng/{libpng_1.5.14.bb => libpng_1.6.0.bb} (50%)
meta/recipes-multimedia/libpng/libpng_1.6.0.bb renamed from meta/recipes-multimedia/libpng/libpng_1.5.14.bb +3
-3@@ -3,17 +3,17 @@ DESCRIPTION = "PNG Library" HOMEPAGE = "http://www.libpng.org/" SECTION = "libs" LICENSE = "Libpng" -LIC_FILES_CHKSUM = "file://LICENSE;md5=58c8238139ee86082f8d29eb89304241 \ - file://png.h;beginline=207;endline=321;md5=4f17771edaee8bb3c17a95d7faaa3681" +LIC_FILES_CHKSUM = "file://LICENSE;md5=03b8ec701cb796c0ec84af22f884edef \ + file://png.h;beginline=207;endline=321;md5=e829cebefd08488ba5142ea5faea6821" DEPENDS = "zlib" PR = "r0" -LIBV = "15" +LIBV = "16"meta/recipes-multimedia/libpng/libpng_1.6.0.bb DESCRIPTION = "PNG Library" · line 19
Quoted 10 lines
meta/recipes-multimedia/libpng/libpng_1.6.0.bb renamed from meta/recipes-multimedia/libpng/libpng_1.5.14.bb +2
-2SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/${PV}/libpng-${PV}.tar.xz \ " -SRC_URI[md5sum] = "94284b01d62ca43c5eb3f6702db08ed8" -SRC_URI[sha256sum] = "1459488e1b58d3be1c798453cf40c522c05bd66b61156cd51f469f17dff87b54" +SRC_URI[md5sum] = "3ee623b9a4d33bda7310a5124080b14d" +SRC_URI[sha256sum] = "5e13c31321083b03956b5ff298bacffab7a7ad35c34c122acef314593944b97b" inherit autotools binconfig pkgconfig_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 3 lines · Saul Wold
This is because many packages encode the libpng15 information into libtool (.la) files, when the sysroot is populated with an older build or sstate cache, the libpng15 info remains.
Sounds like another good reason to erase ${libdir}/*.la automatically...
Ross