- libX11-1.1.4-XF86Suspend.patch: add XF86Suspend and XF86Hibernate

keysyms.
This commit is contained in:
Peter Hutterer 2008-11-19 01:38:04 +00:00
parent d1ca5a5789
commit 06c7191317
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 7aca689ce14d314b5c8c72c8df76f53f76ab467c Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri, 14 Nov 2008 10:32:50 +1000
Subject: [PATCH] Add XF86Suspend, XF86Hibernate to KeysymDB.
---
src/XKeysymDB | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/XKeysymDB b/src/XKeysymDB
index e6fec07..5e66882 100644
--- a/src/XKeysymDB
+++ b/src/XKeysymDB
@@ -351,6 +351,8 @@ XF86Red :1008FFA3
XF86Green :1008FFA4
XF86Yellow :1008FFA5
XF86Blue :1008FFA6
+XF86Suspend :1008FFA7
+XF86Hibernate :1008FFA8
! XFree86 special action keys
XF86_Switch_VT_1 :1008FE01
--
1.6.0.3

View File

@ -1,7 +1,7 @@
Summary: X.Org X11 libX11 runtime library Summary: X.Org X11 libX11 runtime library
Name: libX11 Name: libX11
Version: 1.1.4 Version: 1.1.4
Release: 5%{?dist} Release: 6%{?dist}
License: MIT License: MIT
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.x.org URL: http://www.x.org
@ -18,6 +18,7 @@ Patch2: dont-forward-keycode-0.patch
Patch3: libX11-1.1.4-xcb-xreply-leak.patch Patch3: libX11-1.1.4-xcb-xreply-leak.patch
# Committed upstream, should be in next release # Committed upstream, should be in next release
Patch4: libX11-1.1.4-keysyms.patch Patch4: libX11-1.1.4-keysyms.patch
Patch5: libX11-1.1.4-XF86Suspend.patch
BuildRequires: pkgconfig BuildRequires: pkgconfig
# xproto >= 7.0.6 required # xproto >= 7.0.6 required
@ -60,6 +61,7 @@ X.Org X11 libX11 development package
%patch2 -p1 -b .dont-forward-keycode-0 %patch2 -p1 -b .dont-forward-keycode-0
%patch3 -p1 -b .xcb-xreply-leak %patch3 -p1 -b .xcb-xreply-leak
%patch4 -p1 -b .keysyms %patch4 -p1 -b .keysyms
%patch5 -p1 -b .xf86suspend
%build %build
%configure \ %configure \
@ -120,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %changelog
* Tue Nov 18 2008 Peter Hutterer <peter.hutterer@redhat.com> 1.1.4-6
- libX11-1.1.4-XF86Suspend.patch: add XF86Suspend and XF86Hibernate keysyms.
* Fri Oct 24 2008 Peter Hutterer <peter.hutterer@redhat.com> 1.1.4-5 * Fri Oct 24 2008 Peter Hutterer <peter.hutterer@redhat.com> 1.1.4-5
- libX11-1.1.4-keysysm.patch: add a bunch of keysyms for remote controls and - libX11-1.1.4-keysysm.patch: add a bunch of keysyms for remote controls and
special keys. special keys.