Package Details: webkitgtk2 3:2.4.11-28

Git Clone URL: https://aur.archlinux.org/webkitgtk2.git (read-only, click to copy)
Package Base: webkitgtk2
Description: Legacy Web content engine for GTK+ 2
Upstream URL: https://webkitgtk.org/
Licenses: custom
Conflicts: libwebkit
Provides: libwebkit
Replaces: libwebkit
Submitter: frealgagu
Maintainer: frealgagu
Last Packager: frealgagu
Votes: 8
Popularity: 0.000000
First Submitted: 2018-12-21 02:29 (UTC)
Last Updated: 2024-11-16 02:41 (UTC)

Pinned Comments

frealgagu commented on 2019-04-14 18:31 (UTC) (edited on 2020-12-06 03:30 (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.webkitgtk2/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 Next › Last »

bartus commented on 2024-01-24 15:54 (UTC) (edited on 2024-01-24 15:55 (UTC) by bartus)

Won't build against latest libxml2

/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);
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~

justinkb commented on 2023-02-02 08:52 (UTC) (edited on 2023-02-02 08:53 (UTC) by justinkb)

missing libsoup dependency

dreieck commented on 2022-07-22 12:52 (UTC)

Fails to build for me while linking libjavascriptcoregtk-1.0.la:

/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_program_prologue':
<artificial>:(.text+0x222): undefined reference to `llint_entry_osr'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_eval_prologue':
<artificial>:(.text+0x25a): undefined reference to `llint_entry_osr'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_function_for_call_prologue':
<artificial>:(.text+0x29a): undefined reference to `llint_entry_osr_function_for_call'
/usr/bin/ld: <artificial>:(.text+0x319): undefined reference to `llint_stack_check'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_function_for_construct_prologue':
<artificial>:(.text+0x352): undefined reference to `llint_entry_osr_function_for_construct'
/usr/bin/ld: <artificial>:(.text+0x3d8): undefined reference to `llint_stack_check'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_function_for_call_arity_check':
<artificial>:(.text+0x40e): undefined reference to `llint_entry_osr_function_for_call_arityCheck'
/usr/bin/ld: <artificial>:(.text+0x44f): undefined reference to `slow_path_call_arityCheck'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_function_for_construct_arity_check':
<artificial>:(.text+0x4ce): undefined reference to `llint_entry_osr_function_for_construct_arityCheck'
/usr/bin/ld: <artificial>:(.text+0x512): undefined reference to `slow_path_construct_arityCheck'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_create_activation':
<artificial>:(.text+0x5d4): undefined reference to `llint_slow_path_create_activation'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_create_arguments':
<artificial>:(.text+0x61e): undefined reference to `slow_path_create_arguments'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_new_object':
<artificial>:(.text+0x77d): undefined reference to `llint_slow_path_new_object'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_eq':
<artificial>:(.text+0x96d): undefined reference to `slow_path_eq'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_neq':
<artificial>:(.text+0xa10): undefined reference to `slow_path_neq'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_check_has_instance':
<artificial>:(.text+0x16e5): undefined reference to `llint_slow_path_check_has_instance'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_instanceof':
<artificial>:(.text+0x179e): undefined reference to `llint_slow_path_instanceof'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_get_by_id':
<artificial>:(.text+0x19eb): undefined reference to `llint_slow_path_get_by_id'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_get_by_id_out_of_line':
<artificial>:(.text+0x1a72): undefined reference to `llint_slow_path_get_by_id'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_get_array_length':
<artificial>:(.text+0x1b11): undefined reference to `llint_slow_path_get_by_id'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_get_arguments_length':
<artificial>:(.text+0x1b60): undefined reference to `llint_slow_path_get_arguments_length'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_put_by_id':
<artificial>:(.text+0x1bfd): undefined reference to `llint_slow_path_put_by_id'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_get_by_val':
<artificial>:(.text+0x201e): undefined reference to `llint_slow_path_get_by_val'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_get_argument_by_val':
<artificial>:(.text+0x20b1): undefined reference to `llint_slow_path_get_argument_by_val'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_get_by_pname':
<artificial>:(.text+0x21a2): undefined reference to `llint_slow_path_get_by_pname'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_put_by_val':
<artificial>:(.text+0x23ec): undefined reference to `llint_slow_path_put_by_val'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_put_by_val_direct':
<artificial>:(.text+0x262e): undefined reference to `llint_slow_path_put_by_val_direct'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_switch_imm':
<artificial>:(.text+0x2794): undefined reference to `llint_slow_path_switch_imm'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_switch_char':
<artificial>:(.text+0x2851): undefined reference to `llint_slow_path_switch_char'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_new_func':
<artificial>:(.text+0x288a): undefined reference to `llint_slow_path_new_func'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_tear_off_activation':
<artificial>:(.text+0x28e5): undefined reference to `llint_slow_path_tear_off_activation'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_tear_off_arguments':
<artificial>:(.text+0x291d): undefined reference to `llint_slow_path_tear_off_arguments'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_ret':
<artificial>:(.text+0x2951): undefined reference to `llint_replace'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_ret_object_or_this':
<artificial>:(.text+0x29b2): undefined reference to `llint_replace'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_next_pname':
<artificial>:(.text+0x2b41): undefined reference to `llint_slow_path_next_pname'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_end':
<artificial>:(.text+0x2bc4): undefined reference to `llint_replace'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_throw_from_slow_path_trampoline':
<artificial>:(.text+0x2bf7): undefined reference to `llint_slow_path_handle_exception'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_resolve_scope':
<artificial>:(.text+0x2d86): undefined reference to `llint_slow_path_resolve_scope'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_get_from_scope':
<artificial>:(.text+0x2f5e): undefined reference to `llint_slow_path_get_from_scope'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_put_to_scope':
<artificial>:(.text+0x3230): undefined reference to `llint_slow_path_put_to_scope'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_new_array':
<artificial>:(.text+0x327e): undefined reference to `llint_slow_path_new_array'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_new_array_with_size':
<artificial>:(.text+0x32a5): undefined reference to `llint_slow_path_new_array_with_size'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_new_array_buffer':
<artificial>:(.text+0x32cc): undefined reference to `llint_slow_path_new_array_buffer'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_new_regexp':
<artificial>:(.text+0x32f3): undefined reference to `llint_slow_path_new_regexp'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_del_by_id':
<artificial>:(.text+0x3479): undefined reference to `llint_slow_path_del_by_id'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_del_by_val':
<artificial>:(.text+0x34a0): undefined reference to `llint_slow_path_del_by_val'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_put_by_index':
<artificial>:(.text+0x34c7): undefined reference to `llint_slow_path_put_by_index'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_put_getter_setter':
<artificial>:(.text+0x34ee): undefined reference to `llint_slow_path_put_getter_setter'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_jtrue':
<artificial>:(.text+0x355e): undefined reference to `llint_slow_path_jtrue'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_jfalse':
<artificial>:(.text+0x35ca): undefined reference to `llint_slow_path_jfalse'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_jless':
<artificial>:(.text+0x36b4): undefined reference to `llint_slow_path_jless'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_jnless':
<artificial>:(.text+0x379e): undefined reference to `llint_slow_path_jnless'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_jgreater':
<artificial>:(.text+0x3888): undefined reference to `llint_slow_path_jgreater'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_jngreater':
<artificial>:(.text+0x3972): undefined reference to `llint_slow_path_jngreater'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_jlesseq':
<artificial>:(.text+0x3a5c): undefined reference to `llint_slow_path_jlesseq'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_jnlesseq':
<artificial>:(.text+0x3b46): undefined reference to `llint_slow_path_jnlesseq'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_jgreatereq':
<artificial>:(.text+0x3c30): undefined reference to `llint_slow_path_jgreatereq'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_jngreatereq':
<artificial>:(.text+0x3d1a): undefined reference to `llint_slow_path_jngreatereq'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_loop_hint':
<artificial>:(.text+0x3d60): undefined reference to `llint_loop_osr'
/usr/bin/ld: <artificial>:(.text+0x3d8a): undefined reference to `llint_slow_path_handle_watchdog_timer'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_switch_string':
<artificial>:(.text+0x3dae): undefined reference to `llint_slow_path_switch_string'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_new_func_exp':
<artificial>:(.text+0x3dd1): undefined reference to `llint_slow_path_new_func_exp'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_call':
<artificial>:(.text+0x3ea4): undefined reference to `llint_slow_path_call'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_construct':
<artificial>:(.text+0x3f6c): undefined reference to `llint_slow_path_construct'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_call_varargs':
<artificial>:(.text+0x3fa6): undefined reference to `llint_slow_path_size_and_alloc_frame_for_varargs'
/usr/bin/ld: <artificial>:(.text+0x3fe9): undefined reference to `llint_slow_path_call_varargs'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_call_eval':
<artificial>:(.text+0x4026): undefined reference to `llint_slow_path_call_eval'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_get_pnames':
<artificial>:(.text+0x40ad): undefined reference to `llint_slow_path_get_pnames'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_push_with_scope':
<artificial>:(.text+0x40d0): undefined reference to `llint_slow_path_push_with_scope'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_pop_scope':
<artificial>:(.text+0x40f7): undefined reference to `llint_slow_path_pop_scope'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_push_name_scope':
<artificial>:(.text+0x411e): undefined reference to `llint_slow_path_push_name_scope'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_throw':
<artificial>:(.text+0x4145): undefined reference to `llint_slow_path_throw'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_throw_static_error':
<artificial>:(.text+0x416c): undefined reference to `llint_slow_path_throw_static_error'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_profile_will_call':
<artificial>:(.text+0x41a6): undefined reference to `llint_slow_path_profile_will_call'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_profile_did_call':
<artificial>:(.text+0x41e0): undefined reference to `llint_slow_path_profile_did_call'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_op_debug':
<artificial>:(.text+0x4212): undefined reference to `llint_slow_path_debug'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_native_call_trampoline':
<artificial>:(.text+0x42ba): undefined reference to `llint_throw_from_native_call'
/usr/bin/ld: /tmp/ccBmBzIK.ltrans0.ltrans.o: in function `llint_native_construct_trampoline':
<artificial>:(.text+0x435f): undefined reference to `llint_throw_from_native_call'
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:42819: libjavascriptcoregtk-1.0.la] Error 1

I am going to use webkitgtk2-bin now.

Regards!

frealgagu commented on 2021-04-26 15:08 (UTC)

I've uploaded the binay package to https://github.com/frealgagu/archlinux.webkitgtk2/releases compiled with icu 69.1

slav commented on 2021-04-26 07:09 (UTC)

@frealgagu thank you!

frealgagu commented on 2021-04-23 07:47 (UTC)

@slav sure, I'll upload them this weekend

slav commented on 2021-04-22 12:58 (UTC)

Can someone provide already compiled webkitgtk2 3:2.4.11-23 please? Building from scratch take ages :)

simona commented on 2021-04-21 18:21 (UTC)

/home/simona/.cache/yay/webkitgtk2/PKGBUILD: riga 90: cd: /home/simona/.cache/yay/webkitgtk2/src/webkitgtk2-2.4.11: File o directory non esistente

frealgagu commented on 2020-12-26 01:49 (UTC)

Bumped up compiling with icu 68.2 thanks @Slenderchat for the provided patch.