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

<deleted-account> commented on 2017-12-22 08:20 (UTC)

I have 2 question:

  1. Does anyone can tell me please what is the difference between this package and the package webkit2gtk from extra/?
  2. If there is a precompiled binary like @cabbage suggested, why don't we use it instead?

cabbage commented on 2017-12-21 16:22 (UTC)

It took about 3.5 hours to build this package. i5 laptop with 8G of RAM, makeflags j4. Burnt the hell out of the poor laptop :(

A serious suggestion: if your machine is not extraordinarily powerful, don't try to build this from source. Go find a binary to install. Compiling huge software from source is a painful waste of life/time/energy, and that's also the reason I chose to abandon Gentoo.

troyengel commented on 2017-12-21 00:57 (UTC) (edited on 2017-12-21 01:00 (UTC) by troyengel)

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

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 (UTC) (edited on 2018-12-01 01:46 (UTC) by yan12125)

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 (UTC) (edited on 2017-12-20 14:10 (UTC) by stef204)

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

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 (UTC) (edited on 2017-12-19 15:23 (UTC) by MadMe)

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 (UTC) (edited on 2017-12-19 10:50 (UTC) by tuxsavvy)

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

@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