[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: eaf0f401e8941f9444f428a758491537a16ac3f0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Nov 11 16:32:10 2023 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Nov 12 09:18:13 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaf0f401 kde-plasma/plasma-desktop: foldermodel: lift screen add/remove handling ... out of screenmapper. - KDE-bug: https://bugs.kde.org/show_bug.cgi?id=467951 - KDE-bug: https://bugs.kde.org/show_bug.cgi?id=467092 Respin override-include-dirs-3 tarball, updating libinput header. Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/plasma-desktop/Manifest | 1 + 9-foldermodel-screen-add-remove-handling.patch | 95 +++ .../plasma-desktop/plasma-desktop-5.27.9-r1.ebuild | 180 + 3 files changed, 276 insertions(+) diff --git a/kde-plasma/plasma-desktop/Manifest b/kde-plasma/plasma-desktop/Manifest index 65d5febe98ec..464e9ae430dc 100644 --- a/kde-plasma/plasma-desktop/Manifest +++ b/kde-plasma/plasma-desktop/Manifest @@ -1,3 +1,4 @@ DIST plasma-desktop-5.27.8.tar.xz 14718232 BLAKE2B a78a67b731f2f4d68fe1bf469006c4cca65e2425029643088c4cb88674841b825842ecdda880891d8714343548dee1b297f5a83769b7f447bcb0fcee0bd5c170 SHA512 b36f19421b1aa112f54df0ceba55ca258d4d46ba404221cd641d68436aa199c16ee04c187b5edfd2aabd11cd97551c1e0253e7789cc616e9d88604fdc2153edc DIST plasma-desktop-5.27.9.tar.xz 14721128 BLAKE2B 5332887ac65df280d8eaa6d834d844a49ba8d3aba38246564e19885aaed86135b95958b7914e69008c1ff1d5b85440a9d8998ca04740c82ddc1cf46399cb9f6f SHA512 ae23ab2e8359345c5ffe3cd2ff8d3aa8e302be49f3686f5f24fd5905990fc2f05a45d69fcb9b3414eae9997b70e0d424b307bc7f02d189158cd7f9ba995c9ec9 DIST plasma-desktop-override-include-dirs-2.tar.xz 8324 BLAKE2B 5ddf9340edf6b6fa76e80158a982ac887b0fb464bc40d5bc4dcd3d6b8f5a87c2d6ecdd153e67e168454aa7faff8d84defb90ba16096b64f3af1e7a74570a00c6 SHA512 452923555bd419d3e389e808c4c9ea35e48795d4f0d78c5845aea677e21f594068540538a8968c2d4034aacb11e910a7b69908e10518eba486ebcc0dda39221a +DIST plasma-desktop-override-include-dirs-3.tar.xz 8288 BLAKE2B f05ece81d1b744d45a21a5963750011c1e815156bcaac6075fa67451ba8ab1ea0fcc5ca59c8109c6fe65f9d4db6ac003bb7e26bf011e124c5f9b7f9e1b3afef5 SHA512 fbfc08a4c057dab3ef96e3c56d5e6087916e952ff32280c6e23c0822e18739441082894ea36412be04eda0893a4e10b9a0fbf0a10e0e44f046b6e872840c4dbb diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.27.9-foldermodel-screen-add-remove-handling.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.27.9-foldermodel-screen-add-remove-handling.patch new file mode 100644 index ..8d5ad98b40b7 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.27.9-foldermodel-screen-add-remove-handling.patch @@ -0,0 +1,95 @@ +From a6bc63103ed128ffe0fd843eb3c4416ede835fde Mon Sep 17 00:00:00 2001 +From: Harald Sitter +Date: Mon, 6 Nov 2023 23:24:57 +0100 +Subject: [PATCH] foldermodel: lift screen add/remove handling out of + screenmapper + +screenmapper is the wrong place for it because we don't know the url +inside the mapper. Instead handle events in the foldermodel and +correctly delegate the add/remove actions to the mapper with both our +screenId AND the activityId + +notably the previous code would incorrectly invoke addScreen with empty +activityIds triggering fallback handling that resulted in incorrect +m_screensPerPath management (there would be no screen associated with +our url anymore after a screenAdded signal because our screen got +associated with no url) and consequently firstAvailableScreen would +return no screen for our url (remember: we are associated with no url) +making FolderModel::filterAcceptsRow return false and filtering +completely valid entries + +BUG: 467951 + +possibly also is the root cause behind +CCBUG: 467092 +--- + containments/desktop/plugins/folder/foldermodel.cpp | 12 +++- + containments/desktop/plugins/folder/screenmapper.cpp | 9 + + containments/desktop/plugins/folder/screenmapper.h | 2 +- + 3 files changed, 13 insertions(+), 10 deletions(-) + +diff --git a/containments/desktop/plugins/folder/foldermodel.cpp b/containments/desktop/plugins/folder/foldermodel.cpp +index 6a9f8da607..bcab0275e3 100644 +--- a/containments/desktop/plugins/folder/foldermodel.cpp b/containments/desktop/plugins/folder/foldermodel.cpp +@@ -2024,7 +2024,17 @@ void FolderModel::setAppletInterface(QObject *appletInterface) + Plasma::Corona *corona = containment->corona(); + + if (corona) { +-m_screenMapper->setCorona(corona, m_currentActivity); ++connect(corona, &Plasma::Corona::screenRemoved, this, [this](int screenId) { ++if (m_screen == screenId) { ++m_screenMapper->removeScreen(screenId, m_currentActivity, resolvedUrl()); ++} ++
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: b2f915865b8c2cf9fc8dd33ef4f2aa7563e1aed8 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Apr 8 22:39:00 2023 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Apr 10 18:23:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2f91586 kde-plasma/plasma-desktop: drop 5.27.3-r1 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/plasma-desktop/Manifest | 1 - ...sma-desktop-5.27.3-kicker-hide-separators.patch | 77 - .../plasma-desktop/plasma-desktop-5.27.3-r1.ebuild | 180 - 3 files changed, 258 deletions(-) diff --git a/kde-plasma/plasma-desktop/Manifest b/kde-plasma/plasma-desktop/Manifest index 2da720fe7a43..c81b926a7dbc 100644 --- a/kde-plasma/plasma-desktop/Manifest +++ b/kde-plasma/plasma-desktop/Manifest @@ -1,5 +1,4 @@ DIST plasma-desktop-5.26.5.tar.xz 6352588 BLAKE2B 093d559830719ac011d5aea33beb86c6fb39403a44416da97646c1f890373cfcd570ae6015dfacf0d4cd2448b44e03f814376a3897351178c582bc865e110fce SHA512 6d58bc09c7f0e0218d3ffe4609fe206012c34d8c1ad64003a51ee3228e2ca203b0131b878f797babc43476bd0cf3e7cbe295e8a11ff1ae97843a61b2183ae182 -DIST plasma-desktop-5.27.3.tar.xz 14331384 BLAKE2B 7cc83b1cb86eb72df841313cf8351d9c74d2ab4e825b34c778039cd326c179e3c65d02a0a1fc48843c23fb1b01495ef871034b36d8495a6bf42de021e14acb2d SHA512 ac31bedb13c74f3cacd76d099a25da16bc617a7c0c3c9bc0e605eca1754e5f295519372c1c0a0d32c2248e2550159cc0ba97ca349dea43b3be85f32caf69e968 DIST plasma-desktop-5.27.4-patchset-1.tar.xz 3344 BLAKE2B 4e8daaa10a1f88fcfbf72346b275d3cf6656460dc05f3c61dae4cdc5b9c9071728cf9cf82a13f69d4b8cb6ca79844c1ca37842540a1acfe2fa799553bd0b6773 SHA512 a75e15053134968d805642daeadcf6b3aa321736470d1a04f19f7dc76b513423d97929b36363632bc8eab4167eead2ae58df727bbb69587ef90fcfc0aa94669e DIST plasma-desktop-5.27.4.tar.xz 14335168 BLAKE2B b45aaa6cc04d3d519e7ccad0cae674f60c6f4c81105deb0a575db7f6c1eeaf19e9ce8e441c4144ac670c722a9413b68e9eb2c111338844e0bed0839e69da69ce SHA512 a9e8dc3244631af50429d05c3ec861396e2b5b58738ebee7dfcc9c912f43ca9865ed8343f585fd665df41a05c401996a97161da10e852970dfc2741e01614162 DIST plasma-desktop-override-include-dirs-2.tar.xz 8324 BLAKE2B 5ddf9340edf6b6fa76e80158a982ac887b0fb464bc40d5bc4dcd3d6b8f5a87c2d6ecdd153e67e168454aa7faff8d84defb90ba16096b64f3af1e7a74570a00c6 SHA512 452923555bd419d3e389e808c4c9ea35e48795d4f0d78c5845aea677e21f594068540538a8968c2d4034aacb11e910a7b69908e10518eba486ebcc0dda39221a diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.27.3-kicker-hide-separators.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.27.3-kicker-hide-separators.patch deleted file mode 100644 index 30f95a901839.. --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.27.3-kicker-hide-separators.patch +++ /dev/null @@ -1,77 +0,0 @@ -From d492a691d44a2878eb3c189219dc04260294bb77 Mon Sep 17 00:00:00 2001 -From: Joshua Goins -Date: Sat, 18 Mar 2023 10:39:49 -0400 -Subject: [PATCH] applets/kicker: Hide separators when sorted alphabetically - -Users are able to manually add separator items at custom positions in -their menu structures. When they do so, the location of these -separators are inherently custom, and only make sense when the menu -structure is being displayed in its custom order. When using the option -to display everything alphabetically, the separators' custom position -no longer exists and any automatic placement becomes nonsensical. - -Currently, the separators get sorted to the beginning of the list, -which looks quite weird. This commit instead hides the separators when -sorting alphabetically. Only Kicker is affected by this change; the -underlying model providing the items is unchanged. - -BUG: 465865 -FIXED-IN: 5.27.4 -(cherry picked from commit 90ad64ba638649b68cf2ffb7f68e227e86a8b8f1) - applets/kicker/package/contents/ui/ItemListDelegate.qml | 4 +++- - applets/kicker/package/contents/ui/ItemListDialog.qml | 2 ++ - applets/kicker/package/contents/ui/ItemListView.qml | 2 +- - 3 files changed, 6 insertions(+), 2 deletions(-) - -diff --git a/applets/kicker/package/contents/ui/ItemListDelegate.qml b/applets/kicker/package/contents/ui/ItemListDelegate.qml -index 0eefe24e9e..ea7a0455c9 100644 a/applets/kicker/package/contents/ui/ItemListDelegate.qml -+++ b/applets/kicker/package/contents/ui/ItemListDelegate.qml -@@ -25,6 +25,7 @@ Item { - - readonly property real fullTextWidth: Math.ceil(icon.width + label.implicitWidth + arrow.width + row.anchors.leftMargin + row.anchors.rightMargin + row.actualSpacing) - property bool isSeparator: (model.isSeparator === true) -+property bool sorted: (model.sorted === true) - property bool hasChildren: (model.hasChildren === true) - property bool hasActionList: ((model.favoriteId !== null) - || (("hasActionList" in model) && (model.hasActionList === true))) -@@ -251,7 +252,8 @@ Item { - anchors.rightMargin: highlightItemSvg.margins.righ
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: c3dc7b064538c4b283eda4b06d99b66e9dbe897e Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Mar 22 21:38:13 2023 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Mar 22 23:01:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3dc7b06 kde-plasma/plasma-desktop: kicker: Hide separators when sorted a..z Upstream commit d492a691d44a2878eb3c189219dc04260294bb77 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=465865 Signed-off-by: Andreas Sturmlechner gentoo.org> ...sma-desktop-5.27.3-kicker-hide-separators.patch | 77 + .../plasma-desktop/plasma-desktop-5.27.3-r1.ebuild | 180 + 2 files changed, 257 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.27.3-kicker-hide-separators.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.27.3-kicker-hide-separators.patch new file mode 100644 index ..30f95a901839 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.27.3-kicker-hide-separators.patch @@ -0,0 +1,77 @@ +From d492a691d44a2878eb3c189219dc04260294bb77 Mon Sep 17 00:00:00 2001 +From: Joshua Goins +Date: Sat, 18 Mar 2023 10:39:49 -0400 +Subject: [PATCH] applets/kicker: Hide separators when sorted alphabetically + +Users are able to manually add separator items at custom positions in +their menu structures. When they do so, the location of these +separators are inherently custom, and only make sense when the menu +structure is being displayed in its custom order. When using the option +to display everything alphabetically, the separators' custom position +no longer exists and any automatic placement becomes nonsensical. + +Currently, the separators get sorted to the beginning of the list, +which looks quite weird. This commit instead hides the separators when +sorting alphabetically. Only Kicker is affected by this change; the +underlying model providing the items is unchanged. + +BUG: 465865 +FIXED-IN: 5.27.4 +(cherry picked from commit 90ad64ba638649b68cf2ffb7f68e227e86a8b8f1) +--- + applets/kicker/package/contents/ui/ItemListDelegate.qml | 4 +++- + applets/kicker/package/contents/ui/ItemListDialog.qml | 2 ++ + applets/kicker/package/contents/ui/ItemListView.qml | 2 +- + 3 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/applets/kicker/package/contents/ui/ItemListDelegate.qml b/applets/kicker/package/contents/ui/ItemListDelegate.qml +index 0eefe24e9e..ea7a0455c9 100644 +--- a/applets/kicker/package/contents/ui/ItemListDelegate.qml b/applets/kicker/package/contents/ui/ItemListDelegate.qml +@@ -25,6 +25,7 @@ Item { + + readonly property real fullTextWidth: Math.ceil(icon.width + label.implicitWidth + arrow.width + row.anchors.leftMargin + row.anchors.rightMargin + row.actualSpacing) + property bool isSeparator: (model.isSeparator === true) ++property bool sorted: (model.sorted === true) + property bool hasChildren: (model.hasChildren === true) + property bool hasActionList: ((model.favoriteId !== null) + || (("hasActionList" in model) && (model.hasActionList === true))) +@@ -251,7 +252,8 @@ Item { + anchors.rightMargin: highlightItemSvg.margins.right + anchors.verticalCenter: parent.verticalCenter + +-active: item.isSeparator ++// Separator positions don't make sense when sorting everything alphabetically ++active: item.isSeparator && !item.sorted + + asynchronous: false + sourceComponent: separatorComponent +diff --git a/applets/kicker/package/contents/ui/ItemListDialog.qml b/applets/kicker/package/contents/ui/ItemListDialog.qml +index ffdb2e97c8..d97650cbbe 100644 +--- a/applets/kicker/package/contents/ui/ItemListDialog.qml b/applets/kicker/package/contents/ui/ItemListDialog.qml +@@ -70,6 +70,8 @@ Kicker.SubMenu { + Kicker.FunnelModel { + id: funnelModel + ++property bool sorted: sourceModel.hasOwnProperty("sorted") ? sourceModel.sorted : false ++ + Component.onCompleted: { + kicker.reset.connect(funnelModel.reset); + } +diff --git a/applets/kicker/package/contents/ui/ItemListView.qml b/applets/kicker/package/contents/ui/ItemListView.qml +index 29ff51da05..d931b9fcff 100644 +--- a/applets/kicker/package/contents/ui/ItemListView.qml b/applets/kicker/package/contents/ui/ItemListView.qml +@@ -30,7 +30,7 @@ FocusScope { + property int itemHeight: Math.ceil((Math.max(theme.mSize(theme.defaultFont).height, PlasmaCore.Units.iconSizes.small) + + Math.max(highlightItemSvg.margins.top + highlightItemSvg.margins.bottom, + listItemSvg.margins.top + listItemSvg.margins.bottom)) / 2) * 2 +-property int separatorHeight: lineSvg.horLineHeight + (2 * PlasmaCore.Units.smallSpacing) ++property int separatorHeight: model.sorted === true ? 0 : lineSvg.horLineHeight + (2 * PlasmaCore.Units.smallSpacing) + + property alias currentIn
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 44e86e8d09dd248450f2ab24664eb4b995c81647 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Aug 7 17:43:25 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Aug 7 20:38:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44e86e8d kde-plasma/plasma-desktop: Add two 5.24.7 backports Upstream commits: fffa899345df967ed815104cf88de8466d97b374 0351cdfc9210f6f88863419534250ab7b8ce04ed KDE-bug: https://bugs.kde.org/show_bug.cgi?id=456525 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=435113 Signed-off-by: Andreas Sturmlechner gentoo.org> ...plasma-desktop-5.24.6-fix-buttongroupmgmt.patch | 108 + ...desktop-5.24.6-fix-mouse-settings-loading.patch | 44 + .../plasma-desktop/plasma-desktop-5.24.6-r2.ebuild | 180 + 3 files changed, 332 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.24.6-fix-buttongroupmgmt.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.24.6-fix-buttongroupmgmt.patch new file mode 100644 index ..0a86d08c5121 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.24.6-fix-buttongroupmgmt.patch @@ -0,0 +1,108 @@ +From fffa899345df967ed815104cf88de8466d97b374 Mon Sep 17 00:00:00 2001 +From: ivan tkachenko +Date: Sat, 9 Jul 2022 21:45:37 +0300 +Subject: [PATCH] [applets/pager] Fix button group management on configuration + page + +More declarative and centralized approach fixes the case when the "Text +display:" section may have no radio buttons selected. + +Amends c50e4b987dc365d741880794ee6f2924065a87a6. + +BUG: 456525 +FIXED-IN: 5.24.7 5.25.4 5.26 +(cherry picked from commit 4d835be8808b6372d69c424a66c3c7a1493cd6c3) +--- + .../package/contents/ui/configGeneral.qml | 48 --- + 1 file changed, 10 insertions(+), 38 deletions(-) + +diff --git a/applets/pager/package/contents/ui/configGeneral.qml b/applets/pager/package/contents/ui/configGeneral.qml +index b66620e16..c5404b9e1 100644 +--- a/applets/pager/package/contents/ui/configGeneral.qml b/applets/pager/package/contents/ui/configGeneral.qml +@@ -25,39 +25,6 @@ Kirigami.FormLayout { + property alias cfg_showOnlyCurrentScreen: showOnlyCurrentScreen.checked + property alias cfg_wrapPage: wrapPage.checked + +-onCfg_displayedTextChanged: { +-switch (cfg_displayedText) { +-case 0: +-displayedTextGroup.checkedButton = desktopNumberRadio; +-break; +-case 1: +-displayedTextGroup.checkedButton = desktopNameRadio; +-break; +-default: +-case 2: +-displayedTextGroup.checkedButton = noTextRadio; +-break; +-} +-} +- +-onCfg_currentDesktopSelectedChanged: { +-switch (cfg_currentDesktopSelected) { +-case 0: +-currentDesktopSelectedGroup.checkedButton = doesNothingRadio; +-break; +-case 1: +-currentDesktopSelectedGroup.checkedButton = showsDesktopRadio; +-break; +-default: +-break; +-} +-} +- +-Component.onCompleted: { +-cfg_currentDesktopSelectedChanged(); +-cfg_displayedTextChanged(); +-} +- + QtControls.ButtonGroup { + id: displayedTextGroup + } +@@ -113,19 +80,22 @@ Kirigami.FormLayout { + + QtControls.ButtonGroup.group: displayedTextGroup + text: i18n("No text") +-onCheckedChanged: if (checked) cfg_displayedText = 2; ++checked: cfg_displayedText === 2 ++onToggled: if (checked) cfg_displayedText = 2; + } + QtControls.RadioButton { + id: desktopNumberRadio + QtControls.ButtonGroup.group: displayedTextGroup + text: isActivityPager ? i18n("Activity number") : i18n("Desktop number") +-onCheckedChanged: if (checked) cfg_displayedText = 0; ++checked: cfg_displayedText === 0 ++onToggled: if (checked) cfg_displayedText = 0; + } + QtControls.RadioButton { + id: desktopNameRadio + QtControls.ButtonGroup.group: displayedTextGroup + text: isActivityPager ? i18n("Activity name") : i18n("Desktop name") +-onCheckedChanged: if (checked) cfg_displayedText = 1; ++checked: cfg_displayedText === 1 ++onToggled: if (checked) cfg_displayedText = 1; + } + + +@@ -141,12 +111,14 @@ Kirigami.FormLayout { + + QtControls.ButtonGroup.group: currentDesktopSelectedGroup + text: i18n("Does nothing") +-onCheckedChanged: if (checked) cfg_currentDesktopSelected = 0; ++checked: cfg_currentDesktopSelected === 0 ++onToggled: if (checked) cfg_currentDesktopSelected = 0; + } + QtControls.RadioButton { + id: showsDesktopRadio + QtControls.ButtonGroup.group: currentDesktopSelectedGroup + text: i18n("Shows the desktop") +-onCheckedChanged: if (checked) cfg_currentDesktopSelected =
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: d77a0d49c5508d5b4fec7f543fc7c4ee4c7dc0f8 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun May 29 20:18:37 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun May 29 20:24:20 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d77a0d49 kde-plasma/plasma-desktop: Drop 5.24.4 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/plasma-desktop/Manifest | 1 - ...op-5.24.4-folderview-icons-per-resolution.patch | 132 --- .../plasma-desktop/plasma-desktop-5.24.4-r1.ebuild | 179 - 3 files changed, 312 deletions(-) diff --git a/kde-plasma/plasma-desktop/Manifest b/kde-plasma/plasma-desktop/Manifest index 07428c4cd1aa..78c361f0fe92 100644 --- a/kde-plasma/plasma-desktop/Manifest +++ b/kde-plasma/plasma-desktop/Manifest @@ -1,3 +1,2 @@ -DIST plasma-desktop-5.24.4.tar.xz 6239980 BLAKE2B 0b8af5d596e277d202a9c088aa561ce3f0c3602ca781c807b4082f37da4269176429946edf0665ebd9bc6046cd6b0a97baf5a67ec3c0194c23d6fe237a56c18d SHA512 9d6a8c50a85d7f59b89a13753d9a7072df5e8bd1e726bf1037c4cf8d4d43046c2076c8993dffc1f5cec7f7a113832dd14f836e9b47b879f6352f3c30f4b5c408 DIST plasma-desktop-5.24.5.tar.xz 6241532 BLAKE2B 20bec56fbd0c3f68b3eaf75cb18a01888c63a8d49e2761c83858125ef82dfe225137e9ba704eaddc43405fe6f9818f879f0105eff03d06aa74d93800e4891693 SHA512 3bb770023b47dcc3c51dbdacfe9cb93adc2f514d8d19f54fed10023d9440bed956ec3beb18d9979cb408ab2e6e960ca383d215fd072ba2df34e4e0b5f6c55270 DIST plasma-desktop-override-include-dirs-1.tar.xz 7888 BLAKE2B f1e416fa0ed27cfe6e049cafc66d1603bb4f76f0cec16dc47339a238cbb485b202adf08ececbb8933a5e1a54954cbd21653d2c9dfec27baa49fdf583acf0d75f SHA512 aa26b4966a5d00c378128ee8ee56025d637f139fcd315bf0aabefa080caecadf8cd3176dee3df87d4f8bdc48446df535260cf64a65055857fb895fa8988e1a20 diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.24.4-folderview-icons-per-resolution.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.24.4-folderview-icons-per-resolution.patch deleted file mode 100644 index fce29f49536a.. --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.24.4-folderview-icons-per-resolution.patch +++ /dev/null @@ -1,132 +0,0 @@ -From 8f85c4658adfdf7a01c591afd79baa9eed8b79dd Mon Sep 17 00:00:00 2001 -From: Bharadwaj Raju -Date: Tue, 12 Apr 2022 15:01:15 + -Subject: [PATCH] Folder View: save desktop containment icon positions on a - per-resolution basis - -BUG: 360478 -BUG: 354802 -FIXED-IN: 5.24.5 -(cherry picked from commit 2dca17060c06f85abc365bab9484ee4446d78772) - .../package/contents/ui/FolderView.qml| 15 + - .../package/contents/ui/FolderViewLayer.qml | 32 +-- - .../desktop/plugins/folder/positioner.cpp | 1 + - 3 files changed, 31 insertions(+), 17 deletions(-) - -diff --git a/containments/desktop/package/contents/ui/FolderView.qml b/containments/desktop/package/contents/ui/FolderView.qml -index 218a3da77..72ae4903a 100644 a/containments/desktop/package/contents/ui/FolderView.qml -+++ b/containments/desktop/package/contents/ui/FolderView.qml -@@ -30,6 +30,7 @@ FocusScope { - property alias currentIndex: gridView.currentIndex - property alias url: dir.url - property alias status: dir.status -+property alias perStripe: positioner.perStripe - property alias positions: positioner.positions - property alias errorString: dir.errorString - property alias dragging: dir.dragging -@@ -828,20 +829,6 @@ FocusScope { - } - } - --onFlowChanged: { --// FIXME TODO: Preserve positions. --if (positioner.enabled) { --positioner.reset(); --} --} -- --onLayoutDirectionChanged: { --// FIXME TODO: Preserve positions. --if (positioner.enabled) { --positioner.reset(); --} --} -- - onCurrentIndexChanged: { - positionViewAtIndex(currentIndex, GridView.Contain); - } -diff --git a/containments/desktop/package/contents/ui/FolderViewLayer.qml b/containments/desktop/package/contents/ui/FolderViewLayer.qml -index 3f9b29937..f2044e1b0 100644 a/containments/desktop/package/contents/ui/FolderViewLayer.qml -+++ b/containments/desktop/package/contents/ui/FolderViewLayer.qml -@@ -29,6 +29,8 @@ FocusScope { - property alias overflowing: folderView.overflowing - property alias flow: folderView.flow - -+property string resolution: Math.round(plasmoid.screenGeometry.width) + "x" + Math.round(plasmoid.screenGeometry.height) -+ - readonly property bool lockedByKiosk: !KAuthorized.authorize("editable_desktop_icons") - - focus: true -@@ -178,6 +180,26 @@ FocusScope { - } - } - -+function getPositions() { -+try { -+var
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/
commit: 10420c5b9efc6f6c10fec28f637b2e91162b1be8 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Thu Feb 17 06:57:41 2022 + Commit: Conrad Kostecki gentoo org> CommitDate: Thu Feb 17 17:35:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10420c5b kde-plasma/plasma-desktop: remove unused patch(es) Closes: https://github.com/gentoo/gentoo/pull/24228 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Conrad Kostecki gentoo.org> ...top-5.24.0-attica-add-granular-cache-pref.patch | 57 -- 1 file changed, 57 deletions(-) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.24.0-attica-add-granular-cache-pref.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.24.0-attica-add-granular-cache-pref.patch deleted file mode 100644 index fb4d0bacbd90.. --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.24.0-attica-add-granular-cache-pref.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 346dafd3a0e19805f77147a9515a7333a05ed584 Mon Sep 17 00:00:00 2001 -From: Dan Leinir Turthra Jensen -Date: Tue, 8 Feb 2022 11:16:16 + -Subject: [PATCH] Add a granular cache preference thing to attica-kde - -Commit 798027fd17ab86eea022e5d269aa86138b28b130 - -This allows us to explicitly add cache preference to specific calls. -Usually attica calls want to be very current, but in some cases we can -assume things aren't going to change often (such as the categories -call), and we can just use the cached version for those calls. - -Fix missing variable name -Commit 8e164050c594855ee3728678d6d0907a10b28db6 - -Only trust the expiration date if it's less than 24 hours -Commit b85cf34298c274b5f16cb6c2aead7b87f0dabbb8 - -Fix build -Commit 6e8626f2d65a03af3cd12fb5390040c56ca3258d - attica-kde/kdeplugin/kdeplatformdependent.cpp | 20 ++- - 1 file changed, 19 insertions(+), 1 deletion(-) - -diff --git a/attica-kde/kdeplugin/kdeplatformdependent.cpp b/attica-kde/kdeplugin/kdeplatformdependent.cpp -index c2c90107e..850c91284 100644 a/attica-kde/kdeplugin/kdeplatformdependent.cpp -+++ b/attica-kde/kdeplugin/kdeplatformdependent.cpp -@@ -125,6 +125,25 @@ QNetworkRequest KdePlatformDependent::addOAuthToRequest(const QNetworkRequest &r - const QString bearer = bearer_format.arg(token); - notConstReq.setRawHeader("Authorization", bearer.toUtf8()); - } -+ -+// Add cache preference in a granular fashion (we will almost certainly want more of these, but...) -+static const QStringList preferCacheEndpoints{QLatin1String{"/content/categories"}}; -+for (const QString &endpoint : preferCacheEndpoints) { -+if (notConstReq.url().toString().endsWith(endpoint)) { -+QNetworkCacheMetaData cacheMeta{m_accessManager->cache()->metaData(notConstReq.url())}; -+if (cacheMeta.isValid()) { -+// If the expiration date is valid, but longer than 24 hours, don't trust that things -+// haven't changed and check first, otherwise just use the cached version to relieve -+// server strain and reduce network traffic. -+const QDateTime tomorrow{QDateTime::currentDateTime().addDays(1)}; -+if (cacheMeta.expirationDate().isValid() && cacheMeta.expirationDate() < tomorrow) { -+ notConstReq.setAttribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferCache); -+} -+} -+break; -+} -+} -+ - return notConstReq; - } - --- -2.34.1 -
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 91d55378e1339d694d52c6b30dd52da418777b23 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Feb 9 21:05:38 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Feb 10 20:09:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d55378 kde-plasma/plasma-desktop: Mitigate KNS/Discover impact on KDE servers Upstream commits: 798027fd17ab86eea022e5d269aa86138b28b130 8e164050c594855ee3728678d6d0907a10b28db6 b85cf34298c274b5f16cb6c2aead7b87f0dabbb8 6e8626f2d65a03af3cd12fb5390040c56ca3258d Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> ...top-5.24.0-attica-add-granular-cache-pref.patch | 57 +++ .../plasma-desktop/plasma-desktop-5.24.0-r1.ebuild | 181 + 2 files changed, 238 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.24.0-attica-add-granular-cache-pref.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.24.0-attica-add-granular-cache-pref.patch new file mode 100644 index ..fb4d0bacbd90 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.24.0-attica-add-granular-cache-pref.patch @@ -0,0 +1,57 @@ +From 346dafd3a0e19805f77147a9515a7333a05ed584 Mon Sep 17 00:00:00 2001 +From: Dan Leinir Turthra Jensen +Date: Tue, 8 Feb 2022 11:16:16 + +Subject: [PATCH] Add a granular cache preference thing to attica-kde + +Commit 798027fd17ab86eea022e5d269aa86138b28b130 + +This allows us to explicitly add cache preference to specific calls. +Usually attica calls want to be very current, but in some cases we can +assume things aren't going to change often (such as the categories +call), and we can just use the cached version for those calls. + +Fix missing variable name +Commit 8e164050c594855ee3728678d6d0907a10b28db6 + +Only trust the expiration date if it's less than 24 hours +Commit b85cf34298c274b5f16cb6c2aead7b87f0dabbb8 + +Fix build +Commit 6e8626f2d65a03af3cd12fb5390040c56ca3258d +--- + attica-kde/kdeplugin/kdeplatformdependent.cpp | 20 ++- + 1 file changed, 19 insertions(+), 1 deletion(-) + +diff --git a/attica-kde/kdeplugin/kdeplatformdependent.cpp b/attica-kde/kdeplugin/kdeplatformdependent.cpp +index c2c90107e..850c91284 100644 +--- a/attica-kde/kdeplugin/kdeplatformdependent.cpp b/attica-kde/kdeplugin/kdeplatformdependent.cpp +@@ -125,6 +125,25 @@ QNetworkRequest KdePlatformDependent::addOAuthToRequest(const QNetworkRequest &r + const QString bearer = bearer_format.arg(token); + notConstReq.setRawHeader("Authorization", bearer.toUtf8()); + } ++ ++// Add cache preference in a granular fashion (we will almost certainly want more of these, but...) ++static const QStringList preferCacheEndpoints{QLatin1String{"/content/categories"}}; ++for (const QString &endpoint : preferCacheEndpoints) { ++if (notConstReq.url().toString().endsWith(endpoint)) { ++QNetworkCacheMetaData cacheMeta{m_accessManager->cache()->metaData(notConstReq.url())}; ++if (cacheMeta.isValid()) { ++// If the expiration date is valid, but longer than 24 hours, don't trust that things ++// haven't changed and check first, otherwise just use the cached version to relieve ++// server strain and reduce network traffic. ++const QDateTime tomorrow{QDateTime::currentDateTime().addDays(1)}; ++if (cacheMeta.expirationDate().isValid() && cacheMeta.expirationDate() < tomorrow) { ++ notConstReq.setAttribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferCache); ++} ++} ++break; ++} ++} ++ + return notConstReq; + } + +-- +2.34.1 + diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.24.0-r1.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.24.0-r1.ebuild new file mode 100644 index ..3a83791cc60c --- /dev/null +++ b/kde-plasma/plasma-desktop/plasma-desktop-5.24.0-r1.ebuild @@ -0,0 +1,181 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +KFMIN=5.90.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.15.2 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org optfeature + +DESCRIPTION="KDE Plasma desktop" +XORGHDRS="${PN}-override-include-dirs-1" +SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${XORGHDRS}.tar.xz"; + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="emoji ibus +kaccounts scim +semantic-desktop telemetry" + +COMMON_DEPEND=" + >=dev-qt/qtconcurrent-${QTMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtsql-${QTMIN}:5 + >=dev-qt/qtsvg-${
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: adc747bf3465358e72d856386eecc86a8e06c857 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Jan 19 08:41:27 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Jan 25 09:43:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adc747bf kde-plasma/plasma-desktop: drop 5.23.4* Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/plasma-desktop/Manifest | 1 - ...a-desktop-5.23.4-fix-panel-initial-sizing.patch | 126 -- ...-fix-touchpad-applet-popup-close-on-click.patch | 53 -- ...ktop-5.23.4-fix-touchpad-mousearea-lookup.patch | 35 .../plasma-desktop/plasma-desktop-5.23.4-r1.ebuild | 190 - 5 files changed, 405 deletions(-) diff --git a/kde-plasma/plasma-desktop/Manifest b/kde-plasma/plasma-desktop/Manifest index a6a12afaae1c..9887ecc0c23b 100644 --- a/kde-plasma/plasma-desktop/Manifest +++ b/kde-plasma/plasma-desktop/Manifest @@ -1,4 +1,3 @@ -DIST plasma-desktop-5.23.4.tar.xz 15796556 BLAKE2B 876d308272bfd395ba3006cf70aa3bd3fc4fead5000cddf49c6be0bdfc95bb171c4dcac23636341766318d0156c7d473b9a8f5f0e37a57ea4e73b4b224b85abc SHA512 afbf8d3f7ca755ec207cda5258329b4f77dc0b26cd735eeb67e266d0937e892dc63172822792ffc7053cd52b9a34253cd4dcd1d1f52b54dd8a80f4dfa31a9f08 DIST plasma-desktop-5.23.5.tar.xz 15794548 BLAKE2B 6e215cc5ef10598308a9fbe6c58ea67ea16ee3c3394c69bebcd1167b939e8ff1442bc839c87428cc5a57b274cc95d02983a67ab0e8fac6c27435e446f84c8630 SHA512 14cd20b24e265ef9cc4e4ebbfc743151cf5f9ba0a94fbc19e44571c7e68db61d68bab17dd1feea6f4e0844ab448110010fbfe85212b426c1e12232b73bd1c531 DIST plasma-desktop-5.23.90.tar.xz 6223344 BLAKE2B b613a2e230603a35e076bed653963dda18aefeaa2427cfe2c7be0c3c79cfdc030e43ccb279bb270101eecb063cace0ed71a4137c5109d8e9fadfa1c0232db02c SHA512 afe4f886bd957786be2595a5937f1f394ab46e3ed96506c53f3bbb70b2f5d482815c459404fc15defb89482d161f0ce09a6956b1ec9fe3ba7d0ea326bcfff8cc DIST plasma-desktop-override-include-dirs-1.tar.xz 7888 BLAKE2B f1e416fa0ed27cfe6e049cafc66d1603bb4f76f0cec16dc47339a238cbb485b202adf08ececbb8933a5e1a54954cbd21653d2c9dfec27baa49fdf583acf0d75f SHA512 aa26b4966a5d00c378128ee8ee56025d637f139fcd315bf0aabefa080caecadf8cd3176dee3df87d4f8bdc48446df535260cf64a65055857fb895fa8988e1a20 diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.23.4-fix-panel-initial-sizing.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.23.4-fix-panel-initial-sizing.patch deleted file mode 100644 index d77187409738.. --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.23.4-fix-panel-initial-sizing.patch +++ /dev/null @@ -1,126 +0,0 @@ -From 9f19af95e9699420b057b6ff7e99968faf8948a3 Mon Sep 17 00:00:00 2001 -From: David Edmundson -Date: Fri, 3 Dec 2021 16:34:40 + -Subject: [PATCH] containments/panel: Fix initial sizing - -Timers for anything that affect layouts are universally wrong. - -Ultimately this breaks layouts internal usage of QQmlParserStatus. For -runtime changes layout internally most relayouting is buffered -internally till the polish event which is once per frame. - -Removing this makes startup faster, less glitchy and more declarative. - - -(cherry picked from commit b2fd1578a0063938a3eda8d8e41f14394b7635f7) - containments/panel/contents/ui/main.qml | 34 ++--- - 1 file changed, 8 insertions(+), 26 deletions(-) - -diff --git a/containments/panel/contents/ui/main.qml b/containments/panel/contents/ui/main.qml -index 0a5477476..9b5656acf 100644 a/containments/panel/contents/ui/main.qml -+++ b/containments/panel/contents/ui/main.qml -@@ -154,14 +154,12 @@ function checkLastSpacer() { - - //BEGIN connections - Component.onCompleted: { --currentLayout.isLayoutHorizontal = isHorizontal - LayoutManager.plasmoid = plasmoid; - LayoutManager.root = root; - LayoutManager.layout = currentLayout; - LayoutManager.lastSpacer = lastSpacer; - LayoutManager.marginHighlights = []; - LayoutManager.restore(); --containmentSizeSyncTimer.restart(); - - plasmoid.action("configure").visible = Qt.binding(function() { - return !plasmoid.immutable; -@@ -200,7 +198,6 @@ function checkLastSpacer() { - event.accept(event.proposedAction); - root.fixedWidth = 0; - root.fixedHeight = 0; --containmentSizeSyncTimer.restart(); - } - - -@@ -215,8 +212,6 @@ function checkLastSpacer() { - } - - Plasmoid.onUserConfiguringChanged: { --containmentSizeSyncTimer.restart(); -- - if (plasmoid.immutable) { - if (dragOverlay) { - dragOverlay.destroy(); -@@ -245,11 +240,7 @@ function checkLastSpacer() { - } - } - --Plasmoid.onFormFactorChanged: containmentSizeSyncTimer.restart(); --Containment.onEditModeChanged: containmentSizeSyncTimer.restart(); -- - onToolBoxChanged: { --containmentSizeSyncTimer.restart(); -
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 75a7e9b75c3eb446457b36b06a88ebb8485ea54e Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Dec 10 14:37:01 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Dec 10 14:58:21 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75a7e9b7 kde-plasma/plasma-desktop: Fix touchpad applet, initial panel sizing Upstream commit 9f19af95e9699420b057b6ff7e99968faf8948a3 See also: https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/715 Upstream commits: 2131daa05195a2b55f593acf3d323cf4c2a89936 aadab772fb81ff3d97c8b5342a8a018f51b2ef60 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=445982 Package-Manager: Portage-3.0.29, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> ...a-desktop-5.23.4-fix-panel-initial-sizing.patch | 126 ++ ...-fix-touchpad-applet-popup-close-on-click.patch | 53 ++ ...ktop-5.23.4-fix-touchpad-mousearea-lookup.patch | 35 .../plasma-desktop/plasma-desktop-5.23.4-r1.ebuild | 190 + 4 files changed, 404 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.23.4-fix-panel-initial-sizing.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.23.4-fix-panel-initial-sizing.patch new file mode 100644 index ..d77187409738 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.23.4-fix-panel-initial-sizing.patch @@ -0,0 +1,126 @@ +From 9f19af95e9699420b057b6ff7e99968faf8948a3 Mon Sep 17 00:00:00 2001 +From: David Edmundson +Date: Fri, 3 Dec 2021 16:34:40 + +Subject: [PATCH] containments/panel: Fix initial sizing + +Timers for anything that affect layouts are universally wrong. + +Ultimately this breaks layouts internal usage of QQmlParserStatus. For +runtime changes layout internally most relayouting is buffered +internally till the polish event which is once per frame. + +Removing this makes startup faster, less glitchy and more declarative. + + +(cherry picked from commit b2fd1578a0063938a3eda8d8e41f14394b7635f7) +--- + containments/panel/contents/ui/main.qml | 34 ++--- + 1 file changed, 8 insertions(+), 26 deletions(-) + +diff --git a/containments/panel/contents/ui/main.qml b/containments/panel/contents/ui/main.qml +index 0a5477476..9b5656acf 100644 +--- a/containments/panel/contents/ui/main.qml b/containments/panel/contents/ui/main.qml +@@ -154,14 +154,12 @@ function checkLastSpacer() { + + //BEGIN connections + Component.onCompleted: { +-currentLayout.isLayoutHorizontal = isHorizontal + LayoutManager.plasmoid = plasmoid; + LayoutManager.root = root; + LayoutManager.layout = currentLayout; + LayoutManager.lastSpacer = lastSpacer; + LayoutManager.marginHighlights = []; + LayoutManager.restore(); +-containmentSizeSyncTimer.restart(); + + plasmoid.action("configure").visible = Qt.binding(function() { + return !plasmoid.immutable; +@@ -200,7 +198,6 @@ function checkLastSpacer() { + event.accept(event.proposedAction); + root.fixedWidth = 0; + root.fixedHeight = 0; +-containmentSizeSyncTimer.restart(); + } + + +@@ -215,8 +212,6 @@ function checkLastSpacer() { + } + + Plasmoid.onUserConfiguringChanged: { +-containmentSizeSyncTimer.restart(); +- + if (plasmoid.immutable) { + if (dragOverlay) { + dragOverlay.destroy(); +@@ -245,11 +240,7 @@ function checkLastSpacer() { + } + } + +-Plasmoid.onFormFactorChanged: containmentSizeSyncTimer.restart(); +-Containment.onEditModeChanged: containmentSizeSyncTimer.restart(); +- + onToolBoxChanged: { +-containmentSizeSyncTimer.restart(); + if (startupTimer.running) { + startupTimer.restart(); + } +@@ -478,10 +469,16 @@ function checkLastSpacer() { + + GridLayout { + id: currentLayout +-property bool isLayoutHorizontal ++readonly property bool isLayoutHorizontal: root.isHorizontal + rowSpacing: PlasmaCore.Units.smallSpacing + columnSpacing: PlasmaCore.Units.smallSpacing + ++x: (isLayoutHorizontal && root.toolBox && Qt.application.layoutDirection === Qt.RightToLeft && plasmoid.editMode) ? root.toolBox.width : 0; ++y: 0 ++ ++width: root.width - (isLayoutHorizontal && root.toolBox && plasmoid.editMode ? root.toolBox.width : 0) ++height: root.height - (!isLayoutHorizontal && root.toolBox && plasmoid.editMode ? root.toolBox.height : 0) ++ + Layout.preferredWidth: { + var width = 0; + for (var i = 0, length = currentLayout.children.length; i < length; ++i) { +@@ -505,36 +502,21 @@ function checkLastSpacer() { + rows: 1 + columns: 1 + //when horizontal layout top-to-bottom, this way it will obey our limit of one row and actually lay out left to right +-flow: isHorizontal ? Gri
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/
commit: cb5cadbe13e5a868a35ddd8c16612d0991e84d86 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Feb 23 21:23:43 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Feb 23 21:23:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb5cadbe kde-plasma/plasma-desktop: Drop unused patch Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> .../plasma-desktop-5.21.0-keyboard-repeat.patch| 31 -- 1 file changed, 31 deletions(-) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.21.0-keyboard-repeat.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.21.0-keyboard-repeat.patch deleted file mode 100644 index 8c7902c0e7d..000 --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.21.0-keyboard-repeat.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 5550af1fd10dccda80be4586f19e3aa0995be2bc Mon Sep 17 00:00:00 2001 -From: Jan Blackquill -Date: Wed, 17 Feb 2021 12:34:15 -0500 -Subject: [PATCH] kcms/keyboard: fix migration - -TriState::STATE_ON is 0, while TriState::STATE_OFF is 1. -We're currently migrating 0 -> disabled, when it should be -1 -> disabled, * -> enabled. - -BUG: 431923 -FIXED-IN: 5.21.1 - kcms/keyboard/kcminputrc_migrate_repeat_value.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/kcms/keyboard/kcminputrc_migrate_repeat_value.py b/kcms/keyboard/kcminputrc_migrate_repeat_value.py -index 1440c570e..bd1667969 100755 a/kcms/keyboard/kcminputrc_migrate_repeat_value.py -+++ b/kcms/keyboard/kcminputrc_migrate_repeat_value.py -@@ -4,7 +4,7 @@ import sys - for line in sys.stdin: - line = line.rstrip() - print(line, file=sys.stderr) --if line.startswith("KeyboardRepeating=0"): -+if line.startswith("KeyboardRepeating=1"): - print("KeyRepeat=nothing") - elif line.startswith("KeyboardRepeating="): - print("KeyRepeat=repeat") --- -GitLab -
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 4012bcddce5212c8ed04ee2a1f24b7a632c054c9 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Feb 18 18:32:44 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Feb 18 19:55:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4012bcdd kde-plasma/plasma-desktop: Fix default keyboard repeat state Upstream commit 5550af1fd10dccda80be4586f19e3aa0995be2bc KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=431923 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> .../plasma-desktop-5.21.0-keyboard-repeat.patch| 31 .../plasma-desktop/plasma-desktop-5.21.0-r1.ebuild | 169 + 2 files changed, 200 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.21.0-keyboard-repeat.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.21.0-keyboard-repeat.patch new file mode 100644 index 000..8c7902c0e7d --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.21.0-keyboard-repeat.patch @@ -0,0 +1,31 @@ +From 5550af1fd10dccda80be4586f19e3aa0995be2bc Mon Sep 17 00:00:00 2001 +From: Jan Blackquill +Date: Wed, 17 Feb 2021 12:34:15 -0500 +Subject: [PATCH] kcms/keyboard: fix migration + +TriState::STATE_ON is 0, while TriState::STATE_OFF is 1. +We're currently migrating 0 -> disabled, when it should be +1 -> disabled, * -> enabled. + +BUG: 431923 +FIXED-IN: 5.21.1 +--- + kcms/keyboard/kcminputrc_migrate_repeat_value.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kcms/keyboard/kcminputrc_migrate_repeat_value.py b/kcms/keyboard/kcminputrc_migrate_repeat_value.py +index 1440c570e..bd1667969 100755 +--- a/kcms/keyboard/kcminputrc_migrate_repeat_value.py b/kcms/keyboard/kcminputrc_migrate_repeat_value.py +@@ -4,7 +4,7 @@ import sys + for line in sys.stdin: + line = line.rstrip() + print(line, file=sys.stderr) +-if line.startswith("KeyboardRepeating=0"): ++if line.startswith("KeyboardRepeating=1"): + print("KeyRepeat=nothing") + elif line.startswith("KeyboardRepeating="): + print("KeyRepeat=repeat") +-- +GitLab + diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.21.0-r1.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.21.0-r1.ebuild new file mode 100644 index 000..6da1feff4e5 --- /dev/null +++ b/kde-plasma/plasma-desktop/plasma-desktop-5.21.0-r1.ebuild @@ -0,0 +1,169 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +KFMIN=5.78.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.15.2 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="KDE Plasma desktop" +XORGHDRS="${PN}-override-include-dirs-0" +SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${XORGHDRS}.tar.xz"; + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="emoji ibus +kaccounts +policykit scim +semantic-desktop" + +BDEPEND="virtual/pkgconfig" +COMMON_DEPEND=" + >=dev-qt/qtconcurrent-${QTMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtsql-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtx11extras-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=kde-frameworks/attica-${KFMIN}:5 + >=kde-frameworks/kactivities-${KFMIN}:5 + >=kde-frameworks/kactivities-stats-${KFMIN}:5 + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kauth-${KFMIN}:5 + >=kde-frameworks/kbookmarks-${KFMIN}:5 + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kcodecs-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/kdeclarative-${KFMIN}:5 + >=kde-frameworks/kded-${KFMIN}:5 + >=kde-frameworks/kdelibs4support-${KFMIN}:5 + >=kde-frameworks/kglobalaccel-${KFMIN}:5 + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemmodels-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/knewstuff-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/knotifyconfig-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/krunner-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kd
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 5c041cf3b703ddc1f635a9d56b1412f2675f366e Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Feb 5 09:55:01 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Feb 5 10:12:02 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c041cf3 kde-plasma/plasma-desktop: Input related fixes Upstream commits: cfdaf8636830df3760bf370d48bd4be890ada709 199cad52f0599872e57a2fcb391a459e48146be0 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> ...p-5.20.5-compress-new-input-notifications.patch | 109 ++ 20.5-kcm_keyboard-no-setxkbmap-on-camera.patch | 27 .../plasma-desktop/plasma-desktop-5.20.5-r1.ebuild | 165 + 3 files changed, 301 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.20.5-compress-new-input-notifications.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.20.5-compress-new-input-notifications.patch new file mode 100644 index 000..734ae0ef46c --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.20.5-compress-new-input-notifications.patch @@ -0,0 +1,109 @@ +From 199cad52f0599872e57a2fcb391a459e48146be0 Mon Sep 17 00:00:00 2001 +From: David Faure +Date: Sun, 31 Jan 2021 20:59:41 +0100 +Subject: [PATCH] Compress notifications about new mouse/keyboard. + +When resuming from suspend, I get 5 "new pointer" and 5 "new keyboard" +events (on a laptop with USB mouse/keyboard, but also stuff like +"Thinkpad Extra Buttons" adds more notifications than one would expect) + +KGlobalAccelImpl::x11MappingNotify is still called 15 times, but +that's better than 145 times... + +"new pointer" notifications end up calling `kcminit mouse`, better +also compress that. +--- + kcms/keyboard/xinput_helper.cpp | 30 +- + kcms/keyboard/xinput_helper.h | 5 - + 2 files changed, 29 insertions(+), 6 deletions(-) + +diff --git a/kcms/keyboard/xinput_helper.cpp b/kcms/keyboard/xinput_helper.cpp +index 14974ada7..bade5ea33 100644 +--- a/kcms/keyboard/xinput_helper.cpp b/kcms/keyboard/xinput_helper.cpp +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + + #include + #include +@@ -56,9 +57,21 @@ static const int DEVICE_POINTER = 2; + XInputEventNotifier::XInputEventNotifier(QWidget* parent): + XEventNotifier(), //TODO: destruct properly? + xinputEventType(-1), +- udevNotifier(nullptr) ++ udevNotifier(nullptr), ++ keyboardNotificationTimer(new QTimer(this)), ++ mouseNotificationTimer(new QTimer(this)) + { +- Q_UNUSED(parent) ++ Q_UNUSED(parent) ++ ++ // emit signal only once, even after X11 re-enables N keyboards after resuming from suspend ++ keyboardNotificationTimer->setSingleShot(true); ++ keyboardNotificationTimer->setInterval(500); ++ connect(keyboardNotificationTimer, &QTimer::timeout, this, &XInputEventNotifier::newKeyboardDevice); ++ ++ // same for mouse ++ mouseNotificationTimer->setSingleShot(true); ++ mouseNotificationTimer->setInterval(500); ++ connect(mouseNotificationTimer, &QTimer::timeout, this, &XInputEventNotifier::newPointerDevice); + } + + void XInputEventNotifier::start() +@@ -83,11 +96,18 @@ bool XInputEventNotifier::processOtherEvents(xcb_generic_event_t* event) + { + int newDeviceType = getNewDeviceEventType(event); + if( newDeviceType == DEVICE_KEYBOARD ) { +- emit(newKeyboardDevice()); ++ if (!keyboardNotificationTimer->isActive()) { ++ keyboardNotificationTimer->start(); ++ } + } + else if( newDeviceType == DEVICE_POINTER ) { +- emit(newPointerDevice()); +- emit(newKeyboardDevice()); // arghhh, looks like X resets xkb map even when only pointer device is connected ++ if (!mouseNotificationTimer->isActive()) { ++ mouseNotificationTimer->start(); ++ } ++ // arghhh, looks like X resets xkb map even when only pointer device is connected ++ if (!keyboardNotificationTimer->isActive()) { ++ keyboardNotificationTimer->start(); ++ } + } + return true; + } +diff --git a/kcms/keyboard/xinput_helper.h b/kcms/keyboard/xinput_helper.h +index e29fdc22a..52b6a12b4 100644 +--- a/kcms/keyboard/xinput_helper.h b/kcms/keyboard/xinput_helper.h +@@ -25,13 +25,14 @@ + #include + #include + ++class QTimer; + class UdevDeviceNotifier; + + class XInputEventNotifier: public XEventNotifier { + Q_OBJECT + + public: +- XInputEventNotifier(QWidget* parent=nullptr); ++ explicit XInputEventNotifier(QWidget* parent=nullptr); + + void start() override; + void stop() override; +@@ -51,6 +52,8 @@ private: + int xinputEventType; + Display* display; + UdevDeviceNotifier *udevNotifier; ++ QTimer* keybo
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: de0d9395dcc65938dd3ef7b32e39fab50a411a98 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jan 7 11:48:10 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 24 19:42:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de0d9395 kde-plasma/plasma-desktop: drop 5.19.5* Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/plasma-desktop/Manifest | 1 - ...5.19.5-force-emojier-use-color-emoji-font.patch | 24 --- .../plasma-desktop/plasma-desktop-5.19.5.ebuild| 163 - 3 files changed, 188 deletions(-) diff --git a/kde-plasma/plasma-desktop/Manifest b/kde-plasma/plasma-desktop/Manifest index 3d9fca5c94d..14522e5d176 100644 --- a/kde-plasma/plasma-desktop/Manifest +++ b/kde-plasma/plasma-desktop/Manifest @@ -1,3 +1,2 @@ -DIST plasma-desktop-5.19.5.tar.xz 9430088 BLAKE2B 02894dfdc8c0d4535782629059b7d69e7722c63ef47c44077d5b49ac489b53af8440ba361a31a327783fe7a2b56d1812d59c8f6f0797c8fcc81aa90c1fac96c4 SHA512 d7c7b26dc5a7d4804a780833f8d22797312b845962ed4f9218c448fcb3c720c032eca1e79bec5f9c084f1825f0b6f26c34ffe032320396c9092e04a5b05c3d12 DIST plasma-desktop-5.20.5.tar.xz 15899532 BLAKE2B 1ed7d6c1bbc8b368ed98c4f35bcfd10f8436909a8f66fbfdf2e4e5eb8b8dcd36903600a934512dac7a07d54ef830ed2604e1ee39df6e40156ef7cec1e96dd041 SHA512 a1af8d04dbf16e94777e018ff0f289b69928ccefeb31e6dc73a2425d6170a0a5a3fdc324d192b41664cd118eea9b15cb6e7bd3f49ee03095ede16a3fa53a6f2b DIST plasma-desktop-override-include-dirs-0.tar.xz 7504 BLAKE2B 781a2f0f7ca5a45b966edfc79012e80c6826262a211d95b725590191a8828e0002fd924a49cc63c12090535077a24f3e719ca3277aac89aba3092e86f73d7f61 SHA512 d23dc203b8b645472c9c192a3d73ef9b46c66d9c64df1c90efa05c9968ec125e0a256bc9b654f05a1f22bce4b1d8aad436f581b42d579f4195a44f062fd444bb diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.19.5-force-emojier-use-color-emoji-font.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.19.5-force-emojier-use-color-emoji-font.patch deleted file mode 100644 index 69f33cb402e..000 --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.19.5-force-emojier-use-color-emoji-font.patch +++ /dev/null @@ -1,24 +0,0 @@ -From e7cb58f156a240c70c085be38a12e2a01dc5ede6 Mon Sep 17 00:00:00 2001 -From: Guo Yunhe -Date: Sun, 20 Sep 2020 21:12:08 +0300 -Subject: [PATCH] Force Emojier using color emoji font - - applets/kimpanel/backend/ibus/emojier/ui/CategoryPage.qml | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/applets/kimpanel/backend/ibus/emojier/ui/CategoryPage.qml b/applets/kimpanel/backend/ibus/emojier/ui/CategoryPage.qml -index 858cbd935..e7198156b 100644 a/applets/kimpanel/backend/ibus/emojier/ui/CategoryPage.qml -+++ b/applets/kimpanel/backend/ibus/emojier/ui/CategoryPage.qml -@@ -113,6 +113,7 @@ Kirigami.ScrollablePage - delegate: MouseArea { - QQC2.Label { - font.pointSize: 25 -+font.family: 'emoji' // Avoid monochrome fonts like DejaVu Sans - fontSizeMode: model.display.length > 5 ? Text.Fit : Text.FixedSize - minimumPointSize: 10 - text: model.display --- -GitLab - diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.19.5.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.19.5.ebuild deleted file mode 100644 index c3f9e924568..000 --- a/kde-plasma/plasma-desktop/plasma-desktop-5.19.5.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -ECM_HANDBOOK="forceoptional" -ECM_TEST="true" -KFMIN=5.71.0 -PVCUT=$(ver_cut 1-3) -QTMIN=5.14.2 -VIRTUALX_REQUIRED="test" -inherit ecm kde.org - -DESCRIPTION="KDE Plasma desktop" -XORGHDRS="${PN}-override-include-dirs-0" -SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${XORGHDRS}.tar.xz"; - -LICENSE="GPL-2" # TODO: CHECK -SLOT="5" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -IUSE="emoji +fontconfig ibus scim +semantic-desktop" - -COMMON_DEPEND=" - >=dev-qt/qtconcurrent-${QTMIN}:5 - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - >=dev-qt/qtprintsupport-${QTMIN}:5 - >=dev-qt/qtsql-${QTMIN}:5 - >=dev-qt/qtsvg-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=dev-qt/qtx11extras-${QTMIN}:5 - >=dev-qt/qtxml-${QTMIN}:5 - >=kde-frameworks/attica-${KFMIN}:5 - >=kde-frameworks/kactivities-${KFMIN}:5 - >=kde-frameworks/kactivities-stats-${KFMIN}:5 - >=kde-frameworks/karchive-${KFMIN}:5 - >=kde-frameworks/kauth-${KFMIN}:5 - >=kde-frameworks/kbookmarks-${KFMIN}:5 - >=kde-frameworks/kcmutils-${KFMIN}:5 - >=kde-frameworks/kcodecs-${KFMIN}:5 - >=kde-frameworks/kcompletion-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 -
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 0bab4991442bc50bbca56075d3842cc2bf90a4a4 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Sep 28 23:11:20 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Sep 29 12:46:45 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bab4991 kde-plasma/plasma-desktop: Add IUSE=emoji Closes: https://bugs.gentoo.org/709742 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner gentoo.org> ...5.19.5-force-emojier-use-color-emoji-font.patch | 24 ++ kde-plasma/plasma-desktop/metadata.xml | 1 + .../plasma-desktop/plasma-desktop-5.19.5.ebuild| 10 +++-- 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.19.5-force-emojier-use-color-emoji-font.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.19.5-force-emojier-use-color-emoji-font.patch new file mode 100644 index 000..69f33cb402e --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.19.5-force-emojier-use-color-emoji-font.patch @@ -0,0 +1,24 @@ +From e7cb58f156a240c70c085be38a12e2a01dc5ede6 Mon Sep 17 00:00:00 2001 +From: Guo Yunhe +Date: Sun, 20 Sep 2020 21:12:08 +0300 +Subject: [PATCH] Force Emojier using color emoji font + +--- + applets/kimpanel/backend/ibus/emojier/ui/CategoryPage.qml | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/applets/kimpanel/backend/ibus/emojier/ui/CategoryPage.qml b/applets/kimpanel/backend/ibus/emojier/ui/CategoryPage.qml +index 858cbd935..e7198156b 100644 +--- a/applets/kimpanel/backend/ibus/emojier/ui/CategoryPage.qml b/applets/kimpanel/backend/ibus/emojier/ui/CategoryPage.qml +@@ -113,6 +113,7 @@ Kirigami.ScrollablePage + delegate: MouseArea { + QQC2.Label { + font.pointSize: 25 ++font.family: 'emoji' // Avoid monochrome fonts like DejaVu Sans + fontSizeMode: model.display.length > 5 ? Text.Fit : Text.FixedSize + minimumPointSize: 10 + text: model.display +-- +GitLab + diff --git a/kde-plasma/plasma-desktop/metadata.xml b/kde-plasma/plasma-desktop/metadata.xml index 52f99fa25fe..49d2b2bec6a 100644 --- a/kde-plasma/plasma-desktop/metadata.xml +++ b/kde-plasma/plasma-desktop/metadata.xml @@ -6,6 +6,7 @@ Gentoo KDE Project + Build emojipicker applet using app-i18n/ibus and media-fonts/noto-emoji Use ibus input method via app-i18n/ibus Enable applets that use app-i18n/scim diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.19.5.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.19.5.ebuild index 6b5dc7ffb41..da3b4ac5fc3 100644 --- a/kde-plasma/plasma-desktop/plasma-desktop-5.19.5.ebuild +++ b/kde-plasma/plasma-desktop/plasma-desktop-5.19.5.ebuild @@ -18,7 +18,7 @@ SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${XORGHDRS}.tar.xz"; LICENSE="GPL-2" # TODO: CHECK SLOT="5" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="+fontconfig ibus scim +semantic-desktop" +IUSE="emoji +fontconfig ibus scim +semantic-desktop" COMMON_DEPEND=" >=dev-qt/qtconcurrent-${QTMIN}:5 @@ -80,6 +80,11 @@ COMMON_DEPEND=" x11-libs/libXi x11-libs/libxcb[xkb] x11-libs/libxkbfile + emoji? ( + app-i18n/ibus[emoji] + dev-libs/glib:2 + media-fonts/noto-emoji + ) fontconfig? ( media-libs/fontconfig media-libs/freetype @@ -116,6 +121,7 @@ RDEPEND="${COMMON_DEPEND} PATCHES=( "${WORKDIR}/${XORGHDRS}/override-include-dirs.patch" # downstream patch + "${FILESDIR}/${P}-force-emojier-use-color-emoji-font.patch" ) src_prepare() { @@ -137,7 +143,7 @@ src_configure() { $(cmake_use_find_package scim SCIM) $(cmake_use_find_package semantic-desktop KF5Baloo) ) - if ! use ibus; then + if ! use emoji && ! use ibus; then mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_IBus=ON ) fi
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 4a07df1811d1c9d10087b04ea4ef54b4d1670650 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Aug 18 17:23:02 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Aug 18 17:48:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a07df18 kde-plasma/plasma-desktop: Fix Fonts KCM w/ >=KF-5.68 See also: https://mail.kde.org/pipermail/distributions/2020-August/000450.html KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=420287#c9 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Andreas Sturmlechner gentoo.org> ...ma-desktop-5.18.5-fix-fonts-kcm-w-kf-5.68.patch | 166 + .../plasma-desktop/plasma-desktop-5.18.5-r2.ebuild | 157 +++ 2 files changed, 323 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-fix-fonts-kcm-w-kf-5.68.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-fix-fonts-kcm-w-kf-5.68.patch new file mode 100644 index 000..bae49609e52 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-fix-fonts-kcm-w-kf-5.68.patch @@ -0,0 +1,166 @@ +From e5e5f5ed51aadfac99bfbdf3d2db5be16a12443b Mon Sep 17 00:00:00 2001 +From: Ahmad Samir +Date: Mon, 10 Aug 2020 13:50:36 +0200 +Subject: [PATCH] kcm_fonts: Make the font selection dialog select the correct + "Regular"-like style + +Due to KConfig dropping QFont styleName property (for "Regular"-like font +styles, see [1] for more details), the font selection dialog invoked by the +KCM could end up selecting the wrong style; this change sets the appropriate +"Regular" style on the QFont object before invoking the font selection dialog +to fix/workaround the issue. + +Note that in Plasma master branch the issue is handled differently, since +we switched from QFontDialog to KFontChooserDialog (the latter has that +logic built-in). + +[1] https://phabricator.kde.org/D27735 + +CCBUG: 420287 +--- + kcms/fonts/fonts.cpp | 61 +-- + kcms/fonts/fonts.h| 1 + + kcms/fonts/package/contents/ui/FontWidget.qml | 7 +-- + kcms/fonts/package/contents/ui/main.qml | 4 +- + 4 files changed, 61 insertions(+), 12 deletions(-) + +diff --git a/kcms/fonts/fonts.cpp b/kcms/fonts/fonts.cpp +index f771f6e51..c2ccdf777 100644 +--- a/kcms/fonts/fonts.cpp b/kcms/fonts/fonts.cpp +@@ -53,23 +53,50 @@ + / DLL Interface / + K_PLUGIN_FACTORY_WITH_JSON(KFontsFactory, "kcm_fonts.json", registerPlugin();) + ++// If the styleName property is empty, then we want to set it to ++// the "Regular"-like style provided by the font, so that the font ++// selection dialog selects the correct style from the available styles ++// list; for more details see: ++// https://phabricator.kde.org/D27735 and https://phabricator.kde.org/D27785 ++static QFont setRegularFontStyle(const QFont &font) ++{ ++if (!(font.styleName().isEmpty() && font.weight() == QFont::Normal)) { ++return font; ++} ++ ++QFont f(font); ++QFontDatabase fdb; ++const QStringList styles = fdb.styles(f.family()); ++for (const QString &s : styles) { ++if (s == QLatin1String("Regular") ++|| s == QLatin1String("Normal") ++|| s == QLatin1String("Book") ++|| s == QLatin1String("Roman")) { ++f.setStyleName(s); ++return f; ++} ++} ++return font; ++} ++ + //from KFontRequester + // Determine if the font with given properties is available on the system, + // otherwise find and return the best fitting combination. + static QFont nearestExistingFont(const QFont &font) + { +-QFontDatabase dbase; ++QFont _font = setRegularFontStyle(font); + ++QFontDatabase dbase; + // Initialize font data according to given font object. +-QString family = font.family(); +-QString style = dbase.styleString(font); +-qreal size = font.pointSizeF(); ++QString family = _font.family(); ++QString style = dbase.styleString(_font); ++qreal size = _font.pointSizeF(); + + // Check if the family exists. + const QStringList families = dbase.families(); + if (!families.contains(family)) { + // Chose another family. +-family = QFontInfo(font).family(); // the nearest match ++family = QFontInfo(_font).family(); // the nearest match + if (!families.contains(family)) { + family = families.count() ? families.at(0) : QStringLiteral("fixed"); + } +@@ -614,6 +641,30 @@ bool KFonts::isDefaults() const + return m_fontAASettings->isDefaults(); + } + ++void KFonts::adjustFont(const QFont &font, const QString &category) ++{ ++QFont _font = setRegularFontStyle(font); ++ ++bool ok = false; ++QFont selFont = QFontDialog::getFont(&ok, _font, nullptr, i18n("Select Font")); ++ ++if (ok && !m_settings->isImmutable(category)) { ++if (category == QLatin1String("font")) { ++m_sett
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 193c5508f5340971f76baaf8d2255e4c86acf7d1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat May 16 19:52:09 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat May 16 22:37:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193c5508 kde-plasma/plasma-desktop: Fix blurry icons in KColorSchemeEditor Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> ...op-5.18.5-KColorSchemeEditor-blurry-icons.patch | 44 ++ .../plasma-desktop/plasma-desktop-5.18.5-r1.ebuild | 2 + 2 files changed, 46 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-KColorSchemeEditor-blurry-icons.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-KColorSchemeEditor-blurry-icons.patch new file mode 100644 index 000..17db7fc5b51 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-KColorSchemeEditor-blurry-icons.patch @@ -0,0 +1,44 @@ +From 2c46f28170c785f04fa396803037a608c8077025 Mon Sep 17 00:00:00 2001 +From: Matej Mrenica +Date: Wed, 6 May 2020 07:50:01 -0600 +Subject: Fix blurry icons in KColorSchemeEditor + +Summary: +When using fractional scaling, bottom icons are blurred. This patch fixes the issue. + +BUG: 418165 + +Test Plan: +No side effects. + +Before: +{F8289358} +After: +{F8289369} + +Reviewers: #plasma + +Subscribers: plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D29481 +--- + kcms/colors/editor/kcolorschemeeditor.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/kcms/colors/editor/kcolorschemeeditor.cpp b/kcms/colors/editor/kcolorschemeeditor.cpp +index 774d66e..03caa51 100644 +--- a/kcms/colors/editor/kcolorschemeeditor.cpp b/kcms/colors/editor/kcolorschemeeditor.cpp +@@ -28,6 +28,8 @@ + + int main(int argc, char* argv[]) + { ++// Fixes blurry icons with fractional scaling ++QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); + QApplication app(argc, argv); + + KAboutData aboutData( +-- +cgit v1.1 diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.18.5-r1.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.18.5-r1.ebuild index 5b6539dfcd8..d017862200e 100644 --- a/kde-plasma/plasma-desktop/plasma-desktop-5.18.5-r1.ebuild +++ b/kde-plasma/plasma-desktop/plasma-desktop-5.18.5-r1.ebuild @@ -131,6 +131,8 @@ PATCHES=( "${FILESDIR}/${P}-findxorgserver.patch" # in Plasma/5.19 "${FILESDIR}/${P}-override-include-dirs.patch" # downstream patch + "${FILESDIR}/${P}-KColorSchemeEditor-blurry-icons.patch" # in Plasma/5.18 + # Fix animation duration w/ KDE Frameworks 5.70 (Plasma/5.19 backports): # https://pointieststick.com/2020/05/10/why-the-animations-in-your-plasma-5-18-feel-slow-now-and-when-it-will-be-fixed/ "${FILESDIR}/${P}-fix-animate-in-animation.patch"
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 030a7a33700436a2febb9bfa382a4db519362975 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu May 7 19:38:13 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu May 7 19:56:44 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030a7a33 kde-plasma/plasma-desktop: Add FindXorgServer.cmake module Update override-include-dirs.patch to cover the new module. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> .../plasma-desktop-5.18.5-findxorgserver.patch | 130 + ...sma-desktop-5.18.5-override-include-dirs.patch} | 35 +- .../plasma-desktop/plasma-desktop-5.18.5.ebuild| 4 +- 3 files changed, 162 insertions(+), 7 deletions(-) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-findxorgserver.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-findxorgserver.patch new file mode 100644 index 000..115d52423fb --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-findxorgserver.patch @@ -0,0 +1,130 @@ +From 82e7a6b68d81ca2be0fdc3fc13cd5ca5f5e03e81 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Thu, 7 May 2020 16:18:13 +0200 +Subject: [PATCH] Add FindXorgServer.cmake and use it for touchpad KCM + +Summary: +x11 backend of the touchpad KCM uses xserver-properties.h that is part of +xorg-server package. As XORG_INCLUDE_DIRS seems to be empty, so far, it was +relying on Synaptics_INCLUDE_DIRS implicitly and worked only if the header +happened to be in the same directory as Synaptics' which is the case most of +the time. + +FindXorgServer.cmake is just a copy of FindXorgLibinput, adapted accordingly. + +Test Plan: +Pointed Synaptics_INCLUDE_DIRS somewhere else than /usr/include/xorg and build +succeeded. + +Reviewers: #plasma, zzag + +Reviewed By: #plasma, zzag + +Subscribers: broulik, plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D29514 +--- + CMakeLists.txt | 4 +++ + cmake/modules/FindXorgServer.cmake | 45 ++ + kcms/CMakeLists.txt| 2 +- + kcms/touchpad/src/backends/x11.cmake | 2 +- + 4 files changed, 51 insertions(+), 2 deletions(-) + create mode 100644 cmake/modules/FindXorgServer.cmake + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index fbdd95433..64e8bbd60 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -133,6 +133,10 @@ find_package(Synaptics) + set_package_properties(Synaptics PROPERTIES TYPE OPTIONAL) + add_feature_info("Synaptics" SYNAPTICS_FOUND "Synaptics libraries needed for touchpad KCM") + ++find_package(XorgServer) ++set_package_properties(XorgServer PROPERTIES TYPE OPTIONAL) ++add_feature_info("XorgServer" XORGSERVER_FOUND "XServer header needed for touchpad KCM (X11 backend)") ++ + find_package(XorgLibinput) + set_package_properties(XorgLibinput PROPERTIES TYPE OPTIONAL) + add_feature_info("XorgLibinput" XORGLIBINPUT_FOUND "Libinput driver headers needed for mouse and touchpad KCM") +diff --git a/cmake/modules/FindXorgServer.cmake b/cmake/modules/FindXorgServer.cmake +new file mode 100644 +index 0..5248c6d25 +--- /dev/null b/cmake/modules/FindXorgServer.cmake +@@ -0,0 +1,45 @@ ++# - Find xorg-server's headers. ++# This module defines the following variables: ++# ++# XORGSERVER_FOUND- true if xserver was found ++# XORGSERVER_INCLUDE_DIRS - include path for xserver ++# There are no libraries, just a header file ++# ++# Copyright (c) 2020 Andreas Sturmlechner ++# ++# Redistribution and use in source and binary forms, with or without ++# modification, are permitted provided that the following conditions ++# are met: ++# 1. Redistributions of source code must retain the above copyright ++#notice, this list of conditions and the following disclaimer. ++# 2. Redistributions in binary form must reproduce the above copyright ++#notice, this list of conditions and the following disclaimer in the ++#documentation and/or other materials provided with the distribution. ++# 3. Neither the name of the University nor the names of its contributors ++#may be used to endorse or promote products derived from this software ++#without specific prior written permission. ++# ++# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ++# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ++# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ++# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE ++# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ++# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS ++# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ++# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT ++# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISIN
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/
commit: ab2c550da1ab1b385195c06257a9ad7b0a737258 Author: Michael Mair-Keimberger gmail com> AuthorDate: Tue Jan 14 15:17:12 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Jan 14 22:45:04 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab2c550d kde-plasma/plasma-desktop: remove unused patch Signed-off-by: Michael Mair-Keimberger gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14336 Signed-off-by: Andreas Sturmlechner gentoo.org> ...lasma-desktop-5.17.4-activities-kcm-hidpi.patch | 27 -- 1 file changed, 27 deletions(-) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.17.4-activities-kcm-hidpi.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.17.4-activities-kcm-hidpi.patch deleted file mode 100644 index 899df110935..000 --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.17.4-activities-kcm-hidpi.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 567f71714faac305947573e307f486a9960cf1d1 Mon Sep 17 00:00:00 2001 -From: Nate Graham -Date: Fri, 13 Dec 2019 16:12:34 +0100 -Subject: [KCMs/Activities] Fix jagginess for activities list icons on high DPI - systems - -BUG: 414945 -FIXED-IN: 5.17.5 - kcms/activities/qml/activitiesTab/ActivitiesView.qml | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/kcms/activities/qml/activitiesTab/ActivitiesView.qml b/kcms/activities/qml/activitiesTab/ActivitiesView.qml -index aac13a2..531ef9f 100644 a/kcms/activities/qml/activitiesTab/ActivitiesView.qml -+++ b/kcms/activities/qml/activitiesTab/ActivitiesView.qml -@@ -52,6 +52,8 @@ ColumnLayout { - height: Kirigami.Units.iconSizes.medium - width: height - source: model.icon -+sourceSize.width: model.icon.width -+sourceSize.height: model.icon.height - } - - QQC2.Label { --- -cgit v1.1
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 61bee09e839595300da651cd599e63cbfc2ad3f6 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Dec 17 22:02:20 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Dec 17 23:48:41 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61bee09e kde-plasma/plasma-desktop: Fix jagginess for activities list icons ...on high DPI KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=414945 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> ...lasma-desktop-5.17.4-activities-kcm-hidpi.patch | 27 .../plasma-desktop/plasma-desktop-5.17.4-r1.ebuild | 145 + 2 files changed, 172 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.17.4-activities-kcm-hidpi.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.17.4-activities-kcm-hidpi.patch new file mode 100644 index 000..899df110935 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.17.4-activities-kcm-hidpi.patch @@ -0,0 +1,27 @@ +From 567f71714faac305947573e307f486a9960cf1d1 Mon Sep 17 00:00:00 2001 +From: Nate Graham +Date: Fri, 13 Dec 2019 16:12:34 +0100 +Subject: [KCMs/Activities] Fix jagginess for activities list icons on high DPI + systems + +BUG: 414945 +FIXED-IN: 5.17.5 +--- + kcms/activities/qml/activitiesTab/ActivitiesView.qml | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/kcms/activities/qml/activitiesTab/ActivitiesView.qml b/kcms/activities/qml/activitiesTab/ActivitiesView.qml +index aac13a2..531ef9f 100644 +--- a/kcms/activities/qml/activitiesTab/ActivitiesView.qml b/kcms/activities/qml/activitiesTab/ActivitiesView.qml +@@ -52,6 +52,8 @@ ColumnLayout { + height: Kirigami.Units.iconSizes.medium + width: height + source: model.icon ++sourceSize.width: model.icon.width ++sourceSize.height: model.icon.height + } + + QQC2.Label { +-- +cgit v1.1 diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.17.4-r1.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.17.4-r1.ebuild new file mode 100644 index 000..34554e99519 --- /dev/null +++ b/kde-plasma/plasma-desktop/plasma-desktop-5.17.4-r1.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +VIRTUALX_REQUIRED="test" +KFMIN=5.64.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.12.3 +inherit ecm kde.org + +DESCRIPTION="KDE Plasma desktop" +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="+fontconfig ibus +mouse scim +semantic-desktop touchpad" + +COMMON_DEPEND=" + >=kde-frameworks/attica-${KFMIN}:5 + >=kde-frameworks/kactivities-${KFMIN}:5 + >=kde-frameworks/kactivities-stats-${KFMIN}:5 + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kauth-${KFMIN}:5 + >=kde-frameworks/kbookmarks-${KFMIN}:5 + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kcodecs-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/kdeclarative-${KFMIN}:5 + >=kde-frameworks/kded-${KFMIN}:5 + >=kde-frameworks/kdelibs4support-${KFMIN}:5 + >=kde-frameworks/kemoticons-${KFMIN}:5 + >=kde-frameworks/kglobalaccel-${KFMIN}:5 + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemmodels-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/knewstuff-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/knotifyconfig-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/krunner-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/kwallet-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/plasma-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 + >=kde-frameworks/sonnet-${KFMIN}:5 + >=kde-plasma/kwin-${PVCUT}:5 + >=kde-plasma/plasma-workspace-${PVCUT}:5 + >=dev-qt/qtconcurrent-${QTMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtsql-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 + >=dev-qt/qtw
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 23cc71974f081f1336a61547086f64c8f2165a60 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Dec 17 22:04:15 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Dec 17 23:48:41 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23cc7197 kde-plasma/plasma-desktop: Fix Pager doesn't show windows of 2nd screen KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=414849 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> .../plasma-desktop-5.17.4-pager-regression.patch | 25 ++ .../plasma-desktop/plasma-desktop-5.17.4-r1.ebuild | 1 + 2 files changed, 26 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.17.4-pager-regression.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.17.4-pager-regression.patch new file mode 100644 index 000..d8057f22a4c --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.17.4-pager-regression.patch @@ -0,0 +1,25 @@ +From 2b5e86323f180f0c51ef9af898a69a522bc379ad Mon Sep 17 00:00:00 2001 +From: David Faure +Date: Sat, 14 Dec 2019 00:29:32 +0100 +Subject: Fix regression in "Port the pager applet away from QtWidgets" + +BUG: 414849 +--- + applets/pager/plugin/windowmodel.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/applets/pager/plugin/windowmodel.cpp b/applets/pager/plugin/windowmodel.cpp +index 93273bb..bcda333 100644 +--- a/applets/pager/plugin/windowmodel.cpp b/applets/pager/plugin/windowmodel.cpp +@@ -77,7 +77,7 @@ QVariant WindowModel::data(const QModelIndex &index, int role) const + if (role == AbstractTasksModel::Geometry) { + QRect windowGeo = TaskFilterProxyModel::data(index, role).toRect(); + QList screens = QGuiApplication::screens(); +-const QRect desktopGeo = screens.at(0)->geometry(); ++const QRect desktopGeo = screens.at(0)->virtualGeometry(); + + if (KWindowSystem::mapViewport()) { + int x = windowGeo.center().x() % desktopGeo.width(); +-- +cgit v1.1 diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.17.4-r1.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.17.4-r1.ebuild index 34554e99519..f0f08a65f98 100644 --- a/kde-plasma/plasma-desktop/plasma-desktop-5.17.4-r1.ebuild +++ b/kde-plasma/plasma-desktop/plasma-desktop-5.17.4-r1.ebuild @@ -117,6 +117,7 @@ RDEPEND="${COMMON_DEPEND} PATCHES=( "${FILESDIR}"/${P}-activities-kcm-hidpi.patch + "${FILESDIR}"/${P}-pager-regression.patch ) src_configure() {
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: a4a1a612115a4696cfd09bce70f06d637c16ae1e Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Oct 4 11:36:24 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Oct 4 12:22:55 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a1a612 kde-plasma/plasma-desktop: Make mouse KCM not interfere w/ touchpads Signed-off-by: Andreas Sturmlechner gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11 ...ktop-5.13.5-libinput-kcm-ignore-touchpads.patch | 139 + .../plasma-desktop/plasma-desktop-5.13.5-r2.ebuild | 169 + 2 files changed, 308 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-libinput-kcm-ignore-touchpads.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-libinput-kcm-ignore-touchpads.patch new file mode 100644 index 000..76b3e1b0f3e --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-libinput-kcm-ignore-touchpads.patch @@ -0,0 +1,139 @@ +From a4c724173b5c6a59331587f2e5db746dffbabdc6 Mon Sep 17 00:00:00 2001 +From: Roman Gilg +Date: Tue, 4 Sep 2018 00:15:18 +0200 +Subject: [Mouse KCM] Avoid changes to touchpads in libinput backend + +Summary: +Similar to evdev backend we need to ignore touchpad devices explicitly in the +libinput backend because these are also pointer devices. + +XInput2 can do this in theory via input classes, but my touchpad did not set +the class correctly. So just switch to using XInput like in the evdev backend +to query all pointer devices and then use the XI_TOUCHPAD atom to filter out +touchpads. + +BUG: 395401 +BUG: 395722 +BUG: 396269 + +Test Plan: Manually + +Reviewers: #plasma, hein + +Reviewed By: #plasma, hein + +Subscribers: acrouthamel, ngraham, plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D15256 +--- + .../backends/x11/x11_libinput_dummydevice.cpp | 32 ++ + 1 file changed, 20 insertions(+), 12 deletions(-) + +diff --git a/kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp b/kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp +index 6efca42..7ec314b 100644 +--- a/kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp b/kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp +@@ -20,24 +20,28 @@ + + #include + +-#include + #include + #include ++#include ++ ++static Atom s_touchpadAtom; + + template +-static void XI2ForallPointerDevices(Display* dpy, const Callback& callback) ++static void XIForallPointerDevices(Display* dpy, const Callback& callback) + { + int ndevices_return; +-XIDeviceInfo* info = XIQueryDevice(dpy, XIAllDevices, &ndevices_return); ++XDeviceInfo *info = XListInputDevices(dpy, &ndevices_return); + if (!info) { + return; + } + for (int i = 0; i < ndevices_return; ++i) { +-if ((info + i)->use == XISlavePointer) { +-callback(info + i); ++XDeviceInfo *dev = info + i; ++if ((dev->use == IsXPointer || dev->use == IsXExtensionPointer) && ++dev->type != s_touchpadAtom) { ++callback(dev); + } + } +-XIFreeDeviceInfo(info); ++XFreeDeviceList(info); + } + + struct ScopedXDeleter { +@@ -61,7 +65,8 @@ void valueWriterPart(T val, Atom valAtom, Display *dpy) + template<> + void valueWriterPart(bool val, Atom valAtom, Display *dpy) + { +-XI2ForallPointerDevices(dpy, [&] (XIDeviceInfo *info) { ++XIForallPointerDevices(dpy, [&] (XDeviceInfo *info) { ++int deviceid = info->id; + Status status; + Atom type_return; + int format_return; +@@ -70,7 +75,7 @@ void valueWriterPart(bool val, Atom valAtom, Display *dpy) + + unsigned char *_data = nullptr; + //data returned is an 1 byte boolean +-status = XIGetProperty(dpy, info->deviceid, valAtom, 0, 1, ++status = XIGetProperty(dpy, deviceid, valAtom, 0, 1, +False, XA_INTEGER, &type_return, &format_return, +&num_items_return, &bytes_after_return, &_data); + if (status != Success) { +@@ -87,7 +92,7 @@ void valueWriterPart(bool val, Atom valAtom, Display *dpy) + + unsigned char sendVal = val ? 1 : 0; + +-XIChangeProperty(dpy, info->deviceid, valAtom, XA_INTEGER, ++XIChangeProperty(dpy, deviceid, valAtom, XA_INTEGER, + 8, XIPropModeReplace, &sendVal, 1); + + }); +@@ -96,7 +101,8 @@ void valueWriterPart(bool val, Atom valAtom, Display *dpy) + template<> + void valueWriterPart(qreal val, Atom valAtom, Display *dpy) + { +-XI2ForallPointerDevices(dpy, [&] (XIDeviceInfo *info) { ++XIForallPointerDevices(dpy, [&] (XDeviceInfo *info) { ++int deviceid = info->id; + Status status; + Atom float_type = XInternAtom (dpy, "FLOAT", False); + Atom type_return; +@@ -106,7 +112,7 @@ void valueWriterPart(qreal val, Atom valAtom, D
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 61c992359d353f5ccac8e997443991cbcb733e73 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Sep 11 14:26:52 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Sep 11 16:23:50 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c99235 kde-plasma/plasma-desktop: Improve arrow key nav. of kicker search KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=397779 See also: https://phabricator.kde.org/D15286 Package-Manager: Portage-2.3.48, Repoman-2.3.10 .../plasma-desktop-5.13.5-kickersearch-nav.patch | 87 +++ .../plasma-desktop/plasma-desktop-5.13.5-r1.ebuild | 168 + 2 files changed, 255 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-kickersearch-nav.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-kickersearch-nav.patch new file mode 100644 index 000..75b5bc27b2a --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.13.5-kickersearch-nav.patch @@ -0,0 +1,87 @@ +From 1692ae244bc5229df78df2d5ba2e76418362cb50 Mon Sep 17 00:00:00 2001 +From: Eike Hein +Date: Wed, 5 Sep 2018 18:58:35 +0900 +Subject: Improve arrow key navigation of Kicker search results + +Summary: +Kicker already makes sure the first search result is highlighted +and actionable while searching. This patch makes arrow-down after +typing move to the second search result instead of merely moving +focus from the search field to the list, so the user doesn't have +to press arrow-down twice anymore. + +It also allows using arrow-left/right to jump to the other result +columns, when the cursor is at the start or end of the text field, +respectively. + +BUG:397779 + +Reviewers: ngraham + +Subscribers: plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D15286 +--- + .../package/contents/ui/MenuRepresentation.qml | 20 +++- + .../kicker/package/contents/ui/RunnerResultsList.qml | 1 + + 2 files changed, 20 insertions(+), 1 deletion(-) + +diff --git a/applets/kicker/package/contents/ui/MenuRepresentation.qml b/applets/kicker/package/contents/ui/MenuRepresentation.qml +index b70b76b..58cbf8d 100644 +--- a/applets/kicker/package/contents/ui/MenuRepresentation.qml b/applets/kicker/package/contents/ui/MenuRepresentation.qml +@@ -393,7 +393,7 @@ FocusScope { + } else if (event.key == Qt.Key_Down) { + if (rootList.visible) { + rootList.showChildDialogs = false; +-rootList.currentIndex = 0; ++rootList.currentIndex = Math.min(1, rootList.count); + rootList.forceActiveFocus(); + rootList.showChildDialogs = true; + } +@@ -402,11 +402,29 @@ FocusScope { + for (var i = 0; i < runnerModel.count; ++i) { + if (runnerModel.modelForRow(i).count) { + var targetList = runnerColumnsRepeater.itemAt(i); ++targetList.currentIndex = Math.min(1, targetList.count); ++targetList.forceActiveFocus(); ++break; ++} ++} ++} ++} else if (event.key == Qt.Key_Left && cursorPosition == 0) { ++for (var i = runnerModel.count; i >= 0; --i) { ++if (runnerModel.modelForRow(i).count) { ++var targetList = runnerColumnsRepeater.itemAt(i); + targetList.currentIndex = 0; + targetList.forceActiveFocus(); + break; + } + } ++} else if (event.key == Qt.Key_Right && cursorPosition == length) { ++for (var i = 1; i < runnerModel.count; ++i) { ++if (runnerModel.modelForRow(i).count) { ++var targetList = runnerColumnsRepeater.itemAt(i); ++targetList.currentIndex = 0; ++targetList.forceActiveFocus(); ++break; ++} + } + } else if (event.key == Qt.Key_Enter || event.key == Qt.Key_Return) { + if (runnerColumns.visible && runnerModel.modelForRow(0).count) { +diff --git a/applets/kicker/package/contents/ui/RunnerResultsList.qml b/applets/kicker/package/contents/ui/RunnerResultsList.qml +index 3627c2f..4e6dc2f 100644 +--- a/applets/kicker/package/contents/ui/RunnerResultsList.qml b/applets/kicker/package/contents/ui/RunnerResultsList.qml +@@ -30,6 +30,7 @@ FocusScope { + signal keyNavigationAtListEnd + + property alias currentIndex: runnerMatches.currentIndex ++property alias count: runnerMatches.count + property alias containsMouse: runnerMatches.containsMouse + + Accessible.name: header
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: eff2cc1688823cfb17e9aefd4e73088c03f7d915 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri May 18 22:53:39 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri May 18 22:53:39 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eff2cc16 kde-plasma/plasma-desktop: Fix submenus not updating regression See also: https://bugs.kde.org/show_bug.cgi?id=394013 Package-Manager: Portage-2.3.38, Repoman-2.3.9 .../plasma-desktop-5.12.5-submodules-update.patch | 39 + .../plasma-desktop/plasma-desktop-5.12.5-r1.ebuild | 164 + 2 files changed, 203 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.12.5-submodules-update.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.12.5-submodules-update.patch new file mode 100644 index 000..ce6c7a8a279 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.12.5-submodules-update.patch @@ -0,0 +1,39 @@ +From c0cd1f8d49e6d63f1988d4749c366a0bef177790 Mon Sep 17 00:00:00 2001 +From: Eike Hein +Date: Wed, 9 May 2018 16:24:15 +0900 +Subject: Fix submenus not updating when switching between categories of the + same size + +Summary: +This fixes a regression introduced in 38403268aad3, which forgot to +handle the branch where the counts are the same. + +BUG:394013 + +Reviewers: #plasma + +Subscribers: plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D12774 +--- + applets/kicker/plugin/funnelmodel.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/applets/kicker/plugin/funnelmodel.cpp b/applets/kicker/plugin/funnelmodel.cpp +index 26cad55..165e43d 100644 +--- a/applets/kicker/plugin/funnelmodel.cpp b/applets/kicker/plugin/funnelmodel.cpp +@@ -81,6 +81,8 @@ void FunnelModel::setSourceModel(QAbstractItemModel *model) + setNewModel(); + endRemoveRows(); + } ++} else { ++setNewModel(); + } + + if (newCount > 0) { +-- +cgit v0.11.2 + diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.12.5-r1.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.12.5-r1.ebuild new file mode 100644 index 000..07022c83470 --- /dev/null +++ b/kde-plasma/plasma-desktop/plasma-desktop-5.12.5-r1.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="true" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="KDE Plasma desktop" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="appstream +fontconfig ibus +mouse pulseaudio scim +semantic-desktop touchpad" + +COMMON_DEPEND=" + $(add_frameworks_dep attica) + $(add_frameworks_dep kactivities) + $(add_frameworks_dep kactivities-stats) + $(add_frameworks_dep karchive) + $(add_frameworks_dep kauth) + $(add_frameworks_dep kbookmarks) + $(add_frameworks_dep kcmutils) + $(add_frameworks_dep kcodecs) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep kdeclarative) + $(add_frameworks_dep kded) + $(add_frameworks_dep kdelibs4support) + $(add_frameworks_dep kemoticons) + $(add_frameworks_dep kglobalaccel) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemmodels) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep knotifyconfig) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kpeople) + $(add_frameworks_dep krunner) + $(add_frameworks_dep kservice) + $(add_frameworks_dep kwallet) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep plasma) + $(add_frameworks_dep solid) + $(add_frameworks_dep sonnet) + $(add_plasma_dep kwin) + $(add_plasma_dep plasma-workspace) + $(add_qt_dep qtconcurrent) + $(add_qt_dep qtdbus) + $(add_qt_dep qtdeclarative) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsql) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtx11extras) + $(add_qt_dep qtxml) + media-libs/phonon[qt5(+)] + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libxcb + x11-libs/libxkbfile + appstream? ( dev-libs/appstream[qt5] ) + fontconfig? ( + media-libs/fontconfig +
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/khotkeys/files/, ...
commit: d5b01ef76733ee348536597058e67f6096eac312 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Mar 21 16:29:56 2017 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Mar 21 16:29:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5b01ef7 kde-plasma: Drop unused patches Package-Manager: Portage-2.3.3, Repoman-2.3.1 .../khotkeys/files/khotkeys-5.8.5-kf-5.31.patch| 39 - .../plasma-desktop-5.7.90-baloo-optional.patch | 45 -- .../files/plasma-desktop-5.8.5-crashfix.patch | 57 --- ...esktop-5.8.5-folder-view-script-execution.patch | 28 .../files/plasma-desktop-5.8.5-hover-state.patch | 33 .../plasma-desktop-5.8.5-taskman-memleak.patch | 43 - .../plasma-integration-5.8.5-filedialog.patch | 71 - .../plasma-workspace-5.8.3-systray-cpuload.patch | 177 - 8 files changed, 493 deletions(-) diff --git a/kde-plasma/khotkeys/files/khotkeys-5.8.5-kf-5.31.patch b/kde-plasma/khotkeys/files/khotkeys-5.8.5-kf-5.31.patch deleted file mode 100644 index 6b2d7c79be6..000 --- a/kde-plasma/khotkeys/files/khotkeys-5.8.5-kf-5.31.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 617de4bd3fd080d43cce9bdc8af82963960d5c3a Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= -Date: Wed, 18 Jan 2017 11:40:10 +0100 -Subject: Fix build with -fno-operator-names - - kcm_hotkeys/hotkeys_model.cpp| 2 +- - libkhotkeysprivate/action_data/action_data_group.cpp | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/kcm_hotkeys/hotkeys_model.cpp b/kcm_hotkeys/hotkeys_model.cpp -index 66ea747..8703f83 100644 a/kcm_hotkeys/hotkeys_model.cpp -+++ b/kcm_hotkeys/hotkeys_model.cpp -@@ -486,7 +486,7 @@ QMimeData *KHotkeysModel::mimeData(const QModelIndexList &indexes) const - - Q_FOREACH (const QModelIndex &index, indexes) - { --if (index.isValid() and index.column() == 0) -+if (index.isValid() && index.column() == 0) - { - KHotKeys::ActionDataBase *element = indexToActionDataBase(index); - // We use the pointer as id. -diff --git a/libkhotkeysprivate/action_data/action_data_group.cpp b/libkhotkeysprivate/action_data/action_data_group.cpp -index ddbe24e..f80f775 100644 a/libkhotkeysprivate/action_data/action_data_group.cpp -+++ b/libkhotkeysprivate/action_data/action_data_group.cpp -@@ -83,7 +83,7 @@ Trigger::TriggerTypes ActionDataGroup::allowedTriggerTypes() const - - bool ActionDataGroup::is_system_group() const - { --return _system_group != SYSTEM_NONE and _system_group != SYSTEM_ROOT; -+return _system_group != SYSTEM_NONE && _system_group != SYSTEM_ROOT; - } - - --- -cgit v0.11.2 - diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.7.90-baloo-optional.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.7.90-baloo-optional.patch deleted file mode 100644 index 86fc43c502c..000 --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.7.90-baloo-optional.patch +++ /dev/null @@ -1,45 +0,0 @@ -commit 00cdef0f2b6e8e20661aef98074b8533103bbfdd -Author: Andreas Sturmlechner -Date: Thu Sep 15 00:39:43 2016 +0200 - -Make KF5Baloo optional - - https://mail.kde.org/pipermail/kde-frameworks-devel/2016-September/037734.html - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index f15021a..613ca20 100644 a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -67,14 +67,10 @@ set_package_properties(PackageKitQt5 PROPERTIES DESCRIPTION "Software Manager in -PURPOSE "Provides package management integration to the application launcher." - ) - --# Baloo is currently part of the KF5 namespace, but it is not --# a proper framework. Hence the strange versioning. --# This will be fixed with Plasma 5.2, as Baloo should have --# become a framework by then --find_package(KF5Baloo "5.1.90") -+find_package(KF5Baloo) - set_package_properties(KF5Baloo PROPERTIES DESCRIPTION "File Searching" -- TYPE REQUIRED -- PURPOSE "Needed to build to File Search KCM" -+ TYPE OPTIONAL -+ PURPOSE "Needed to build the File Search KCM" - ) - - find_package(Fontconfig) -diff --git a/kcms/CMakeLists.txt b/kcms/CMakeLists.txt -index 53ca49a..3220bd3 100644 a/kcms/CMakeLists.txt -+++ b/kcms/CMakeLists.txt -@@ -55,7 +55,9 @@ add_subdirectory(useraccount/pics) - - - add_subdirectory(workspaceoptions) --add_subdirectory(baloo) -+if (KF5Baloo_FOUND) -+ add_subdirectory(baloo) -+endif() - add_subdirectory(solid_actions) - add_subdirectory(cursortheme) - diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.8.5-crashfix.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.8.5-crashfix.patch deleted file mode 100644 index 9e4bdd99f5c..000 --- a/kde-plasma/plasma-desktop
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: ef4dd781b1d8199027f0b0c55004446e5d3bd10d Author: Johannes Huber gentoo org> AuthorDate: Wed Feb 15 16:58:39 2017 + Commit: Johannes Huber gentoo org> CommitDate: Wed Feb 15 16:58:49 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef4dd781 kde-plasma/plasma-desktop: Fix folder view script execution Revision bump backport upstream patch to fix upstream bug #375793. Gentoo-bug: 609404 Package-Manager: Portage-2.3.3, Repoman-2.3.1 ...esktop-5.8.5-folder-view-script-execution.patch | 28 .../plasma-desktop/plasma-desktop-5.8.5-r2.ebuild | 166 + 2 files changed, 194 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.8.5-folder-view-script-execution.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.8.5-folder-view-script-execution.patch new file mode 100644 index 00..d8376d87d5 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.8.5-folder-view-script-execution.patch @@ -0,0 +1,28 @@ +commit 771e57f3b2c19f4e6f867c01c2457ec87531b4cf +Author: Kai Uwe Broulik +Date: Tue Jan 31 15:07:42 2017 +0100 + +[Folder View] show script execution prompt when clicking item + +When clicking a file in FolderView, we should ask for whether to open or run a script depending on user settings. +This is what Dolphin does. + +BUG: 375793 +FIXED-IN: 5.8.6 + +Differential Revision: https://phabricator.kde.org/D4367 + +diff --git a/containments/desktop/plugins/folder/foldermodel.cpp b/containments/desktop/plugins/folder/foldermodel.cpp +index 758f7f35..1ba12450 100644 +--- a/containments/desktop/plugins/folder/foldermodel.cpp b/containments/desktop/plugins/folder/foldermodel.cpp +@@ -509,7 +509,8 @@ void FolderModel::run(int row) + url.setScheme(QStringLiteral("file")); + } + +-new KRun(url, 0); ++KRun *run = new KRun(url, 0); ++run->setShowScriptExecutionPrompt(true); + } + + void FolderModel::rename(int row, const QString& name) diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.8.5-r2.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.8.5-r2.ebuild new file mode 100644 index 00..c5eca0fd3d --- /dev/null +++ b/kde-plasma/plasma-desktop/plasma-desktop-5.8.5-r2.ebuild @@ -0,0 +1,166 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="true" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="KDE Plasma desktop" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+fontconfig gtk2 gtk3 +input_devices_evdev input_devices_synaptics ibus +legacy-systray packagekit pulseaudio +qt4 scim +semantic-desktop" + +COMMON_DEPEND=" + $(add_frameworks_dep attica) + $(add_frameworks_dep kactivities) + $(add_frameworks_dep kactivities-stats) + $(add_frameworks_dep karchive) + $(add_frameworks_dep kauth) + $(add_frameworks_dep kbookmarks) + $(add_frameworks_dep kcmutils) + $(add_frameworks_dep kcodecs) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep kdeclarative) + $(add_frameworks_dep kded) + $(add_frameworks_dep kdelibs4support) + $(add_frameworks_dep kemoticons) + $(add_frameworks_dep kglobalaccel) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemmodels) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep knotifyconfig) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kpeople) + $(add_frameworks_dep krunner) + $(add_frameworks_dep kservice) + $(add_frameworks_dep kwallet) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep plasma) + $(add_frameworks_dep solid) + $(add_frameworks_dep sonnet) + $(add_plasma_dep kwin) + $(add_plasma_dep plasma-workspace) + $(add_qt_dep qtconcurrent) + $(add_qt_dep qtdbus) + $(add_qt_dep qtdeclarative) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsql) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtx11extras) + $(add_qt_dep qtxml) + media-libs/phonon[qt5] + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libxcb + x11-libs/libxkbfile + fontconfig? ( + media-lib
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: bf31d2035f1bdc787ab0323ac7cd756f189436d8 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 8 13:06:57 2017 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 8 14:22:59 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf31d203 kde-plasma/plasma-desktop: Backport some fixes - containment hover regression from 5.8.5 - plasmashell crash with invisible virtual desktop pager - taskbar memleak Package-Manager: portage-2.3.0 .../files/plasma-desktop-5.8.5-crashfix.patch | 57 +++ .../files/plasma-desktop-5.8.5-hover-state.patch | 33 + .../plasma-desktop-5.8.5-taskman-memleak.patch | 43 ++ .../plasma-desktop/plasma-desktop-5.8.5-r1.ebuild | 165 + 4 files changed, 298 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.8.5-crashfix.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.8.5-crashfix.patch new file mode 100644 index ..9e4bdd9 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.8.5-crashfix.patch @@ -0,0 +1,57 @@ +commit d674ede6e5f22281fa2461546ddc25ff5f3a7015 +Author: Kai Uwe Broulik +Date: Tue Jan 3 09:38:50 2017 +0100 + +[Panel Containment] Explicitly bind visible on both the container and the applet + +While trying to fix a random plasmashell crash I was getting fairly often (and I hoped +was fixed by David's last spacer fix) I found that the cause was actually in virtual desktop pager. + +The virtual desktop pager is hidden when there's just one desktop and it will not update its +models in this case to save resources. Back when I added this I already noticed that sometimes +the pager (usually after one "open and close panelcontroller" cycle) still thought it was visible. +It was even weirder than that, I found out that on teardown it suddenly thought it became visible. +This had it populate its model which in turn spawned QML items, all of this whilst the panel was +already in the process of destroying its children, leading to a crash. + +Differential Revision: https://phabricator.kde.org/D3897 + +diff --git a/containments/panel/contents/ui/main.qml b/containments/panel/contents/ui/main.qml +index e9afa86..5bb5283 100644 +--- a/containments/panel/contents/ui/main.qml b/containments/panel/contents/ui/main.qml +@@ -54,20 +54,27 @@ DragDrop.DropArea { + + //BEGIN functions + function addApplet(applet, x, y) { ++// don't show applet if it choses to be hidden but still make it ++// accessible in the panelcontroller ++// Due to the nature of how "visible" propagates in QML, we need to ++// explicitly set it on the container (so the Layout ignores it) ++// as well as the applet (so it reliably knows about), otherwise it can ++// happen that an applet erroneously thinks it's visible, or suddenly ++// starts thinking that way on teardown (virtual desktop pager) ++// leading to crashes ++var visibleBinding = Qt.binding(function() { ++return applet.status !== PlasmaCore.Types.HiddenStatus || (!plasmoid.immutable && plasmoid.userConfiguring); ++}) ++ + var container = appletContainerComponent.createObject(root, { + applet: applet, +- +-// don't show applet if it choses to be hidden but still make it +-// accessible in the panelcontroller +-visible: Qt.binding(function() { +-return applet.status !== PlasmaCore.Types.HiddenStatus || (!plasmoid.immutable && plasmoid.userConfiguring) +-}) ++visible: visibleBinding + }); + + applet.parent = container; + applet.anchors.fill = container; + +-applet.visible = true; ++applet.visible = visibleBinding; + + // Is there a DND placeholder? Replace it! + if (dndSpacer.parent === currentLayout) { diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.8.5-hover-state.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.8.5-hover-state.patch new file mode 100644 index ..5e645c5 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.8.5-hover-state.patch @@ -0,0 +1,33 @@ +commit e80a4b87cfa98708724942794ca6f051974bb5c0 +Author: Eike Hein +Date: Tue Jan 3 16:30:54 2017 +0900 + +Don't clear hover state while a child dialog is open. + +Otherwise it won't stay open. + +Fixes regression from 7585f295363532eff51f7e11ef6b62925117aba4. + +The bug number referenced in the original change is invalid, but +I don't think this should invalidate the intent of that fix. Kai +please let me know the correct bug number so I can double-check. + +BUG:374291 +CCMAIL:k...@privat.broulik.de + +diff --git a/containments/desktop/package/contents/ui/FolderView.qml b/containments/desktop/package/contents/ui/FolderView.qml +index 1fd8dbb..8936532 100644 +--- a/containments/desktop/package/contents/ui/FolderView.qml
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
commit: 3af30814658ebbd18853da1e8ab9a0329812b286 Author: Andreas Sturmlechner gmail com> AuthorDate: Sat Mar 5 17:51:37 2016 + Commit: Michael Palimaka gentoo org> CommitDate: Sun Mar 13 18:54:20 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3af30814 kde-plasma/plasma-desktop: Fix task icons w/ >=KF-5.19 Requires kde-frameworks/plasma-5.19.0 Package-Manager: portage-2.2.27 .../files/plasma-desktop-5.5.5-fix-task-icon.patch | 49 +++ .../plasma-desktop/plasma-desktop-5.5.5-r1.ebuild | 142 + 2 files changed, 191 insertions(+) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.5.5-fix-task-icon.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.5.5-fix-task-icon.patch new file mode 100644 index 000..b885f32 --- /dev/null +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.5.5-fix-task-icon.patch @@ -0,0 +1,49 @@ +From: David Rosca +Date: Fri, 19 Feb 2016 15:20:00 + +Subject: TaskManager: Don't use Plasma theme icons in task icon +X-Git-Tag: v5.5.95 +X-Git-Url: http://quickgit.kde.org/?p=plasma-desktop.git&a=commitdiff&h=310cffc34156b094c0c68d5002ecd2d2936ac546 +--- +TaskManager: Don't use Plasma theme icons in task icon + +Summary: +Also disable animation for icon in tooltip (normal Plasma tooltips +no longer have animated icon too). + +BUG: 359387 + +Reviewers: #plasma, hein + +Reviewed By: hein + +Subscribers: plasma-devel + +Projects: #plasma + +Differential Revision: https://phabricator.kde.org/D991 +--- + + +--- a/applets/taskmanager/package/contents/ui/Task.qml b/applets/taskmanager/package/contents/ui/Task.qml +@@ -293,6 +293,7 @@ + + active: task.containsMouse || task.showingContextMenu + enabled: true ++usesPlasmaTheme: false + + source: model.DecorationRole + + +--- a/applets/taskmanager/package/contents/ui/ToolTipDelegate.qml b/applets/taskmanager/package/contents/ui/ToolTipDelegate.qml +@@ -334,6 +334,8 @@ + x: _s + width: units.iconSizes.desktop + height: width ++animated: false ++usesPlasmaTheme: false + source: icon + } + } + diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.5.5-r1.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.5.5-r1.ebuild new file mode 100644 index 000..60c5d76 --- /dev/null +++ b/kde-plasma/plasma-desktop/plasma-desktop-5.5.5-r1.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +FRAMEWORKS_MINIMAL="5.19.0" +KDE_HANDBOOK="true" +KDE_TEST="true" +inherit kde5 + +DESCRIPTION="KDE Plasma desktop" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+evdev +fontconfig gtk2 gtk3 legacy-systray pulseaudio +qt4 touchpad" + +COMMON_DEPEND=" + $(add_frameworks_dep attica) + $(add_frameworks_dep baloo) + $(add_frameworks_dep kactivities) + $(add_frameworks_dep karchive) + $(add_frameworks_dep kauth) + $(add_frameworks_dep kbookmarks) + $(add_frameworks_dep kcmutils) + $(add_frameworks_dep kcodecs) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep kdeclarative) + $(add_frameworks_dep kded) + $(add_frameworks_dep kdelibs4support) + $(add_frameworks_dep kemoticons) + $(add_frameworks_dep kglobalaccel) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemmodels) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep knotifyconfig) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kpeople) + $(add_frameworks_dep krunner) + $(add_frameworks_dep kservice) + $(add_frameworks_dep kwallet) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep plasma) + $(add_frameworks_dep solid) + $(add_frameworks_dep sonnet) + $(add_plasma_dep kwin) + $(add_plasma_dep plasma-workspace) + $(add_qt_dep qtconcurrent) + $(add_qt_dep qtdbus) + $(add_qt_dep qtdeclarative) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsql) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtx11extras) + $(add_qt_dep qtxml) + media-libs/phonon[qt5] + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXfixes +
[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/
commit: 27c4032b49faacc4812030b9f4b131331cace988 Author: Michael Palimaka gentoo org> AuthorDate: Mon Jan 18 17:04:12 2016 + Commit: Michael Palimaka gentoo org> CommitDate: Mon Jan 18 17:25:54 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c4032b kde-plasma/plasma-desktop: remove unused patch Package-Manager: portage-2.2.26 ...plasma-desktop-5.5.0-favourites-migration.patch | 26 -- 1 file changed, 26 deletions(-) diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.5.0-favourites-migration.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.5.0-favourites-migration.patch deleted file mode 100644 index 60dd237..000 --- a/kde-plasma/plasma-desktop/files/plasma-desktop-5.5.0-favourites-migration.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 97ced66da372737ae5d36d86c9bc0c6fe684d842 Mon Sep 17 00:00:00 2001 -From: Eike Hein -Date: Tue, 8 Dec 2015 20:26:26 +0100 -Subject: [PATCH] Fix migration of multiple favorites. - -BUG:356398 - desktoppackage/contents/updates/obsolete_kickoffrc.js | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/desktoppackage/contents/updates/obsolete_kickoffrc.js b/desktoppackage/contents/updates/obsolete_kickoffrc.js -index aae077f..d92cae9 100644 a/desktoppackage/contents/updates/obsolete_kickoffrc.js -+++ b/desktoppackage/contents/updates/obsolete_kickoffrc.js -@@ -1,7 +1,7 @@ - var kickoffConfig = ConfigFile("kickoffrc"); - - kickoffConfig.group = "Favorites"; --var favorites = kickoffConfig.readEntry("FavoriteURLs"); -+var favorites = kickoffConfig.readEntry("FavoriteURLs").split(','); - - kickoffConfig.group = "SystemApplications"; - var systemApplications = kickoffConfig.readEntry("DesktopFiles").split(','); --- -2.4.10 -