diff options
Diffstat (limited to 'kde-misc/yakuake')
-rw-r--r-- | kde-misc/yakuake/Manifest | 5 | ||||
-rw-r--r-- | kde-misc/yakuake/files/yakuake-3.0.4-qdbus-crash.patch | 44 | ||||
-rw-r--r-- | kde-misc/yakuake/files/yakuake-3.0.4-qicon.patch | 32 | ||||
-rw-r--r-- | kde-misc/yakuake/files/yakuake-3.0.4-qt-5.9-wayland.patch | 120 | ||||
-rw-r--r-- | kde-misc/yakuake/yakuake-3.0.4-r2.ebuild | 53 |
5 files changed, 0 insertions, 254 deletions
diff --git a/kde-misc/yakuake/Manifest b/kde-misc/yakuake/Manifest index 2f495c516726..dfc6186e3ec7 100644 --- a/kde-misc/yakuake/Manifest +++ b/kde-misc/yakuake/Manifest @@ -1,8 +1,3 @@ -AUX yakuake-3.0.4-qdbus-crash.patch 1425 BLAKE2B 841120c4c714858157d0982582291d31a1c47ca9425ca6d29c2223b5d2f72dc4f8d0790bbc88d16e8a4511361502b190826bdeb1f35b824c0a5a4984ad773fd8 SHA512 04b1ecf9c01cb5917fd74d4983f60d81dd815da7e0c4f9da14715d796e5bb365ad1d4fbc1be43c7ddf1e84463bf51d1198693a8a95ca93ae26fe5fb248fe0119 -AUX yakuake-3.0.4-qicon.patch 1405 BLAKE2B 5d423fab1f7e9f3ad50017f58047d5d642e312f89502290be00341034a85975adcc38a4769b01c01820e26379248f16e1d1a5ec59e0162b43d9559302d385181 SHA512 fd2c68341a77cfedf4d34a854efc7c513c16741cf2e3cf4300c1b1ee4e45560d9e5f318303493d4112141255bd3288437db2b251a722db0ec410c2241f842b44 -AUX yakuake-3.0.4-qt-5.9-wayland.patch 3408 BLAKE2B 9c813f0ebb7b8044a62e4db14c478e235f19f20330edd1b696e0557a66b0254a9c1105018110f6142635394bb2de140538d76aca921f35cfa21d25d3416e528c SHA512 1c0486b186e3443dc20c828cd241b2b07093d3314263a6cda16b97ae4aea883281124988f0c989d2116ecc3fa832587b54fa5027555d12157fe40bdd5201ce42 -DIST yakuake-3.0.4.tar.xz 367788 BLAKE2B 6c151ac1fa70d7cf3cfd00854d8f5ab553345a9d12186514d405428e8e7ad32d8405b1c562b420c46a713347d1e00e037b92e20801c51cd90a81e299e94c51d1 SHA512 e50fe742349e02116bb9d7edd61178fcbc215ace39d50b48fb8ec3095c948a7ff91add7be5d8778c817f9d5b4663d4cefe3e0ef197c7ec6e0b88b3158ff39659 DIST yakuake-3.0.5.tar.xz 347412 BLAKE2B 964b5abdbc377b2ff3c1c37ebf4cb2537dde00d8c4178bc7db1785701dee82c600cd775a38896d8ad8976cbe14427df094c4db0c425355b0330d2e8b4fbe23cd SHA512 17640590bb87b7c27e1e336cb82141b986103af95cfae2da129b69537d89a78eb0e21a6f5fb9ab26ed9e572f9edad055264f642afee6012e1a5a5c55d9dc2d22 -EBUILD yakuake-3.0.4-r2.ebuild 1337 BLAKE2B 654711bb31bd14c19813e9d6fc71257a17d7b34c3a92dbe21aee30a348df84170c46f134eb1bab3f640540569f51c1cd95211175c395b60a9aa6576ee49c741b SHA512 821506da700802f928cf940ad19cd69894464da2d8a920199cf619aefe4d5ce90fe3865c805f7662787bb522d9e31a22b7475e5f34ed96696319f1718880255a EBUILD yakuake-3.0.5.ebuild 1214 BLAKE2B 795fdc5b109297743f947b585ba3cf5e10e1d8401933ca706ef99b68690071c3ce15594b929725cd52b0219bce3216efff979b2d3059015850be043ae1afef82 SHA512 f0e56b25047da712af7094963d03a16d4ed4355c5f56c4e70cbb6dc0932ed056048bb7e047ad290cbbcdea08deff39d362c2658d83b569756236e291af0011b3 MISC metadata.xml 527 BLAKE2B 6550b2f9744eaa38689006f338b02f0f5bc2a7a19942552176aba47d03832e7d39b5049515f768d819bd0f2f5bd26d4a8f572ee8d731b69940f286c3b31102d8 SHA512 9076d81d5e1f7b60667653334a649be515ce8c5b8224422bad089a5541b2438922d515abc11c66918a7bc0d00f4fc6f15f4a3cd20dd697b714195977d1c7baac diff --git a/kde-misc/yakuake/files/yakuake-3.0.4-qdbus-crash.patch b/kde-misc/yakuake/files/yakuake-3.0.4-qdbus-crash.patch deleted file mode 100644 index da3b042d7012..000000000000 --- a/kde-misc/yakuake/files/yakuake-3.0.4-qdbus-crash.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 09abe657c65ba482ce9253e54467d33276f88bc9 Mon Sep 17 00:00:00 2001 -From: Vangelis Tasoulas <cyberang3l@gmail.com> -Date: Sat, 16 Sep 2017 16:42:44 +0500 -Subject: Fixes a yakuake "index out of range" crash produced by QDBus exposed - function TabBar::sessionAtTab(int) - -Summary: -The function `TabBar::sessionAtTab(int index)` is exposed through QDBus and if a user/script passes a negative number, yakuake crashes with `index out of range`. - -This patch fixes that behaviour with a sanity check. If the user passes a negative number, return -1. - -Test Plan: -Run the command `qdbus org.kde.yakuake /yakuake/tabs org.kde.yakuake.sessionAtTab -1` -Yakuake will crash. - -Apply the patch and re-run the above `qdbus` command. It shouldn't be crashing now. - -Reviewers: #kde_applications, hein, alexeymin - -Reviewed By: #kde_applications, hein, alexeymin - -Subscribers: alexeymin - -Differential Revision: https://phabricator.kde.org/D7812 ---- - app/tabbar.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/app/tabbar.cpp b/app/tabbar.cpp -index b76cdee..1bc6fdd 100644 ---- a/app/tabbar.cpp -+++ b/app/tabbar.cpp -@@ -914,7 +914,7 @@ void TabBar::setTabTitleInteractive(int sessionId, const QString& newTitle) - - int TabBar::sessionAtTab(int index) - { -- if (index > m_tabs.count() - 1) -+ if (index < 0 || index > m_tabs.count() - 1) - return -1; - else - return m_tabs.at(index); --- -cgit v0.11.2 - diff --git a/kde-misc/yakuake/files/yakuake-3.0.4-qicon.patch b/kde-misc/yakuake/files/yakuake-3.0.4-qicon.patch deleted file mode 100644 index 608a09cf39da..000000000000 --- a/kde-misc/yakuake/files/yakuake-3.0.4-qicon.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 28138a891ff71236b3b8efcd1bc5fe7a2fe09b0d Mon Sep 17 00:00:00 2001 -From: Kai Uwe Broulik <kde@privat.broulik.de> -Date: Wed, 2 Aug 2017 16:31:09 +0200 -Subject: [Appearance Settings] QIcon -> QIcon::fromTheme - -Most likely a porting error from KIcon - -Reviewed-By: Eike Hein ---- - app/config/appearancesettings.cpp | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/app/config/appearancesettings.cpp b/app/config/appearancesettings.cpp -index c21ac33..b7d5c6f 100644 ---- a/app/config/appearancesettings.cpp -+++ b/app/config/appearancesettings.cpp -@@ -63,9 +63,9 @@ AppearanceSettings::AppearanceSettings(QWidget* parent) : QWidget(parent) - connect(installButton, SIGNAL(clicked()), this, SLOT(installSkin())); - connect(removeButton, SIGNAL(clicked()), this, SLOT(removeSelectedSkin())); - -- installButton->setIcon(QIcon(QStringLiteral("folder"))); -- removeButton->setIcon(QIcon(QStringLiteral("edit-delete"))); -- ghnsButton->setIcon(QIcon(QStringLiteral("get-hot-new-stuff"))); -+ installButton->setIcon(QIcon::fromTheme(QStringLiteral("folder"))); -+ removeButton->setIcon(QIcon::fromTheme(QStringLiteral("edit-delete"))); -+ ghnsButton->setIcon(QIcon::fromTheme(QStringLiteral("get-hot-new-stuff"))); - - m_knsConfigFileName = QLatin1String("yakuake.knsrc"); - m_knsDownloadManager = new KNSCore::DownloadManager(m_knsConfigFileName); --- -cgit v0.11.2 - diff --git a/kde-misc/yakuake/files/yakuake-3.0.4-qt-5.9-wayland.patch b/kde-misc/yakuake/files/yakuake-3.0.4-qt-5.9-wayland.patch deleted file mode 100644 index b24781dcc9ff..000000000000 --- a/kde-misc/yakuake/files/yakuake-3.0.4-qt-5.9-wayland.patch +++ /dev/null @@ -1,120 +0,0 @@ -From 7534df21025b10fd236dd5a8f92d0dff7889e0ef Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= <mgraesslin@kde.org> -Date: Wed, 6 Sep 2017 18:42:01 +0200 -Subject: Make Yakuake work on Wayland with Qt 5.9 - -Summary: -Yakuake is also affected by the common problem that the integration -breaks once a window gets hidden, which is a very common feature of -Yakuake. - -This change tracks the PlasmaShellSurface, destroys it on hide and -recreates on show. Thus it's alwyas positioned as expected. - -Test Plan: -This commit was created using a yakuake which is positioned -correctly, although I pressed F12 a few times. - -Differential Revision: https://phabricator.kde.org/D7709 ---- - app/mainwindow.cpp | 33 ++++++++++++++++++++++++++------- - app/mainwindow.h | 3 +++ - 2 files changed, 29 insertions(+), 7 deletions(-) - -diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp -index a7b0d89..6fa9160 100644 ---- a/app/mainwindow.cpp -+++ b/app/mainwindow.cpp -@@ -95,6 +95,7 @@ MainWindow::MainWindow(QWidget* parent) - m_isWayland = QGuiApplication::platformName().startsWith(QLatin1String("wayland")); - #if HAVE_KWAYLAND - m_plasmaShell = Q_NULLPTR; -+ m_plasmaShellSurface = Q_NULLPTR; - initWayland(); - #endif - -@@ -176,6 +177,21 @@ void MainWindow::initWayland() - registry->setup(); - connection->roundtrip(); - } -+ -+void MainWindow::initWaylandSurface() -+{ -+ if (m_plasmaShellSurface) { -+ return; -+ } -+ if (!m_plasmaShell) { -+ return; -+ } -+ if (auto surface = KWayland::Client::Surface::fromWindow(windowHandle())) { -+ m_plasmaShellSurface = m_plasmaShell->createSurface(surface, this); -+ m_plasmaShellSurface->setPosition(pos()); -+ } -+} -+ - #endif - - bool MainWindow::queryClose() -@@ -861,13 +877,7 @@ void MainWindow::setWindowGeometry(int newWidth, int newHeight, int newPosition) - setGeometry(workArea.x() + workArea.width() * newPosition * (100 - newWidth) / 10000, - workArea.y(), targetWidth, maxHeight); - #if HAVE_KWAYLAND -- if (m_plasmaShell) { -- if (auto surface = KWayland::Client::Surface::fromWindow(windowHandle())) { -- if (auto plasmaSurface = m_plasmaShell->createSurface(surface, this)) { -- plasmaSurface->setPosition(pos()); -- } -- } -- } -+ initWaylandSurface(); - #endif - - maxHeight -= m_titleBar->height(); -@@ -1303,6 +1313,10 @@ void MainWindow::sharedAfterOpenWindow() - - applyWindowProperties(); - -+#if HAVE_KWAYLAND -+ initWaylandSurface(); -+#endif -+ - emit windowOpened(); - } - -@@ -1316,6 +1330,11 @@ void MainWindow::sharedAfterHideWindow() - { - if (Settings::pollMouse()) toggleMousePoll(true); - -+#if HAVE_KWAYLAND -+ delete m_plasmaShellSurface; -+ m_plasmaShellSurface = Q_NULLPTR; -+#endif -+ - emit windowClosed(); - } - -diff --git a/app/mainwindow.h b/app/mainwindow.h -index 8a46c89..bb6404e 100644 ---- a/app/mainwindow.h -+++ b/app/mainwindow.h -@@ -44,6 +44,7 @@ class KActionCollection; - namespace KWayland { - namespace Client { - class PlasmaShell; -+ class PlasmaShellSurface; - } - } - #endif -@@ -203,7 +204,9 @@ class MainWindow : public QMainWindow - - #if HAVE_KWAYLAND - void initWayland(); -+ void initWaylandSurface(); - KWayland::Client::PlasmaShell *m_plasmaShell; -+ KWayland::Client::PlasmaShellSurface *m_plasmaShellSurface; - #endif - }; - --- -cgit v0.11.2 - diff --git a/kde-misc/yakuake/yakuake-3.0.4-r2.ebuild b/kde-misc/yakuake/yakuake-3.0.4-r2.ebuild deleted file mode 100644 index cd59332d3ebe..000000000000 --- a/kde-misc/yakuake/yakuake-3.0.4-r2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit kde5 - -DESCRIPTION="Quake-style terminal emulator based on konsole" -HOMEPAGE="https://yakuake.kde.org/" -if [[ ${KDE_BUILD_TYPE} != live ]]; then - SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" -fi - -LICENSE="GPL-2 LGPL-2" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND=" - $(add_frameworks_dep karchive) - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kconfigwidgets) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep kcrash) - $(add_frameworks_dep kdbusaddons) - $(add_frameworks_dep kglobalaccel) - $(add_frameworks_dep ki18n) - $(add_frameworks_dep kiconthemes) - $(add_frameworks_dep kio) - $(add_frameworks_dep knewstuff) - $(add_frameworks_dep knotifications) - $(add_frameworks_dep knotifyconfig) - $(add_frameworks_dep kparts) - $(add_frameworks_dep kservice) - $(add_frameworks_dep kwayland) - $(add_frameworks_dep kwidgetsaddons) - $(add_frameworks_dep kwindowsystem) - $(add_frameworks_dep kxmlgui) - $(add_kdeapps_dep konsole) - $(add_qt_dep qtdbus) - $(add_qt_dep qtgui) - $(add_qt_dep qtwidgets) - $(add_qt_dep qtx11extras) - x11-libs/libX11 -" -RDEPEND="${DEPEND} - !kde-misc/yakuake:4 -" - -PATCHES=( - "${FILESDIR}/${P}-qicon.patch" - "${FILESDIR}/${P}-qt-5.9-wayland.patch" - "${FILESDIR}/${P}-qdbus-crash.patch" -) |