summaryrefslogtreecommitdiff
path: root/kde-plasma/plasma-pa
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/plasma-pa')
-rw-r--r--kde-plasma/plasma-pa/Manifest4
-rw-r--r--kde-plasma/plasma-pa/files/plasma-pa-5.27.3-fix-show-virtual-devices.patch31
-rw-r--r--kde-plasma/plasma-pa/files/plasma-pa-5.27.3-improve-DeviceListItem-sizing.patch67
-rw-r--r--kde-plasma/plasma-pa/plasma-pa-5.27.3-r1.ebuild (renamed from kde-plasma/plasma-pa/plasma-pa-5.27.3.ebuild)5
4 files changed, 106 insertions, 1 deletions
diff --git a/kde-plasma/plasma-pa/Manifest b/kde-plasma/plasma-pa/Manifest
index 4be13edbef08..316c32f0ef98 100644
--- a/kde-plasma/plasma-pa/Manifest
+++ b/kde-plasma/plasma-pa/Manifest
@@ -1,5 +1,7 @@
+AUX plasma-pa-5.27.3-fix-show-virtual-devices.patch 914 BLAKE2B 1666fda7bd7162fe0b93f94719d9c043c2998060e0d5f0b5a530121239f744849ee41b9360f765ce3ec6ddc3533f7280eca2a84260bd84812f8eb6a9502bb7dd SHA512 09fbf54cd3e02ec07c9e5540903abf50b3cf65dab7ef5cddbca251075035a0ba536ffb34133fd89a4582e8eada33c3ec8a3d35262c1446437bf39ccd4bfd0458
+AUX plasma-pa-5.27.3-improve-DeviceListItem-sizing.patch 2891 BLAKE2B d1469eb5773057b598c267be0443fa2d0397ac229f5672d4a5c3cbf12427e00d1fb91d41028fcc033ef9d5c7bb46217ad13db10697dd218ef713238e79812309 SHA512 f8180676a4b730aae80ebf563b2a4e09d538c6ca8e9d84891089425c905cf52101b67307ec5d02bc33937f38ef6bd3e4fb8bd3e732f3a5c167705d130c5229f8
DIST plasma-pa-5.26.5.tar.xz 142680 BLAKE2B ea94c9e3440803f96ccdd3835e24d776851e30aef3b78c3c5b810ac00a8ec540679d95e83eb7559f0e89e7efff510aecaf8b193d86f5ac57de5805809eb1975b SHA512 91607057095e77b320978f44766a2d71fbd4c7cac6291052099a90b6f527f2a2bb5db5bff2af117708a22aeaac669efbac9720f8065778a909c4dc1125411f9d
DIST plasma-pa-5.27.3.tar.xz 162196 BLAKE2B 15b8a7c5417fa5b63d0715474d7116d88a951349045ec9a67ac1b84240bb32c50f4fe8c690a6157a67b69d60930bc93aed024674787e8df655306c9bb38fee35 SHA512 eaa3c60b95cfade499ff4db45b5b349a8454468bac8b6eaf67aec60e69141a2c4a6494fbc3954f24b72adbd335f5c8abe32a361a65c61f7680173c863a02e46e
EBUILD plasma-pa-5.26.5.ebuild 910 BLAKE2B bdd957b003f107d8cbebd24924817b115cd56da946f298218e13cffd0f1b0b560a74318e6510ef5cfcdebe1f31c36c3d009cc56bc2fc72c272af0881c1b55d20 SHA512 1f28c74a73f32ec6162ca94546b6bddbc220602e6103697510a02eda73c3bd1819cfa8b760d2d32bc798cc1f9d828baf41742cfe07c5614089895be1967f81ab
-EBUILD plasma-pa-5.27.3.ebuild 914 BLAKE2B 6861012fca585d1646c04ab8156ad558b7be83d4a56376b7d71e66df2ab74ec2877d1b24b76696c00e4b12ddb7ab3610712a2483a646556b7fd02602c742ab71 SHA512 189021effe7c55bbdf33b2e9a27edf57cf6d0a85bf5e24a4bbf5f89db6dce7d32cc1eb84ea42a2364f2b10dad57c9d40398e1e93c5924b33e4039a123506dd9d
+EBUILD plasma-pa-5.27.3-r1.ebuild 1051 BLAKE2B f40fb7fb0773236e588efac32fd5926f3787ed1ea38b16dc97f9e9cfc913ec4a62898d2c71139eb9bbf3b3628f00cf77d6c60c8247436fec94b5b69b40965169 SHA512 ca07f2b7673a71890313f3c3b3caf82601e8bce1b9fac4ad742b9c1593d1ac4a17494ef507fbafc64ea7b17c25831eb535a3383b35cd0577563424ba8e960d85
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
diff --git a/kde-plasma/plasma-pa/files/plasma-pa-5.27.3-fix-show-virtual-devices.patch b/kde-plasma/plasma-pa/files/plasma-pa-5.27.3-fix-show-virtual-devices.patch
new file mode 100644
index 000000000000..042323757028
--- /dev/null
+++ b/kde-plasma/plasma-pa/files/plasma-pa-5.27.3-fix-show-virtual-devices.patch
@@ -0,0 +1,31 @@
+From 1e4d0d567a72d444dff1f90bb9c1712212d6e07e Mon Sep 17 00:00:00 2001
+From: Fushan Wen <qydwhotmail@gmail.com>
+Date: Sat, 18 Mar 2023 16:31:57 +0800
+Subject: [PATCH] applet: add missing function for "Show virtual devices" menu
+ item
+
+BUG: 465996
+FIXED-IN: 5.27.4
+(cherry picked from commit 5430caf2483203de5f3047408582bec953aa8946)
+---
+ applet/contents/ui/main.qml | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/applet/contents/ui/main.qml b/applet/contents/ui/main.qml
+index aa595204..f65ec85d 100644
+--- a/applet/contents/ui/main.qml
++++ b/applet/contents/ui/main.qml
+@@ -754,6 +754,10 @@ Item {
+ KQCAddons.KCMShell.openSystemSettings("kcm_pulseaudio");
+ }
+
++ function action_showVirtualDevices() {
++ Plasmoid.configuration.showVirtualDevices = !Plasmoid.configuration.showVirtualDevices;
++ }
++
+ Component.onCompleted: {
+ MicrophoneIndicator.init();
+
+--
+GitLab
+
diff --git a/kde-plasma/plasma-pa/files/plasma-pa-5.27.3-improve-DeviceListItem-sizing.patch b/kde-plasma/plasma-pa/files/plasma-pa-5.27.3-improve-DeviceListItem-sizing.patch
new file mode 100644
index 000000000000..b37d08a745fd
--- /dev/null
+++ b/kde-plasma/plasma-pa/files/plasma-pa-5.27.3-improve-DeviceListItem-sizing.patch
@@ -0,0 +1,67 @@
+From b6715dc950ab5019542f2f7a77e9f2aa4afab9dc Mon Sep 17 00:00:00 2001
+From: Oliver Beard <olib141@outlook.com>
+Date: Tue, 21 Mar 2023 20:19:38 +0000
+Subject: [PATCH] kcm/DeviceListItem: Set width for comboboxes, with correctly
+ sized popup
+
+This commit sets a preferred width for the port/profile comboboxes, so that they appear consistent. The full names are visible by opening the combobox, as the popup is now sized to show the full name. It is also ensured that the popup is positioned correctly to not go off the page when wide.
+
+
+(cherry picked from commit 82a276183fac1ca79d7fe2a14d3f19e9a96ba830)
+---
+ src/kcm/package/contents/ui/DeviceListItem.qml | 18 ++++++++++++++++--
+ 1 file changed, 16 insertions(+), 2 deletions(-)
+
+diff --git a/src/kcm/package/contents/ui/DeviceListItem.qml b/src/kcm/package/contents/ui/DeviceListItem.qml
+index 714884c2..09feea71 100644
+--- a/src/kcm/package/contents/ui/DeviceListItem.qml
++++ b/src/kcm/package/contents/ui/DeviceListItem.qml
+@@ -94,7 +94,7 @@ ColumnLayout {
+
+ readonly property var ports: Ports
+
+- Layout.minimumWidth: Kirigami.Units.gridUnit * 10
++ Layout.preferredWidth: Kirigami.Units.gridUnit * 10
+ visible: portBox.count > 1
+
+ onModelChanged: currentIndex = ActivePortIndex
+@@ -119,6 +119,13 @@ ColumnLayout {
+ }
+ model = items;
+ }
++
++ // Ensure the popup is sufficiently wide to list *full* device names
++ // and is correctly positioned to not go off the page
++ popup.width: Math.max(implicitWidth, width)
++ popup.leftMargin: delegate.ListView.view.Layout.leftMargin
++ popup.rightMargin: delegate.ListView.view.Layout.rightMargin
++ popup.x: mirrored ? 0 : width - popup.width
+ }
+
+ Label {
+@@ -133,7 +140,7 @@ ColumnLayout {
+
+ readonly property var card: paCardModel.data(paCardModel.indexOfCardNumber(CardIndex), paCardModel.role("PulseObject"))
+
+- Layout.minimumWidth: Kirigami.Units.gridUnit * 12
++ Layout.preferredWidth: Kirigami.Units.gridUnit * 12
+ visible: profileBox.count > 1
+ textRole: "description"
+
+@@ -141,6 +148,13 @@ ColumnLayout {
+ currentIndex: card ? model.indexOf(card.profiles[card.activeProfileIndex]) : -1
+
+ onActivated: index => card.activeProfileIndex = card.profiles.indexOf(model[index])
++
++ // Ensure the popup is sufficiently wide to list *full* device names
++ // and is correctly positioned to not go off the page
++ popup.width: Math.max(implicitWidth, width)
++ popup.leftMargin: delegate.ListView.view.Layout.leftMargin
++ popup.rightMargin: delegate.ListView.view.Layout.rightMargin
++ popup.x: mirrored ? 0 : width - popup.width
+ }
+ }
+
+--
+GitLab
+
diff --git a/kde-plasma/plasma-pa/plasma-pa-5.27.3.ebuild b/kde-plasma/plasma-pa/plasma-pa-5.27.3-r1.ebuild
index 4227c7566c83..c758fefd0a93 100644
--- a/kde-plasma/plasma-pa/plasma-pa-5.27.3.ebuild
+++ b/kde-plasma/plasma-pa/plasma-pa-5.27.3-r1.ebuild
@@ -34,3 +34,8 @@ RDEPEND="${DEPEND}
x11-themes/sound-theme-freedesktop
"
BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:5"
+
+PATCHES=(
+ "${FILESDIR}/${P}-fix-show-virtual-devices.patch" # KDE-bug 465996
+ "${FILESDIR}/${P}-improve-DeviceListItem-sizing.patch"
+)