Open evilbinary opened 1 year ago
As it prompted, LibSoup 2.0 (not 3.0) needed. There is a large gap between LibSoup 2 and LibSoup 3, that is, we can not use LibSoup 3 to substitute the LibSoup 2 in the source compliant way.
i also have libsoup 2.0 ,but still have problem and the document says
1) When using Gtk3 and Soup2 (Ubuntu 20.04):
$ mkdir -p WebKitBuild/Release && cd WebKitBuild/Release
$ cmake ../.. -DPORT=GTK -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_GAMEPAD=OFF -DENABLE_INTROSPECTION=OFF -DUSE_SOUP2=ON -DUSE_WPE_RENDERER=OFF -DUSE_LCMS=OFF -GNinja
$ ninja -j2
$ sudo ninja install
2) When using Gtk4 and Soup3 (Ubuntu 22.04):
$ mkdir -p WebKitBuild/Release && cd WebKitBuild/Release
$ cmake ../.. -DPORT=GTK -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_GAMEPAD=OFF -DENABLE_INTROSPECTION=OFF -DUSE_SOUP3=ON -DUSE_WPE_RENDERER=OFF -DUSE_LCMS=OFF -GNinja
$ ninja -j2
$ sudo ninja install
meaning that it can support libsoup3 also.
We use LibSoup 3 with Gtk 4. However, it is not tested.