From 3ce76f50194048703d8dcbf1ff63ff152e4a7545 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Nov 07 2013 14:38:12 +0000 Subject: import xorg-x11-drv-vmmouse-13.0.0-8.el7.src.rpm --- diff --git a/.xorg-x11-drv-vmmouse.metadata b/.xorg-x11-drv-vmmouse.metadata new file mode 100644 index 0000000..c3b9ab9 --- /dev/null +++ b/.xorg-x11-drv-vmmouse.metadata @@ -0,0 +1 @@ +0fa67d2ca9b2b26d32b93cc030fc3ea28964fe81 SOURCES/xf86-input-vmmouse-13.0.0.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/vmmouse-12.6.9-iopl-revert.patch b/SOURCES/vmmouse-12.6.9-iopl-revert.patch new file mode 100644 index 0000000..4a3b801 --- /dev/null +++ b/SOURCES/vmmouse-12.6.9-iopl-revert.patch @@ -0,0 +1,34 @@ +From e9ef63e19d8f9993950f1f06299aee1eb18ded9f Mon Sep 17 00:00:00 2001 +From: Peter Hutterer +Date: Thu, 1 Jul 2010 08:45:53 +1000 +Subject: [PATCH] Revert "Remove call to iopl(). It's not portable and isn't necessary." + +https://bugzilla.redhat.com/show_bug.cgi?id=604660 + +For details, see: +https://bugzilla.novell.com/show_bug.cgi?id=604966 + +This reverts commit bcdec3d0cd4434770cd841c33c030e0d7203881f. +--- + tools/vmmouse_detect.c | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +diff --git a/tools/vmmouse_detect.c b/tools/vmmouse_detect.c +index ac238b4..cfb92e1 100644 +--- a/tools/vmmouse_detect.c ++++ b/tools/vmmouse_detect.c +@@ -53,6 +53,11 @@ main(void) + signal(SIGSEGV, segvCB); + + #if defined __i386__ || defined __x86_64__ ++ /* ++ * To access i/o ports above 0x3ff, we need to be in iopl(3). ++ */ ++ ++ iopl(3); + if (VMMouseClient_Enable()) { + VMMouseClient_Disable(); + return 0; +-- +1.7.1 + diff --git a/SPECS/xorg-x11-drv-vmmouse.spec b/SPECS/xorg-x11-drv-vmmouse.spec new file mode 100644 index 0000000..44aaf54 --- /dev/null +++ b/SPECS/xorg-x11-drv-vmmouse.spec @@ -0,0 +1,287 @@ +%global tarball xf86-input-vmmouse +%global moduledir %(pkg-config xorg-server --variable=moduledir ) +%global driverdir %{moduledir}/input + +#global gitdate 20101209 +%global gitversion 07232feb6 + +Summary: Xorg X11 vmmouse input driver +Name: xorg-x11-drv-vmmouse +Version: 13.0.0 +Release: 8%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +URL: http://www.x.org +License: MIT +Group: User Interface/X Hardware Support + +%if 0%{?gitdate} +Source0: %{tarball}-%{gitdate}.tar.bz2 +Source1: make-git-snapshot.sh +Source2: commitid +%else +Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2 +%endif + +# 604660 - vmmouse_detect unexpected exit with status 0x000b +Patch2: vmmouse-12.6.9-iopl-revert.patch + +# Yes, this is not the same as vmware. Yes, this is intentional. +ExclusiveArch: %{ix86} x86_64 + +BuildRequires: xorg-x11-server-devel >= 1.10.99.902 +BuildRequires: automake autoconf libtool + +Requires: Xorg %(xserver-sdk-abi-requires ansic) +Requires: Xorg %(xserver-sdk-abi-requires xinput) + +%description +X.Org X11 vmmouse input driver. + +%prep +%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}} +%patch2 -p1 + +%build +autoreconf -v --install --force || exit 1 +%configure --disable-static --disable-silent-rules --with-xorg-conf-dir='%{_datadir}/X11/xorg.conf.d' +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +# FIXME: Remove all libtool archives (*.la) from modules directory. This +# should be fixed in upstream Makefile.am or whatever. +find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- + +# Don't need HAL no more +rm -rf $RPM_BUILD_ROOT/%{_libdir}/hal/hal-probe-vmmouse +rm -rf $RPM_BUILD_ROOT/%{_datadir}/hal/fdi/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{driverdir}/vmmouse_drv.so +%{_mandir}/man4/vmmouse.4* +%{_mandir}/man1/vmmouse_detect.1* +%{_bindir}/vmmouse_detect +%{_datadir}/X11/xorg.conf.d/50-vmmouse.conf +%{_prefix}/lib/udev/rules.d/*.rules + +%changelog +* Wed Nov 06 2013 Adam Jackson - 13.0.0-8 +- 1.15RC1 ABI rebuild + +* Fri Oct 25 2013 Adam Jackson - 13.0.0-7 +- ABI rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 13.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Mar 07 2013 Peter Hutterer - 13.0.0-5 +- require xorg-x11-server-devel, not -sdk + +* Thu Mar 07 2013 Peter Hutterer - 13.0.0-4 +- ABI rebuild + +* Fri Feb 15 2013 Peter Hutterer - 13.0.0-3 +- ABI rebuild + +* Fri Feb 15 2013 Peter Hutterer - 13.0.0-2 +- ABI rebuild + +* Wed Jan 16 2013 Peter Hutterer 13.0.0-1 +- vmmouse 13.0.0 + +* Thu Jan 10 2013 Adam Jackson - 12.9.0-8 +- ABI rebuild + +* Wed Oct 31 2012 Peter Hutterer - 12.9.0-7 +- Fix {?dist} tag + +* Mon Aug 20 2012 Adam Jackson 12.9.0-6 +- vmmouse-12.9.0-unsafe-logging.patch: Stifle some unsafe logging on the + read_input path. + +* Sun Aug 05 2012 Peter Hutterer 12.9.0-5 +- Get the udev rules dir from udev.pc instead of manually patching it + +* Sun Jul 22 2012 Fedora Release Engineering - 12.9.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jul 18 2012 Dave Airlie - 12.9.0-3 +- ABI rebuild + +* Thu Jun 07 2012 Peter Hutterer 12.9.0-2 +- replace udev with systemd, install rules files with prefix + +* Wed May 23 2012 Peter Hutterer 12.9.0-1 +- vmmouse 12.9.0 + +* Fri Mar 09 2012 Peter Hutterer 12.8.0-1 +- vmmouse 12.8.0 + +* Sat Feb 11 2012 Peter Hutterer - 12.7.0-9 +- ABI rebuild + +* Fri Feb 10 2012 Peter Hutterer - 12.7.0-8 +- ABI rebuild + +* Tue Jan 24 2012 Peter Hutterer - 12.7.0-7 +- ABI rebuild + +* Wed Jan 04 2012 Peter Hutterer - 12.7.0-6 +- Rebuild for server 1.12 + +* Mon Nov 14 2011 Adam Jackson - 12.7.0-5 +- ABI rebuild + +* Thu Nov 10 2011 Peter Hutterer 12.7.0-4 +- Deal with input ABI 14 option types + +* Wed Nov 09 2011 ajax - 12.7.0-3 +- ABI rebuild + +* Thu Aug 18 2011 Adam Jackson - 12.7.0-2 +- Rebuild for xserver 1.11 ABI + +* Thu Jul 07 2011 Peter Hutterer +- Disable silent rules on build, build with _smp_mflags + +* Thu Mar 03 2011 Peter Hutterer 12.7.0-1 +- vmmouse 12.7.0 + +* Tue Feb 08 2011 Fedora Release Engineering - 12.6.99.901-2.20101209git07232feb6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 09 2010 Peter Hutterer 12.6.99.901-1.20101209git07232feb6 +- 12.7RC1 snapshot from git +- add a few missing git snapshot bits + +* Thu Nov 25 2010 Peter Hutterer - 12.6.10-3.20101125 +- Rebuild for server 1.10 + +* Thu Nov 25 2010 Peter Hutterer 12.6.10-2.20101125 +- add git snapshotting hooks +- update to today's git snapshot + +* Wed Oct 27 2010 Adam Jackson 12.6.10-2 +- Add ABI requires magic (#542742) + +* Thu Aug 12 2010 Peter Hutterer 12.6.10-1 +- vmmouse 12.6.10 + +* Mon Jul 05 2010 Peter Hutterer - 12.6.9-5 +- rebuild for X Server 1.9 + +* Thu Jul 01 2010 Peter Hutterer 12.6.9-4 +- vmmouse-12.6.9-iopl-revert.patch: revert removal of iopl(2) call (#640660) + +* Fri Jun 18 2010 Peter Hutterer 12.6.9-3 +- vmmouse-12.6.9-single-udev-match.patch: only match event devices once. + +* Thu Apr 15 2010 Peter Hutterer 12.6.9-2 +- Install config snippet in $datadir/X11/xorg.conf.d. + +* Fri Apr 09 2010 Peter Hutterer 12.6.9-1 +- vmmouse 12.6.9, installs udev rules and xorg.conf.d snippets +- Require xserver 1.7.99.1 or later and udev. + +* Fri Mar 19 2010 Peter Hutterer 12.6.7-1 +- vmmouse 12.6.7 + +* Wed Feb 10 2010 Peter Hutterer 12.6.6-1 +- vmmouse 12.6.6 +- abi.patch: drop, merged upstream. + +* Thu Jan 21 2010 Peter Hutterer - 12.6.5-4 +- Rebuild for server 1.8 + +* Wed Jan 06 2010 Peter Hutterer 12.6.5-3 +- Use global instead of define as per Packaging Guidelines + +* Thu Aug 27 2009 Adam Jackson 12.6.5-2 +- abi.patch: Re-add. (#518589) + +* Fri Aug 07 2009 Peter Hutterer 12.6.5-1 +- vmmouse 12.6.5 +- vmmouse-12.6.4-abi.patch: Drop. + +* Mon Jul 27 2009 Fedora Release Engineering - 12.6.4-3.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jul 15 2009 Adam Jackson - 12.6.4-2.1 +- ABI bump + +* Thu Jul 09 2009 Adam Jackson 12.6.4-2 +- Port to new server ABI (#509682) + +* Wed May 13 2009 Peter Hutterer 12.6.4-1 +- vmmouse 12.6.4 + +* Thu Feb 26 2009 Fedora Release Engineering - 12.6.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Feb 12 2009 Peter Hutterer 12.6.3-3 +- Revert last commit, this is against Fedora policy. + https://fedoraproject.org/wiki/Packaging:Guidelines#Configuration_files + +* Mon Feb 09 2009 Peter Hutterer 12.6.3-2 +- Don't overwrite the fdi file on upgrade. + +* Mon Dec 22 2008 Peter Hutterer 12.6.3-1 +- vmmouse 12.6.3 + +* Mon Nov 17 2008 Peter Hutterer 12.6.2-1 +- vmmouse 12.6.2 + +* Mon Oct 27 2008 Peter Hutterer 12.6.1-1 +- vmmouse 12.6.1 + +* Tue Oct 21 2008 Peter Hutterer 12.5.2-1 +- vmmouse 12.5.2 + +* Thu Mar 20 2008 Adam Jackson 12.5.0-1 +- vmmouse 12.5.0 + +* Wed Feb 20 2008 Fedora Release Engineering - 12.4.3-4 +- Autorebuild for GCC 4.3 + +* Wed Jan 2 2008 Jeremy Katz - 12.4.3-3 +- Add workaround for xserver not calling convert_proc in input drivers + anymore (patch from Joerg Platte on debian xmaint list) + +* Tue Dec 18 2007 Jeremy Katz - 12.4.3-2 +- Rebuild for new xserver + +* Thu Oct 11 2007 Adam Jackson 12.4.3-1 +- xf86-input-vmmouse 12.4.3 + +* Mon Sep 24 2007 Adam Jackson 12.4.2-1 +- xf86-input-vmmouse 12.4.2 + +* Fri Aug 24 2007 Adam Jackson - 12.4.0-4 +- Rebuild for build ID + +* Mon Jun 18 2007 Adam Jackson 12.4.0-3 +- Update Requires and BuildRequires. Disown the module directories. + +* Wed Jul 12 2006 Jesse Keating - sh: line 0: fg: no job control +- rebuild + +* Sun Apr 9 2006 Adam Jackson 12.4.0-1 +- Update to 12.4.0 from 7.1RC1. + +* Wed Mar 29 2006 Adam Jackson 12.3.2.0-4 +- Don't build on ia64, as per comments in the source. + +* Wed Mar 29 2006 Adam Jackson 12.3.2.0-3 +- Rebump to appease beehive. + +* Wed Mar 29 2006 Adam Jackson 12.3.2.0-1 +- Bump to 12.3.2.0 from upstream (LP64 fixes). + +* Sun Feb 5 2006 Mike A. Harris 12.3.1.0-1 +- Initial spec file for vmmouse input driver, using xorg-x11-drv-mouse.spec + version 1.0.3.1-1 as a template.