Package Details: webkitgtk 3:2.4.11-18

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=2.4.11, webkitgtk3=2.4.11
Replaces: libwebkit3, webkitgtk3
Submitter: City-busz
Maintainer: frealgagu
Last Packager: lfleischer
Votes: 60
Popularity: 0.26
First Submitted: 2017-06-30 07:40
Last Updated: 2019-11-23 15:07

Dependencies (21)

Sources (5)

Pinned Comments

frealgagu commented on 2019-04-14 18:13

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: We maintain built and signed packages at https://cdn.repo.archlinuxcn.org


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 ... 3 4 5 6 7 8 9 10 Next › Last »

joe1984 commented on 2017-12-19 02:58

After a few hours of compiling, I get this error. ../webkitgtk-2.4.11/Source/WebCore/plugins/PluginView.cpp:1494:1: fatal error: opening dependency file Source/WebCore/plugins/.deps/libWebCore_la-PluginView.Tpo: No such file or directory } // namespace WebCore ^ compilation terminated. make[1]: *** [GNUmakefile:59766: Source/WebCore/plugins/libWebCore_la-PluginView.lo] Error 1

saligrama commented on 2017-12-19 02:52

Is this taking a very long time to compile for anyone else? It has taken almost 4 hours and is still in progress. I'm running on an i7-6700HQ with 16GB of RAM.

ValHue commented on 2017-12-18 16:17

Build error:

https://pastebin.com/FiMAtABV

Until that error (ImportError: cannot import name 'codegen_main') everything was fine,

SOLVED.

I have found the same error in another package and the solution explained there has worked for me.

I quote: The python script gdbus-codegen is checking for "bin" in the executable path, not "sbin". Thus, instead of getting the necessary shared folder (/usr/share/glib-2.0) it's getting something else. You should remove /usr/sbin from your path; it is supposed to simply be a link to /usr/bin anyway.

I leave the comment because it serves someone else. If you think there is a problem, I'll eliminate it.

metscoin commented on 2017-12-07 00:53

Here's a patch requested by @Schmeidenbacher until the maintainer can get to it. You'll have to add it to the PKGBUILD w/ checksum as appropriate.

https://pastebin.com/3Z65cC7R

Schmeidenbacher commented on 2017-12-04 17:02

I also have to request a patch, or change of the PKGBUILD as mentioned by remyoudompheng. Since the update to enchant 2.x this package will not build without the mentioned change.

remyoudompheng's change results in a working build which at least works with the gnucash package which is still dependent on this package here. Thank you.

Anonymous comment on 2017-11-25 17:04

I have a question:
How different is this package from the official `webkit2gtk` from the repository `extra`? I'm compiling it for a few hours now and my computer is working hard on it so I want to be sure it is absolutely necessary. I'm installing it only as a dependency for `pywebkitgtk`.

remyoudompheng commented on 2017-11-25 06:03

You will need a patch for enchant 2.x: I am using a sed command but it could be a proper patch as well.

sed -i s,enchant_dict_free_suggestions,enchant_dict_free_string_list,g \
Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp

Scimmia commented on 2017-11-11 05:49

Or rather you could read the AUR wiki page and see how things work.

trustin commented on 2017-11-11 05:40

Could you add 'bison' and 'flex' to the required build-time dependencies? (Using pacaur -S webkitgtk)

kausban commented on 2017-10-27 13:03

Get a non descriptive compile error. Does this compile for anyone?

../webkitgtk-2.4.11/Source/WebCore/rendering/RenderMediaControls.cpp:71:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if PLATFORM(WIN) && USE(CG)
^~~~~~~~~~
make[1]: Leaving directory '/home/lamdacore/abs/webkitgtk/src/build-gtk'
make: *** [GNUmakefile:25837: all] Error 2