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: 70
Popularity: 0.48
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

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

FabioLolix commented on 2024-03-14 11:41 (UTC)

@mmoya https://aur.archlinux.org/packages/webkitgtk#comment-922002

mmoya commented on 2024-03-14 11:20 (UTC) (edited on 2024-03-14 11:23 (UTC) by mmoya)

Can you add autoconf, bison and flex to build depends? A similar request was made on 2023-06 https://aur.archlinux.org/packages/webkitgtk#comment-918984.

Thanks

==> Starting prepare()...                                                                                                                                                                                                                                                                                                      
patching file Source/WebCore/platform/gtk/GtkClickCounter.cpp                                                                                                                                                                                                                                                                  
patching file Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp                                                                                                                                                                                                                                                              
patching file Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp                                                                                                                                                                                                                                                      
patching file Source/JavaScriptCore/API/JSStringRef.h                                                                                                                                                                                                                                                                          
patching file Source/WebKit2/Shared/API/c/WKString.h                                                                                                                                                                                                                                                                           
patching file Source/autotools/FindDependencies.m4                                                                                                                                                                                                                                                                             
patching file Source/WebCore/platform/text/TextCodecICU.cpp                                                                                                                                                                                                                                                                    
patching file Source/WebCore/platform/text/icu/UTextProvider.h                                                                                                                                                                                                                                                                 
patching file Source/WebCore/platform/text/icu/UTextProviderLatin1.cpp                                                                                                                                                                                                                                                         
patching file Source/WebCore/platform/text/icu/UTextProviderUTF16.cpp                                                                                                                                                                                                                                                          
patching file configure.ac                                                                                                                                                                                                                                                                                                     
/home/mmoya/.cache/paru/clone/webkitgtk/PKGBUILD: line 67: autoreconf: command not found                                                                                                                                                                                                                                       
==> ERROR: A failure occurred in prepare().

bartus commented on 2024-01-24 15:53 (UTC) (edited on 2024-01-24 15:56 (UTC) by bartus)

Won't build against libxml2:2.12

/build/webkitgtk/src/webkitgtk-2.4.11/Source/WebCore/xml/XSLTProcessorLibxslt.cpp:142:34: error: invalid conversion from 'void (*)(void*, xmlError*)' {aka 'void (*)(void*, _xmlError*)'} to 'xmlStructuredErrorFunc' {aka 'void (*)(void*, co⮎ nst _xmlError*)'} [-fpermissive]
  142 |         xmlSetStructuredErrorFunc(console, XSLTProcessor::parseErrorFunc);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  void (*)(void*, xmlError*) {aka void (*)(void*, _xmlError*)}
In file included from /usr/include/libxml2/libxml/valid.h:15,
                 from /usr/include/libxml2/libxml/parser.h:19,
                 from /build/webkitgtk/src/webkitgtk-2.4.11/Source/WebCore/xml/XSLStyleSheet.h:31,
                 from /build/webkitgtk/src/webkitgtk-2.4.11/Source/WebCore/xml/XSLTProcessor.h:29,
                 from /build/webkitgtk/src/webkitgtk-2.4.11/Source/WebCore/xml/XSLTProcessorLibxslt.cpp:27:
/usr/include/libxml2/libxml/xmlerror.h:898:57: note:   initializing argument 2 of 'void xmlSetStructuredErrorFunc(void*, xmlStructuredErrorFunc)'
  898 |                                  xmlStructuredErrorFunc handler);
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~

FabioLolix commented on 2023-07-01 12:31 (UTC) (edited on 2023-07-08 10:22 (UTC) by FabioLolix)

Also need option !lto to build with devtools

Build time:

real 16m2,048s

user 199m8,105s

sys 20m9,741s

with Ryzen 9 3900X 12c/12t -j23

FabioLolix commented on 2023-07-01 11:57 (UTC)

@basbjo installing the base-devel package is an AUR prerequisite

FabioLolix commented on 2023-07-01 11:52 (UTC)

Need libsoup to build with devtools:

checking for LIBSOUP... no
configure: error: Package requirements (libsoup-2.4 >= 2.42.0) were not met:

Package 'libsoup-2.4', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

basbjo commented on 2023-06-12 18:06 (UTC)

I noticed that I need to add "automake" and "bison" to the dependencies to install the package.

Muflone commented on 2022-10-30 17:55 (UTC)

I managed to build this successfully by installing icu70

Max77 commented on 2022-04-30 23:06 (UTC) (edited on 2022-04-30 23:10 (UTC) by Max77)

Failed to build

/tmp/webkitgtk/webkitgtk-2.4.11/Source/WTF/wtf/HashTraits.h:169:8: note: 'struct WTF::KeyValuePair<int, WTF::OwnPtr<WebCore::GlyphMetricsMap<float>::GlyphMetricsPage> >' declared here
  169 | struct KeyValuePair {
      |        ^~~~~~~~~~~~
make[1]: *** [GNUmakefile:55613: Source/WebCore/platform/graphics/libPlatform_la-SegmentedFontData.lo] Error 1
make[1]: Leaving directory «/tmp/webkitgtk/build-gtk»
make: *** [GNUmakefile:30372: all] Error 2

murchu27 commented on 2021-12-28 16:46 (UTC) (edited on 2021-12-28 20:09 (UTC) by murchu27)

Is this intended to provide the libwebkitgtk-1.0 shared object? I'm trying to use the Garmin Connect IQ SDK Manager, and it fails to launch complaining that that SO is missing. Anything I can find online says that libwebkitgtk-1.0-0 is the appropriate apt/debian package, but I don't know what to install on Arch/Manjaro.

I tried building and installing this package but no dice:

sdkmanager: error while loading shared libraries: libwebkitgtk-1.0.so.0: cannot open shared object file: No such file or directory

~If that's not the intention of this package, does anyone know how to get libwebkitgtk on Arch/Manjaro?~

UPDATE: I just built webkitgtk2 instead, that did the trick.