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.76
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 .. 5 6 7 8 9 10 11 12 13 14 15 16 Next › Last »

testbird71 commented on 2018-04-04 11:01 (UTC)

I have added the Repo from CN and addet the Keyring sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring

Löse Abhängigkeiten auf... Warnung: Kann "icu>=61" nicht auflösen (eine Abhängigkeit von "webkitgtk") Warnung: Kann "icu>=61" nicht auflösen (eine Abhängigkeit von "webkitgtk2") :: Die folgenden Pakete können aufgrund nicht auflösbarer Abhängigkeiten nicht aktualisiert werden: webkitgtk webkitgtk2

yan12125 commented on 2018-03-08 05:13 (UTC)

Your package webkitgtk [1] has been flagged out-of-date by rbirkelbach
[2]:

The version provided is from 2016-04-10.

@rbirkelbach: WebKitGTK+ 2.4.x is the latest branch that provides WebKit1 API. Later branches provides WebKit2 API only, which is incompatible.

agentcobra commented on 2018-02-22 01:13 (UTC)

doesn't build

Traceback (most recent call last): File "/usr/sbin/gdbus-codegen", line 41, in <module> from codegen import codegen_main ModuleNotFoundError: No module named 'codegen' make: *** [GNUmakefile:82203: DerivedSources/Platform/Geoclue2Interface.h] Error 1 ==> ERREUR : Une erreur s’est produite dans build(). Abandon... ==> ERREUR : Makepkg n'a pas pu construire webkitgtk.</module>

klore commented on 2018-02-12 14:35 (UTC)

File "/usr/sbin/gdbus-codegen", line 41, in <module> from codegen import codegen_main ImportError: cannot import name 'codegen_main' make: *** [GNUmakefile:82203: DerivedSources/Platform/Geoclue2Interface.h] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build webkitgtk. ==> Restart building webkitgtk2 ? [y/N]</module>

Scimmia commented on 2018-02-06 15:55 (UTC)

It seems someone needs to read the AUR wiki page

regagain commented on 2018-02-06 15:48 (UTC)

It seems that the following dependencies are missing: automake, bison, flex.

Mikle_Bond commented on 2018-02-03 19:14 (UTC) (edited on 2018-02-03 19:17 (UTC) by Mikle_Bond)

Noticed another problem. Same as @ShalokShalom commented below.

During compilation it throws a couple of type conversion errors like this: error: invalid conversion from ‘const JSChar {aka const short unsigned int}’ to ‘const UChar {aka const char16_t}’

I've found relevant ticket about it here https://bugs.webkit.org/show_bug.cgi?id=101179 , though it seems pretty old and it is strange I managed to face this issue...

There was suggested a workaround - to define those types explicitly trough preprocessor flag, and it worked for me like that: CPPFLAGS="-DUCHAR_TYPE=char16_t" MAKEFLAGS="-j4" makepkg -s

jasonhansel commented on 2018-01-31 00:37 (UTC)

Does not work with parallel make (e.g. MAKEFLAGS="-j4").