Bumped up compiling with icu 68.2 thanks @Slenderchat for the provided patch.
Search Criteria
Package Details: webkitgtk2 3:2.4.11-22
Git Clone URL: | https://aur.archlinux.org/webkitgtk2.git (read-only, click to copy) |
---|---|
Package Base: | webkitgtk2 |
Description: | Legacy Web content engine for GTK+ 2 |
Upstream URL: | https://webkitgtk.org/ |
Licenses: | |
Conflicts: | |
Provides: | |
Replaces: | |
Submitter: | frealgagu |
Maintainer: | frealgagu |
Last Packager: | frealgagu |
Votes: | 5 |
Popularity: | 0.22 |
First Submitted: | 2018-12-21 02:29 |
Last Updated: | 2021-02-08 18:46 |
Dependencies (20)
- geoclue2 (geoclue)
- gst-plugins-base-libs (gst-plugins-base-git)
- gtk2 (gtk2-patched-gdkwin-nullcheck, gtk2-ubuntu, gtk2-git, gtk2-minimal-git, gtk2-patched-filechooser-icon-view)
- harfbuzz-icu (harfbuzz-icu-git)
- libgl (glshim-git, catalyst-firepro, libhybris-ext-libgl-git, catalyst-total, catalyst-libgl, catalyst-total-hd234k, libhybris-libgl-git, mesa-libgl-noglvnd, catalyst-test, swiftshader-git, nvidia-340xx-utils, libglvnd-git, amdgpu-pro-libgl, libglvnd)
- libsecret
- libwebp (libwebp-git)
- libxslt (libxslt-git)
- libxt
- enchant>=2.2 (enchant-pure)
- gobject-introspection (gobject-introspection-git) (make)
- gperf (gperf-git) (make)
- gtk2 (gtk2-patched-gdkwin-nullcheck, gtk2-ubuntu, gtk2-git, gtk2-minimal-git, gtk2-patched-filechooser-icon-view) (make)
- gtk3 (gtk3-donnatella, gtk3-cosy, gtk3-adwaita-3-32-git, gtk3-mushrooms, gtk3-git, gtk3-ubuntu, gtk3-patched-filechooser-icon-view, gtk3-typeahead, gtk3-no_deadkeys_underline, gtk3-classic) (make)
- mesa (mesa-noglvnd, mesa-arm-git, mesa-rc, mesa-stable, mesa-git, mesa-minimal-git, mesa-minimal+-git) (make)
- python2 (make)
- ruby (ruby1.8, rvm) (make)
- gst-libav (gst-libav-git) (optional) – nonfree media decoding
- gst-plugins-base (gst-plugins-base-git) (optional) – free media decoding
- gst-plugins-good (gst-plugins-good-git) (optional) – media decoding
Required by (45)
- aptana-studio (optional)
- archi (optional)
- ariamaestosa
- atril-gtk2 (optional)
- awn-extras-applets
- balsa-gtk2 (requires libwebkit)
- beersmith2
- darkradiant-git
- dwb-git
- getax
- gimp-painter-git
- ginkgo-cadx (make)
- ginkgo-cadx-git (make)
- gmpc-plugins (requires libwebkit)
- gmpc-wikipedia (requires libwebkit)
- gnome-inform7
- icaclient-old (optional)
- lasercalc-git
- lasercalc-git (make)
- markdowner-bzr (requires libwebkit)
- mdm-display-manager (requires libwebkit)
- mdm-nosystemd (requires libwebkit)
- midori-gtk2
- movian-git
- perl-gtk2-webkit
- php-wxwidgets-git
- php-wxwidgets-git (make)
- pywebkitgtk
- rainlendar-pro
- simplicitystudio
- smarthome-designer (optional)
- something-for-reddit-git
- truecraft-git
- tumblrtv-xscreensaver
- tumblrtv-xscreensaver (make)
- vaudtax
- vimb-gtk2
- vimprobable-git
- vimprobable2 (requires libwebkit)
- w3af (optional)
- webkit-sharp
- xombrero-gtk2-git
- xtrkcad-hg
- zekr (requires libwebkit)
- zendstudio (requires libwebkit)
Sources (8)
Latest Comments
frealgagu commented on 2020-12-26 01:49
frealgagu commented on 2020-12-10 17:54
@neoresin sure, the package I've uploaded to https://github.com/frealgagu/archlinux.webkitgtk2/releases was built in a clean chroot. The pkgrel 20 contains the patch to fix the CSSGrammar.hpp bug, so you shouldn't have issues in compilation.
neoresin commented on 2020-12-10 04:25
@frealgagu Unfortunately still getting the error below (fatal error: CSSGrammar.hpp: No such file or directory). Any luck getting it to compile under chroot?
frealgagu commented on 2020-11-09 19:52
@philo I'm not longer maintaining the packages in https://cdn.repo.archlinuxcn.org so there is no a place to keep the binaries anymore.
@neoresin I'm trying to compile this version in chroot and I'll let you know
philo commented on 2020-10-22 13:24
Maintainer is AWOL?
neoresin commented on 2020-10-19 02:38
@frealgagu
Getting:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
547 | struct _GTimeVal
| ^~~~~~~~~
CXX DerivedSources/WebCore/libWebCore_la-InspectorWebBackendDispatchers.lo
CXX DerivedSources/WebCore/libWebCore_la-InspectorWebFrontendDispatchers.lo
CXX DerivedSources/WebCore/libWebCore_la-InspectorWebTypeBuilders.lo
DerivedSources/WebCore/CSSGrammar.cpp:160:10: fatal error: CSSGrammar.hpp: No such file or directory
160 | #include "CSSGrammar.hpp"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [GNUmakefile:66115: DerivedSources/WebCore/libWebCore_la-CSSGrammar.lo] Error 1
Tried this to no avail: https://aur.archlinux.org/packages/webkitgtk/#comment-769092
Any ideas? philo commented on 2020-09-17 18:55
@frealgagu
Contrary to what you advertise, the built package was yanked from archlinuxcn. Any reason?
EDIT- I found this link to the archcn package:
https://archlinux.pkgs.org/rolling/archlinuxcn-x86_64/webkitgtk2-3:2.4.11-19-x86_64.pkg.tar.zst.html
but there is no download link.
frealgagu commented on 2019-04-14 18:31
FAQ
Q: What's the difference between this package and extra/webkit2gtk?
A: webkitgtk/webkitgtk2 provides WebKit1 API/ABI, which is not compatible with WebKit2 API/ABI provided by extra/webkit2gtk. WebKitGTK+ 2.4.x is the latest branch that provides WebKit1 API. Later branches provides WebKit2 API only.
Please don't flag it as out-of-date.
Q: Are there binaries for this package somewhere?
A: I maintain the latest built package at https://github.com/frealgagu/archlinux.webkitgtk2/releases
Q: "error while loading shared libraries: libicui18n.so.62: cannot open shared object file: No such file or directory"
A: You'll need to rebuild against the latest version of ICU.
Q: "error: ‘WTF::StringImpl::StaticASCIILiteraicASCIILiteral’ has not been declared" or any enchant errors.
A: If you are building in parallel, try disabling parallel using -j1 in /etc/makepkg.conf
Q: Why building takes too long time?
A: WebKit is inherently big and complex. You can modify /etc/makepkg.conf or PKGBUILD directly to build it in parallel.
-
Change "make all stamp-po" by "make -j x all stamp-po" in PKGBUILD replacing x by cores your machine has. (Thanks to @MadMe)
-
Change /etc/makepkg.conf in that way: https://wiki.archlinux.org/index.php/makepkg#Parallel_compilation under
# ARCHITECTURE, COMPILE FLAGS
useMAKEFLAGS="-j9"
# It should be one more than your virtual CPUs. (Thanks to @tuxsavvy).
However be pending if errors occur as mentioned in previous question.
Q: How much I want to wait to a successful compilation?
A: It varies of your PC's processor and RAM, the times shared in the comments are as follow:
-
3.5 hours to build on core i5 laptop with 8G of RAM, makeflags j4. (@cabbage)
-
13.5 hours to build on AMD Athlon X2, makeflags j1 (@Bonnietwin).
-
5-6 hours on Core2Duo E8400 with 8GB RAM, makeflags j2 (tuxsavvy).
-
50 minutes on 6c/12t 3.3GHz (@kubrick).
Pinned Comments
frealgagu commented on 2019-04-14 18:31
FAQ
Q: What's the difference between this package and extra/webkit2gtk?
A: webkitgtk/webkitgtk2 provides WebKit1 API/ABI, which is not compatible with WebKit2 API/ABI provided by extra/webkit2gtk. WebKitGTK+ 2.4.x is the latest branch that provides WebKit1 API. Later branches provides WebKit2 API only.
Please don't flag it as out-of-date.
Q: Are there binaries for this package somewhere?
A: I maintain the latest built package at https://github.com/frealgagu/archlinux.webkitgtk2/releases
Q: "error while loading shared libraries: libicui18n.so.62: cannot open shared object file: No such file or directory"
A: You'll need to rebuild against the latest version of ICU.
Q: "error: ‘WTF::StringImpl::StaticASCIILiteraicASCIILiteral’ has not been declared" or any enchant errors.
A: If you are building in parallel, try disabling parallel using -j1 in /etc/makepkg.conf
Q: Why building takes too long time?
A: WebKit is inherently big and complex. You can modify /etc/makepkg.conf or PKGBUILD directly to build it in parallel.
Change "make all stamp-po" by "make -j x all stamp-po" in PKGBUILD replacing x by cores your machine has. (Thanks to @MadMe)
Change /etc/makepkg.conf in that way: https://wiki.archlinux.org/index.php/makepkg#Parallel_compilation under
# ARCHITECTURE, COMPILE FLAGS
useMAKEFLAGS="-j9"
# It should be one more than your virtual CPUs. (Thanks to @tuxsavvy).However be pending if errors occur as mentioned in previous question.
Q: How much I want to wait to a successful compilation?
A: It varies of your PC's processor and RAM, the times shared in the comments are as follow:
3.5 hours to build on core i5 laptop with 8G of RAM, makeflags j4. (@cabbage)
13.5 hours to build on AMD Athlon X2, makeflags j1 (@Bonnietwin).
5-6 hours on Core2Duo E8400 with 8GB RAM, makeflags j2 (tuxsavvy).
50 minutes on 6c/12t 3.3GHz (@kubrick).