Package Details: qt5-webkit 5.212.0alpha4-27

Git Clone URL: https://aur.archlinux.org/qt5-webkit.git (read-only, click to copy)
Package Base: qt5-webkit
Description: Classes for a WebKit2 based implementation and a new QML API
Upstream URL: https://github.com/qtwebkit/qtwebkit
Licenses: LGPL-2.1-only
Submitter: arojas
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 40
Popularity: 0.060310
First Submitted: 2022-11-21 07:42 (UTC)
Last Updated: 2025-02-22 18:06 (UTC)

Sources (10)

Pinned Comments

FabioLolix commented on 2025-02-23 10:10 (UTC) (edited on 2025-02-23 10:12 (UTC) by FabioLolix)

READ THE PINNED COMMENTS

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

READ THE PINNED COMMENTS

FabioLolix commented on 2024-08-20 14:12 (UTC)

btw patches are welcome here https://github.com/FabioLolix/PKGBUILD-AUR_fix/tree/master/q

FabioLolix commented on 2024-05-24 12:05 (UTC)

qt5-webkit-movableink-git prebuild uploaded on sourceforge, thanks to MoetaYuko for the patch


About the comments; I'm starting to get really pissed off; please refrain to stating the obvious, make questions already answered, reporting already reported stuff, the icu solutions work for installed packages whenever how quirk they are, etc, etc, etc....

If you wanna post, post a patch!


I'm not a programmer but I guess webengine would be more convenient

@TheExplorer You don't say! [insert Nicals Cage meme]

If this package would never build in the future, shouldn't it be dropped in favor of qt5-webkit-movableink-git?

@oldherl have you tried to read the post before yours before posting, you should try that

FabioLolix commented on 2024-05-23 08:40 (UTC)

Post another time that this fails to build with icu 75 and I'll no longer upload the pre-build packages, I have qt5-webkit-movableink-git ready. You have been warned.

Have been posted enough icu 74 solution too.

FabioLolix commented on 2023-12-27 15:49 (UTC)

btw, depends on libicuuc.so have been added so you are obliged to uninstall and rebuild when there is a new icu update instead of keeping a non-working qt5-webkit (which lead to other build issues)

xiota commented on 2023-11-12 17:30 (UTC)

Or read: makepkg: Improving build times.

FabioLolix commented on 2023-01-06 17:06 (UTC)

Pre builded (in clean chroot) package here https://sourceforge.net/projects/fabiololix-os-archive/files/Packages/ for who is interested

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 23 Next › Last »

FabioLolix commented on 2024-05-21 15:39 (UTC)

@LarryDave reading a bit before posting no? (strawberry-git,quiterss,qt5-webkit)

FabioLolix commented on 2024-05-21 15:38 (UTC)

Anyone else want to report again that the build is broken with icu 75 again after it has been reported multiple times?

rstone commented on 2024-05-21 14:46 (UTC) (edited on 2024-05-21 14:46 (UTC) by rstone)

Tried everything suggested here and I can't build the new one after icu update to .75.

Solved by installing icu v74 from the official github and reinstalling previously built package of qt5-webkit. Here is PKGBUILD for icu v74.

_major=74
_gitname=icu
_pkgname=$_gitname$_major
pkgname="$_pkgname-bin"
pkgver="$_major.2"
pkgrel=1
pkgdesc="International Components for Unicode library (version 74)"
arch=('x86_64')
url="https://github.com/unicode-org/icu"
license=('custom:icu')
depends=('gcc-libs' 'sh')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$url/releases/download/release-${pkgver/./-}/icu4c-${pkgver/./_}-Fedora_Linux36-x64.tgz")
b2sums=('08b754d02bdb642efa549f2bf64ebc9074865b64057e8d6f86f4e78899eae1886dc13c1fb9e9bf0db0bdec941f5b1ea5e588b4e9557f1d646f5b59c51c36745b')

_src_libdir=icu/usr/local/lib

prepare() {
        # prevent conflicts with other versions of icu
        rm -rf $_src_libdir/{icu,pkgconfig}
        _solist=('data' 'i18n' 'io' 'test' 'tu' 'uc')
        for _i in ${_solist[@]}; do
                rm $_src_libdir/libicu$_i.so
        done
}

package() {
        cd $_src_libdir
        install -Dm644 * -t "$pkgdir/usr/lib/"
        install -Dm644 ../share/$_gitname/$pkgver/LICENSE \
                -t "$pkgdir/usr/share/licenses/$pkgname"
}

LarryDave commented on 2024-05-21 13:33 (UTC)

Does not build after the latest icu update.

make[2]: *** [Source/WTF/wtf/CMakeFiles/WTF.dir/build.make:984: Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[  5%] Linking CXX static library ../../lib/libANGLESupport.a
[  5%] Built target ANGLESupport
make[1]: *** [CMakeFiles/Makefile2:1500: Source/WTF/wtf/CMakeFiles/WTF.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> Removing installed dependencies...

andreas_baumann commented on 2024-05-21 07:36 (UTC)

The first error around ICU is a new C++17 or so construct (CmakeLists.txt is forcing the C++ standard to C++11). Rasing that to -std=c++17 leads to an error later in unique_ptr<char[]> which leads to an amigous template instationation (something now C++-20-ish?). I worked around for now in trojita by providing an icu74 shim package which keeps qt5-webkit libraries happy.

patlefort commented on 2024-05-21 07:32 (UTC)

Build is broken with the last icu update. Also, can you please change CMAKE_BUILD_TYPE to None? Otherwise it will override some user's flags.

york commented on 2024-05-21 01:19 (UTC) (edited on 2024-05-21 01:20 (UTC) by york)

I'm having the following build errors:

/usr/include/unicode/ucol.h:553:1: note: invalid template non-type parameter
  553 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUCollatorPointer, UCollator, ucol_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/AtomicString.h:378,
                 from ~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/WTFString.h:769,
                 from ~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringView.h:187,
                 from ~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:41:
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:53:28: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   53 |     StringTypeAdapter<char>(char character)
      |                            ^
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:53:28: note: remove the ‘< >’
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:80:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   80 |     StringTypeAdapter<UChar>(UChar character)
      |                              ^~~~~
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:80:30: note: remove the ‘< >’
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:227:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  227 |     StringTypeAdapter<String>(const String& string)
      |                              ^
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:227:30: note: remove the ‘< >’
In file included from ~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:839:
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringOperators.h:88:63: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   88 |     StringTypeAdapter<StringAppend<StringType1, StringType2>>(StringAppend<StringType1, StringType2>& buffer)
      |                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringOperators.h:88:63: note: remove the ‘< >’
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringView.h:503:35: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  503 |     StringTypeAdapter<StringView>(StringView string)
      |                                   ^~~~~~~~~~
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringView.h:503:35: note: remove the ‘< >’
make[2]: *** [Source/WTF/wtf/CMakeFiles/WTF.dir/build.make:984: Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1500: Source/WTF/wtf/CMakeFiles/WTF.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: qt5-webkit-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
qt5-webkit - exit status 4

pvdp commented on 2024-05-21 00:00 (UTC) (edited on 2024-05-21 00:00 (UTC) by pvdp)

:: Synchronizing package databases...
core is up to date
extra                                   7.8 MiB  2.16 MiB/s 00:04 [------------------------------------] 100%
archzfs is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (75.1-1) breaks dependency 'libicuuc.so=74-64' required by qt5-webkit
:: installing icu (75.1-1) breaks dependency 'libicui18n.so=74-64' required by qt5-webkit

---
pacman -Qii qt5-webkit
Name            : qt5-webkit
Version         : 5.212.0alpha4-23
Description     : Classes for a WebKit2 based implementation and a new QML API
Architecture    : x86_64
URL             : https://github.com/qtwebkit/qtwebkit
Licenses        : LGPL2.1
Groups          : None
Provides        : None
Depends On      : qt5-location  qt5-sensors  qt5-webchannel  libwebp  libxcomposite  gst-plugins-base  hyphen
woff2  glibc  gcc-libs  glib2  zlib  libx11  sqlite  gst-plugins-base-libs  libjpeg-turbo
icu  libpng  gstreamer  libxml2  qt5-base  qt5-declarative  libicuuc.so=74-64
libicui18n.so=74-64
Optional Deps   : gst-plugins-good: Webm codec support [installed]
Required By     : smtube
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 46.81 MiB
Packager        : Unknown Packager
Build Date      : Tue 21 May 2024 08:07:38 AEST
Install Date    : Tue 21 May 2024 09:55:52 AEST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : None
Backup Files    : None
Extended Data   : pkgtype=pkg

FabioLolix commented on 2024-05-20 20:47 (UTC)

@dreieck still fails with

/usr/include/unicode/localpointer.h:561:26: error: parameter declared 'auto'
  561 | template <typename Type, auto closeFunction>
      |                          ^~~~
/usr/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid
  573 |     explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
      |                                                                            ^
/usr/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid
  583 |     LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
      |                                                                              ^
/usr/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid
  599 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {
      |                                                           ^

@MoetaYuko

https://aur.archlinux.org/packages/qt5-webkit#comment-973743

https://aur.archlinux.org/packages/qt5-webkit#comment-973748