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: 69
Popularity: 0.150671
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 .. 9 10 11 12 13 14 15 16 Next › Last »

remyoudompheng commented on 2017-11-25 06:03 (UTC)

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 (UTC)

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

trustin commented on 2017-11-11 05:40 (UTC) (edited on 2017-11-11 05:54 (UTC) by trustin)

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

kausban commented on 2017-10-27 13:03 (UTC)

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

oxplot commented on 2017-10-12 00:16 (UTC)

@chawlindel libwebkitgtk-1.0.0 is missing from the package you linked. I believe the correct package is: https://archive.archlinux.org/repos/2017/06/29/extra/os/x86_64/webkitgtk2-2.4.11-6-x86_64.pkg.tar.xz

mbloms commented on 2017-10-02 18:44 (UTC)

Compiling this is just unfeasible. I had problems getting downgrade to work, but manually downloading the binary from the archive worked just fine. https://archive.archlinux.org/repos/2017/06/29/extra/os/x86_64/webkitgtk-2.4.11-6-x86_64.pkg.tar.xz I'm just gonna use it for the 'remarkable' package anyway so I don't care about security.

mocambo commented on 2017-09-26 14:39 (UTC) (edited on 2017-09-26 14:39 (UTC) by mocambo)

@rast Thank you, problem solved.

XAVeRY commented on 2017-09-22 00:32 (UTC)

@duelle : -j1 is only passed when installing (packaging), not building.

duelle commented on 2017-09-20 10:25 (UTC)

I had a look at the PKGBUILD file and saw, that you explicitly set the number of jobs to 1 ('-j1') for make. Is this intentional, or do would it be an option to remove it to allow to use more/all cores of the system during the build process? This could massively increase the speed of the build.