-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for webkit2gtk-4.1 #671
Comments
I believe it should be possible to link against two libsoup API's simultaneously (provided the SONAME's are different, of course) - one (3.0) as the implicit dependence of webkit2gtk-4.1, and 2.4 as pdfpc's explicit dependence. |
I think that's not possible. pkgconfig for webkit2gtk-4.1 will include header files for libsoup-3.0 which will cause conflicts. Even if it was possible to work around this, libsoup-2.4 and 3.0 contain a runtime check and verify that both are not loaded into the same process:
|
OK, thanks. I stand corrected. |
Just noting that Fedora will also move to webkit2gtk-4.1 soon (in August once Fedora 39 branches). More information here: https://fedoraproject.org/wiki/Changes/Remove_webkit2gtk-4.0_API_Version |
FTR: Debian Bookworm (will be released in june 2023) will also include webkit2gtk-4.1 (https://packages.debian.org/bookworm/libwebkit2gtk-4.1-0) |
Strictly speaking, switching to webkit2gtk-4.1 is trivial as far as one doesn't need the REST functionality (i.e., accessing the libsoup3 API). So an immediate solution might be to compile with REST=OFF. In fact, I wonder how many users are there that use the functionality. Probably on the order of unity (including me) :). |
👋 Any updates on the webkit2gtk-4.1 support? Thanks! |
Checkin again. Thanks! |
Build with libwebkit2gtk41 REST server functionality requires libsoup2, however libsoup2 cannot be loaded int the same process as libsoup3. One of the maintainers reccomended disabling REST and building presentation notes with webkit2gtk-4.1, stating that as far as he knows, he is the only one using the REST server functionality. pdfpc/pdfpc#671
Build with libwebkit2gtk41 REST server functionality requires libsoup2, however libsoup2 cannot be loaded in to the same process as libsoup3. One of the maintainers reccomended disabling REST and building presentation notes with webkit2gtk-4.1, stating that as far as he knows, he is the only one using the REST server functionality. pdfpc/pdfpc#671
Build with libwebkit2gtk41 REST server functionality requires libsoup2, however libsoup2 cannot be loaded in to the same process as libsoup3. One of the maintainers reccomended disabling REST and building presentation notes with webkit2gtk-4.1, stating that as far as he knows, he is the only one using the REST server functionality. pdfpc/pdfpc#671
Build with libwebkit2gtk41 REST server functionality requires libsoup2, however libsoup2 cannot be loaded in to the same process as libsoup3. One of the maintainers reccomended disabling REST and building presentation notes with webkit2gtk-4.1, stating that as far as he knows, he is the only one using the REST server functionality. pdfpc/pdfpc#671
Gentoo Linux is transitioning from webkit2gtk-4.0 to 4.1, see https://bugs.gentoo.org/893668.
Would it be possible to support webkit2gtk-4.1? IIUC there should be no API differences. However, 4.1 would require libsoup-3.0 (so issue #664 would have to be reconsidered).
The text was updated successfully, but these errors were encountered: