[oe] [oe-commits] Marko Lindqvist : libpng: update to upstream version 1.5.13

Martin Jansa martin.jansa at gmail.com
Sat Dec 22 16:05:15 UTC 2012


On Wed, Dec 19, 2012 at 05:54:00PM +0000, git at git.openembedded.org wrote:
> Module: openembedded-core.git
> Branch: master
> Commit: 317cbe5f5d4bf9366657a0d5383108c1b3340a8a
> URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=317cbe5f5d4bf9366657a0d5383108c1b3340a8a
> 
> Author: Marko Lindqvist <cazfi74-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
> Date:   Thu Dec 13 19:48:14 2012 +0200
> 
> 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.

Why isn't this handled by debian.bbclass like in other libs?

PN-dev and PN-dbg are broken, because they depend on nonexistent libpng
and main libpng package is named libpng15-15

Package: libpng15-15
Version: 1.5.13-r0
Depends: libz1 (>= 1.2.7), libc6 (>= 2.16)

Package: libpng-dev
Version: 1.5.13-r0
Depends: libpng (= 1.5.13-r0), libpng15-15

Package: libpng-dbg
Version: 1.5.13-r0
Recommends: libpng (= 1.5.13-r0), libc6-dbg, libz-dbg

Cheers,

> 
> License md5sums differ only because of license text formatting
> changes and because they contain version numbers and release dates.
> 
> Signed-off-by: Marko Lindqvist <cazfi74-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> 
> ---
> 
>  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(-)
> 
> diff --git a/meta/recipes-multimedia/libpng/libpng_1.2.50.bb b/meta/recipes-multimedia/libpng/libpng_1.2.50.bb
> deleted file mode 100644
> index 7015538..0000000
> --- a/meta/recipes-multimedia/libpng/libpng_1.2.50.bb
> +++ /dev/null
> @@ -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 nativesdk"
> diff --git a/meta/recipes-multimedia/libpng/libpng_1.5.13.bb b/meta/recipes-multimedia/libpng/libpng_1.5.13.bb
> new file mode 100644
> index 0000000..28220ad
> --- /dev/null
> +++ b/meta/recipes-multimedia/libpng/libpng_1.5.13.bb
> @@ -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 nativesdk"
> 
> 
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20121222/17255bd9/attachment-0002.sig>


More information about the Openembedded-devel mailing list