Package Details: webkitgtk 3:2.4.11-28

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: 71
Popularity: 0.77
First Submitted: 2017-06-30 07:40 (UTC)
Last Updated: 2024-11-16 02:41 (UTC)

Sources (16)

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 »

FabioLolix commented on 2023-07-01 11:52 (UTC)

Need libsoup to build with devtools:

checking for LIBSOUP... no
configure: error: Package requirements (libsoup-2.4 >= 2.42.0) were not met:

Package 'libsoup-2.4', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

basbjo commented on 2023-06-12 18:06 (UTC)

I noticed that I need to add "automake" and "bison" to the dependencies to install the package.

Muflone commented on 2022-10-30 17:55 (UTC)

I managed to build this successfully by installing icu70

Max77 commented on 2022-04-30 23:06 (UTC) (edited on 2022-04-30 23:10 (UTC) by Max77)

Failed to build

/tmp/webkitgtk/webkitgtk-2.4.11/Source/WTF/wtf/HashTraits.h:169:8: note: 'struct WTF::KeyValuePair<int, WTF::OwnPtr<WebCore::GlyphMetricsMap<float>::GlyphMetricsPage> >' declared here
  169 | struct KeyValuePair {
      |        ^~~~~~~~~~~~
make[1]: *** [GNUmakefile:55613: Source/WebCore/platform/graphics/libPlatform_la-SegmentedFontData.lo] Error 1
make[1]: Leaving directory «/tmp/webkitgtk/build-gtk»
make: *** [GNUmakefile:30372: all] Error 2

murchu27 commented on 2021-12-28 16:46 (UTC) (edited on 2021-12-28 20:09 (UTC) by murchu27)

Is this intended to provide the libwebkitgtk-1.0 shared object? I'm trying to use the Garmin Connect IQ SDK Manager, and it fails to launch complaining that that SO is missing. Anything I can find online says that libwebkitgtk-1.0-0 is the appropriate apt/debian package, but I don't know what to install on Arch/Manjaro.

I tried building and installing this package but no dice:

sdkmanager: error while loading shared libraries: libwebkitgtk-1.0.so.0: cannot open shared object file: No such file or directory

~If that's not the intention of this package, does anyone know how to get libwebkitgtk on Arch/Manjaro?~

UPDATE: I just built webkitgtk2 instead, that did the trick.

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