libunique: fix installed-vs-shipped qa issue
PATCH 1/1 libunique: fix installed-vs-shipped qa issue
From: Kai Kang <[email protected]>
libunique shows installed-vs-shipped QA issue if configure option '--disable-introspection' is set by:
1) in gobject-introspection*.bbclass that the 'qemu-usermode' is not supported by bsp and then not set in MACHINE_FEATURES
or:
2) set in local.conf directly:
EXTRA_OECONF_append_pn-libunique = " --disable-introspection"
Remove empty directory to fix the QA issue.
--- meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb +4 -0
@@ -28,3 +28,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" inherit autotools pkgconfig gobject-introspection distro_features_check gtk-doc REQUIRED_DISTRO_FEATURES = "x11" + +do_install_append () { + rmdir --ignore-fail-on-non-empty ${D}${datadir} +}
Signature · 1 line
2.19.0.rc2
Quoted 1 line · On 2018/11/5 下午1:59, [email protected] wrote:
From: Kai Kang <[email protected]>
Oops. Forgot prefix [meta-xfce] in the title.
--Kai
Quoted 28 lines
libunique shows installed-vs-shipped QA issue if configure option '--disable-introspection' is set by:
1) in gobject-introspection*.bbclass that the 'qemu-usermode' is not supported by bsp and then not set inMACHINE_FEATURES
or:
2) set in local.conf directly:EXTRA_OECONF_append_pn-libunique = " --disable-introspection"Remove empty directory to fix the QA issue.
Signed-off-by Kai Kang <[email protected]>--- meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb +4
-0@@ -28,3 +28,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" inherit autotools pkgconfig gobject-introspection distro_features_check gtk-doc REQUIRED_DISTRO_FEATURES = "x11" + +do_install_append () { + rmdir --ignore-fail-on-non-empty ${D}${datadir} +}
Signature · 2 lines
Regards, Neil | Kai Kang
Quoted 33 lines · Kang Kai
Quoted 1 line · On 2018/11/5 下午1:59, [email protected] wrote:
From: Kai Kang <[email protected]>
Oops. Forgot prefix [meta-xfce] in the title.
--Kai
Quoted 23 lines
libunique shows installed-vs-shipped QA issue if configure option '--disable-introspection' is set by:
1) in gobject-introspection*.bbclass that the 'qemu-usermode' is not supported by bsp and then not set inMACHINE_FEATURES
or:
2) set in local.conf directly:EXTRA_OECONF_append_pn-libunique = " --disable-introspection"Remove empty directory to fix the QA issue.
Signed-off-by Kai Kang <[email protected]>--- meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb +0
-0@@ -28,3 +28,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" inherit autotools pkgconfig gobject-introspection distro_features_check gtk-doc
Quoted 6 lines
meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" · line 34
Quoted 5 lines
meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb +4
-0REQUIRED_DISTRO_FEATURES = "x11" + +do_install_append () { + rmdir --ignore-fail-on-non-empty ${D}${datadir} +}
I think this breaks introspection - why not just pack Unique-1.0.gir?
Andreas
Quoted 31 lines · Andreas Müller
Quoted 30 lines · Kang Kai
Quoted 1 line · On 2018/11/5 下午1:59, [email protected] wrote:
From: Kai Kang <[email protected]>
Oops. Forgot prefix [meta-xfce] in the title.
--Kai
Quoted 22 lines
libunique shows installed-vs-shipped QA issue if configure option '--disable-introspection' is set by:
1) in gobject-introspection*.bbclass that the 'qemu-usermode' is not supported by bsp and then not set inMACHINE_FEATURES
or:
2) set in local.conf directly:EXTRA_OECONF_append_pn-libunique = " --disable-introspection"Remove empty directory to fix the QA issue.
Signed-off-by Kai Kang <[email protected]>--- meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb +0
-0@@ -28,3 +28,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" inherit autotools pkgconfig gobject-introspection distro_features_check gtk-doc
Quoted 6 lines
Quoted 5 lines
meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" · line 34
Quoted 5 lines
meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb +4
-0REQUIRED_DISTRO_FEATURES = "x11" + +do_install_append () { + rmdir --ignore-fail-on-non-empty ${D}${datadir} +}I think this breaks introspection - why not just pack Unique-1.0.gir?
If configure option '--disable-introspection' is set rather than '--enable-introspection', no file Unique-1.0.gir is created and ${D}${datadir} is empty. Option '--ignore-fail-on-non-empty' of rmdir is to make sure not affect introspection.
Regards,
Kai
Quoted 3 lines
Andreas
Signature · 2 lines
Regards, Neil | Kai Kang
Quoted 9 lines
Quoted 1 line
I think this breaks introspection - why not just pack Unique-1.0.gir?
If configure option '--disable-introspection' is set rather than '--enable-introspection', no file Unique-1.0.gir is created and ${D}${datadir} is empty.
Option '--ignore-fail-on-non-empty' of rmdir is to make sure not affect introspection.
Ok - thanks.
Andreas