[Webkit-unassigned] [Bug 220508] [META][SOUP] Support libsoup3
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 28 06:10:33 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=220508
gabriele balducci <balducci at units.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |balducci at units.it
--- Comment #1 from gabriele balducci <balducci at units.it> ---
building 2.31.90 with -DUSE_SOUP2=OFF fails for me because soup
version 2.4 is still hardcoded in the following files:
----8<----
Tools/gtkdoc/generate-gtkdoc
Source/WebKit/PlatformGTK.cmake
Source/WebKit/gtk/webkit2gtk.pc.in
Source/WebKit/gtk/webkit2gtk-web-extension.pc.in
---->8----
brute force fix of those definitions makes my build succeed; eg:
----8<----
diff -c ./Source/WebKit/PlatformGTK.cmake.REALLY_SOUP_3 ./Source/WebKit/PlatformGTK.cmake
*** ./Source/WebKit/PlatformGTK.cmake.REALLY_SOUP_3 2021-02-28 10:15:27.680399591 +0100
--- ./Source/WebKit/PlatformGTK.cmake 2021-02-28 10:15:27.684399609 +0100
***************
*** 684,690 ****
--nsversion=${WEBKITGTK_API_VERSION}
--include=GObject-2.0
--include=Gtk-${GTK_API_VERSION}.0
! --include=Soup-2.4
--include-uninstalled=${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir
--library=webkit2gtk-${WEBKITGTK_API_VERSION}
--library=javascriptcoregtk-${WEBKITGTK_API_VERSION}
--- 684,690 ----
--nsversion=${WEBKITGTK_API_VERSION}
--include=GObject-2.0
--include=Gtk-${GTK_API_VERSION}.0
! --include=Soup-3.0
--include-uninstalled=${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir
--library=webkit2gtk-${WEBKITGTK_API_VERSION}
--library=javascriptcoregtk-${WEBKITGTK_API_VERSION}
***************
*** 693,699 ****
--no-libtool
--pkg=gobject-2.0
--pkg=${GTK_PKGCONFIG_PACKAGE}
! --pkg=libsoup-2.4
--pkg-export=webkit2gtk-${WEBKITGTK_API_VERSION}
--output=${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir
${GIR_SOURCES_TOP_DIRS}
--- 693,699 ----
--no-libtool
--pkg=gobject-2.0
--pkg=${GTK_PKGCONFIG_PACKAGE}
! --pkg=libsoup-3.0
--pkg-export=webkit2gtk-${WEBKITGTK_API_VERSION}
--output=${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir
${GIR_SOURCES_TOP_DIRS}
***************
*** 731,737 ****
--nsversion=${WEBKITGTK_API_VERSION}
--include=GObject-2.0
--include=Gtk-${GTK_API_VERSION}.0
! --include=Soup-2.4
--include-uninstalled=${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir
--library=webkit2gtk-${WEBKITGTK_API_VERSION}
--library=javascriptcoregtk-${WEBKITGTK_API_VERSION}
--- 731,737 ----
--nsversion=${WEBKITGTK_API_VERSION}
--include=GObject-2.0
--include=Gtk-${GTK_API_VERSION}.0
! --include=Soup-3.0
--include-uninstalled=${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir
--library=webkit2gtk-${WEBKITGTK_API_VERSION}
--library=javascriptcoregtk-${WEBKITGTK_API_VERSION}
***************
*** 741,747 ****
--no-libtool
--pkg=gobject-2.0
--pkg=${GTK_PKGCONFIG_PACKAGE}
! --pkg=libsoup-2.4
--pkg-export=webkit2gtk-web-extension-${WEBKITGTK_API_VERSION}
--output=${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.gir
${GIR_SOURCES_TOP_DIRS}
--- 741,747 ----
--no-libtool
--pkg=gobject-2.0
--pkg=${GTK_PKGCONFIG_PACKAGE}
! --pkg=libsoup-3.0
--pkg-export=webkit2gtk-web-extension-${WEBKITGTK_API_VERSION}
--output=${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.gir
${GIR_SOURCES_TOP_DIRS}
---->8----
and so on.
Building on linux with:
----8<----
-DCMAKE_CXX_FLAGS="-fpermissive"
-DPORT=GTK
-DCMAKE_BUILD_TYPE=Release
-DENABLE_CREDENTIAL_STORAGE=OFF
-DENABLE_GEOLOCATION=OFF
-DUSE_LIBNOTIFY=OFF
-DUSE_LIBHYPHEN=OFF
-DENABLE_FTL_JIT=ON
-DUSE_WOFF2=OFF
-DENABLE_JIT=ON
-DUSE_OPENJPEG=OFF
-DUSE_WPE_RENDERER=OFF
-DENABLE_BUBBLEWRAP_SANDBOX=OFF
-DUSE_SYSTEMD=OFF
-DENABLE_GAMEPAD=OFF
-DUSE_LD_GOLD=OFF
-DUSE_SOUP2=OFF
---->8----
thanks
ciao
-gabriele
--
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/20210228/44a98f2c/attachment.htm>
More information about the webkit-unassigned
mailing list