Package Details: webkitgtk2 2.4.11-12

Git Clone URL: https://aur.archlinux.org/webkitgtk.git (read-only)
Package Base: webkitgtk
Description: Legacy Web content engine for GTK+ 2
Upstream URL: https://webkitgtk.org/
Licenses: custom
Conflicts: libwebkit
Provides: libwebkit=2.4.11
Replaces: libwebkit
Submitter: City-busz
Maintainer: yan12125
Last Packager: yan12125
Votes: 48
Popularity: 4.651397
First Submitted: 2017-06-30 07:40
Last Updated: 2018-03-30 06:06

Dependencies (23)

Sources (5)

Pinned Comments

yan12125 commented on 2017-12-20 02:56

FAQ

  • error while loading shared libraries: libicui18n.so.60: cannot open shared object file: No such file or directory

You'll need to rebuild against the new ICU 61. Normally it should be done with usual package upgrading (webkitgtk 2.4.11-11 => webkitgtk 2.4.11-12)

  • I can't build! There's an error "error: ‘WTF::StringImpl::StaticASCIILiteraicASCIILiteral’ has not been declared"

Try disabling parallel building - use -j1 in both PKGBUILD and /etc/makepkg.conf

  • Building takes too long time!

A: WebKit is inherently big and complex. It can take up to 13.5 hours to build (on AMD Athlon X2, thanks to @Bonnietwin for sharing). You can modify makepkg.conf or PKGBUILD directly to build it in parallel. Check out @MadMe's and @tuxsavvy's comments.

  • Is there a prebuilt package?

A: The awesome Arch Linux CN team maintains one. You can enable it by appending the following section to /etc/pacman.conf:

[archlinuxcn]
Server = https://cdn.repo.archlinuxcn.org/$arch

And installing as if it were official packages:

sudo pacman -S webkitgtk
sudo pacman -S webkitgtk2

Check out https://github.com/archlinuxcn/repo/blob/master/README.md for more details.

  • I can't build! There's an error about codegen

There's a bug in old glib2. Make sure you have upgraded to glib2 2.56. Check out @ValHue's and @zoidby's comments.

  • Other questions

I've disabled notifications for this package for too many non-constructive comments. Please open a new issue at https://github.com/yan12125/aur for suggestions/questions/bug reports/...

Latest Comments

ReDemoNBR commented on 2018-04-23 05:11

I've been building the last versions of this package for my Raspberry Pi 3 (arch 'armv7h') correctly for some months already and I think it is time to report that it is safe to add 'armv7h' in arch. Same is valid for webkitgtk2 package :D

Takes around 40-50 hours to build it but, believe it or not, it does work.

But please let the version as it is, otherwise we will have have to update it again :)

testbird71 commented on 2018-04-04 11:01

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

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

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

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

It seems someone needs to read the AUR wiki page

regagain commented on 2018-02-06 15:48

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

Mikle_Bond commented on 2018-02-03 19:14

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

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

lano1106 commented on 2018-01-27 11:01

I have tried to recompile with the latest libenchant library and I got a new compile error that I didn't have previously. Any idea why I'm getting this:

CXX DerivedSources/WebCore/libWebCore_la-XLinkNames.lo DerivedSources/WebCore/MathMLNames.cpp:642:17: error: ‘WTF::StringImpl::StaticASCIILiteraicASCIILiteral’ has not been declared StringImpl::StaticASCIILiteraicASCIILiteral::s_initialFlags | (1069503 << StringImpl::StaticASCIILiteral::s_hashShift) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DerivedSources/WebCore/MathMLNames.cpp:644:39: error: redefinition of ‘WTF::StringImpl::StaticASCIILiteral WebCore::MathMLNames::msupData’ static StringImpl::StaticASCIILiteral msupData = { ^~~~~~~~ DerivedSources/WebCore/MathMLNames.cpp:616:39: note: ‘WTF::StringImpl::StaticASCIILiteral WebCore::MathMLNames::msupData’ previously defined here static StringImpl::StaticASCIILiteral msupData = { ^~~~~~~~ DerivedSources/WebCore/MathMLNames.cpp:651:39: error: redefinition of ‘WTF::StringImpl::StaticASCIILiteral WebCore::MathMLNames::mencloseData’ static StringImpl::StaticASCIILiteral mencloseData = { ^~~~~~~~~~~~ DerivedSources/WebCore/MathMLNames.cpp:427:39: note: ‘WTF::StringImpl::StaticASCIILiteral WebCore::MathMLNames::mencloseData’ previously defined here static StringImpl::StaticASCIILiteral mencloseData = { ^~~~~~~~~~~~ CXX DerivedSources/WebCore/libWebCore_la-XMLNames.lo DerivedSources/WebCore/MathMLNames.cpp: In function ‘void WebCore::MathMLNames::init()’ DerivedSources/WebCore/MathMLNames.cpp:935:67: error: ‘maligngroupData’ was not declared in this scope { (void)&maligngroupTag, reinterpret_cast<stringimpl*>(&maligngroupData) }, ^~~~~~~~~~~~~~~ DerivedSources/WebCore/MathMLNames.cpp:935:67: note: suggested alternative: ‘maligngroupTag’ { (void)&maligngroupTag, reinterpret_cast<stringimpl*>(&maligngroupData) }, ^~~~~~~~~~~~~~~ maligngroupTag DerivedSources/WebCore/MathMLNames.cpp:964:62: error: ‘mstyleData’ was not declared in this scope { (void)&mstyleTag, reinterpret_cast<stringimpl*>(&mstyleData) }, ^~~~~~~~~~ DerivedSources/WebCore/MathMLNames.cpp:964:62: note: suggested alternative: ‘mstyleTag’ { (void)&mstyleTag, reinterpret_cast<stringimpl*>(&mstyleData) }, ^~~~~~~~~~ mstyleTag make[1]: *** [GNUmakefile:64525: DerivedSources/WebCore/libWebCore_la-MathMLNames.lo] Error 1</stringimpl*></stringimpl*></stringimpl*></stringimpl*>

All comments