From 1f45d596fc838ad34ca4c17b7db7882f5048cec2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 7 Aug 2022 20:12:29 +0100 Subject: gentoo auto-resync : 07:08:2022 - 20:12:29 --- kde-plasma/kscreen/Manifest | 6 --- ...ct-ext-monitors-when-a-monitor-is-rotated.patch | 31 ----------- ...screen-5.24.5-fix-kded-xcb-resources-leak.patch | 61 ---------------------- ...reen-5.24.5-kcm-fix-choosing-refresh-rate.patch | 28 ---------- ...4.5-kcm-fix-refresh-rate-list-not-updated.patch | 29 ---------- kde-plasma/kscreen/kscreen-5.24.5-r2.ebuild | 53 ------------------- 6 files changed, 208 deletions(-) delete mode 100644 kde-plasma/kscreen/files/kscreen-5.24.5-fix-connect-ext-monitors-when-a-monitor-is-rotated.patch delete mode 100644 kde-plasma/kscreen/files/kscreen-5.24.5-fix-kded-xcb-resources-leak.patch delete mode 100644 kde-plasma/kscreen/files/kscreen-5.24.5-kcm-fix-choosing-refresh-rate.patch delete mode 100644 kde-plasma/kscreen/files/kscreen-5.24.5-kcm-fix-refresh-rate-list-not-updated.patch delete mode 100644 kde-plasma/kscreen/kscreen-5.24.5-r2.ebuild (limited to 'kde-plasma/kscreen') diff --git a/kde-plasma/kscreen/Manifest b/kde-plasma/kscreen/Manifest index 1ae451b04227..2799346dc771 100644 --- a/kde-plasma/kscreen/Manifest +++ b/kde-plasma/kscreen/Manifest @@ -1,11 +1,5 @@ -AUX kscreen-5.24.5-fix-connect-ext-monitors-when-a-monitor-is-rotated.patch 1083 BLAKE2B bf328a411422ac4b0e1dad704c0faadcf867710595c9e29fc09ea7a336fc453d38e55eb3e24803cc1ffe9432b59985e87737eb5756565e3358a03a14ac7c02ca SHA512 c0290233ceb525f4c8d4c2698577c224c7a9196407673d119d6d3529fd308c3159ebec5e6067109133c6cac54ca1bf0bb6e3023e72757e05ec6704d76247ad17 -AUX kscreen-5.24.5-fix-kded-xcb-resources-leak.patch 1907 BLAKE2B 3d35c3f3b0bf5d2d3ded94ab09b7e0083677b20d1c627f29392dd4aec7cda8f39d2673fbe3f426689c2091e989e9cd4173c08020cf08a0dccbb910d5135d3010 SHA512 5290909d402845c51b3b5556fece12c769f8e2353014001c6f7ac411a05e044bea8fc3f8d4f15780890e620547080835177a206031e69f41598d92bda8bf6a2f -AUX kscreen-5.24.5-kcm-fix-choosing-refresh-rate.patch 903 BLAKE2B 73e08bf9843f51be102eb4f3057641fde12df955aab01c9997a34a66e6bb673277f1fe0fcdd21fa6d7b3a83faa6e2c12288c06e659f82482190c8552ec3f761f SHA512 67aeb93bafb4a13bd7d19356338c86fd5e1df07cb1ac030d6b1f81d9d683f52ff036c5c4eba0c9ce1599c9273c0ea769b2add3516ced4b2128dbdd4b7c07fb7b -AUX kscreen-5.24.5-kcm-fix-refresh-rate-list-not-updated.patch 1080 BLAKE2B 7ff3fc46e9644635f59541ebf063cdc153010f09c1fa7b90ca92140fba1e0805e9991042c788454662d7ae9917ecf3f10a25e6c2dcdc704945f91071d24adf66 SHA512 61aee0523a65f2ef448c7998df0fce82f1dd91d241c4c922c86468873ff69873852b31682cd2c531285312316cb25ad21da318c0cfe78ab07e7bc60cf9b4be08 -DIST kscreen-5.24.5.tar.xz 137332 BLAKE2B ef48b057356ed1df376cd5a64384ea1f184b78e8da1d0712287342cba41eb9bad99216bc8e9f8d52d5e080798436124bd39f2bff71c4a25ba28c8d8e10fd0a59 SHA512 770dfb968f8f8bf96b6ad3bf71f18f5baca35b2a4daa72b8806957ad1e050003158319edba84ebf999134e106ef916d829d391c33d79c58edb1000f503f67c97 DIST kscreen-5.24.6.tar.xz 137616 BLAKE2B 9e26ec4920ecfd8082ef7a37d8d0eee451fd364382da78773bb0144634a982da2d6e5d913bff307330528faf481668a3aca77d5f8283174790dd532dcf9a41c3 SHA512 0bee9129de90df75ed95bf9c456842cb3c2b3e240f2861f153c0fb56223178ae645e5e2a6b2ae377e07fc847ff60c58eca2173fec84a084bfb7cf0dc71175323 DIST kscreen-5.25.4.tar.xz 145632 BLAKE2B 3c0f3b8fa565a3119009b267e4db44c5866eb544766bccd689756a7187d05bd0b609454a7d7bf46138153fa0483db64b94b25536a0e224f24263f820e9623826 SHA512 6b36f67b6c01b275a4a2504e9b05a41f6117d7ef0d07f2a5654bab749396756eaaa4317af387536586029007f4a6b0df13dc13eb06c912dc959c4f0ec87e905a -EBUILD kscreen-5.24.5-r2.ebuild 1528 BLAKE2B ace7d67710871e63c9d083479390739a3876ddeaafacda2c63ba3ba6858e9274e52c72ed572e00070b3c17107e15f47bc693be02dffd808831843f78c2396db3 SHA512 9cfc8ef539b65894036df188c969c15dd1ab26fc50fa59951c79b0ee4b2d62a386b067192d5a3b367e3cecf4384acfe2deaa83d52a6b771af2a9a6dd20bc72cb EBUILD kscreen-5.24.6.ebuild 1244 BLAKE2B 386c29d63cb002547f145ed3d880e578e389fbd646f5ad0c6b4cadafc01dc6fe002f552077acf8a1230e6686a53b9386cdf788f008b9ef7a55f3217f71270f78 SHA512 a321c3be2e090ac42051c2de6455d20afe70000bca49be6ca86614103773ad9b295fb6098c1b19060506a23c82d9034fc029a4c75d60c974319493b2d95401bf EBUILD kscreen-5.25.4.ebuild 1264 BLAKE2B d30462208fc81be238109889cc1d58dd2770471afac8152e09f3f6d1daad162d5a569ae3393db5ecbb439b84400d9af9d46d0957d4fadba92b44e831b08ef77f SHA512 539c8577dfc9085dc9677156e1ac699c25f1793a7b741a426ca00d048602d60b8fdaf4daf27ab946c23c38e05e079b9afa3c3ec0ff1ecdb4c86935727e5dfa76 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/kde-plasma/kscreen/files/kscreen-5.24.5-fix-connect-ext-monitors-when-a-monitor-is-rotated.patch b/kde-plasma/kscreen/files/kscreen-5.24.5-fix-connect-ext-monitors-when-a-monitor-is-rotated.patch deleted file mode 100644 index d2efce69b9e5..000000000000 --- a/kde-plasma/kscreen/files/kscreen-5.24.5-fix-connect-ext-monitors-when-a-monitor-is-rotated.patch +++ /dev/null @@ -1,31 +0,0 @@ -From ff8dc215e8d2691fcf41d0bb305f820531d95150 Mon Sep 17 00:00:00 2001 -From: Aleix Pol -Date: Sat, 14 May 2022 01:29:01 +0200 -Subject: [PATCH] Fix connecting external monitors when a monitor is rotated - -It would be placed right by the unrotated geometry and after rotating it -the new output would end up floating in the logical space. -This happened because the explicitLogicalSize is cached and needs -updating after changing its settings. - - -(cherry picked from commit cc832fd4296440fcd9298cb03b0cc736a99ed8bb) ---- - kded/generator.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/kded/generator.cpp b/kded/generator.cpp -index e5117a9..e311b04 100644 ---- a/kded/generator.cpp -+++ b/kded/generator.cpp -@@ -85,6 +85,7 @@ KScreen::ConfigPtr Generator::idealConfig(const KScreen::ConfigPtr ¤tConfi - - for (const auto &output : connectedOutputs) { - initializeOutput(output, config->supportedFeatures()); -+ output->setExplicitLogicalSize(config->logicalSizeForOutput(*output)); - } - - if (connectedOutputs.count() == 1) { --- -GitLab - diff --git a/kde-plasma/kscreen/files/kscreen-5.24.5-fix-kded-xcb-resources-leak.patch b/kde-plasma/kscreen/files/kscreen-5.24.5-fix-kded-xcb-resources-leak.patch deleted file mode 100644 index ecba1664c51c..000000000000 --- a/kde-plasma/kscreen/files/kscreen-5.24.5-fix-kded-xcb-resources-leak.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 93cfd297506e4106a7b6e7bcc649442c5bf0f7d1 Mon Sep 17 00:00:00 2001 -From: Stefan Becker -Date: Sun, 29 May 2022 23:33:55 +0300 -Subject: [PATCH] X11: fix kded xcb resource leak - -This fixes commit 579358f501ae978aa527a25eb3ef9dd42557db46 - -XOpenDisplay() internally calls xcb_connect(), creating a new XCB client -connection. This means that on every KScreen configuration change event -the kded5 process creates a new connection until XCB runs into the hard -limit of 256 of clients, leading to the dreaded "Maximum number of -clients reached" error. - -Re-use the display from QX11Info instead of calling XOpenDisplay(). - -BUG: 453280 - - -(cherry picked from commit 0270a49328aa70b14dd08e2ed5a425ca3f8e4fd5) ---- - kded/daemon.cpp | 17 ++++++++--------- - 1 file changed, 8 insertions(+), 9 deletions(-) - -diff --git a/kded/daemon.cpp b/kded/daemon.cpp -index e8ed4ac..443d98d 100644 ---- a/kded/daemon.cpp -+++ b/kded/daemon.cpp -@@ -361,6 +361,14 @@ void KScreenDaemon::alignX11TouchScreen() - if (qGuiApp->platformName() != QStringLiteral("xcb")) { - return; - } -+ auto *display = QX11Info::display(); -+ if (!display) { -+ return; -+ } -+ auto *connection = QX11Info::connection(); -+ if (!connection) { -+ return; -+ } - - const QRect totalRect(QPoint(0, 0), m_monitoredConfig->data()->screen()->currentSize()); - QRect internalOutputRect; -@@ -411,15 +419,6 @@ void KScreenDaemon::alignX11TouchScreen() - break; - } - -- auto *display = XOpenDisplay(nullptr); -- if (!display) { -- return; -- } -- auto *connection = QX11Info::connection(); -- if (!connection) { -- return; -- } -- - auto getAtom = [](xcb_connection_t *connection, const char *name) { - auto cookie = xcb_intern_atom(connection, true, strlen(name), name); - auto reply = xcb_intern_atom_reply(connection, cookie, nullptr); --- -GitLab - diff --git a/kde-plasma/kscreen/files/kscreen-5.24.5-kcm-fix-choosing-refresh-rate.patch b/kde-plasma/kscreen/files/kscreen-5.24.5-kcm-fix-choosing-refresh-rate.patch deleted file mode 100644 index 2d0d3ba1e851..000000000000 --- a/kde-plasma/kscreen/files/kscreen-5.24.5-kcm-fix-choosing-refresh-rate.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 6ecb832923612820c721f58d1d12dd176e10528a Mon Sep 17 00:00:00 2001 -From: Xaver Hugl -Date: Thu, 5 May 2022 18:27:38 +0200 -Subject: [PATCH] kcm: fix choosing the refresh rate - -It always chose the last one, and not the highest one - - -(cherry picked from commit 5e1be88dbe6e5160dcc232631df81d9bdc9d179e) ---- - kcm/output_model.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/kcm/output_model.cpp b/kcm/output_model.cpp -index 92e4ea3..3672b49 100644 ---- a/kcm/output_model.cpp -+++ b/kcm/output_model.cpp -@@ -394,6 +394,7 @@ bool OutputModel::setResolution(int outputIndex, int resIndex) - auto it = modes.begin(); - while (it != modes.end()) { - if ((*it)->size() == size && (*it)->refreshRate() > bestRefreshRate) { -+ bestRefreshRate = (*it)->refreshRate(); - modeIt = it; - } - it++; --- -GitLab - diff --git a/kde-plasma/kscreen/files/kscreen-5.24.5-kcm-fix-refresh-rate-list-not-updated.patch b/kde-plasma/kscreen/files/kscreen-5.24.5-kcm-fix-refresh-rate-list-not-updated.patch deleted file mode 100644 index e7d85fd87013..000000000000 --- a/kde-plasma/kscreen/files/kscreen-5.24.5-kcm-fix-refresh-rate-list-not-updated.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 584ed8a067a7c0329e1572dd9970b6e3dae6a56f Mon Sep 17 00:00:00 2001 -From: Xaver Hugl -Date: Thu, 5 May 2022 18:22:46 +0200 -Subject: [PATCH] kcm: fix refresh rate list not being updated - -BUG: 453392 - - -(cherry picked from commit 8c1e2cffda762fef83ea48658a08847382c71486) ---- - kcm/output_model.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/kcm/output_model.cpp b/kcm/output_model.cpp -index fcdb738..92e4ea3 100644 ---- a/kcm/output_model.cpp -+++ b/kcm/output_model.cpp -@@ -417,7 +417,7 @@ bool OutputModel::setResolution(int outputIndex, int resIndex) - QModelIndex index = createIndex(outputIndex, 0); - // Calling this directly ignores possible optimization when the - // refresh rate hasn't changed in fact. But that's ok. -- Q_EMIT dataChanged(index, index, {ResolutionIndexRole, ResolutionRole, SizeRole, RefreshRateIndexRole}); -+ Q_EMIT dataChanged(index, index, {ResolutionIndexRole, ResolutionRole, SizeRole, RefreshRatesRole, RefreshRateIndexRole}); - Q_EMIT sizeChanged(); - return true; - } --- -GitLab - diff --git a/kde-plasma/kscreen/kscreen-5.24.5-r2.ebuild b/kde-plasma/kscreen/kscreen-5.24.5-r2.ebuild deleted file mode 100644 index f4e86614ad8d..000000000000 --- a/kde-plasma/kscreen/kscreen-5.24.5-r2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_TEST="forceoptional" -KFMIN=5.90.0 -PVCUT=$(ver_cut 1-3) -QTMIN=5.15.2 -inherit ecm kde.org - -DESCRIPTION="KDE Plasma screen management" -HOMEPAGE="https://invent.kde.org/plasma/kscreen" - -LICENSE="GPL-2" # TODO: CHECK -SLOT="5" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -IUSE="" - -# bug #580440, last checked 5.6.3 -RESTRICT="test" - -DEPEND=" - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5[widgets] - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtsensors-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=kde-frameworks/kcmutils-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/kdeclarative-${KFMIN}:5 - >=kde-frameworks/kdbusaddons-${KFMIN}:5 - >=kde-frameworks/kglobalaccel-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kiconthemes-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - >=kde-frameworks/plasma-${KFMIN}:5 - >=kde-plasma/libkscreen-${PVCUT}:5 -" -RDEPEND="${DEPEND} - >=dev-qt/qtgraphicaleffects-${QTMIN}:5 - >=kde-plasma/kde-cli-tools-${PVCUT}:5 -" - -PATCHES=( - "${FILESDIR}/${P}-kcm-fix-refresh-rate-list-not-updated.patch" # KDE-bug 453392 - "${FILESDIR}/${P}-kcm-fix-choosing-refresh-rate.patch" - "${FILESDIR}/${P}-fix-connect-ext-monitors-when-a-monitor-is-rotated.patch" - "${FILESDIR}/${P}-fix-kded-xcb-resources-leak.patch" # KDE-bug 453280 -) -- cgit v1.2.3