diff options
Diffstat (limited to 'dev-qt')
-rw-r--r-- | dev-qt/Manifest.gz | bin | 11908 -> 11735 bytes | |||
-rw-r--r-- | dev-qt/qtstyleplugins/Manifest | 4 | ||||
-rw-r--r-- | dev-qt/qtstyleplugins/files/fix-build-qt5.15.patch | 47 | ||||
-rw-r--r-- | dev-qt/qtstyleplugins/metadata.xml | 11 | ||||
-rw-r--r-- | dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311-r1.ebuild | 46 |
5 files changed, 0 insertions, 108 deletions
diff --git a/dev-qt/Manifest.gz b/dev-qt/Manifest.gz Binary files differindex ecf0e7eee68f..21ce712abe20 100644 --- a/dev-qt/Manifest.gz +++ b/dev-qt/Manifest.gz diff --git a/dev-qt/qtstyleplugins/Manifest b/dev-qt/qtstyleplugins/Manifest deleted file mode 100644 index 92424a837325..000000000000 --- a/dev-qt/qtstyleplugins/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX fix-build-qt5.15.patch 2651 BLAKE2B d4b058715e76f2721bd39c6499289b959daabc1ec765af1a87d0796eb934a49bfd589816dbfba6e374c5cd61a3d3b2526f25de21108fe6a0a7f352f57e899e5a SHA512 181bf85ad054ed5788f1bd4c32116729d57f83b8a4fdfcab3d3185ccd1e557b9492468c11c53a8a54c858967bf8298c3bd1a29bc100a8ffc6561ec543361f8b5 -DIST qtstyleplugins-5.0.0_p20170311.tar.gz 306394 BLAKE2B a59343602062ec1d0f215acf568322a5be874552b0c03dec75f268cec2123b1baa30bee524e36c9d522a8c935a58f204b5362feaf028df87ca10ea01dd29b3fb SHA512 e8c2d0e9c6b0a47cab04ffd2e9384606638905b63a7c1580f9b629bbcc84ebff19743363ffee3dbd31c3de1dcda684211ad3052932b5aa0081e529afd9cbb14d -EBUILD qtstyleplugins-5.0.0_p20170311-r1.ebuild 887 BLAKE2B a842943c214ea98ea1b9d9a8e0a2bee924a3bcad0215d7cf6387e1902bbc0e098bf396e90c44f7bcc708b904f939a69910382ae3d44bc29dd3b7fb2aaeea989c SHA512 bc095a7ccccc887fd0c8ce7a92366d06131abb91b25cb8aaca7df69c437947d7e456f78b5f3558f31d7b7dd1e95f7a312b79c0d0963d70889c3ba0dcc36958f0 -MISC metadata.xml 330 BLAKE2B 2a4e0bf72ca44043b53418cacbdec22a856e4d1a3495d013fb2545c8651d9264627af54af5b9d9fc9c08f10cc736cdbb66a78f297026d2f5c27446d9b441c02b SHA512 e63d635a1ddaed3c5f5b3f557fb9684c6e7579e3a285d5cdfba56f9ebc603f5d409b8631061b7593dd548c2a7224a887d80d153b6a96073938aec61c198709ac diff --git a/dev-qt/qtstyleplugins/files/fix-build-qt5.15.patch b/dev-qt/qtstyleplugins/files/fix-build-qt5.15.patch deleted file mode 100644 index caedd05baa83..000000000000 --- a/dev-qt/qtstyleplugins/files/fix-build-qt5.15.patch +++ /dev/null @@ -1,47 +0,0 @@ -From: Fabian Vogt <fvogt@suse.de> -Subject: Fix build against Qt 5.15 - -With 0a93db4d82c051164923a10e4382b12de9049b45 -("Unify application palette handling between QGuiApplication and QApplication") -QApplicationPrivate::setSystemPalette does no longer exist. - -This style does explictly not support "system colors" defined by the platform -theme, which have priority over the style provided palette. To prevent the -theme from overriding the colors, it previously used the system palette -mechanism (which has priority over the theme), but that way does not work -anymore. Instead, simply use QApplication::setPalette. While that has -different behaviour and might break in some applications, it's better than -having a completely messed up palette with certain themes. -This is the same change as suggested by gamezelda on -https://aur.archlinux.org/packages/qt5-styleplugins/#comment-749190. - -Index: qtstyleplugins-opensource-src-5.0.0+git20170311/src/plugins/styles/gtk2/qgtkstyle.cpp -=================================================================== ---- qtstyleplugins-opensource-src-5.0.0+git20170311.orig/src/plugins/styles/gtk2/qgtkstyle.cpp -+++ qtstyleplugins-opensource-src-5.0.0+git20170311/src/plugins/styles/gtk2/qgtkstyle.cpp -@@ -440,7 +440,11 @@ void QGtkStyle::polish(QApplication *app - // not supported as these should be entirely determined by - // current Gtk settings - if (app->desktopSettingsAware() && d->isThemeAvailable()) { -+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) - QApplicationPrivate::setSystemPalette(standardPalette()); -+#else -+ QApplication::setPalette(standardPalette()); -+#endif - QApplicationPrivate::setSystemFont(d->getThemeFont()); - d->applyCustomPaletteHash(); - if (!d->isKDE4Session()) -Index: qtstyleplugins-opensource-src-5.0.0+git20170311/src/plugins/styles/gtk2/qgtkstyle_p.cpp -=================================================================== ---- qtstyleplugins-opensource-src-5.0.0+git20170311.orig/src/plugins/styles/gtk2/qgtkstyle_p.cpp -+++ qtstyleplugins-opensource-src-5.0.0+git20170311/src/plugins/styles/gtk2/qgtkstyle_p.cpp -@@ -508,7 +508,9 @@ void QGtkStyleUpdateScheduler::updateThe - if (oldTheme != QGtkStylePrivate::getThemeName()) { - oldTheme = QGtkStylePrivate::getThemeName(); - QPalette newPalette = qApp->style()->standardPalette(); -+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) - QApplicationPrivate::setSystemPalette(newPalette); -+#endif - QApplication::setPalette(newPalette); - if (!QGtkStylePrivate::instances.isEmpty()) { - QGtkStylePrivate::instances.last()->initGtkWidgets(); diff --git a/dev-qt/qtstyleplugins/metadata.xml b/dev-qt/qtstyleplugins/metadata.xml deleted file mode 100644 index 6498a5bbb7e6..000000000000 --- a/dev-qt/qtstyleplugins/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>chewi@gentoo.org</email> - <name>James Le Cuirot</name> - </maintainer> - <upstream> - <remote-id type="github">qt/qtstyleplugins</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311-r1.ebuild b/dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311-r1.ebuild deleted file mode 100644 index e22f656abe1d..000000000000 --- a/dev-qt/qtstyleplugins/qtstyleplugins-5.0.0_p20170311-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit qmake-utils - -COMMIT="335dbece103e2cbf6c7cf819ab6672c2956b17b3" -DESCRIPTION="Additional style plugins for Qt5 (gtk2, cleanlook, plastic, motif)" -HOMEPAGE="https://code.qt.io/cgit/qt/qtstyleplugins.git/" -SRC_URI="https://github.com/qt/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -LICENSE="LGPL-2.1" -SLOT="5" -KEYWORDS="amd64" - -DEPEND=" - dev-qt/qtcore:5= - dev-qt/qtgui:5=[dbus] - dev-qt/qtwidgets:5= - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/pango -" - -RDEPEND=" - ${DEPEND} -" - -S="${WORKDIR}/${PN}-${COMMIT}" - -PATCHES=( - "${FILESDIR}"/fix-build-qt5.15.patch -) - -src_configure() { - eqmake5 -} - -src_install() { - emake INSTALL_ROOT="${D}" install -} - -pkg_postinst() { - elog "To make Qt5 use the gtk2 style, set this in your environment:" - elog " QT_QPA_PLATFORMTHEME=gtk2" -} |