From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/2] libpng: add version 1.2 back
Date: Mon, 25 Mar 2013 08:38:52 -0500 [thread overview]
Message-ID: <5150536C.6000000@windriver.com> (raw)
In-Reply-To: <e3e9dea5c45c1b5ba29300e4957dcd611655492e.1364204199.git.kai.kang@windriver.com>
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"
>
next prev parent reply other threads:[~2013-03-25 13:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2013-03-25 10:21 ` [PATCH 2/2] packagegroup-core-lsb: add nspr Kang Kai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5150536C.6000000@windriver.com \
--to=mark.hatle@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox