diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..86cf0b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/xf86-video-vmware-13.2.1.tar.bz2 diff --git a/0001-saa-Build-compatibility-with-xserver-1.20.patch b/0001-saa-Build-compatibility-with-xserver-1.20.patch new file mode 100644 index 0000000..924add8 --- /dev/null +++ b/0001-saa-Build-compatibility-with-xserver-1.20.patch @@ -0,0 +1,32 @@ +From 7e5237dd08f2a469d0bc699cbcde763cc93c7407 Mon Sep 17 00:00:00 2001 +From: Adam Jackson +Date: Tue, 7 Nov 2017 15:42:59 -0500 +Subject: [PATCH xf86-video-vmware] saa: Build compatibility with xserver 1.20 + +fbGetRotatedPixmap went away with 24bpp support, just treat it as NULL +and we'll do the right thing. + +Signed-off-by: Adam Jackson +--- + saa/saa.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/saa/saa.c b/saa/saa.c +index be9520e..d956853 100644 +--- a/saa/saa.c ++++ b/saa/saa.c +@@ -370,6 +370,11 @@ saa_op_reads_destination(CARD8 op) + } + } + ++/* compatibility with xserver >= 1.20 */ ++#ifndef fbGetRotatedPixmap ++#define fbGetRotatedPixmap(pGC) NULL ++#endif ++ + static void + saa_validate_gc(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable) + { +-- +2.16.2 + diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..cdb0e11 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (xf86-video-vmware-13.2.1.tar.bz2) = 9c48eaf5be6ece5685e07a53842083d091edba482ac0ea8318ac5b0adb9fc468f932685e4bdaf7e565f7a1cf723dcea2731616613798ebde2bbc18418a369a9d diff --git a/xorg-x11-drv-vmware.spec b/xorg-x11-drv-vmware.spec new file mode 100644 index 0000000..894093f --- /dev/null +++ b/xorg-x11-drv-vmware.spec @@ -0,0 +1,327 @@ +%global tarball xf86-video-vmware +%global moduledir %(pkg-config xorg-server --variable=moduledir ) +%global driverdir %{moduledir}/drivers +#global gitdate 20150211 +#global gitversion 8f0cf7c + +%undefine _hardened_build + +%if 0%{?gitdate} +%global gver .%{gitdate}git%{gitversion} +%endif + +Summary: Xorg X11 vmware video driver +Name: xorg-x11-drv-vmware +Version: 13.2.1 +Release: 8%{?gver}%{?dist} +URL: http://www.x.org +License: MIT +Group: User Interface/X Hardware Support + +%if 0%{?gitdate} +Source0: %{tarball}-%{gitdate}.tar.bz2 +%else +Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2 +%endif + +Patch0: 0001-saa-Build-compatibility-with-xserver-1.20.patch + +ExclusiveArch: %{ix86} x86_64 ia64 + +BuildRequires: autoconf automake libtool +BuildRequires: xorg-x11-server-devel >= 1.10.99.902 +BuildRequires: libdrm-devel pkgconfig(xext) pkgconfig(x11) +BuildRequires: mesa-libxatracker-devel >= 8.0.1-4 +BuildRequires: systemd-devel + +Requires: Xorg %(xserver-sdk-abi-requires ansic) +Requires: Xorg %(xserver-sdk-abi-requires videodrv) +Requires: libxatracker >= 8.0.1-4 + +%description +X.Org X11 vmware video driver. + +%prep +%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}} +%patch0 -p1 + +%build +autoreconf -v --install || exit 1 +%configure --disable-static +make %{?_smp_mflags} + +%install +%make_install + +# 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 -- + +%files +%{driverdir}/vmware_drv.so +%{_mandir}/man4/vmware.4* + +%changelog +* Sat Jul 14 2018 Fedora Release Engineering - 13.2.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Apr 02 2018 Adam Jackson - 13.2.1-7 +- Rebuild for xserver 1.20 + +* Mon Mar 05 2018 Adam Jackson - 13.2.1-6 +- Build fix for xserver 1.20 + +* Fri Feb 09 2018 Fedora Release Engineering - 13.2.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 13.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 13.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 13.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Jan 9 2017 Hans de Goede - 13.2.1-1 +- New upstream bug-fix release 13.2.1 + +* Thu Sep 29 2016 Hans de Goede - 13.0.2-12.20150211git8f0cf7c +- Add patches from upstream for use with xserver-1.19 +- Rebuild against xserver-1.19 + +* Fri Feb 05 2016 Fedora Release Engineering - 13.0.2-11.20150211git8f0cf7c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jan 20 2016 Peter Hutterer +- s/define/global/ + +* Wed Jul 29 2015 Dave Airlie - 13.0.2-10.20150211git8f0cf7c +- 1.15 ABI rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 13.0.2-9.20150211git8f0cf7c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Mar 03 2015 Dave Airlie 13.0.2-8 +- removed hardened build + +* Wed Feb 11 2015 Hans de Goede - 13.0.2-7.20150211git8f0cf7c +- xserver 1.17 ABI rebuild +- Update to git snapshot of the day to fix building with xserver 1.17 + +* Mon Aug 18 2014 Fedora Release Engineering - 13.0.2-6.20140613git82c9b0c +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Mon Jun 16 2014 Hans de Goede - 13.0.2-5.20140613git82c9b0c +- xserver 1.15.99.903 ABI rebuild + +* Fri Jun 13 2014 Hans de Goede - 13.0.2-4.20140613git82c9b0c +- Snapshot from git master to fix render accel not working (rhbz#1077453) + +* Sun Jun 08 2014 Fedora Release Engineering - 13.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue May 13 2014 Hans de Goede - 13.0.2-2 +- Add server managed fd support + +* Mon Apr 28 2014 Hans de Goede - 13.0.2-1 +- vmware 13.0.2 + +* Mon Apr 28 2014 Hans de Goede - 13.0.1-10.20131207gita40cbd7b +- xserver 1.15.99-20140428 git snapshot ABI rebuild + +* Mon Jan 13 2014 Adam Jackson - 13.0.1-9.20131207gita40cbd7b +- 1.15 ABI rebuild + +* Tue Dec 17 2013 Adam Jackson - 13.0.1-8.20131207gita40cbd7b +- 1.15RC4 ABI rebuild + +* Sat Dec 07 2013 Dave Airlie 13.0.1-7 +- snapshot master to build against latest mesa + +* Wed Nov 20 2013 Adam Jackson - 13.0.1-6 +- 1.15RC2 ABI rebuild + +* Wed Nov 06 2013 Adam Jackson - 13.0.1-5 +- 1.15RC1 ABI rebuild + +* Fri Oct 25 2013 Adam Jackson - 13.0.1-4 +- ABI rebuild + +* Thu Oct 24 2013 Adam Jackson 13.0.1-3 +- xserver 1.15 API compat + +* Sun Aug 04 2013 Fedora Release Engineering - 13.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Apr 23 2013 Peter Hutterer 13.0.1-1 +- vmware 13.0.1 + +* Thu Mar 07 2013 Peter Hutterer - 12.0.99.901-5.20130109gitadf375f3 +- require xorg-x11-server-devel, not -sdk + +* Thu Mar 07 2013 Peter Hutterer - 12.0.99.901-4.20130109gitadf375f3 +- ABI rebuild + +* Fri Feb 15 2013 Peter Hutterer - 12.0.99.901-3.20130109gitadf375f3 +- ABI rebuild + +* Fri Feb 15 2013 Peter Hutterer - 12.0.99.901-2.20130109gitadf375f3 +- ABI rebuild + +* Wed Jan 09 2013 Adam Jackson 12.0.99.901-1 +- vmware 12.0.99.901 + +* Sun Jul 22 2012 Fedora Release Engineering - 12.0.2-3.20120718gite5ac80d8f +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jul 18 2012 Dave Airlie 12.0.2-1.20120718gite5ac80d8f +- snapshot latest git for api changes + +* Fri Apr 20 2012 Adam Jackson 12.0.2-1 +- vmware 12.0.2 + +* Mon Mar 19 2012 Adam Jackson 12.0.1-2 +- vmware-12.0.1-vgahw.patch: Fix a different crash at start (#782995) +- vmware-12.0.1-git.patch: Backport a garbage-free fix from git. + +* Thu Mar 15 2012 Dave Airlie 12.0.1-1 +- update to latest upstream release + +* Mon Mar 12 2012 Adam Jackson 11.0.3-14 +- vmware-11.0.3-vgahw.patch: Fix crash at start. (#801546) + +* Sat Feb 11 2012 Peter Hutterer - 11.0.3-13 +- ABI rebuild + +* Fri Feb 10 2012 Peter Hutterer - 11.0.3-12 +- ABI rebuild + +* Tue Jan 24 2012 Peter Hutterer - 11.0.3-11 +- ABI rebuild + +* Wed Jan 04 2012 Peter Hutterer - 11.0.3-10 +- Rebuild for server 1.12 + +* Fri Dec 16 2011 Adam Jackson - 11.0.3-9 +- Drop xinf file + +* Wed Nov 16 2011 Adam Jackson 11.0.3-8 +- ABI rebuild +- vmware-11.0.3-abi12.patch: Compensate for videoabi 12. +- vmware-11.0.3-unbreak-xinerama.patch: Unbreak swapped dispatch in the + fake-xinerama code. + +* Wed Nov 09 2011 ajax - 11.0.3-7 +- ABI rebuild + +* Thu Aug 18 2011 Adam Jackson - 11.0.3-6 +- Rebuild for xserver 1.11 ABI + +* Wed May 11 2011 Peter Hutterer - 11.0.3-5 +- Rebuild for server 1.11 + +* Mon Feb 28 2011 Peter Hutterer - 11.0.3-4 +- Rebuild for server 1.10 + +* Tue Feb 08 2011 Fedora Release Engineering - 11.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 02 2010 Peter Hutterer - 11.0.3-2 +- Rebuild for server 1.10 + +* Tue Nov 09 2010 Adam Jackson 11.0.3-1 +- vmware 11.0.3 + +* Wed Oct 27 2010 Adam Jackson 11.0.1-2 +- Add ABI requires magic (#542742) + +* Tue Aug 10 2010 Dave Airlie 11.0.1-1 +- Latest upstream release. + +* Mon Jul 05 2010 Peter Hutterer - 10.16.7-4 +- rebuild for X Server 1.9 + +* Thu Jan 21 2010 Peter Hutterer - 10.16.7-3 +- Rebuild for server 1.8 + +* Fri Aug 07 2009 Adam Jackson 10.16.7-2 +- fix for symbol list removal. + +* Tue Aug 04 2009 Dave Airlie 10.16.7-1 +- vmware 10.16.7 + new abi patch + +* Mon Jul 27 2009 Fedora Release Engineering - 10.16.0-5.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jul 15 2009 Adam Jackson - 10.16.0-4.1 +- ABI bump + +* Tue Jun 23 2009 Dave Airlie 10.16.0-4 +- abi.patch: patch for new server ABI + +* Thu Feb 26 2009 Fedora Release Engineering - 10.16.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Dec 24 2008 Dave Airlie 10.16.0-2 +- bump build for new server API + +* Thu Mar 20 2008 Dave Airlie 10.16.0-1 +- Latest upstream release + +* Wed Feb 20 2008 Fedora Release Engineering - 10.15.2-100.1 +- Autorebuild for GCC 4.3 + +* Tue Jan 22 2008 Adam Jackson 10.15.2-99.1 +- Update to git snapshot for pciaccess conversion. (#428613) + +* Thu Oct 11 2007 Adam Jackson 10.15.2-1 +- xf86-video-vmware 10.15.2 + +* Mon Sep 24 2007 Adam Jackson 10.15.1-1 +- xf86-video-vmware 10.15.1 + +* Fri Aug 24 2007 Adam Jackson - 10.14.1-3 +- Rebuild for build ID + +* Mon Jun 18 2007 Adam Jackson 10.14.1-2 +- Update Requires and BuildRequires. Disown the module directories. Add + Requires: hwdata. + +* Fri Jan 05 2007 Adam Jackson 10.14.1-1.fc7 +- Update to 10.14.1 + +* Wed Jul 12 2006 Jesse Keating - sh: line 0: fg: no job control +- rebuild + +* Tue May 23 2006 Adam Jackson 10.13.0-2 +- Rebuild for 7.1 ABI fix. + +* Sun Apr 9 2006 Adam Jackson 10.13.0-1 +- Update to 10.13.0 from 7.1RC1. + +* Tue Feb 07 2006 Jesse Keating - 10.11.1.3-1.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Wed Jan 18 2006 Mike A. Harris 10.11.1.3-1 +- Updated xorg-x11-drv-vmware to version 10.11.1.3 from X11R7.0 + +* Tue Dec 20 2005 Mike A. Harris 10.11.1.2-1 +- Updated xorg-x11-drv-vmware to version 10.11.1.2 from X11R7 RC4 +- Removed 'x' suffix from manpage dirs to match RC4 upstream. + +* Wed Nov 16 2005 Mike A. Harris 10.11.1-1 +- Updated xorg-x11-drv-vmware to version 10.11.1 from X11R7 RC2 + +* Fri Nov 4 2005 Mike A. Harris 10.11.0.1-1 +- Updated xorg-x11-drv-vmware to version 10.11.0.1 from X11R7 RC1 +- Fix *.la file removal. + +* Tue Oct 4 2005 Mike A. Harris 10.10.2-1 +- Update BuildRoot to use Fedora Packaging Guidelines. +- Deglob file manifest. +- Limit "ExclusiveArch" to x86, x86_64, ia64 + +* Fri Sep 2 2005 Mike A. Harris 10.10.2-0 +- Initial spec file for vmware video driver generated automatically + by my xorg-driverspecgen script.