@mozo thank you for the reminder. I've uploaded it on my server (may be you should re-fetch my GPG key because I've extended its expiration time as well)
Search Criteria
Package Details: qt4 4.8.7-38
Package Actions
Git Clone URL: | https://aur.archlinux.org/qt4.git (read-only, click to copy) |
---|---|
Package Base: | qt4 |
Description: | A cross-platform application and UI framework |
Upstream URL: | https://www.qt.io |
Licenses: | GPL-3.0-only, LGPL-3.0-only, GFDL-1.3-only |
Conflicts: | qt |
Replaces: | qt |
Submitter: | arojas |
Maintainer: | DodoGTA |
Last Packager: | DodoGTA |
Votes: | 80 |
Popularity: | 0.91 |
First Submitted: | 2019-05-01 11:51 (UTC) |
Last Updated: | 2025-01-31 20:43 (UTC) |
Dependencies (37)
- alsa-lib
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-macosAUR, freetype2-qdoledAUR, freetype2-gitAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utilsAUR, libglvnd)
- libice
- libmng
- libpng (libpng-gitAUR, libpng-apngAUR)
- libsm
- libx11 (libx11-gitAUR)
- libxext (libxext-gitAUR)
- libxi (libxi-gitAUR)
- libxrandr (libxrandr-gitAUR)
- libxrender
- openssl (openssl-staticAUR, openssl-gitAUR)
- sqlite (sqlite-fossilAUR)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- cups (cups-gitAUR, cups-gssapiAUR) (make)
- gtk2 (gtk2-patched-filechooser-icon-viewAUR) (make)
- mariadb-libs (libmysqlclient81AUR, libmysqlclientAUR, libmysqlclient80AUR, libmysqlclient84AUR, mariadb-lts-libs) (make)
- mesa (mesa-minimal-gitAUR, mesa-wsl2-gitAUR, mesa-amd-bc250AUR, mesa-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amber) (make)
- patch (patch-gitAUR) (make)
- postgresql-libs (postgresql13-libsAUR, postgresql-libs-gitAUR, postgresql-libs-12AUR) (make)
- unixodbc (unixodbc-gitAUR) (make)
- icu (icu-gitAUR) (optional) – Unicode support
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR) (optional) – JPEG plugin
- libtiff (libtiff-gitAUR, libtiff-lercAUR) (optional) – TIFF plugin
- libxcursor (optional) – Xcursor support
- libxfixes (optional) – Xfixes support
- libxinerama (libxinerama-randr-gitAUR) (optional) – Xinerama support
- mariadb-libs (libmysqlclient81AUR, libmysqlclientAUR, libmysqlclient80AUR, libmysqlclient84AUR, mariadb-lts-libs) (optional) – MySQL/MariaDB driver
- postgresql-libs (postgresql13-libsAUR, postgresql-libs-gitAUR, postgresql-libs-12AUR) (optional) – PostgreSQL driver
- sni-qtAUR (optional) – StatusNotifierItem (AppIndicators) support
- unixodbc (unixodbc-gitAUR) (optional) – ODBC driver
Required by (213)
Sources (22)
- assistant-qt4.desktop
- designer-qt4.desktop
- disable-sslv3.patch
- fix_jit.patch
- glib-honor-ExcludeSocketNotifiers-flag.diff
- https://src.fedoraproject.org/repo/pkgs/qt/qt-everywhere-opensource-src-4.8.7.tar.gz/d990ee66bf7ab0c785589776f35ba6ad/qt-everywhere-opensource-src-4.8.7.tar.gz
- improve-cups-support.patch
- kde4-settings.patch
- kubuntu_14_systemtrayicon.diff
- l-qclipboard_delay.patch
- l-qclipboard_fix_recursive.patch
- linguist-qt4.desktop
- moc-boost-workaround.patch
- qdbusviewer-qt4.desktop
- qt4-gcc11.patch
- qt4-gcc6.patch
- qt4-gcc8.patch
- qt4-gcc9.patch
- qt4-glibc-2.25.patch
- qt4-icu59.patch
- qt4-openssl-1.1.patch
- qtconfig-qt4.desktop
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 18 Next › Last »
dviktor commented on 2021-06-10 15:05 (UTC)
mozo commented on 2021-06-10 14:47 (UTC)
Here's mine until dviktor provide the file:
https://u.pcloud.link/publink/show?code=XZhUtMXZgKzTB49erYShr43f4m7M5L1ehbB7
mozo commented on 2021-06-10 13:32 (UTC)
@dviktor, a new binary version would be great :)
valandil commented on 2021-06-09 17:32 (UTC)
slav, see the comment I made just before yours. Don't use an AUR helper to build this, and build in a clean chroot. There's even a pinned comment on this.
slav commented on 2021-06-09 17:01 (UTC)
unfortunately error on the end of building
make[2]: [Makefile.WebKit:1147: .obj/release-static/YarrInterpreter.o] Error 1 make[2]: Leaving directory '/home/slaw/.cache/yay/qt4/src/qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore' make[1]: [Makefile.WebKit:43: sub-JavaScriptCore-JavaScriptCore-pro-make_default-ordered] Error 2 make[1]: Leaving directory '/home/slaw/.cache/yay/qt4/src/qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source' make: *** [Makefile:747: sub-webkit-make_default-ordered] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error making: qt4
Is it possible that someone post qt4 4.8.7-34-x86_64.pkg.tar.xz file? Thanks, Slav
valandil commented on 2021-06-09 16:57 (UTC)
Build in a clean chroot. I can build fine.
synthead commented on 2021-06-09 04:05 (UTC)
Getting this error:
messagemodel.cpp: In function ‘int calcMergeScore(const DataModel*, const DataModel*)’:
messagemodel.cpp:186:61: error: ordered comparison of pointer with integer zero (‘MessageItem*’ and ‘int’)
186 | if (c->findMessage(m->text(), m->comment()) >= 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
make[3]: *** [Makefile:8639: .obj/release-shared/messagemodel.o] Error 1
de-vries commented on 2021-06-07 10:39 (UTC) (edited on 2021-06-07 11:21 (UTC) by de-vries)
Need this patch for GCC11.
Warning: this also fixes a bug, because that check never worked as intended. If that is not desired, just remove the if
but keep the body, because the condition was always true with gcc < 11. (See https://godbolt.org/z/n6Wxsz9Mj if you need convincing.)
As patch for the PKGBUILD repo:
From 5d5556df8f8f3483fa7b9f5dcae33a17da3d7954 Mon Sep 17 00:00:00 2001
From: Maarten de Vries <maarten@de-vri.es>
Date: Mon, 7 Jun 2021 13:15:11 +0200
Subject: [PATCH] Fix compilation with GCC11.
---
PKGBUILD | 6 +++++-
qt4-gcc11.patch | 11 +++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
create mode 100644 qt4-gcc11.patch
diff --git a/PKGBUILD b/PKGBUILD
index 27b2236..8f03b6f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,7 +37,7 @@ source=("https://ftp.desolve.ru/ftp/viktor/qt4/${_pkgfqn}.tar.gz"
'disable-sslv3.patch'
'l-qclipboard_fix_recursive.patch'
'l-qclipboard_delay.patch'
- 'qt4-gcc6.patch' 'qt4-gcc8.patch' 'qt4-gcc9.patch' 'qt4-glibc-2.25.patch' 'qt4-icu59.patch' 'qt4-openssl-1.1.patch')
+ 'qt4-gcc6.patch' 'qt4-gcc8.patch' 'qt4-gcc9.patch' 'qt4-gcc11.patch' 'qt4-glibc-2.25.patch' 'qt4-icu59.patch' 'qt4-openssl-1.1.patch')
sha256sums=('e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0'
'157eb47865f0b43e4717819783823c569127a2e9fc48309982ca0f2b753517a1'
'd63f22858174489068c30a12b9115d1b4e23ade00c31c117513212e9a225c1ce'
@@ -55,6 +55,7 @@ sha256sums=('e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0'
'51da49e41edac66559d3ec8dd0a152995a51a53e5d1f63f09fa089a8af7e3112'
'0497411e54a0461f76ffa204236f5146a2ed0d272ae66afcfabd74090459208b'
'8d6104d7bc3b050ec87e82b9df245154cd1d80e03eb3bbe633084d6b3c079d5e'
+ '1a6468bfbd4080bdf46bad88fdfcd2c90de7d16c187670c5c4559363d1f129aa'
'e6555f4a681227447e94e9f14e11626d50b7e5108aad06088311e87063bc0347'
'61d6bf45649c728dec5f8d22be5b496ed9d40f52c2c70102696d07133cd1750d'
'ff3ddb5428cd2ff243558dc0c75b35f470077e9204bbc989ddcba04c866c1b68')
@@ -102,6 +103,9 @@ prepare() {
# Fix build with GCC9
patch -Np0 -i "$srcdir"/qt4-gcc9.patch
+ # Fix build with GCC11
+ patch -Np0 -i "$srcdir"/qt4-gcc11.patch
+
# Fix build of Qt4 applications with glibc 2.25 (Fedora)
patch -p1 -i "$srcdir"/qt4-glibc-2.25.patch
diff --git a/qt4-gcc11.patch b/qt4-gcc11.patch
new file mode 100644
index 0000000..fb04a2a
--- /dev/null
+++ b/qt4-gcc11.patch
@@ -0,0 +1,11 @@
+--- tools/linguist/linguist/messagemodel.cpp 2021-06-07 12:18:43.713434493 +0200
++++ tools/linguist/linguist/messagemodel.cpp 2021-06-07 12:24:24.828016548 +0200
+@@ -183,7 +183,7 @@
+ if (ContextItem *c = one->findContext(oc->context())) {
+ for (int j = 0; j < oc->messageCount(); ++j) {
+ MessageItem *m = oc->messageItem(j);
+- if (c->findMessage(m->text(), m->comment()) >= 0)
++ if (c->findMessage(m->text(), m->comment()))
+ ++inBoth;
+ }
+ }
--
2.32.0
Or, qt4-gcc11.patch separate:
--- tools/linguist/linguist/messagemodel.cpp 2021-06-07 12:18:43.713434493 +0200
+++ tools/linguist/linguist/messagemodel.cpp 2021-06-07 12:24:24.828016548 +0200
@@ -183,7 +183,7 @@
if (ContextItem *c = one->findContext(oc->context())) {
for (int j = 0; j < oc->messageCount(); ++j) {
MessageItem *m = oc->messageItem(j);
- if (c->findMessage(m->text(), m->comment()) >= 0)
+ if (c->findMessage(m->text(), m->comment()))
++inBoth;
}
}
valandil commented on 2021-02-07 19:15 (UTC)
@jerome2016: build in a clean chroot, see the pinned comments.
Pinned Comments
eschwartz commented on 2019-05-09 13:24 (UTC)
@semeion,
qt4 was expelled from the official repositories due to https://lists.archlinux.org/pipermail/arch-dev-public/2019-April/029560.html
It will not be restored, because software needs to stop using qt4. It's fine for people to still use it via the AUR if they have old software that is not ported, but the proper solution is to get that software ported to qt5.
"It takes a long time to compile" is not a reason to move it to community.
@xuanruiqi,
Only Developers and Trusted Users have access to pkgbuild.com, and we will not be uploading qt4 there. If we wanted qt4, we would upload it to community, but we don't -- we have managed to move every package still being actively maintained in the official repos, over to qt5, and we want to stay that way.
...
Again, the proper long-term solution is to get software ported over to qt5.
dviktor commented on 2019-05-05 17:49 (UTC) (edited on 2019-05-15 19:02 (UTC) by dviktor)
For those who have problems with
‘std::tr1’ has not been declared
error: build in clean chroot withextra-x86_64-build
script.