[gnome-continuous-yocto/gnomeostree-3.28-rocko: 8185/8267] gobject-introspection: improve reproducibility
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 8185/8267] gobject-introspection: improve reproducibility
- Date: Sun, 17 Dec 2017 07:17:49 +0000 (UTC)
commit 254013ce5f346927184916848c369ebd4cb74952
Author: Juro Bystricky <juro bystricky intel com>
Date: Tue Oct 24 14:04:09 2017 -0700
gobject-introspection: improve reproducibility
Remove cross-compiler wrappers from the package, these contain numerous
build host references.
The wrappers are only needed for cross-compiling.
[YOCTO #11705]
(From OE-Core rev: 60584b9047d844d6e5394338c133e8dab954e09d)
Signed-off-by: Juro Bystricky <juro bystricky intel com>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Armin Kuster <akuster mvista com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
.../gobject-introspection_1.52.1.bb | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
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
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]