From 09c9255c997252273ecbe2138379df2361202b33 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 22 Aug 2006 14:58:36 +0000 Subject: [PATCH] - Add Compose semantics to right Alt when that's ISO_Level3_Shift (#193922) --- xkeyboard-config-0.8-composify-ralt.patch | 23 +++++++++++++++++++++++ xkeyboard-config.spec | 7 ++++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 xkeyboard-config-0.8-composify-ralt.patch diff --git a/xkeyboard-config-0.8-composify-ralt.patch b/xkeyboard-config-0.8-composify-ralt.patch new file mode 100644 index 0000000..758d8b5 --- /dev/null +++ b/xkeyboard-config-0.8-composify-ralt.patch @@ -0,0 +1,23 @@ +--- xkeyboard-config-0.8/symbols/level3.bak 2006-08-15 11:16:23.000000000 +0200 ++++ xkeyboard-config-0.8/symbols/level3 2006-08-15 11:45:34.000000000 +0200 +@@ -10,11 +10,15 @@ + // third engraved symbol + default partial modifier_keys + xkb_symbols "ralt_switch" { +- key { +- type[Group1]="ONE_LEVEL", +- symbols[Group1] = [ ISO_Level3_Shift ] +- }; +- modifier_map Mod5 { ISO_Level3_Shift }; ++ // key { ++ // type[Group1]="ONE_LEVEL", ++ // symbols[Group1] = [ ISO_Level3_Shift ] ++ // }; ++ // modifier_map Mod5 { ISO_Level3_Shift }; ++ key { type[Group1]="TWO_LEVEL", ++ [ ISO_Level3_Shift, Multi_key ] }; ++ modifier_map Mod5 { }; ++ + }; + + // special case or right Alt switch - for use with grp:alts_toggle diff --git a/xkeyboard-config.spec b/xkeyboard-config.spec index 8deb22d..872af5f 100644 --- a/xkeyboard-config.spec +++ b/xkeyboard-config.spec @@ -4,13 +4,14 @@ Summary: xkeyboard-config alternative xkb data files Name: xkeyboard-config Version: 0.8 -Release: 2 +Release: 3 License: MIT Group: User Interface/X URL: http://www.x.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: http://xlibs.freedesktop.org/xkbdesc/%{name}-%{version}.tar.bz2 +Patch0: xkeyboard-config-0.8-composify-ralt.patch BuildArch: noarch @@ -38,6 +39,7 @@ xkeyboard-config alternative xkb data files %prep %setup -q +%patch0 -p1 -b .composify-ralt %build %configure \ @@ -74,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/X11/xkb/rules/xorg.xml %changelog +* Tue Aug 22 2006 Adam Jackson 0.8-3 +- Add Compose semantics to right Alt when that's ISO_Level3_Shift (#193922) + * Fri Jul 07 2006 Mike A. Harris 0.8-2 - Rename spec file from xorg-x11-xkbdata to xkeyboard-config.spec