Package Details: webkitgtk 3:2.4.11-18

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: lfleischer
Votes: 60
Popularity: 0.047715
First Submitted: 2017-06-30 07:40
Last Updated: 2019-11-23 15:07

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 »

slav commented on 2019-11-23 22:40

Someone can drop build webkitgtk 3:2.4.11-18 package please? Thanks, Slav

nenad commented on 2019-11-19 22:18

This package is missing the following dependencies during build time: bison flex

Baltazar72 commented on 2019-11-17 20:00

Thank you @chiwanpark ! You nailed it !

Best Reagards!

chiwanpark commented on 2019-11-17 15:16

@Baltazar72 The error is caused by recent ICU update (https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/umachine_8h_source.html#l00143). You may fix line 66 of PKGBUILD as follows to build successfully.

CXXFLAGS+=" -Wno-expansion-to-defined -Wno-class-memaccess -DUPRV_BLOCK_MACRO_BEGIN=\"\" -DUPRV_BLOCK_MACRO_END=\"\""

Baltazar72 commented on 2019-11-16 22:05

Hi

I cannot build this :

/home/notorknu/.cache/yay/webkitgtk/src/webkitgtk-2.4.11/Source/WebCore/platform/graphics/SegmentedFontData.cpp: In member function ‘virtual bool WebCore::SegmentedFontData::containsCharacters(const UChar*, int) const’:
/home/notorknu/.cache/yay/webkitgtk/src/webkitgtk-2.4.11/Source/WebCore/platform/graphics/SegmentedFontData.cpp:65:9: error: expected ‘;’ before ‘if’
   65 |         if (!containsCharacter(c))
      |         ^~
make[1]: *** [GNUmakefile:55608: Source/WebCore/platform/graphics/libPlatform_la-SegmentedFontData.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/notorknu/.cache/yay/webkitgtk/src/build-gtk'
make: *** [GNUmakefile:30367: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Then I "added the ";", and next go It went further., but then it stopped agin on :

  CXX      Source/WebCore/dom/libWebCore_la-DOMImplementation.lo
  CXX      Source/WebCore/dom/libWebCore_la-DOMNamedFlowCollection.lo
make[1]: *** [GNUmakefile:59745: Source/WebCore/dom/libWebCore_la-Document.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
/home/notorknu/.cache/yay/webkitgtk/src/webkitgtk-2.4.11/Source/WebCore/dom/DOMImplementation.cpp: In static member function ‘static WTF::PassRefPtr<WebCore::CSSStyleSheet> WebCore::DOMImplementation::createCSSStyleSheet(const WTF::String&, const WTF::String&, WebCore::ExceptionCode&)’:
/home/notorknu/.cache/yay/webkitgtk/src/webkitgtk-2.4.11/Source/WebCore/dom/DOMImplementation.cpp:264:21: warning: redundant move in return statement [-Wredundant-move]
  264 |     return std::move(sheet);
      |            ~~~~~~~~~^~~~~~~
/home/notorknu/.cache/yay/webkitgtk/src/webkitgtk-2.4.11/Source/WebCore/dom/DOMImplementation.cpp:264:21: note: remove ‘std::move’ call
make[1]: Leaving directory '/home/notorknu/.cache/yay/webkitgtk/src/build-gtk'
make: *** [GNUmakefile:30367: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: webkitgtk

I tried downgrading gcc to older versions, but I had no luck ..

ANY suggestions would make me happy. Thank You, and Best Regards Torstein

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.