Patchwork libpng: fix packaging

login
register
mail settings
Submitter Martin Jansa
Date Dec. 22, 2012, 4:24 p.m.
Message ID <1356193460-27079-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/41505/
State Accepted
Commit 69bbce0176183b0dc14eda21e4f6b601443060f0
Headers show

Comments

Martin Jansa - Dec. 22, 2012, 4:24 p.m.
* PN-LIBV is not needed, was used to package libpng12 from libpng3 build
  now only libpng15 is built.
* if you're not using OEBasicHash + PRserv you need to rebuild and
  reinstall a lot of packages to upgrade to libpng-1.5 correctly

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-multimedia/libpng/libpng_1.5.13.bb | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Patch

diff --git a/meta/recipes-multimedia/libpng/libpng_1.5.13.bb b/meta/recipes-multimedia/libpng/libpng_1.5.13.bb
index 28220ad..04bb932 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.5.13.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.5.13.bb
@@ -6,7 +6,7 @@  LICENSE = "Libpng"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=00b5b35853278d508806c2e5860e82cb \
                     file://png.h;beginline=207;endline=321;md5=50e583fb60bb36f37ab5023b2a3715d1"
 DEPENDS = "zlib"
-PR = "r0"
+PR = "r1"
 LIBV = "15"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/${PV}/libpng-${PV}.tar.xz"
@@ -16,9 +16,4 @@  SRC_URI[sha256sum] = "b843f9cb01d10ae22acd9aaf58aceaa4a6aeb9cf78943b41588004b271
 
 inherit autotools binconfig pkgconfig
 
-PACKAGES =+ "${PN}${LIBV}"
-
-FILES_${PN}${LIBV} = "${libdir}/libpng${LIBV}${SOLIBS}"
-RPROVIDES_${PN}-dev += "${PN}${LIBV}-dev"
-
 BBCLASSEXTEND = "native nativesdk"