Package Details: webkit2gtk 2.50.6-8

Git Clone URL: https://aur.archlinux.org/webkit2gtk.git (read-only, click to copy)
Package Base: webkit2gtk
Description: Web content engine for GTK
Upstream URL: https://webkitgtk.org
Licenses: MIT, ISC, OFL-1.1, ICU, Apache-2.0, NCSA, BSD-3-Clause, BSD-2-Clause, BSL-1.0, MPL-1.1, MPL-2.0, GPL-2.0-only, LGPL-2.1-or-later, LGPL-2.1-only, BSD-2-Clause-Views, Apache-2.0 WITH LLVM-exception, AFL-2.0 OR GPL-2.0-or-later, BSD-Source-Code, bzip2-1.0.6, GPL-3.0-only WITH Autoconf-exception-3.0, GPL-3.0-or-later WITH Bison-exception-2.2, NCSA OR MIT, SunPro, Unicode-TOU
Provides: libjavascriptcoregtk-4.0.so, libwebkit2gtk-4.0.so
Submitter: andreas_baumann
Maintainer: andreas_baumann
Last Packager: andreas_baumann
Votes: 23
Popularity: 4.26
First Submitted: 2026-04-10 12:35 (UTC)
Last Updated: 2026-07-24 16:41 (UTC)

Sources (3)

Pinned Comments

andreas_baumann commented on 2026-06-19 08:39 (UTC) (edited on 2026-06-21 08:24 (UTC) by andreas_baumann)

Note, this version is intentionally sticking to version 2.50.x.

For newer versions use the official webkit2gtk-4.1 package. See https://archlinux.org/packages/extra/x86_64/webkit2gtk-4.1/

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

RyLoS commented on 2026-07-27 07:09 (UTC) (edited on 2026-07-27 07:19 (UTC) by RyLoS)

prepare() doesn't apply cmake4-linked-into-quoting.patch (2.50.6-8)

The patch is listed in source= and in both sha256sums and b2sums, but prepare() only contains the comment — the actual patch call is missing:

prepare() {
  cd webkitgtk-$pkgver

  # fix unqoted cmake variable _linked_into
}

As a result the build fails at configure time with CMake 4:

CMake Error at Source/cmake/WebKitMacros.cmake:311 (if):
  if given arguments:
    "(" "NOT" "_linked_into" ")" "OR" "(" "WTF" "STREQUAL" ")" "OR" "(" "NOT" "IN_LIST" "LLIntSettingsExtractor_FRAMEWORKS" ")"
  Unknown arguments specified
Call Stack (most recent call first):
  Source/cmake/WebKitMacros.cmake:393 (_WEBKIT_TARGET_LINK_FRAMEWORK)
  Source/JavaScriptCore/CMakeLists.txt:409 (WEBKIT_EXECUTABLE)

Adding the missing line to prepare() fixes the build:

patch -Np1 -i ../cmake4-linked-into-quoting.patch

Unrelated minor suggestion: the .asc entry uses SKIP in both checksum arrays, so a truncated download of the signature file isn't caught by makepkg and instead shows up later as a confusing "unknown public key" / "signature not found" failure during PGP verification. A real checksum there would make that case fail early with a clear message.

Thanks for maintaining the package!

skaileen commented on 2026-07-24 15:22 (UTC)

The cmake patch isn't actually getting called in prepare(), adding patch -p1 -i "$srcdir/cmake4-linked-into-quoting.patch" below the new comment is allowing the update to progress

terwarf commented on 2026-07-24 15:22 (UTC)

Did you forgot to apply the patch? :D

prepare() {
  cd webkitgtk-$pkgver

  # fix unqoted cmake variable _linked_into
  patch -Np1 -i ../cmake4-linked-into-quoting.patch
}

andreas_baumann commented on 2026-07-24 12:46 (UTC)

I added a cmake patch, should work now.

semeion commented on 2026-07-24 12:29 (UTC)

@madcabbit, yeah, I have same issue here.

madcabbit commented on 2026-07-24 11:22 (UTC) (edited on 2026-07-24 11:24 (UTC) by madcabbit)

Getting errors on an upgrade:

-- Found Unifdef: /usr/bin/unifdef
CMake Error at Source/cmake/WebKitMacros.cmake:311 (if):
  if given arguments:

    "(" "NOT" "_linked_into" ")" "OR" "(" "WTF" "STREQUAL" ")" "OR" "(" "NOT" "IN_LIST" "LLIntSettingsExtractor_FRAMEWORKS" ")"

  Unknown arguments specified
Call Stack (most recent call first):
  Source/cmake/WebKitMacros.cmake:393 (_WEBKIT_TARGET_LINK_FRAMEWORK)
  Source/JavaScriptCore/CMakeLists.txt:409 (WEBKIT_EXECUTABLE)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'webkit2gtk-2.50.6-8': 
error: packages failed to build: webkit2gtk-2.50.6-8

andreas_baumann commented on 2026-06-19 08:39 (UTC) (edited on 2026-06-21 08:24 (UTC) by andreas_baumann)

Note, this version is intentionally sticking to version 2.50.x.

For newer versions use the official webkit2gtk-4.1 package. See https://archlinux.org/packages/extra/x86_64/webkit2gtk-4.1/

noraj commented on 2026-06-18 21:47 (UTC)

latest version of teh package requires libsoup3, not libsoup (2.x).