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

troyengel commented on 2017-12-21 00:57

FYI for anyone who might care, I have some small scripts which do forward and reverse searches on libraries (binaries linked to a lib, and binaries missing libs they're linked to) system-wide and nothing comes up on my system for these libraries anymore.

On 2017-06-30 this package was moved from Extra to AUR, so I think whatever installed it as a dependency no longer uses it. I think it may have been an older version of atril, as it was added when that package was updated in 2015, and atril today uses the newer webkit2gtk package.

[2015-06-10 19:36] [ALPM] installed webkitgtk2 (2.4.9-1)
[2015-06-10 19:36] [ALPM] upgraded atril (1.8.1-2 -> 1.10.0-1)

Here is the commit which atril dropped the dependency on this package: https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/atril&id=27172abd422604ffdc22f4e730ecfa31fd037ab3

Others might be in the same situation and have no need for this package and it's insane compile time anymore, your mileage may vary. :) In reverse, my scan actually showed me this (installed, older) package is broken as it has a dependency on ICU that has been upgraded long ago, this package was using it and never rebuilt:

$ pacman -Qo /usr/bin/jsc-1; ldd /usr/bin/jsc-1 | grep -i 'not found'
/usr/bin/jsc-1 is owned by webkitgtk2 2.4.11-6
libicui18n.so.59 => not found
libicuuc.so.59 => not found

Hope this helps someone else out there possibly avoid burning out your poor laptop CPU.

Thermi commented on 2017-12-20 22:10

This builds a 1.7 GB .so file on my system. What the hell is up with this packet?

yan12125 commented on 2017-12-20 02:56

FAQ

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

A1. You'll need to rebuild against the new ICU 63.

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

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

Q3. Building takes too long time!

A3: 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.

Q4. What's the difference between this package and extra/webkit2gtk?

A4. webkitgtk/webkitgtk2 provides WebKit1 API/ABI, which is not compatible with WebKit2 API/ABI provided by extra/webkit2gtk.

stef204 commented on 2017-12-19 18:31

In addition to compile time (thanks @MadMe for the tip; [here's additional info https://wiki.gentoo.org/wiki/MAKEOPTS] but this thread wrong forum to discuss), what about the download time? Been trying to download source now for about 6 hours, progress: 3.08 MB.... What's going on with the throttling (280 bytes/s)?

In light of the considerable dwonload and compile time, would you consider providing a binary (for example, with with gpg signature)?

Bonnietwin commented on 2017-12-19 15:26

It took me 13.5 hours on an AMD Athlon X2 (not my oldest machine). It was long but it was successful.

MadMe commented on 2017-12-19 15:22

Sorry for offtopic, but for this time consuming package it might be worth it @tuxsavvy there is an more easy way: it is possible to set the makeflags in /etc/makepkg.conf

You find under

# ARCHITECTURE, COMPILE FLAGS MAKEFLAGS="-j1"

you can change it that way: https://wiki.archlinux.org/index.php/makepkg#MAKEFLAGS

i set it direct: MAKEFLAGS="-j9" # it should be one more than your virtual cpus

tuxsavvy commented on 2017-12-19 10:49

It took me ~5-6 hours on Core2Duo E8400 with 8GB RAM.

The overall default compile process does not take advantage of SMP set up. I initially ran it with the default PKGBUILD file but cancelled it about 2-3 hours in before setting it up to use 2 CPU. Check under _build area:

make all stamp-po

If it takes advantage of SMP it should be something like:

make -j 2 all stamp-po

Where 2 is however many CPU you have.

yan12125 commented on 2017-12-19 05:30

@joe1984: Quick googling brings me to an answer: too long path. [1] Could you check your path? By the way, length limitations are smaller on encrypted filesystems.

[1] https://stackoverflow.com/a/16279348

yan12125 commented on 2017-12-19 05:25

As a reference, it takes me almost 9 hours to build webkitgtk & webkitgtk2. (Linode VPS with 1G RAM + 1.5G swap)

wilberfan commented on 2017-12-19 05:16

@saligrama I cancelled it after 2 hours of compiling, and you've got a more powerful machine than I do. I may wait until I can let it run overnight. Anyone have a time-estimate on how long it has (should) take?