- Move F-12 patches forward, upstream is a bit unresponsive.

This commit is contained in:
Peter Hutterer 2010-04-06 00:16:14 +00:00
parent 8a6af34b4a
commit 6719a2c59c
3 changed files with 101 additions and 2 deletions

View File

@ -0,0 +1,62 @@
From 75435d0906fa6722155a445e694b5ff45f71608a Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu, 25 Feb 2010 10:10:14 +1000
Subject: [PATCH] Add Euro and New Shekel sign to israeli layout.
According to [1], the standard layout requires the shekel sign on AltGr + a,
although Windows has it on AltGr + 4. The latter is already in use for some
other character, so let's put it where the standard requires it to be.
Euro sign goes on AltGr + e.
This requires the inclusion of level3(ralt_switch) to get the IsoLevel3.
[1] http://en.wikipedia.org/wiki/Shekel_sign
Fedora Bug https://bugzilla.redhat.com/show_bug.cgi?id=542879
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
symbols/il | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/symbols/il b/symbols/il
index 4a3055d..cc29b12 100644
--- a/symbols/il
+++ b/symbols/il
@@ -16,7 +16,6 @@ xkb_symbols "basic" {
key <AD01> { [ slash, Q ] };
key <AD02> { [ apostrophe, W ] };
- key <AD03> { [ hebrew_qoph, E ] };
key <AD04> { [ hebrew_resh, R ] };
key <AD05> { [ hebrew_aleph,T ] };
key <AD06> { [ hebrew_tet, Y ] };
@@ -25,7 +24,6 @@ xkb_symbols "basic" {
key <AD09> { [ hebrew_finalmem, O ] };
key <AD10> { [ hebrew_pe, P ] };
- key <AC01> { [ hebrew_shin, A ] };
key <AC02> { [ hebrew_dalet,S ] };
key <AC03> { [ hebrew_gimel,D ] };
key <AC04> { [ hebrew_kaph, F ] };
@@ -52,6 +50,8 @@ xkb_symbols "basic" {
key <TLDE> { [ semicolon, asciitilde,0x10005b0 ]}; // Sheva
key <AB10> { [ period, question, 0x10005c3 ]}; // Sof Pasuq
+ key <AD03> { [ hebrew_qoph, E, EuroSign ]};
+ key <AC01> { [ hebrew_shin, A, 0x10020AA ]};
// The following may get overriden by the iso9995-3(basic101) symbols.
// therefore they are included here.
@@ -77,6 +77,8 @@ xkb_symbols "basic" {
key <AD12> { [ bracketleft, braceleft, 0x10005bd ]}; // Meteg
key <BKSL> { [ backslash, bar, 0x10005bb ]}; // Qubuts
+
+ include "level3(ralt_switch)"
};
--
1.6.6.1

View File

@ -0,0 +1,31 @@
From bd0e2bdba64173bbb82f85a3358dd85296ed86ee Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon, 15 Mar 2010 14:18:14 +1000
Subject: [PATCH] symbols/de: remove BKSP from neo layout.
All it does is assign backspace to it on all levels and we pick this up
through the pc symbols.
Fedora Bug 521482 <https://bugzilla.redhat.com/show_bug.cgi?id=521482>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
symbols/de | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/symbols/de b/symbols/de
index b23aaf6..02b7c45 100644
--- a/symbols/de
+++ b/symbols/de
@@ -287,8 +287,6 @@ xkb_symbols "neo" {
key <AE11> { [ minus, emdash, NoSymbol, U2011, minus, NoSymbol, hyphen ] };
key <AE12> { [ dead_grave, NoSymbol, dead_diaeresis, dead_dasia, U030F, NoSymbol, NoSymbol ] };
- key <BKSP> { [ BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, BackSpace ] };
-
// top row
// --------------------------------------------------------------
// xvlcwkhgfqß
--
1.6.6.1

View File

@ -4,7 +4,7 @@
Summary: X Keyboard Extension configuration data
Name: xkeyboard-config
Version: 1.8
Release: 3%{?dist}
Release: 4%{?dist}
License: MIT
Group: User Interface/X
URL: http://www.freedesktop.org/wiki/Software/XKeyboardConfig
@ -12,6 +12,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://xlibs.freedesktop.org/xkbdesc/%{name}-%{version}.tar.bz2
Patch02: 0001-Add-Euro-and-New-Shekel-sign-to-israeli-layout.patch
Patch03: 0001-symbols-de-remove-BKSP-from-neo-layout.patch
BuildArch: noarch
BuildRequires: pkgconfig
@ -38,7 +41,7 @@ fi
git add .
git commit -a -q -m "%{version} baseline."
#git am -p1 $(awk '/^Patch.*:/ { print "%{_sourcedir}/"$2 }' %{_specdir}/%{name}.spec)
git am -p1 $(awk '/^Patch.*:/ { print "%{_sourcedir}/"$2 }' %{_specdir}/%{name}.spec)
%build
%configure \
@ -76,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/X11/xkb/rules/xorg.xml
%changelog
* Tue Apr 06 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.8-4
- Move F-12 patches forward, upstream is a bit unresponsive.
* Tue Mar 02 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.8-3
- only package files in /usr/share/X11/xkb (#569400)