- Add patch from upstream to add keysyms for brightness buttons (#330491).

This commit is contained in:
Kristian Høgsberg 2007-10-19 19:26:16 +00:00
parent 958699577b
commit c20ecc792d
2 changed files with 28 additions and 1 deletions

22
brightness-keysyms.patch Normal file
View File

@ -0,0 +1,22 @@
commit 7c996f78914c77fe17e9f4feede980d895d9df51
Author: Eric Anholt <eric@anholt.net>
Date: Tue Aug 28 15:15:11 2007 -0700
Add XF86 keyboard/monitor brightness keysyms to the keysymbdb.
diff --git a/src/XKeysymDB b/src/XKeysymDB
index f146950..5390444 100644
--- a/src/XKeysymDB
+++ b/src/XKeysymDB
@@ -199,6 +199,11 @@ XeroxPointerButton5 :10070005
! The definitions here should match <X11/XF86keysym.h>
XF86ModeLock :1008FF01
+XF86MonBrightnessUp :1008FF02
+XF86MonBrightnessDown :1008FF03
+XF86KbdLightOnOff :1008FF04
+XF86KbdBrightnessUp :1008FF05
+XF86KbdBrightnessDown :1008FF06
XF86Standby :1008FF10
XF86AudioLowerVolume :1008FF11
XF86AudioMute :1008FF12

View File

@ -1,7 +1,7 @@
Summary: X.Org X11 libX11 runtime library
Name: libX11
Version: 1.1.3
Release: 3%{?dist}
Release: 4%{?dist}
License: MIT/X11
Group: System Environment/Libraries
URL: http://www.x.org
@ -16,6 +16,7 @@ Patch0: libX11-0.99.3-datadir-locale-dir-fix.patch
Patch2: dont-forward-keycode-0.patch
Patch3: bug-201284.patch
Patch4: libX11-1.1.3-xkb-lock-fix.patch
Patch5: brightness-keysyms.patch
BuildRequires: pkgconfig
# xproto >= 7.0.6 required
@ -58,6 +59,7 @@ X.Org X11 libX11 development package
%patch2 -p1 -b .dont-forward-keycode-0
%patch3 -p1 -b .3-bug201284
%patch4 -p1 -b .jx
%patch5 -p1 -b .brightness-keysyms
%build
%configure \
@ -247,6 +249,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3*
%changelog
* Fri Oct 19 2007 Kristian Høgsberg <krh@redhat.com> - 1.1.3-4
- Add patch from upstream to add keysyms for brightness buttons (#330491).
* Tue Oct 16 2007 Adam Jackson <ajax@redhat.com> 1.1.3-3
- libX11-devel Requires: libxcb-devel.