* [PATCH] libunique: fix installed-vs-shipped qa issue
@ 2018-11-05 5:59 kai.kang
2018-11-05 6:56 ` [meta-xfce][PATCH] " Kang Kai
0 siblings, 1 reply; 5+ messages in thread
From: kai.kang @ 2018-11-05 5:59 UTC (permalink / raw)
To: openembedded-devel
From: Kai Kang <kai.kang@windriver.com>
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.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
index 49ed07ad9..a6475cef6 100644
--- a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
+++ b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
@@ -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}
+}
--
2.19.0.rc2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [meta-xfce][PATCH] libunique: fix installed-vs-shipped qa issue
2018-11-05 5:59 [PATCH] libunique: fix installed-vs-shipped qa issue kai.kang
@ 2018-11-05 6:56 ` Kang Kai
2018-11-05 8:30 ` Andreas Müller
0 siblings, 1 reply; 5+ messages in thread
From: Kang Kai @ 2018-11-05 6:56 UTC (permalink / raw)
To: openembedded-devel
On 2018/11/5 下午1:59, kai.kang@windriver.com wrote:
> From: Kai Kang <kai.kang@windriver.com>
Oops. Forgot prefix [meta-xfce] in the title.
--Kai
>
> 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.
>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
> meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
> index 49ed07ad9..a6475cef6 100644
> --- a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
> +++ b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
> @@ -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}
> +}
--
Regards,
Neil | Kai Kang
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-xfce][PATCH] libunique: fix installed-vs-shipped qa issue
2018-11-05 6:56 ` [meta-xfce][PATCH] " Kang Kai
@ 2018-11-05 8:30 ` Andreas Müller
2018-11-06 1:39 ` Kang Kai
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Müller @ 2018-11-05 8:30 UTC (permalink / raw)
To: Kang Kai; +Cc: openembeded-devel
On Mon, Nov 5, 2018 at 7:58 AM Kang Kai <Kai.Kang@windriver.com> wrote:
>
> On 2018/11/5 下午1:59, kai.kang@windriver.com wrote:
> > From: Kai Kang <kai.kang@windriver.com>
>
>
> Oops. Forgot prefix [meta-xfce] in the title.
>
> --Kai
>
>
> >
> > 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.
> >
> > Signed-off-by: Kai Kang <kai.kang@windriver.com>
> > ---
> > meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
> > index 49ed07ad9..a6475cef6 100644
> > --- a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
> > +++ b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
> > @@ -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}
> > +}
>
I think this breaks introspection - why not just pack Unique-1.0.gir?
Andreas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-xfce][PATCH] libunique: fix installed-vs-shipped qa issue
2018-11-05 8:30 ` Andreas Müller
@ 2018-11-06 1:39 ` Kang Kai
2018-11-06 8:16 ` Andreas Müller
0 siblings, 1 reply; 5+ messages in thread
From: Kang Kai @ 2018-11-06 1:39 UTC (permalink / raw)
To: Andreas Müller; +Cc: openembeded-devel
On 2018/11/5 下午4:30, Andreas Müller wrote:
> On Mon, Nov 5, 2018 at 7:58 AM Kang Kai <Kai.Kang@windriver.com> wrote:
>> On 2018/11/5 下午1:59, kai.kang@windriver.com wrote:
>>> From: Kai Kang <kai.kang@windriver.com>
>>
>> Oops. Forgot prefix [meta-xfce] in the title.
>>
>> --Kai
>>
>>
>>> 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.
>>>
>>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>>> ---
>>> meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 ++++
>>> 1 file changed, 4 insertions(+)
>>>
>>> diff --git a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
>>> index 49ed07ad9..a6475cef6 100644
>>> --- a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
>>> +++ b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
>>> @@ -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}
>>> +}
> 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
>
> Andreas
>
--
Regards,
Neil | Kai Kang
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-xfce][PATCH] libunique: fix installed-vs-shipped qa issue
2018-11-06 1:39 ` Kang Kai
@ 2018-11-06 8:16 ` Andreas Müller
0 siblings, 0 replies; 5+ messages in thread
From: Andreas Müller @ 2018-11-06 8:16 UTC (permalink / raw)
To: Kang Kai; +Cc: openembeded-devel
> > 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-11-06 8:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 5:59 [PATCH] libunique: fix installed-vs-shipped qa issue kai.kang
2018-11-05 6:56 ` [meta-xfce][PATCH] " Kang Kai
2018-11-05 8:30 ` Andreas Müller
2018-11-06 1:39 ` Kang Kai
2018-11-06 8:16 ` Andreas Müller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.