Package Details: webkitgtk 3:2.4.11-17

Git Clone URL: https://aur.archlinux.org/webkitgtk.git (read-only)
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: frealgagu
Votes: 60
Popularity: 0.420774
First Submitted: 2017-06-30 07:40
Last Updated: 2019-04-14 15:56

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

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

vlatkoB commented on 2019-04-15 18:54

Getting this error:

  CXXLD    libwebkitgtk-3.0.la
ld: error: duplicate symbol 'webkit_media_player_debug' in version script
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:45093: libwebkitgtk-3.0.la] Error 1
make[1]: Leaving directory '/home/vlatko/.cache/yay/webkitgtk/src/build-gtk
make: *** [GNUmakefile:30367: all] Error 2
==> ERROR: A failure occurred in build().

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

Crodar commented on 2019-02-19 22:11

It doesn't compile for me. Does anyone happen to know how to fix this error? :

  CXX      Source/JavaScriptCore/API/libjavascriptcoregtk_3_0_la-JSScriptRef.lo
  CXX      Source/JavaScriptCore/API/libjavascriptcoregtk_3_0_la-JSStringRef.lo
/tmp/yaourt-tmp-mark/aur-webkitgtk/src/webkitgtk-2.4.11/Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘OpaqueJSString* JSStringCreateWithCharacters(const JSChar*, size_t)’:
/tmp/yaourt-tmp-mark/aur-webkitgtk/src/webkitgtk-2.4.11/Source/JavaScriptCore/API/JSStringRef.cpp:40:35: error: invalid conversion from ‘const JSChar*’ {aka ‘const char16_t*’} to ‘const UChar*’ {aka ‘const short unsigned int*’} [-fpermissive]
     return OpaqueJSString::create(chars, numChars).leakRef();
                                   ^~~~~
In file included from /tmp/yaourt-tmp-mark/aur-webkitgtk/src/webkitgtk-2.4.11/Source/JavaScriptCore/API/JSStringRef.cpp:31:
/tmp/yaourt-tmp-mark/aur-webkitgtk/src/webkitgtk-2.4.11/Source/JavaScriptCore/API/OpaqueJSString.h:49:59: note:   initializing argument 1 of ‘static WTF::PassRefPtr<OpaqueJSString> OpaqueJSString::create(const UChar*, unsigned int)’
     static PassRefPtr<OpaqueJSString> create(const UChar* characters, unsigned length)
                                              ~~~~~~~~~~~~~^~~~~~~~~~
/tmp/yaourt-tmp-mark/aur-webkitgtk/src/webkitgtk-2.4.11/Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘OpaqueJSString* JSStringCreateWithCharactersNoCopy(const JSChar*, size_t)’:
/tmp/yaourt-tmp-mark/aur-webkitgtk/src/webkitgtk-2.4.11/Source/JavaScriptCore/API/JSStringRef.cpp:65:68: error: invalid conversion from ‘const JSChar*’ {aka ‘const char16_t*’} to ‘const UChar*’ {aka ‘const short unsigned int*’} [-fpermissive]
     return OpaqueJSString::create(StringImpl::createWithoutCopying(chars, numChars)).leakRef();
                                                                    ^~~~~
In file included from /tmp/yaourt-tmp-mark/aur-webkitgtk/src/webkitgtk-2.4.11/Source/WTF/wtf/text/WTFString.h:29,
                 from /tmp/yaourt-tmp-mark/aur-webkitgtk/src/webkitgtk-2.4.11/Source/JavaScriptCore/API/OpaqueJSString.h:31,
                 from /tmp/yaourt-tmp-mark/aur-webkitgtk/src/webkitgtk-2.4.11/Source/JavaScriptCore/API/JSStringRef.cpp:31:
/tmp/yaourt-tmp-mark/aur-webkitgtk/src/webkitgtk-2.4.11/Source/WTF/wtf/text/StringImpl.h:393:88: note:   initializing argument 1 of ‘static WTF::PassRef<WTF::StringImpl> WTF::StringImpl::createWithoutCopying(const UChar*, unsigned int)’
     WTF_EXPORT_STRING_API static PassRef<StringImpl> createWithoutCopying(const UChar* characters, unsigned length);
                                                                           ~~~~~~~~~~~~~^~~~~~~~~~
/tmp/yaourt-tmp-mark/aur-webkitgtk/src/webkitgtk-2.4.11/Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘const JSChar* JSStringGetCharactersPtr(JSStringRef)’:
/tmp/yaourt-tmp-mark/aur-webkitgtk/src/webkitgtk-2.4.11/Source/JavaScriptCore/API/JSStringRef.cpp:86:30: error: invalid conversion from ‘const UChar*’ {aka ‘const short unsigned int*’} to ‘const JSChar*’ {aka ‘const char16_t*’} [-fpermissive]
     return string->characters();
            ~~~~~~~~~~~~~~~~~~^~
make[1]: *** [GNUmakefile:74690: Source/JavaScriptCore/API/libjavascriptcoregtk_3_0_la-JSStringRef.lo] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-mark/aur-webkitgtk/src/build-gtk'
make: *** [GNUmakefile:30360: all] Error 2

frealgagu commented on 2018-12-07 03:12

What do you think about split the packages and create a PKGBUILD for each one?

yan12125 commented on 2018-12-01 01:42

Dropped as I don't need this anymore.

yan12125 commented on 2018-11-10 02:27

You don't need icu62. You NEED to rebuild webkitgtk against icu 63.

philo commented on 2018-11-08 15:12

An AUR package of 'icu62 62.1-1' was released on 2018-11-05.

yan12125 commented on 2018-10-13 00:24

As I mentioned in FAQ, I maintain prebuilt and signed packages at https://cdn.repo.archlinuxcn.org

PhotonX commented on 2018-10-12 17:36

Sorry for the late reply and excuse my ignorance in case I am missing something obvious, but which signatures do you refer to? AUR packages are not signed, are they?

yan12125 commented on 2018-10-10 12:21

Primarily because people might get signature mismatch errors if you change a package without bumping pkgver/pkgrel.