Accepting request 668320 from home:sndirsch:branches:Base:System

- u_fix-iso-left-tab.patch
  * fix Shift-Tab mapping (bsc#1122361)

OBS-URL: https://build.opensuse.org/request/show/668320
OBS-URL: https://build.opensuse.org/package/show/Base:System/console-setup?expand=0&rev=11
This commit is contained in:
Marcus Meissner 2019-01-24 15:29:08 +00:00 committed by Git OBS Bridge
parent eaee5c95ff
commit 37e24e3aa1
3 changed files with 37 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 24 13:39:33 UTC 2019 - sndirsch@suse.com
- u_fix-iso-left-tab.patch
* fix Shift-Tab mapping (bsc#1122361)
-------------------------------------------------------------------
Fri Jan 5 06:40:43 UTC 2018 - bwiedemann@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package console-setup
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@ Name: console-setup
Version: 1.134
Release: 0
Summary: Tools for configuring the console using X Window System key maps
License: GPL-2.0+ and MIT and SUSE-Public-Domain
License: GPL-2.0-or-later AND MIT AND SUSE-Public-Domain
Group: Applications/System
Url: http://packages.debian.org/cs/sid/console-setup
Source: http://ftp.de.debian.org/debian/pool/main/c/%{name}/%{name}_%{version}.tar.xz
@ -32,6 +32,8 @@ Patch1: console-setup-1.76-fsf-address.patch
Patch2: console-setup-1.134-perl526.patch
# PATCH-FIX-UPSTREAM in 1.174
Patch3: console-setup-1.134-reproducible.patch
# Fix Shift-Tab mapping (bsc#1122361)
Patch4: u_fix-iso-left-tab.patch
BuildRequires: perl
BuildRequires: perl(encoding)
@ -52,6 +54,7 @@ supports several languages that would be otherwise unsupported on the console
%patch1 -p1 -b .fsf-address
%patch2 -p1 -b .perl526
%patch3 -p1 -b .reproducible
%patch4 -p1 -b .shift-tab
%build
make build-linux

26
u_fix-iso-left-tab.patch Normal file
View File

@ -0,0 +1,26 @@
diff --git a/Keyboard/ckbcomp b/Keyboard/ckbcomp
index b0df60695362ae2930c1f8f3a9e2035b416c4288..47ec9224bde6f7c1416c07095de96819d93de803 100755
--- a/Keyboard/ckbcomp
+++ b/Keyboard/ckbcomp
@@ -2581,7 +2581,7 @@ if ($freebsd) {
'any' => 'NoSymbol', # Is this recognised by X ?
'VoidSymbol' => 'VoidSymbol',
'voidsymbol' => 'VoidSymbol', # Is this recognised by X ?
- 'ISO_Left_Tab' => 'Tab',
+ 'ISO_Left_Tab' => 'Meta_Tab',
'Clear' => 'VoidSymbol',
'Pause' => 'Pause',
'Scroll_Lock' => 'Scroll_Lock',
diff --git a/Keyboard/compose_translator b/Keyboard/compose_translator
index d478def19335cd6637fc63812fd2c111dff67983..3af492f771c16e220d61687fe356d780526d531d 100755
--- a/Keyboard/compose_translator
+++ b/Keyboard/compose_translator
@@ -1827,7 +1827,7 @@ my %xkbsym_table = (
'any' => 'NoSymbol', # Is this recognised by X ?
'VoidSymbol' => 'VoidSymbol',
'voidsymbol' => 'VoidSymbol', # Is this recognised by X ?
- 'ISO_Left_Tab' => 'Tab',
+ 'ISO_Left_Tab' => 'Meta_Tab',
'Clear' => 'VoidSymbol',
'Pause' => 'Pause',
'Scroll_Lock' => 'Scroll_Lock',