Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37902475
en ru br
ALT Linux repos
S:1.4.1-alt2
5.0: 1.2.0-alt2
4.1: 1.1.1-alt1.M41.1

Group :: System/X11
RPM: xorg-drv-void

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: xorg-drv-void-1.1.1-alt1.M41.1.patch
Download


 .gear/rules                                        |    2 +
 .../tags/e5f8dc49caa1f083d7202d4d0c92459795dd0094  |    6 ++
 .gear/tags/list                                    |    1 +
 man/Makefile.am                                    |    1 -
 src/void.c                                         |    4 +-
 xorg-drv-void.spec                                 |   68 ++++++++++++++++++++
 6 files changed, 80 insertions(+), 2 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..32dfcf8
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: xf86-input-void-@version@:.
+diff: xf86-input-void-@version@:. .
diff --git a/.gear/tags/e5f8dc49caa1f083d7202d4d0c92459795dd0094 b/.gear/tags/e5f8dc49caa1f083d7202d4d0c92459795dd0094
new file mode 100644
index 0000000..6912ae9
--- /dev/null
+++ b/.gear/tags/e5f8dc49caa1f083d7202d4d0c92459795dd0094
@@ -0,0 +1,6 @@
+object 4e43b6206bc719d68ced1ca793ca4e3b938d8e8e
+type commit
+tag xf86-input-void-1.1.1
+tagger Alan Coopersmith <alan.coopersmith@sun.com> 1189193858 -0700
+
+xf86-input-void 1.1.1
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..30ccadb
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+e5f8dc49caa1f083d7202d4d0c92459795dd0094 xf86-input-void-1.1.1
diff --git a/man/Makefile.am b/man/Makefile.am
index bf7ec17..f0eb29b 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,4 +1,3 @@
-# $Id$
 #
 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
 # 
diff --git a/src/void.c b/src/void.c
index bf5848c..a5a47be 100644
--- a/src/void.c
+++ b/src/void.c
@@ -209,7 +209,9 @@ xf86VoidControlProc(DeviceIntPtr device, int what)
 
 	if (InitValuatorClassDeviceStruct(device, 
 					  2,
-					  xf86GetMotionEvents, 
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
+					  xf86GetMotionEvents,
+#endif
 					  0,
 					  Absolute) == FALSE) {
 	  InitValuatorAxisStruct(device,
diff --git a/xorg-drv-void.spec b/xorg-drv-void.spec
new file mode 100644
index 0000000..f67345b
--- /dev/null
+++ b/xorg-drv-void.spec
@@ -0,0 +1,68 @@
+%define _modulesdir %_libdir/X11/modules
+
+Name: xorg-drv-void
+Version: 1.1.1
+Release: alt2
+Serial: 1
+Summary: null input driver
+License: MIT/X11
+Group: System/X11
+Url: http://xorg.freedesktop.org
+Packager: Valery Inozemtsev <shrek@altlinux.ru>
+
+Requires: XORG_ABI_XINPUT = %get_xorg_abi_xinput
+Provides: xorg-x11-drv-void = %serial:%version-%release
+Obsoletes: xorg-x11-drv-void
+
+Source: %name-%version.tar
+Patch: %name-%version-%release.patch
+
+BuildRequires: xorg-x11-sdk >= 1.4.0.90-alt21 xorg-x11-proto-devel xorg-util-macros
+
+%description
+void is an dummy/null Xorg input driver.  It doesn't connect
+to any physical device, and it never delivers any events.  It functions
+as  both  a  pointer and keyboard device, and may be used as X server's
+core pointer and/or core keyboard.  It's purpose  is  to  allow  the  X
+server to operate without a core pointer and/or core keyboard.
+
+
+%prep
+%setup -q
+%patch -p1
+
+%build
+%autoreconf
+%configure \
+	--with-xorg-module-dir=%_modulesdir \
+	--disable-static
+
+%make_build
+
+%install
+%make DESTDIR=%buildroot install
+
+%files
+%_modulesdir/input/*.so
+%_man4dir/*
+
+%changelog
+* Wed Jun 04 2008 Valery Inozemtsev <shrek@altlinux.ru> 1:1.1.1-alt2
+- renamed xorg-x11-drv-void to xorg-drv-void
+- added requires XORG_ABI_XINPUT = 2.0
+
+* Mon Sep 10 2007 Valery Inozemtsev <shrek@altlinux.ru> 1:1.1.1-alt1
+- 1.1.1
+
+* Sat May 13 2006 Valery Inozemtsev <shrek@altlinux.ru> 1:1.1.0-alt1
+- 1.1.0
+
+* Wed Dec 28 2005 Valery Inozemtsev <shrek@altlinux.ru> 1:1.0.0.5-alt1
+- Xorg-7.0
+
+* Sun Dec 04 2005 Valery Inozemtsev <shrek@altlinux.ru> 1.0.0.3-alt1
+- Xorg-7.0RC3
+
+* Sun Nov 27 2005 Valery Inozemtsev <shrek@altlinux.ru> 1.0.0.2-alt0.1
+- initial release
+
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin