RESOLVED FIXED 194590
[GTK] Do not silently disable GIR for cross builds
https://bugs.webkit.org/show_bug.cgi?id=194590
Summary [GTK] Do not silently disable GIR for cross builds
Rasmus Thomsen
Reported 2019-02-13 06:07:12 PST
Hello, Could the silent disabling of GIR in OptionsGTK.cmake be removed? Void Linux has recently enabled GIR compilation in cross builds using the methods already used by the Yocto Project and Buildroot (namely running g-ir-* through qemu), so we have to patch it out: --- Source/cmake/OptionsGTK.cmake.orig 2019-02-10 18:04:07.898417778 +0100 +++ Source/cmake/OptionsGTK.cmake 2019-02-10 18:04:36.673415569 +0100 @@ -357,7 +357,6 @@ # Override the cached variables, gtk-doc and gobject-introspection do not really work when cross-building. if (CMAKE_CROSSCOMPILING) set(ENABLE_GTKDOC OFF) - set(ENABLE_INTROSPECTION OFF) endif () # Override the cached variable, gtk-doc does not really work when building on Mac. The cross builds work fine for us now on armv{5,6,7} and aarch64.
Attachments
Rasmus Thomsen
Comment 1 2019-02-13 06:08:26 PST
FWIW, I guess the silent disabling GTK_DOC should be disabled too and replaced by at least a warning?
Michael Catanzaro
Comment 2 2022-07-06 06:33:38 PDT
Looks like this is gone nowadays.
Note You need to log in before you can comment on or make changes to this bug.