Patchwork [v2] libpng: remove two un-necessary binaries

login
register
mail settings
Submitter Saul Wold
Date Aug. 5, 2013, 5:12 a.m.
Message ID <1375679521-16328-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/55107/
State New
Headers show

Comments

Saul Wold - Aug. 5, 2013, 5:12 a.m.
Used fixed path the first time and -native had issues, fixed with bindir
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-multimedia/libpng/libpng_1.6.3.bb | 4 ++++
 1 file changed, 4 insertions(+)
Ross Burton - Aug. 5, 2013, 8:57 a.m.
On 5 August 2013 06:12, Saul Wold <sgw@linux.intel.com> wrote:
> +       rm ${D}${bindir}/png-fix-itxt ${D}${bindir}/pngfix

These tools could be useful, can we make a libpng-tools package or
something similar for the contents of $bindir?

Ross

Patch

diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.3.bb b/meta/recipes-multimedia/libpng/libpng_1.6.3.bb
index 11e735c..3506483 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.6.3.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.6.3.bb
@@ -19,4 +19,8 @@  inherit autotools binconfig pkgconfig
 # Work around missing symbols
 EXTRA_OECONF_append_arm = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}"
 
+do_install_append() {
+	rm ${D}${bindir}/png-fix-itxt ${D}${bindir}/pngfix
+}
+
 BBCLASSEXTEND = "native nativesdk"