[neon/kde/plasma-desktop/Neon/release] debian/patches: add patch recommended by nate

Jonathan Riddell null at kde.org
Thu Feb 18 10:25:32 GMT 2021


Git commit 31ee93b6e2bad93ea9e8417c06d6aad5da7739fd by Jonathan Riddell.
Committed on 18/02/2021 at 10:25.
Pushed by jriddell into branch 'Neon/release'.

add patch recommended by nate

A  +26   -0    debian/patches/keyboard-repeat.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/kde/plasma-desktop/commit/31ee93b6e2bad93ea9e8417c06d6aad5da7739fd

diff --git a/debian/patches/keyboard-repeat.diff b/debian/patches/keyboard-repeat.diff
new file mode 100644
index 0000000..5477dde
--- /dev/null
+++ b/debian/patches/keyboard-repeat.diff
@@ -0,0 +1,26 @@
+commit 5550af1fd10dccda80be4586f19e3aa0995be2bc
+Author: Jan Blackquill <uhhadd at gmail.com>
+Date:   Wed Feb 17 12:34:15 2021 -0500
+
+    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
+
+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")
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f41302f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+keyboard-repeat.diff


More information about the Neon-commits mailing list