From 77efb8f5d9d940e32f8ff28f474d273d21661029 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Tue, 26 Oct 2021 22:01:32 +0000 Subject: Tue Oct 26 22:01:32 UTC 2021 a/aaa_libraries-15.0-x86_64-11.txz: Rebuilt. Upgraded: libcap.so.2.60, libncurses.so.6.3, libncursesw.so.6.3, libtinfo.so.6.3, libcares.so.2.5.0, libform.so.6.3, libformw.so.6.3, libmenu.so.6.3, libmenuw.so.6.3, libpanel.so.6.3, libpanelw.so.6.3. Added: libvpx.so.6.4.0. a/kernel-firmware-20211025_fc14618-noarch-1.txz: Upgraded. d/mercurial-5.9.3-x86_64-1.txz: Upgraded. kde/bluedevil-5.23.2-x86_64-1.txz: Upgraded. kde/breeze-5.23.2-x86_64-1.txz: Upgraded. kde/breeze-grub-5.23.2-x86_64-1.txz: Upgraded. kde/breeze-gtk-5.23.2-x86_64-1.txz: Upgraded. kde/drkonqi-5.23.2-x86_64-1.txz: Upgraded. kde/kactivitymanagerd-5.23.2-x86_64-1.txz: Upgraded. kde/kde-cli-tools-5.23.2-x86_64-1.txz: Upgraded. kde/kde-gtk-config-5.23.2-x86_64-1.txz: Upgraded. kde/kdecoration-5.23.2-x86_64-1.txz: Upgraded. kde/kdeplasma-addons-5.23.2-x86_64-1.txz: Upgraded. kde/kgamma5-5.23.2-x86_64-1.txz: Upgraded. kde/khotkeys-5.23.2-x86_64-1.txz: Upgraded. kde/kinfocenter-5.23.2-x86_64-1.txz: Upgraded. kde/kmenuedit-5.23.2-x86_64-1.txz: Upgraded. kde/kscreen-5.23.2-x86_64-1.txz: Upgraded. kde/kscreenlocker-5.23.2-x86_64-1.txz: Upgraded. kde/ksshaskpass-5.23.2-x86_64-1.txz: Upgraded. kde/ksystemstats-5.23.2-x86_64-1.txz: Upgraded. kde/kwallet-pam-5.23.2-x86_64-1.txz: Upgraded. kde/kwayland-integration-5.23.2-x86_64-1.txz: Upgraded. kde/kwayland-server-5.23.2-x86_64-1.txz: Upgraded. kde/kwin-5.23.2-x86_64-1.txz: Upgraded. kde/kwrited-5.23.2-x86_64-1.txz: Upgraded. kde/latte-dock-0.10.3-x86_64-1.txz: Upgraded. kde/layer-shell-qt-5.23.2-x86_64-1.txz: Upgraded. kde/libkscreen-5.23.2-x86_64-1.txz: Upgraded. kde/libksysguard-5.23.2-x86_64-1.txz: Upgraded. kde/milou-5.23.2-x86_64-1.txz: Upgraded. kde/oxygen-5.23.2-x86_64-1.txz: Upgraded. kde/plasma-browser-integration-5.23.2-x86_64-1.txz: Upgraded. kde/plasma-desktop-5.23.2-x86_64-1.txz: Upgraded. kde/plasma-disks-5.23.2-x86_64-1.txz: Upgraded. kde/plasma-firewall-5.23.2-x86_64-1.txz: Upgraded. kde/plasma-integration-5.23.2-x86_64-1.txz: Upgraded. kde/plasma-nm-5.23.2-x86_64-1.txz: Upgraded. kde/plasma-pa-5.23.2-x86_64-1.txz: Upgraded. kde/plasma-sdk-5.23.2-x86_64-1.txz: Upgraded. kde/plasma-systemmonitor-5.23.2-x86_64-1.txz: Upgraded. kde/plasma-vault-5.23.2-x86_64-1.txz: Upgraded. kde/plasma-workspace-5.23.2-x86_64-1.txz: Upgraded. kde/plasma-workspace-wallpapers-5.23.2-x86_64-1.txz: Upgraded. kde/polkit-kde-agent-1-5.23.2-x86_64-1.txz: Upgraded. kde/powerdevil-5.23.2-x86_64-1.txz: Upgraded. kde/qqc2-breeze-style-5.23.2-x86_64-1.txz: Upgraded. kde/sddm-kcm-5.23.2-x86_64-1.txz: Upgraded. kde/systemsettings-5.23.2-x86_64-1.txz: Upgraded. kde/xdg-desktop-portal-kde-5.23.2-x86_64-1.txz: Upgraded. l/ffmpeg-4.4.1-x86_64-2.txz: Rebuilt. Recompiled against libvpx-1.11.0. l/gst-plugins-good-1.18.5-x86_64-2.txz: Rebuilt. Recompiled against libvpx-1.11.0. l/libvpx-1.11.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/python-docutils-0.18-x86_64-1.txz: Upgraded. l/qt5-5.15.3_20211024_2aa0de43-x86_64-1.txz: Upgraded. Upgraded to latest git (might as well) and compiled against libvpx-1.11.0. n/c-ares-1.18.0-x86_64-1.txz: Upgraded. xap/xine-lib-1.2.11-x86_64-7.txz: Rebuilt. Recompiled against libvpx-1.11.0. --- source/kde/kde/patch/plasma-desktop.patch | 2 - .../b893a37fd9b3b5c28173c68ba963fb866a5ac0ed.patch | 142 --------------------- 2 files changed, 144 deletions(-) delete mode 100644 source/kde/kde/patch/plasma-desktop/b893a37fd9b3b5c28173c68ba963fb866a5ac0ed.patch (limited to 'source/kde/kde/patch') diff --git a/source/kde/kde/patch/plasma-desktop.patch b/source/kde/kde/patch/plasma-desktop.patch index e0376a9d9..eddacf9b6 100644 --- a/source/kde/kde/patch/plasma-desktop.patch +++ b/source/kde/kde/patch/plasma-desktop.patch @@ -2,5 +2,3 @@ cat $CWD/patch/plasma-desktop/plasma-desktop.default_launcher_tasks.diff | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } # Don't leave an .orig file to be packaged: rm -f ./applets/taskmanager/package/contents/config/main.xml.orig -# [PATCH] Desktop as folder: restore functionality of the "delete" action: -cat $CWD/patch//plasma-desktop/b893a37fd9b3b5c28173c68ba963fb866a5ac0ed.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } diff --git a/source/kde/kde/patch/plasma-desktop/b893a37fd9b3b5c28173c68ba963fb866a5ac0ed.patch b/source/kde/kde/patch/plasma-desktop/b893a37fd9b3b5c28173c68ba963fb866a5ac0ed.patch deleted file mode 100644 index c602e7046..000000000 --- a/source/kde/kde/patch/plasma-desktop/b893a37fd9b3b5c28173c68ba963fb866a5ac0ed.patch +++ /dev/null @@ -1,142 +0,0 @@ -From b893a37fd9b3b5c28173c68ba963fb866a5ac0ed Mon Sep 17 00:00:00 2001 -From: Fabio Bas -Date: Mon, 18 Oct 2021 21:41:17 +0200 -Subject: [PATCH] Desktop as folder: restore functionality of the "delete" - action - -MR552 introduced RemoveAction but broke functionality of the "delete" action -when both the "trash" and "delete" actions are shown in the menu by requiring -the "shift" key being pressed for the action to work. - -BUG: 442765 ---- - .../desktop/plugins/folder/foldermodel.cpp | 52 ++++++++++++------- - .../desktop/plugins/folder/foldermodel.h | 1 + - 2 files changed, 34 insertions(+), 19 deletions(-) - -diff --git a/containments/desktop/plugins/folder/foldermodel.cpp b/containments/desktop/plugins/folder/foldermodel.cpp -index ee03f6de9..68f404fad 100644 ---- a/containments/desktop/plugins/folder/foldermodel.cpp -+++ b/containments/desktop/plugins/folder/foldermodel.cpp -@@ -1599,6 +1599,7 @@ void FolderModel::createActions() - - QAction *rename = KStandardAction::renameFile(this, &FolderModel::requestRename, this); - QAction *trash = KStandardAction::moveToTrash(this, &FolderModel::moveSelectedToTrash, this); -+ QAction *del = KStandardAction::deleteFile(this, &FolderModel::deleteSelected, this); - RemoveAction *remove = new RemoveAction(&m_actionCollection, this); - - QAction *emptyTrash = new QAction(QIcon::fromTheme(QStringLiteral("trash-empty")), i18n("&Empty Trash"), this); -@@ -1607,8 +1608,6 @@ void FolderModel::createActions() - QAction *restoreFromTrash = new QAction(i18nc("Restore from trash", "Restore"), this); - connect(restoreFromTrash, &QAction::triggered, this, &FolderModel::restoreSelectedFromTrash); - -- QAction *del = KStandardAction::deleteFile(this, &FolderModel::deleteSelected, this); -- - QAction *actOpen = new QAction(QIcon::fromTheme(QStringLiteral("window-new")), i18n("&Open"), this); - connect(actOpen, &QAction::triggered, this, &FolderModel::openSelected); - -@@ -1803,20 +1802,20 @@ void FolderModel::openContextMenu(QQuickItem *visualParent, Qt::KeyboardModifier - menu->addSeparator(); - menu->addAction(m_actionCollection.action(QStringLiteral("restoreFromTrash"))); - -- KConfigGroup cg(KSharedConfig::openConfig(), "KDE"); -- bool showDeleteCommand = cg.readEntry("ShowDeleteCommand", false); -- -- if (showDeleteCommand) { -+ if (isDeleteCommandShown()) { - QAction *trashAction = m_actionCollection.action(QStringLiteral("trash")); - QAction *deleteAction = m_actionCollection.action(QStringLiteral("del")); -- deleteAction->setVisible(showDeleteCommand); -- trashAction->setVisible(showDeleteCommand); - menu->addAction(trashAction); - menu->addAction(deleteAction); - } else { - if (RemoveAction *removeAction = qobject_cast(m_actionCollection.action(QStringLiteral("remove")))) { - removeAction->update(); - menu->addAction(removeAction); -+ -+ // Used to monitor Shift modifier usage while the menu is open, to -+ // swap the Trash and Delete actions. -+ menu->installEventFilter(removeAction); -+ QCoreApplication::instance()->installEventFilter(removeAction); - } - } - -@@ -1852,13 +1851,6 @@ void FolderModel::openContextMenu(QQuickItem *visualParent, Qt::KeyboardModifier - menu->windowHandle()->setTransientParent(visualParent->window()); - } - -- // Used to monitor Shift modifier usage while the menu is open, to -- // swap the Trash and Delete actions. -- if (RemoveAction *removeAction = qobject_cast(m_actionCollection.action(QStringLiteral("remove")))) { -- menu->installEventFilter(removeAction); -- QCoreApplication::instance()->installEventFilter(removeAction); -- } -- - menu->popup(m_menuPosition); - connect(menu, &QMenu::aboutToHide, [menu]() { - menu->deleteLater(); -@@ -2007,8 +1999,16 @@ void FolderModel::moveSelectedToTrash() - return; - } - -- if (RemoveAction *action = qobject_cast(m_actionCollection.action(QStringLiteral("remove")))) { -- if (action->proxyAction() != m_actionCollection.action(QStringLiteral("trash"))) { -+ if (!isDeleteCommandShown()) { -+ if (RemoveAction *action = qobject_cast(m_actionCollection.action(QStringLiteral("remove")))) { -+ if (action->proxyAction() != m_actionCollection.action(QStringLiteral("trash"))) { -+ return; -+ } -+ } -+ } -+ -+ if (QAction *action = m_actionCollection.action(QStringLiteral("trash"))) { -+ if (!action->isEnabled()) { - return; - } - } -@@ -2029,8 +2029,16 @@ void FolderModel::deleteSelected() - return; - } - -- if (RemoveAction *action = qobject_cast(m_actionCollection.action(QStringLiteral("remove")))) { -- if (action->proxyAction() != m_actionCollection.action(QStringLiteral("del"))) { -+ if (!isDeleteCommandShown()) { -+ if (RemoveAction *action = qobject_cast(m_actionCollection.action(QStringLiteral("remove")))) { -+ if (action->proxyAction() != m_actionCollection.action(QStringLiteral("del"))) { -+ return; -+ } -+ } -+ } -+ -+ if (QAction *action = m_actionCollection.action(QStringLiteral("del"))) { -+ if (!action->isEnabled()) { - return; - } - } -@@ -2107,3 +2115,9 @@ void FolderModel::createFolder() - m_newMenu->setPopupFiles(QList() << m_dirModel->dirLister()->url()); - m_newMenu->createDirectory(); - } -+ -+bool FolderModel::isDeleteCommandShown() -+{ -+ KConfigGroup cg(KSharedConfig::openConfig(), "KDE"); -+ return cg.readEntry("ShowDeleteCommand", false); -+} -diff --git a/containments/desktop/plugins/folder/foldermodel.h b/containments/desktop/plugins/folder/foldermodel.h -index e6a908624..74fdaaec0 100644 ---- a/containments/desktop/plugins/folder/foldermodel.h -+++ b/containments/desktop/plugins/folder/foldermodel.h -@@ -301,6 +301,7 @@ private: - void addDragImage(QDrag *drag, int x, int y); - void setStatus(Status status); - static bool isTrashEmpty(); -+ static bool isDeleteCommandShown(); - QList selectedUrls() const; - KDirModel *m_dirModel; - KDirWatch *m_dirWatch; --- -GitLab - - -- cgit v1.2.3