Package Details: webkitgtk 3:2.4.11-28

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: 71
Popularity: 0.76
First Submitted: 2017-06-30 07:40 (UTC)
Last Updated: 2024-11-16 02:41 (UTC)

Sources (16)

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 »

zoidby commented on 2017-12-24 09:55 (UTC)

The build failed at first. But i got it to work with the temporary fix, described here: https://bugs.archlinux.org/task/55915

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

Yea, now I understand. I read a little bit on the WiKi about archlinuxcn and similar repositories, I had no idea those exist. Thanks.

yan12125 commented on 2017-12-22 09:06 (UTC)

@doronbehar: I think I misunderstood you. I was referring a binary package built from this PKGBUILD, not a prebuilt binary from the webkitgtk team.

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

@yan12125

  1. Now I understand, the naming confused me
  2. As far as I can see in when viewing the PKGBUILD, I don't see and archlinuxcn URL there and I see a lot of patchs and make commands.

yan12125 commented on 2017-12-22 08:23 (UTC)

@doronbehar:

  1. webkit2gtk provides WebKit 2 API while webkitgtk provides WebKit 1 API. They are not compatible.
  2. Why not? I'm using archlinuxcn's binary package right now.

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

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

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.