On 2018年10月16日 06:01, Khem Raj wrote:
may be we can use bitbake variables here and also optimize it a bit if
possible ?
too many installs there

It is not the issue of polkit, but gobject-introspection.bbclass in oe-core,
I've sent the fix to oe-core.

Here is my fix:

commit 29b41806fa5679881efd04b0b41ecbf4ddd07d11
Author: Hongxu Jia <[email protected]>
Date:   Tue Oct 16 15:31:23 2018 +0800

    gobject-introspection.bbclass: fix gir installed but not shipped in any package while multilib enabled

    Since commit [9524330 gobject-introspection: fix multilib install
    file conflicts] applied in oe-core, while multilib enabled, gir
    files will be installed to `${libdir}'.

    Refer above commit, modify gobject-introspection.bbclass to
    split gir to package correctly.

    Signed-off-by: Hongxu Jia <[email protected]>

diff --git a/meta/classes/gobject-introspection.bbclass b/meta/classes/gobject-introspection.bbclass
index b6160b8..a323c1f 100644
--- a/meta/classes/gobject-introspection.bbclass
+++ b/meta/classes/gobject-introspection.bbclass
@@ -40,4 +40,4 @@ FILES_${PN}_append = " ${libdir}/girepository-*/*.typelib"

 # .gir files go to dev package, as they're needed for developing (but not for
 # running) things that depends on introspection.
-FILES_${PN}-dev_append = " ${datadir}/gir-*/*.gir"
+FILES_${PN}-dev_append = " ${datadir}/gir-*/*.gir ${libdir}/gir-*/*.gir"

//Hongxu

+        mv ${D}${libdir}/gir-1.0 ${D}/usr/share/.


--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to