[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH] gobject-introspection: improve reproducibility
From:       Juro Bystricky <juro.bystricky () intel ! com>
Date:       2017-10-24 21:04:09
Message-ID: 1508879049-10490-1-git-send-email-juro.bystricky () intel ! com
[Download RAW message or body]

Remove cross-compiler wrappers from the package, these contain numerous
build host references.
The wrappers are only needed for cross-compiling.

[YOCTO #11705]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
---
 .../gobject-introspection/gobject-introspection_1.52.1.bb        | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.52.1.bb \
b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.52.1.bb index \
                605f02e..3fe71a3 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.52.1.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.52.1.bb
@@ -177,3 +177,12 @@ gi_ldsoconf_sysroot_preprocess () {
 	echo "echo ${libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
 	chmod 755 $dest
 }
+
+# Remove wrapper files from the package, only used for cross-compiling
+PACKAGE_PREPROCESS_FUNCS += "gi_package_preprocess"
+gi_package_preprocess() {
+	rm -f ${PKGD}${bindir}/g-ir-scanner-qemuwrapper
+	rm -f ${PKGD}${bindir}/g-ir-scanner-wrapper
+	rm -f ${PKGD}${bindir}/g-ir-compiler-wrapper
+	rm -f ${PKGD}${bindir}/g-ir-scanner-lddwrapper
+}
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic