diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-28 14:06:15 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-29 14:51:19 +0100 |
commit | 6760041c96b02d0dd79baa0dc619ce1f75c97b64 (patch) | |
tree | 9dea0e57188b3536ffbb2f4cbac3f99624c9deae /kde-apps/konsole | |
parent | kde-apps/khelpcenter: drop 21.04.3* (diff) | |
download | gentoo-6760041c96b02d0dd79baa0dc619ce1f75c97b64.tar.gz gentoo-6760041c96b02d0dd79baa0dc619ce1f75c97b64.tar.bz2 gentoo-6760041c96b02d0dd79baa0dc619ce1f75c97b64.zip |
kde-apps/konsole: drop 21.04.3*
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/konsole')
6 files changed, 0 insertions, 324 deletions
diff --git a/kde-apps/konsole/Manifest b/kde-apps/konsole/Manifest index eadc1daaaec7..f2b107418caa 100644 --- a/kde-apps/konsole/Manifest +++ b/kde-apps/konsole/Manifest @@ -1,2 +1 @@ -DIST konsole-21.04.3.tar.xz 1336960 BLAKE2B 2cbcdb3edaae0fec913d82dd0eb2ca80aca70e2b9d749ae1c22512946df8bf5e99aa8444996e41b7bc162727119c8f9216b28b5b15051dd0c6a89221fcbbd355 SHA512 490271a51304d5a64111f6ae74422a6b3143a5349359e55af0845c04a6e6d405fadd1f300dc4d866b7730c0cb852bebfddbb33b0ca9e68d22f264e379d1868e8 DIST konsole-21.08.3.tar.xz 1386972 BLAKE2B 37f29c8827e60c43eb7dcf7324d15a96e065259f32314fb5bce90429920242110aa26f4e88708b1e1fbd6dbbd9e87391241dee52b426eb63a41f62473235a4b8 SHA512 9a01678b609ca0a9f74327bb315957c2d395f80d4da14442ee0b58ba3eef54c5c4ac49b5c4d6a8ef5914502395e8d0b730472b93dea7eaa7b69cc526d2feb6c5 diff --git a/kde-apps/konsole/files/konsole-21.04.3-default-navigation-be-TabbedNavigation.patch b/kde-apps/konsole/files/konsole-21.04.3-default-navigation-be-TabbedNavigation.patch deleted file mode 100644 index 0eeaef378990..000000000000 --- a/kde-apps/konsole/files/konsole-21.04.3-default-navigation-be-TabbedNavigation.patch +++ /dev/null @@ -1,32 +0,0 @@ -From e693f2d7f1977ca227589154a5cd8c18d8ce44b7 Mon Sep 17 00:00:00 2001 -From: Ahmad Samir <a.samirh78@gmail.com> -Date: Wed, 1 Sep 2021 11:38:29 +0200 -Subject: [PATCH] The default navigation method should be TabbedNavigation - -TabbedNavigation is when we have a MainWindow, i.e. the typical use case; -whereas NoNavigation is when using Konsole Part. The code in Part calls -setNavigationMethod(NoNavigation), so things should work as before. - -I made a wrong assumption that TabbedNavigation was already the default. - -CCBUG: 432077 ---- - src/ViewManager.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp -index 2ba77e9f0..3ffbe6ba0 100644 ---- a/src/ViewManager.cpp -+++ b/src/ViewManager.cpp -@@ -52,7 +52,7 @@ ViewManager::ViewManager(QObject *parent, KActionCollection *collection) : - _pluggedController(nullptr), - _sessionMap(QHash<TerminalDisplay *, Session *>()), - _actionCollection(collection), -- _navigationMethod(NoNavigation), -+ _navigationMethod(TabbedNavigation), - _navigationVisibility(NavigationNotSet), - _managerId(0), - _terminalDisplayHistoryIndex(-1) --- -GitLab - diff --git a/kde-apps/konsole/files/konsole-21.04.3-dont-close-window-while-split.patch b/kde-apps/konsole/files/konsole-21.04.3-dont-close-window-while-split.patch deleted file mode 100644 index 20762b109574..000000000000 --- a/kde-apps/konsole/files/konsole-21.04.3-dont-close-window-while-split.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 2591a9489a4d3a43c7a7f00764e9f84822d4946c Mon Sep 17 00:00:00 2001 -From: Ahmad Samir <a.samirh78@gmail.com> -Date: Sun, 15 Aug 2021 15:51:33 +0200 -Subject: [PATCH] When closing a session, don't close the whole window if there - are splits - -When closing a session, we check if that is the last tab, and make the code -close the whole window, but we also need to make sure it's the last view, -i.e. no split views. - -CCBUG: 440976 -FIXED-IN: 21.08.1 -(cherry picked from commit 4a3cab03f5d853f4dd48531979fc3fb57dde5e2e) ---- - src/ViewManager.cpp | 6 +++--- - src/widgets/ViewContainer.cpp | 9 +++++++++ - src/widgets/ViewContainer.h | 6 ++++++ - 3 files changed, 18 insertions(+), 3 deletions(-) - -diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp -index 9c006e2bd..426040b78 100644 ---- a/src/ViewManager.cpp -+++ b/src/ViewManager.cpp -@@ -494,9 +494,9 @@ void ViewManager::sessionFinished() - return; - } - -- // The last session/tab? emit empty() so that close() is called in -- // MainWindow, fixes #432077 -- if (_viewContainer->count() == 1) { -+ // The last session/tab, and only one view (no splits), emit empty() -+ // so that close() is called in MainWindow, fixes #432077 -+ if (_viewContainer->count() == 1 && _viewContainer->currentTabViewCount() == 1) { - Q_EMIT empty(); - return; - } -diff --git a/src/widgets/ViewContainer.cpp b/src/widgets/ViewContainer.cpp -index 2d7bfd13b..b25c00cdd 100644 ---- a/src/widgets/ViewContainer.cpp -+++ b/src/widgets/ViewContainer.cpp -@@ -145,6 +145,15 @@ ViewSplitter *TabbedViewContainer::viewSplitterAt(int index) - return qobject_cast<ViewSplitter*>(widget(index)); - } - -+int TabbedViewContainer::currentTabViewCount() -+{ -+ if (auto *splitter = activeViewSplitter()) { -+ return splitter->findChildren<TerminalDisplay*>().count(); -+ } -+ -+ return 1; -+} -+ - void TabbedViewContainer::moveTabToWindow(int index, QWidget *window) - { - auto splitter = viewSplitterAt(index); -diff --git a/src/widgets/ViewContainer.h b/src/widgets/ViewContainer.h -index 3cbacf2cf..8e0a0986a 100644 ---- a/src/widgets/ViewContainer.h -+++ b/src/widgets/ViewContainer.h -@@ -135,6 +135,12 @@ public: - */ - ViewSplitter *viewSplitterAt(int index); - -+ /** -+ * Returns the number of split views (i.e. TerminalDisplay widgets) -+ * in this tab; if there are no split views, 1 is returned. -+ */ -+ int currentTabViewCount(); -+ - void connectTerminalDisplay(TerminalDisplay *display); - void disconnectTerminalDisplay(TerminalDisplay *display); - void moveTabLeft(); --- -GitLab - diff --git a/kde-apps/konsole/files/konsole-21.04.3-emit-empty-in-SessionFinished-only-in-TabbedNavigation-mode.patch b/kde-apps/konsole/files/konsole-21.04.3-emit-empty-in-SessionFinished-only-in-TabbedNavigation-mode.patch deleted file mode 100644 index d02846ace5aa..000000000000 --- a/kde-apps/konsole/files/konsole-21.04.3-emit-empty-in-SessionFinished-only-in-TabbedNavigation-mode.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 2684bc7fa5ac0b740b3e8661c3a0ae0136fde0a7 Mon Sep 17 00:00:00 2001 -From: Ahmad Samir <a.samirh78@gmail.com> -Date: Sun, 22 Aug 2021 20:02:52 +0200 -Subject: [PATCH] Only emit empty() in SessionFinished() when in - TabbedNavigation mode - -empty() is emitted so that MainWindow calls close() and we get rid of the -colours-flashing bug when closing the last session/tab in a window, see -commit bbec72250d080. However all that isn't relevant when we are in -konsole Part mode, where there are no tabs or MainWindows. - -This fixes a crash in Dolphin when closing its window while the embedded -Konsole Part is open. The crash would happen as calling -ViewContainer::currentTabViewCount() would end up in the ViewSplitter code -path, which is no-op in Konsole Part. - -To test: -- Open dolphin, make sure the terminal panel isn't open to begin with -- open the terminal panel -- close the dolphin window while the terminal panel is open - -BUG: 441206 -FIXED-IN: 21.08.1 ---- - src/ViewManager.cpp | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp -index 92d2951fc..2ba77e9f0 100644 ---- a/src/ViewManager.cpp -+++ b/src/ViewManager.cpp -@@ -494,11 +494,13 @@ void ViewManager::sessionFinished() - return; - } - -- // The last session/tab, and only one view (no splits), emit empty() -- // so that close() is called in MainWindow, fixes #432077 -- if (_viewContainer->count() == 1 && _viewContainer->currentTabViewCount() == 1) { -- Q_EMIT empty(); -- return; -+ if (_navigationMethod == TabbedNavigation) { -+ // The last session/tab, and only one view (no splits), emit empty() -+ // so that close() is called in MainWindow, fixes #432077 -+ if (_viewContainer->count() == 1 && _viewContainer->currentTabViewCount() == 1) { -+ Q_EMIT empty(); -+ return; -+ } - } - - auto *session = qobject_cast<Session *>(sender()); --- -GitLab - diff --git a/kde-apps/konsole/files/konsole-21.04.3-no-flash-on-session-close.patch b/kde-apps/konsole/files/konsole-21.04.3-no-flash-on-session-close.patch deleted file mode 100644 index d8b14f2f1660..000000000000 --- a/kde-apps/konsole/files/konsole-21.04.3-no-flash-on-session-close.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 302c16791935cc3cf262aee355afce13d694b00f Mon Sep 17 00:00:00 2001 -From: Ahmad Samir <a.samirh78@gmail.com> -Date: Thu, 12 Aug 2021 13:58:20 +0200 -Subject: [PATCH] Prevent window "flashing" when closing the last session - -There are two scenarios when closing a window: -A) clicking the close button on the title bar (or Ctrl+Shift+Q): -~MainWindow() -~ViewManager() -~TabbedViewContainer() -~TerminalDisplay() -~Session() - -B) closing the last session/tab in a window: -SessionController::sessionFinished() -~Session() -~TerminalDisplay() -~TabbedViewContainer() -~MainWindow() -~ViewManager() - -the issue with the second case is that the TerminalDisplay is torn down -first, which exposes the TabbedViewContainer widget, the latter has the same -Qt::Window colour as the system colour scheme window background colour, if -you're using a dark terminal colour scheme and a light-coloured system colour -scheme, you could see some "flashing" when you close the last session with -e.g. Ctrl+D. - -To fix this, in sessionFinished() check if TabbedViewContainer::count() is -1 (i.e. closing last tab/session), and emit the empty() signal in that case, -which is connected to MainwWindow::close(), then the order of tear down -becomes: -SessionController::sessionFinished() -~Session() -~MainWindow() -~ViewManager() -~TabbedViewContainer() -~TerminalDisplay() - -BUG: 432077 -FIXED-IN: 21.12 -(cherry picked from commit bbec72250d080ce286a6762fb9beee4b6e7981c9) ---- - src/MainWindow.cpp | 2 +- - src/ViewManager.cpp | 7 +++++++ - 2 files changed, 8 insertions(+), 1 deletion(-) - -diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp -index cc38b3990..0fae334de 100644 ---- a/src/MainWindow.cpp -+++ b/src/MainWindow.cpp -@@ -102,7 +102,7 @@ MainWindow::MainWindow() : - - // create view manager - _viewManager = new ViewManager(this, actionCollection()); -- connect(_viewManager, &Konsole::ViewManager::empty, this, &Konsole::MainWindow::close); -+ connect(_viewManager, &Konsole::ViewManager::empty, this, &QWidget::close); - connect(_viewManager, &Konsole::ViewManager::activeViewChanged, this, - &Konsole::MainWindow::activeViewChanged); - connect(_viewManager, &Konsole::ViewManager::unplugController, this, -diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp -index 751684dc8..4d33a4cf8 100644 ---- a/src/ViewManager.cpp -+++ b/src/ViewManager.cpp -@@ -461,6 +461,13 @@ void ViewManager::sessionFinished() - return; - } - -+ // The last session/tab? emit empty() so that close() is called in -+ // MainWindow, fixes #432077 -+ if (_viewContainer->count() == 1) { -+ Q_EMIT empty(); -+ return; -+ } -+ - auto *session = qobject_cast<Session *>(sender()); - Q_ASSERT(session); - --- -GitLab - diff --git a/kde-apps/konsole/konsole-21.04.3-r4.ebuild b/kde-apps/konsole/konsole-21.04.3-r4.ebuild deleted file mode 100644 index 631d9d6ca081..000000000000 --- a/kde-apps/konsole/konsole-21.04.3-r4.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -ECM_HANDBOOK="optional" -ECM_TEST="true" -KFMIN=5.80.0 -QTMIN=5.15.2 -VIRTUALX_REQUIRED="test" -inherit ecm kde.org - -DESCRIPTION="KDE's terminal emulator" -HOMEPAGE="https://apps.kde.org/konsole/ https://konsole.kde.org" - -LICENSE="GPL-2" # TODO: CHECK -SLOT="5" -KEYWORDS="amd64 arm64 ~ppc64 x86" -IUSE="X" - -DEPEND=" - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - >=dev-qt/qtprintsupport-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=dev-qt/qtxml-${QTMIN}:5 - >=kde-frameworks/kbookmarks-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/kcrash-${KFMIN}:5 - >=kde-frameworks/kdbusaddons-${KFMIN}:5 - >=kde-frameworks/kguiaddons-${KFMIN}:5 - >=kde-frameworks/kjobwidgets-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kinit-${KFMIN}:5 - >=kde-frameworks/kiconthemes-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/knewstuff-${KFMIN}:5 - >=kde-frameworks/knotifications-${KFMIN}:5 - >=kde-frameworks/knotifyconfig-${KFMIN}:5 - >=kde-frameworks/kparts-${KFMIN}:5 - >=kde-frameworks/kpty-${KFMIN}:5 - >=kde-frameworks/kservice-${KFMIN}:5 - >=kde-frameworks/ktextwidgets-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kwindowsystem-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - X? ( x11-libs/libX11 ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-no-flash-on-session-close.patch" # bug 807933 - "${FILESDIR}/${P}-dont-close-window-while-split.patch" # bug 808510 - "${FILESDIR}/${P}-emit-empty-in-SessionFinished-only-in-TabbedNavigation-mode.patch" # bug 810598 - "${FILESDIR}/${P}-default-navigation-be-TabbedNavigation.patch" # bug 807933 -) - -src_prepare() { - ecm_src_prepare - ecm_punt_bogus_dep KF5 Completion -} - -src_configure() { - local mycmakeargs=( - $(cmake_use_find_package X X11) - ) - - ecm_src_configure -} - -src_test() { - # drkonqi process interferes. bug 702690 - local myctestargs=( - -E "(DBusTest)" - ) - - ecm_src_test -} |