This needs to be conditionally enabled similar to webkitgtk recipe:
${@bb.utils.contains('GI_DATA_ENABLED', 'True',
'-DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \
Most Gnome Projects meanwhile consider gobject-introspection to be
mandatory. Are you sure this needs to be optional. The generated files
are really small in size and you just cant build the complete Gnome Code
if you allow to make it optional.
This needs to be done with a patch and not by patching generated files
with sed after the fact; the binary names should be provided from
calling pkg-config.
Yes, i know, you are right. But that whole introspection thing is to
some point a big mess. Found that hack in the evolution-data-server
recipe. Not sure if i'm able to sort that out, but i'll have a look at.
Am 21.01.22 um 00:50 schrieb Alexander Kanavin:
On Fri, 21 Jan 2022 at 00:41, Markus Volk <[email protected]
<mailto:[email protected]>> wrote:
+EXTRA_OECMAKE += "-DGOBJECT_INTROSPECTION=ON"
This needs to be conditionally enabled similar to webkitgtk recipe:
${@bb.utils.contains('GI_DATA_ENABLED', 'True',
'-DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \
+do_configure:append () {
+ # fix abs path for g-ir-scanner-wrapper
+ sed -i ${B}/build.ninja \
+ -e 's: ${bindir}/g-ir-scanner-wrapper:
${STAGING_BINDIR}/g-ir-scanner-wrapper:g'
+
+ # fix abs path for g-ir-compiler-wrapper
+ sed -i ${B}/build.ninja \
+ -e 's: ${bindir}/g-ir-compiler-wrapper:
${STAGING_BINDIR}/g-ir-compiler-wrapper:g'
+
+ # fix abs path for vapigen
+ sed -i ${B}/build.ninja \
+ -e 's: ${STAGING_BINDIR}/vapigen:
${STAGING_BINDIR_NATIVE}/vapigen:g'
+}
This needs to be done with a patch and not by patching generated files
with sed after the fact; the binary names should be provided from
calling pkg-config.
Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160808):
https://lists.openembedded.org/g/openembedded-core/message/160808
Mute This Topic: https://lists.openembedded.org/mt/88572597/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-