- xkeyboard-config-1.4-battery.patch: add XF86 syms for Battery, Bluetooth,

Wlan and UWB to usinet.
This commit is contained in:
Peter Hutterer 2008-10-24 04:28:23 +00:00
parent eac7df1dfa
commit 64a3301c02
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,17 @@
diff -up xkeyboard-config-1.4/symbols/inet.orig xkeyboard-config-1.4/symbols/inet
--- xkeyboard-config-1.4/symbols/inet.orig 2008-10-24 11:49:36.000000000 +1030
+++ xkeyboard-config-1.4/symbols/inet 2008-10-24 11:49:52.000000000 +1030
@@ -158,9 +158,10 @@ xkb_symbols "evdev" {
key <I241> { [ XF86MailForward ] };
key <I242> { [ XF86Save ] };
key <I243> { [ XF86Documents ] };
-// key <I244> { [ ] }; // KEY_BATTERY
-// key <I245> { [ ] }; // KEY_BLUETOOTH
-// key <I246> { [ ] }; // KEY_WLAN
+ key <I244> { [ XF86Battery ] }; // KEY_BATTERY
+ key <I245> { [ XF86Bluetooth ] }; // KEY_BLUETOOTH
+ key <I246> { [ XF86WLAN ] }; // KEY_WLAN
+ key <I247> { [ XF86UWB ] }; // KEY_UWB
// key <I249> { [ ] }; // KEY_VIDEO_NEXT -- drive next video source
// key <I250> { [ ] }; // KEY_VIDEO_PREV -- drive previous video source
// key <I251> { [ ] }; // KEY_BRIGHTNESS_CYCLE -- bright up, max++ == min

View File

@ -4,7 +4,7 @@
Summary: xkeyboard-config alternative xkb data files
Name: xkeyboard-config
Version: 1.4
Release: 3%{?dist}
Release: 4%{?dist}
License: MIT
Group: User Interface/X
URL: http://www.x.org
@ -15,6 +15,8 @@ Patch1: olpc-xkeyboard-config-kz-group.patch
Patch2: usinet.patch
# FDO Bug 17975 (FIXED), taken from git.
Patch3: xkeyboard-config-1.4-tj-variant.patch
# Sent to svu, not committed yet (he's waiting for libX11 release)
Patch4: xkeyboard-config-1.4-battery.patch
BuildArch: noarch
@ -47,6 +49,7 @@ xkeyboard-config alternative xkb data files
%patch1 -p1 -b .kzgroup
%patch2 -p1 -b .usinet
%patch3 -p1 -b .tj-variants
%patch4 -p1 -b .battery
%build
%configure \
@ -86,6 +89,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/X11/xkb/rules/xorg.xml
%changelog
* Fri Oct 24 2008 Peter Hutterer <peter.hutterer@redhat.com> - 1.4-4
- xkeyboard-config-1.4-battery.patch: add XF86 syms for Battery, Bluetooth,
Wlan and UWB to usinet.
* Tue Oct 14 2008 Peter Hutterer <peter.hutterer@redhat.com> - 1.4-3
- xkeyboard-config-1.4-tj-variant.patch: add legacy and basic tj layouts
(#455796)