[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-integration/, kde-plasma/plasma-integration/files/
commit: a5058f771b87b83e2064b32de86e3ace063f43a1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jan 7 11:48:10 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 24 19:42:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5058f77 kde-plasma/plasma-integration: drop 5.19.5* Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/plasma-integration/Manifest | 1 - ...e-standard-kde-shortcut-for-move-to-trash.patch | 34 --- .../plasma-integration-5.19.5-r1.ebuild| 50 -- 3 files changed, 85 deletions(-) diff --git a/kde-plasma/plasma-integration/Manifest b/kde-plasma/plasma-integration/Manifest index 7d7c14e860c..574dfc2c6a6 100644 --- a/kde-plasma/plasma-integration/Manifest +++ b/kde-plasma/plasma-integration/Manifest @@ -1,2 +1 @@ -DIST plasma-integration-5.19.5.tar.xz 57464 BLAKE2B ef5ec9f849087ae738a1ff1de14a77994b4486f89b632777caa8e0aad67cad8553bdf1d0553893361ab4c11ddba0caf32464cb49f08047cf2d40375f789c166e SHA512 9e17e1720e5d5c1d3cada3f1eb891d27fd189eb65378c2e0be6547c79d93d5df2f785a3c67d35a4a374d320b118ad3b7d3fb7d968a7f5b629e505d21c83cfe36 DIST plasma-integration-5.20.5.tar.xz 59740 BLAKE2B 8c6e054db3047093556ac9549ebe28e6270001838f28eea92138f4acc02c79235f6c0ab8d82de764dae16efa81cc7ff7519736935bd77153612ee035f7abf337 SHA512 fa0806c756d394ab6f419252396f9d0a18652ed652adcb016dd2885f5238df843814f4661c63b193805834dcd43cb346f69ce9520229c215d2ff45a24604 diff --git a/kde-plasma/plasma-integration/files/plasma-integration-5.19.5-use-standard-kde-shortcut-for-move-to-trash.patch b/kde-plasma/plasma-integration/files/plasma-integration-5.19.5-use-standard-kde-shortcut-for-move-to-trash.patch deleted file mode 100644 index 7405dace6be..000 --- a/kde-plasma/plasma-integration/files/plasma-integration-5.19.5-use-standard-kde-shortcut-for-move-to-trash.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 15c7926377065da0fea111be303816dca91d087a Mon Sep 17 00:00:00 2001 -From: Nate Graham -Date: Tue, 15 Sep 2020 13:31:48 -0600 -Subject: [PATCH] Use KDE shortcuts for "move to trash" action coming from - QStandardKey - -QKeySequence::Delete is the Qt "Move to trash" action, which, by -default, includes Ctrl+D as a shortcut. This is something we don't want -in KDE software, so we need to intercept this action in our integration -plugin and give it the standard KDE shortcuts instead, as we do for -other actions. - -BUG: 426573 -FIXED-IN: 5.20 - src/platformtheme/kdeplatformtheme.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/platformtheme/kdeplatformtheme.cpp b/src/platformtheme/kdeplatformtheme.cpp -index 24ac7e7..18b3f6f 100644 a/src/platformtheme/kdeplatformtheme.cpp -+++ b/src/platformtheme/kdeplatformtheme.cpp -@@ -257,6 +257,8 @@ QList KdePlatformTheme::keyBindings(QKeySequence::StandardKey key) - return KStandardShortcut::shortcut(KStandardShortcut::TabNext); - case QKeySequence::PreviousChild: - return KStandardShortcut::shortcut(KStandardShortcut::TabPrev); -+case QKeySequence::Delete: -+return KStandardShortcut::shortcut(KStandardShortcut::MoveToTrash); - default: - return QPlatformTheme::keyBindings(key); - } --- -GitLab - diff --git a/kde-plasma/plasma-integration/plasma-integration-5.19.5-r1.ebuild b/kde-plasma/plasma-integration/plasma-integration-5.19.5-r1.ebuild deleted file mode 100644 index ad56b885e44..000 --- a/kde-plasma/plasma-integration/plasma-integration-5.19.5-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -KFMIN=5.71.0 -PVCUT=$(ver_cut 1-3) -QTMIN=5.14.2 -VIRTUALX_REQUIRED="test" -inherit ecm kde.org - -DESCRIPTION="Qt Platform Theme integration plugins for the Plasma workspaces" - -LICENSE="LGPL-2+" -SLOT="5" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -IUSE="" - -DEPEND=" - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5=[dbus] - >=dev-qt/qtquickcontrols2-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=dev-qt/qtx11extras-${QTMIN}:5 - >=kde-frameworks/kcompletion-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kiconthemes-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/kjobwidgets-${KFMIN}:5 - >=kde-frameworks/knotifications-${KFMIN}:5 - >=kde-frameworks/kwayland-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kwindowsystem-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - >=kde-plasma/breeze-${PVCUT}:5 - x11-libs/libXcursor - x11-libs/libxcb -" -RDEPEND="${DEPEND} - media-fonts/hack - media-fonts/noto -" - -# requires r
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-integration/, kde-plasma/plasma-integration/files/
commit: deda9bbdb1d52f9f030ce978a214430c86695d3e Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Sep 29 12:31:28 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Sep 29 12:46:44 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deda9bbd kde-plasma/plasma-integration: Make folder view don't move to trash on Ctrl+D Upstream commit 15c7926377065da0fea111be303816dca91d087a KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=426573 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner gentoo.org> ...e-standard-kde-shortcut-for-move-to-trash.patch | 34 +++ .../plasma-integration-5.19.5-r1.ebuild| 50 ++ 2 files changed, 84 insertions(+) diff --git a/kde-plasma/plasma-integration/files/plasma-integration-5.19.5-use-standard-kde-shortcut-for-move-to-trash.patch b/kde-plasma/plasma-integration/files/plasma-integration-5.19.5-use-standard-kde-shortcut-for-move-to-trash.patch new file mode 100644 index 000..7405dace6be --- /dev/null +++ b/kde-plasma/plasma-integration/files/plasma-integration-5.19.5-use-standard-kde-shortcut-for-move-to-trash.patch @@ -0,0 +1,34 @@ +From 15c7926377065da0fea111be303816dca91d087a Mon Sep 17 00:00:00 2001 +From: Nate Graham +Date: Tue, 15 Sep 2020 13:31:48 -0600 +Subject: [PATCH] Use KDE shortcuts for "move to trash" action coming from + QStandardKey + +QKeySequence::Delete is the Qt "Move to trash" action, which, by +default, includes Ctrl+D as a shortcut. This is something we don't want +in KDE software, so we need to intercept this action in our integration +plugin and give it the standard KDE shortcuts instead, as we do for +other actions. + +BUG: 426573 +FIXED-IN: 5.20 +--- + src/platformtheme/kdeplatformtheme.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/platformtheme/kdeplatformtheme.cpp b/src/platformtheme/kdeplatformtheme.cpp +index 24ac7e7..18b3f6f 100644 +--- a/src/platformtheme/kdeplatformtheme.cpp b/src/platformtheme/kdeplatformtheme.cpp +@@ -257,6 +257,8 @@ QList KdePlatformTheme::keyBindings(QKeySequence::StandardKey key) + return KStandardShortcut::shortcut(KStandardShortcut::TabNext); + case QKeySequence::PreviousChild: + return KStandardShortcut::shortcut(KStandardShortcut::TabPrev); ++case QKeySequence::Delete: ++return KStandardShortcut::shortcut(KStandardShortcut::MoveToTrash); + default: + return QPlatformTheme::keyBindings(key); + } +-- +GitLab + diff --git a/kde-plasma/plasma-integration/plasma-integration-5.19.5-r1.ebuild b/kde-plasma/plasma-integration/plasma-integration-5.19.5-r1.ebuild new file mode 100644 index 000..51a301c73ca --- /dev/null +++ b/kde-plasma/plasma-integration/plasma-integration-5.19.5-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KFMIN=5.71.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.14.2 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="Qt Platform Theme integration plugins for the Plasma workspaces" + +LICENSE="LGPL-2+" +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="" + +DEPEND=" + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5=[dbus] + >=dev-qt/qtquickcontrols2-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtx11extras-${QTMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/kwayland-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-plasma/breeze-${PVCUT}:5 + x11-libs/libXcursor + x11-libs/libxcb +" +RDEPEND="${DEPEND} + media-fonts/hack + media-fonts/noto +" + +# requires running kde environment +RESTRICT+=" test" + +PATCHES=( "${FILESDIR}"/${P}-use-standard-kde-shortcut-for-move-to-trash.patch )
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-integration/, kde-plasma/plasma-integration/files/
commit: 47ca37ef5f2f558bf3e9f1a9cfe23d2f144de774 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Dec 17 21:37:12 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Dec 17 23:48:40 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47ca37ef kde-plasma/plasma-integration: Resize file dialog window before size restore Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> ...ma-integration-5.17.4-fix-filedialog-size.patch | 52 ++ .../plasma-integration-5.17.4-r1.ebuild| 49 2 files changed, 101 insertions(+) diff --git a/kde-plasma/plasma-integration/files/plasma-integration-5.17.4-fix-filedialog-size.patch b/kde-plasma/plasma-integration/files/plasma-integration-5.17.4-fix-filedialog-size.patch new file mode 100644 index 000..b49006bcde9 --- /dev/null +++ b/kde-plasma/plasma-integration/files/plasma-integration-5.17.4-fix-filedialog-size.patch @@ -0,0 +1,52 @@ +From 2e9f96847432c707a9dfbfe0748f0524a128abb7 Mon Sep 17 00:00:00 2001 +From: David Edmundson +Date: Sat, 14 Dec 2019 14:03:30 +0100 +Subject: Resize file dialog window before size restore + +Summary: +KDEPlatformDialogHelper explicitly resizes the window contents to the +window as part of a bug fix. This means we lose the common path where +the window resizes to the content's size hints that happens later. + +If we resize the window to the size hint in advance we keep our size +hint. + +(alternatively it seems to be me we can remove that old hack...but it +needs testing by people with Qt5.12) + +Test Plan: +KWrite -> open + +Size is 900x600, the size hint +not 640x480 the QPA default + +Reviewers: #plasma, ngraham + +Reviewed By: ngraham + +Subscribers: ngraham, plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D25986 +--- + src/platformtheme/kdeplatformfiledialoghelper.cpp | 4 + 1 file changed, 4 insertions(+) + +diff --git a/src/platformtheme/kdeplatformfiledialoghelper.cpp b/src/platformtheme/kdeplatformfiledialoghelper.cpp +index efb7b60..4c67547 100644 +--- a/src/platformtheme/kdeplatformfiledialoghelper.cpp b/src/platformtheme/kdeplatformfiledialoghelper.cpp +@@ -370,6 +370,10 @@ void KDEPlatformFileDialogHelper::restoreSize() + { + m_dialog->winId(); // ensure there's a window created + KSharedConfig::Ptr conf = KSharedConfig::openConfig(); ++ ++// see the note below ++m_dialog->windowHandle()->resize(m_dialog->sizeHint()); ++ + KWindowConfig::restoreWindowSize(m_dialog->windowHandle(), conf->group("FileDialogSize")); + // NOTICE: QWindow::setGeometry() does NOT impact the backing QWidget geometry even if the platform + // window was created -> QTBUG-40584. We therefore copy the size here. +-- +cgit v1.1 diff --git a/kde-plasma/plasma-integration/plasma-integration-5.17.4-r1.ebuild b/kde-plasma/plasma-integration/plasma-integration-5.17.4-r1.ebuild new file mode 100644 index 000..c2b808ff6a9 --- /dev/null +++ b/kde-plasma/plasma-integration/plasma-integration-5.17.4-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +VIRTUALX_REQUIRED="test" +KFMIN=5.64.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.12.3 +inherit ecm kde.org + +DESCRIPTION="Qt Platform Theme integration plugins for the Plasma workspaces" +LICENSE="LGPL-2+" +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +DEPEND=" + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/kwayland-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-plasma/breeze-${PVCUT}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5=[dbus] + >=dev-qt/qtquickcontrols2-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtx11extras-${QTMIN}:5 + x11-libs/libXcursor + x11-libs/libxcb +" +RDEPEND="${DEPEND} + media-fonts/hack + media-fonts/noto +" + +# requires running kde environment +RESTRICT+=" test" + +PATCHES=( "${FILESDIR}"/${P}-fix-filedialog-size.patch )
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-integration/, kde-plasma/plasma-integration/files/
commit: 3f0b2caa2ee9f9f9f102d551f39bb632ec9f8652 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Apr 8 10:44:11 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Apr 8 10:47:12 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f0b2caa kde-plasma/plasma-integration: Fix initial remote dir selection Package-Manager: Portage-2.3.28, Repoman-2.3.9 ...a-integration-5.12.4-remote-dir-selection.patch | 62 ++ .../plasma-integration-5.12.4-r1.ebuild| 45 2 files changed, 107 insertions(+) diff --git a/kde-plasma/plasma-integration/files/plasma-integration-5.12.4-remote-dir-selection.patch b/kde-plasma/plasma-integration/files/plasma-integration-5.12.4-remote-dir-selection.patch new file mode 100644 index 000..a3c6d931e2b --- /dev/null +++ b/kde-plasma/plasma-integration/files/plasma-integration-5.12.4-remote-dir-selection.patch @@ -0,0 +1,62 @@ +From bfd41a95530f90ee8d44cbcfd1fa8c62978334a2 Mon Sep 17 00:00:00 2001 +From: Alex Richardson +Date: Sun, 8 Apr 2018 11:06:32 +0100 +Subject: KDEPlatformFileDialog: Fix initial directory selection for remote + files + +Summary: +Previously KDEPlatformFileDialogHelper::selectFile() would change +options()->initialDirectory() unconditionally even if it was already +set by the QFileDialog code. Since Qt 5.7.1 it is no longer necessary +to derive initialDirectory from the selectFile() call. In fact it is +actuall harmful since it will now override the correct initial directory +that was set by Qt. Without this patch I got the following debug output: + +``` +KDEPlatformFileDialogHelper::setDirectory QUrl("sftp://server/home/alr48/cheri/build_sdk.sh";) +KDEPlatformFileDialogHelper::setDirectory QUrl("sftp://server/home/alr48/cheri/build_sdk.sh";) +KDEPlatformFileDialogHelper::selectFile QUrl("file:///home/alex/build_sdk.sh") +KDEPlatformFileDialogHelper::setDirectory QUrl("file:///home/alex/) +``` +The final setDirectory() call is actually a call to +`setDirectory(options->initialDirectory())` which was set in `selectFile()`. + +We now depend on Qt 5.9 so we can remove this code without a check for +version >= 5.7.1. + +BUG: 374913 + +Test Plan: Remote directory is now opened correctly (tested with Qt 5.10.0) + +Reviewers: #plasma, elvisangelaccio + +Reviewed By: elvisangelaccio + +Subscribers: ngraham, krzyc, anthonyfieroni, elvisangelaccio, graesslin, plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D4193 +--- + src/platformtheme/kdeplatformfiledialoghelper.cpp | 5 - + 1 file changed, 5 deletions(-) + +diff --git a/src/platformtheme/kdeplatformfiledialoghelper.cpp b/src/platformtheme/kdeplatformfiledialoghelper.cpp +index 1a2b1b5..d4ea0cd 100644 +--- a/src/platformtheme/kdeplatformfiledialoghelper.cpp b/src/platformtheme/kdeplatformfiledialoghelper.cpp +@@ -409,11 +409,6 @@ QUrl KDEPlatformFileDialogHelper::directory() const + void KDEPlatformFileDialogHelper::selectFile(const QUrl &filename) + { + m_dialog->selectFile(filename); +- +-// Qt 5 at least <= 5.8.0 does not derive the directory from the passed url +-// and set the initialDirectory option accordingly, also not for known schemes +-// like file://, so we have to do it ourselves +-options()->setInitialDirectory(m_dialog->directory()); + } + + void KDEPlatformFileDialogHelper::setDirectory(const QUrl &directory) +-- +cgit v0.11.2 + diff --git a/kde-plasma/plasma-integration/plasma-integration-5.12.4-r1.ebuild b/kde-plasma/plasma-integration/plasma-integration-5.12.4-r1.ebuild new file mode 100644 index 000..d9391f82d7d --- /dev/null +++ b/kde-plasma/plasma-integration/plasma-integration-5.12.4-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Qt Platform Theme integration plugins for the Plasma workspaces" +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +DEPEND=" + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep kwayland) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_plasma_dep breeze) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui 'dbus' '' '5=') + $(add_qt_dep qtquickcontrols2) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtx11extras) + x11-libs/libXcursor + x11-libs/libxcb +" +RDEPEND="${DEPEND} + media-fonts/hack + media-fonts/noto +" + +# requires runn