commit 3f5b866f238e915c695e5537be02e44335d64cd4
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Jun 2 12:16:19 2013 +0300

    add sample how to restore x11 zap

 evdev.conf                   | 6 ++++++
 xorg-driver-input-evdev.spec | 8 ++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/xorg-driver-input-evdev.spec b/xorg-driver-input-evdev.spec
index 3ee76b6..66a77cf 100644
--- a/xorg-driver-input-evdev.spec
+++ b/xorg-driver-input-evdev.spec
@@ -2,11 +2,12 @@ Summary:      X.org input driver for Linux generic event 
devices
 Summary(pl.UTF-8):     Sterownik wejściowy X.org dla ogólnych urządzeń 
linuksowych generujących zdarzenia
 Name:          xorg-driver-input-evdev
 Version:       2.8.0
-Release:       1
+Release:       2
 License:       MIT
 Group:         X11/Applications
 Source0:       
http://xorg.freedesktop.org/releases/individual/driver/xf86-input-evdev-%{version}.tar.bz2
 # Source0-md5: e9bef0779d364cb588aa93a0ee6736c8
+Source1:       evdev.conf
 URL:           http://xorg.freedesktop.org/
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake
@@ -60,10 +61,12 @@ Plik nagłówkowy sterownika evdev.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
+cp -p %{SOURCE1}  $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-evdev.conf
+
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
 
 %clean
@@ -72,6 +75,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc COPYING ChangeLog README
+%config(noreplace) %verify(not md5 mtime size) 
/etc/X11/xorg.conf.d/10-evdev.conf
 %attr(755,root,root) %{_libdir}/xorg/modules/input/evdev_drv.so
 %{_mandir}/man4/evdev.4*
 
diff --git a/evdev.conf b/evdev.conf
new file mode 100644
index 0000000..cc2b83f
--- /dev/null
+++ b/evdev.conf
@@ -0,0 +1,6 @@
+Section "InputClass"
+       Identifier "Keyboard Defaults"
+       MatchIsKeyboard "yes"
+# 
https://wiki.archlinux.org/index.php/Xorg#Ctrl.2BAlt.2BBackspace_does_not_work
+#      Option "XkbOptions" "terminate:ctrl_alt_bksp"
+EndSection
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-input-evdev.git/commitdiff/3f5b866f238e915c695e5537be02e44335d64cd4

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to