webkit2gtk - 2.46.4 tested
Hello Ethan, I've got webkit (version in testing) to compile. It seems like gstreamer and flite is hard requirement and I could not find the old flag in cmake files to disable it.
See my repo, I have updated everything. I'm using ruby 3.3 since older versions fail to build now too. 3.3 adds depend on yaml (couldn't disable it).
Also, if you build these new packages: gst-plugins-good gst-plugins-bad
Webkit will stop crashing on web pages with videos. I've also tested youtube video playback and it seems to work without issues. I'm using my heavily customized version of surf.
[0] https://github.com/kyx0r/repo-main.git
I need to review and retest the changes on a clean chroot, what do you say should I send a PR for all this if good?
@kyx0r It's nice to hear from you again! Glad that you were able to make webkit build - I haven't had any luck on my laptop for a while when building it. (I've had much better luck with palemoon though surprisingly)
Are the dependency trees for gst-plugins-good and gst-plugins-bad relatively small? ie. how many extra packages would I have to add to get them to be buildable? If it's only a matter of adding the two packages then it'd be nice to add them for the video playback support.
And if you make a PR, I'd be happy to merge.
hello to both of you. long time no see.
I just built webkit 2.46.6 on my desktop, and flite is not needed.
I notied that @kyx0r added this in his list of dependencies.
you should also be able to keep -DUSE_GSTREAMER_TRANSCODER=OFF , even with video/audio enabled.. which I also noticed @kyx0r enabled on his repo.
Updating from 2.44.4, I only had to add -DUSE_SYSTEM_SYSPROF_CAPTURE=NO, for a successfull build on my end. You can view my build recipe here.
Regarding video and audio playback you would want these:
-
gst-libav -
gst-plugins-bad -
gst-plugins-base -
gst-plugins-good -
gst-plugins-ugly -
gstreamer
all packages can be found in my repo aswell. Regarding dependencies, nothing special really. xlibs, ffmpeg, meson, glib etc..
Happy New Year, all. Nice observations and thanks @hovercats. I'll adjust my pkg with these changes as well.
Any chance that either of you have been able to build webkit? I haven't had the time to devote to testing to see if the more recent releases build.
Versions 2.48.2 and 2.48.3 and 2.49.1 build fine without need for any patches with the latest gcc 15.1 I've tried 2.49.2 and it fails to build with lots of strange errors; it is still marked as "unstable" release, hopefully it will be fixed once "stable".
My package has additional multimedia deps: https://github.com/kyx0r/repo-main/tree/master/community/webkit2gtk While @hovercats version is more minimal: https://github.com/hovercats/oakiss/tree/master/repo/webkit2gtk
similarly to @kyx0r here, I had no issues building 2.48.2. not tried 2.48.3, nor the 2.49.x versions. never really bothered with the testing branches tbh..
Actually, I take it back. I forgot that the build script for webkit explicitly checks for clang and uses it if it's installed. So the builds I done were not using GCC 15.1, but rather clang 20.1.6
updated 2.49.4 to, unfortunately it required me doing some surgery patchwork due to compiler errors. I got it to work.
Does it compile with both gcc & clang then? Which compiler was giving you errors?
It was with clang, but I just finished a build with gcc. Both work well.
Sweet, I'll see if I can get something building