Package Details: webkitgtk 3:2.4.11-27

Git Clone URL: https://aur.archlinux.org/webkitgtk.git (read-only, click to copy)
Package Base: webkitgtk
Description: Legacy Web content engine for GTK+ 3
Upstream URL: https://webkitgtk.org/
Licenses: custom
Conflicts: libwebkit3, webkitgtk3
Provides: libwebkit3, webkitgtk3
Replaces: libwebkit3, webkitgtk3
Submitter: City-busz
Maintainer: frealgagu
Last Packager: frealgagu
Votes: 70
Popularity: 0.99
First Submitted: 2017-06-30 07:40 (UTC)
Last Updated: 2023-08-15 19:11 (UTC)

Pinned Comments

frealgagu commented on 2019-04-14 18:13 (UTC) (edited on 2020-12-06 03:31 (UTC) by frealgagu)

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.webkitgtk/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 use MAKEFLAGS="-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).

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 16 Next › Last »

frealgagu commented on 2021-12-16 22:51 (UTC)

@orgio89 Package was updated to pkgrel 26. https://github.com/frealgagu/archlinux.webkitgtk/releases contains the latest built package which is compiled with the ICU 70.1

orgio89 commented on 2021-12-16 12:10 (UTC)

@kinta you must rebuild webkitgtk against the latest icu version. You can use yay -S --rebuild webkitgtk to force yay to rebuild the package.

kinta commented on 2021-12-01 12:27 (UTC)

Binary from github no longer valid as icu has been updated to 70:

/usr/bin/jsc-1: error while loading shared libraries: libicui18n.so.69: cannot open shared object file: No such file or directory

Hubro commented on 2021-10-17 15:46 (UTC)

I'm also getting the same error at @The-Compiler, 1.5 months later. Has anybody figured out a workaround?

randompie commented on 2021-09-20 09:50 (UTC) (edited on 2021-09-20 09:51 (UTC) by randompie)

Getting same error as @The-Compiler

The-Compiler commented on 2021-09-03 16:10 (UTC)

FWIW the build seems to fail for me with:

Source/WebKit/gtk/webkit/webkitversion.h:37: Warning: WebKit: symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol 'WEBKITGTK_API_VERSION'
cc1: warning: command-line option ‘-Wno-class-memaccess’ is valid for C++/ObjC++ but not for C
/usr/bin/ld: ./.libs/libwebkitgtk-3.0.so: undefined reference to `_Z36soup_proxy_resolver_default_get_typev'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', './libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/home/florian/.cache/yay/webkitgtk/src/build-gtk/tmp-introspectdws9s6d9/WebKit-3.0', '-export-dynamic', '-D_FORTIFY_SOURCE=2', '-march=x86-64', '-mtune=generic', '-O2', '-pipe', '-fno-plt', '-fno-delete-null-pointer-checks', '-Wno-expansion-to-defined', '-Wno-class-memaccess', '-pthread', '-std=c99', '-O2', '-D_FORTIFY_SOURCE=2', '-Wno-deprecated-declarations', '/home/florian/.cache/yay/webkitgtk/src/build-gtk/tmp-introspectdws9s6d9/WebKit-3.0.o', '-L.', 'libwebkitgtk-3.0.la', 'libjavascriptcoregtk-3.0.la', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0', '-lgtk-3', '-lgdk-3', '-lz', '-lpangocairo-1.0', '-lpango-1.0', '-lharfbuzz', '-latk-1.0', '-lcairo-gobject', '-lcairo', '-lgdk_pixbuf-2.0', '-lsoup-2.4', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0', '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now', '-Wl,--no-demangle']' returned non-zero exit status 1.
make[1]: *** [GNUmakefile:96213: WebKit-3.0.gir] Error 1
make[1]: Leaving directory '/home/florian/.cache/yay/webkitgtk/src/build-gtk'
make: *** [GNUmakefile:30371: all] Error 2

Any idea what could be going wrong there?

mlapai commented on 2021-06-02 14:55 (UTC)

Installed from release github link and it's working now

mlapai commented on 2021-05-20 13:26 (UTC) (edited on 2021-05-20 13:32 (UTC) by mlapai)

@frealgagu I'm experiencing the same error as @Muflone on icu 69.1-1, tried webkitgtk2, build failing as well

Muflone commented on 2021-05-17 20:57 (UTC)

failed to build from source:

/build/webkitgtk/src/webkitgtk-2.4.11/Source/WebCore/accessibility/atk/WebKitAccessibleHyperlink.cpp: In function ‘GType webkitAccessibleHyperlinkGetType()’:
/usr/include/glib-2.0/glib/gatomic.h:117:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
  117 |     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

frealgagu commented on 2021-04-26 15:08 (UTC)

I've uploaded the binay package to https://github.com/frealgagu/archlinux.webkitgtk2/releases compiled with icu 69.1