[Webkit-unassigned] [Bug 212026] New: [GTK] Allow gtk-doc and introspection in cross builds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 18 07:58:40 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=212026

            Bug ID: 212026
           Summary: [GTK] Allow gtk-doc and introspection in cross builds
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org
                CC: bugs-noreply at webkitgtk.org

See https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/76

OptionsGTK.cmake contains:

# 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 ()

But in fact, if we remove these lines, cross building works perfectly fine. We've been patching out these lines when building the GNOME runtimes because we cross-build i386 and armv7 packages and obviously need introspection to work.

These lines were added way back in r186259, so I can only presume something has changed somewhere such that it's no longer a problem, because both work perfectly fine. We have very simple CMake toolchain files that just set CMAKE_SYSTEM_NAME and CMAKE_SYSTEM_PROCESSOR, which is minimum required when cross building with CMake, so if it works for us I assume it should work for anyone....

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200518/1ea46a6f/attachment.htm>


More information about the webkit-unassigned mailing list