xorg-x11-drv-nv-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. %define tarball xf86-video-nv
  2. %define moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %define driverdir %{moduledir}/drivers
  4. Summary: Xorg X11 nv video driver
  5. Summary(ja): Xorg X11 nv ビデオドライバ
  6. Name: xorg-x11-drv-nv
  7. Version: 2.1.20
  8. Release: 1%{?_dist_release}
  9. URL: http://www.x.org
  10. License: MIT
  11. Group: User Interface/X Hardware Support
  12. Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
  13. Source1: nv.xinf
  14. Patch4: nv-reserve-fbarea.patch
  15. Patch5: nv-2.1.20-starvation.patch
  16. Patch6: nv-2.1.6-panel-fix.patch
  17. Patch7: nv-save-rom.patch
  18. Patch9: nv-2.1.8-g80-no-doublescan.patch
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  20. ExcludeArch: s390 s390x
  21. BuildRequires: pixman-devel, libpciaccess-devel
  22. BuildRequires: xorg-x11-server-sdk
  23. BuildRequires: libdrm-devel >= 2.3.0
  24. Requires: hwdata
  25. Requires: xorg-x11-server-Xorg
  26. %description
  27. X.Org X11 nv video driver.
  28. %prep
  29. %setup -q -n %{tarball}-%{version}
  30. %patch4 -p1 -b .reserve-fbarea
  31. %patch5 -p1 -b .starve
  32. %patch6 -p1 -b .panel
  33. %patch7 -p1 -b .save-rom
  34. %patch9 -p1 -b .doublescan
  35. %build
  36. %configure --disable-static
  37. make
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. make install DESTDIR=$RPM_BUILD_ROOT
  41. mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases
  42. install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/
  43. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc COPYING README.G80
  49. %{driverdir}/nv_drv.so
  50. %{_datadir}/hwdata/videoaliases/nv.xinf
  51. %{_mandir}/man4/nv.4*
  52. %changelog
  53. * Fri Jul 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.20-1
  54. - new upstream release
  55. - update Patch5 (nv-2.1.20-starvation.patch)
  56. * Sun Mar 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.18-5
  57. - rebuild with xserver-1.12.0
  58. * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.18-4
  59. - rebuild with xserver-1.11.1.902
  60. * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.18-3
  61. - rebuild with xserver-1.10.0
  62. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.18-2
  63. - rebuild with xserver-1.9.2
  64. * Sun Oct 24 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.18-1
  65. - new upstream release
  66. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.17-3
  67. - rebuild with xserver-1.8rc
  68. * Wed Mar 24 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.17-2
  69. - rebuild with xserver-1.8rc
  70. * Sun Mar 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.17-1
  71. - new upstream release
  72. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.15-1
  73. - new upstream release
  74. * Thu Jul 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.14-1
  75. - new upstream release
  76. * Mon Apr 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.13-2
  77. - import some patches from fedora development
  78. - add Patch5: Avoid starving nv4-gen chips of memory bandwidth on huge modes.
  79. - add Patch7: Don't discard EDID blocks just because their input type bit
  80. disagrees with the hardware connection sensing.
  81. - add Patch9: Disable doublescan on G80, too many monitors get confused.
  82. - add Patch10: add support for GeForce 7025/7050
  83. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.13-1
  84. - new upstream release
  85. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.12-2
  86. - rebuild with X server 1.6.0
  87. * Tue Sep 02 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.12-1
  88. - new upstream release
  89. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.10-1
  90. - new upstream release
  91. * Thu Jul 03 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.9-1
  92. - new upstream release
  93. * Mon May 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.8-1
  94. - initial build for Vine Linux
  95. * Fri Mar 07 2008 Adam Jackson <ajax@redhat.com> 2.1.8-1
  96. - nv 2.1.8
  97. * Mon Mar 03 2008 Dave Airlie <airlied@redhat.com> 2.1.7-3
  98. - update for new server ABI
  99. * Fri Feb 29 2008 Dave Airlie <airlied@redhat.com> 2.1.7-2
  100. - drop nouveau sub-package
  101. * Fri Feb 22 2008 Adam Jackson <ajax@redhat.com> 2.1.7-1
  102. - nv 2.1.7
  103. * Tue Feb 12 2008 Adam Jackson <ajax@redhat.com> 2.1.6-8
  104. - nv-2.1.6-panel-fix.patch: Don't discard EDID blocks just because their
  105. input type bit disagrees with the hardware connection sensing; this
  106. usually just means the block is lying. (#294861)
  107. * Wed Jan 23 2008 Adam Jackson <ajax@redhat.com> 2.1.6-7
  108. - nv-2.1.6-starvation.patch: Typo fix.
  109. * Tue Jan 22 2008 Adam Jackson <ajax@redhat.com> 2.1.6-6
  110. - nv-2.1.6-starvation.patch: Avoid starving nv4-gen chips of memory
  111. bandwidth on huge modes. There's surely a better way to do this.
  112. (#383891)
  113. * Fri Jan 18 2008 Dave Airlie <airlied@redhat.com> 2.1.6-5
  114. - fixup the fixup for fb vs XAA alignment
  115. * Fri Jan 18 2008 Dave Airlie <airlied@redhat.com> 2.1.6-4
  116. - Fixup fb vs XAA alignment
  117. * Wed Jan 09 2008 Adam Jackson <ajax@redhat.com> 2.1.6-3
  118. - Rebuild yet again for new server ABI.
  119. * Tue Nov 13 2007 Adam Jackson <ajax@redhat.com> 2.1.6-2
  120. - Require new server ABI.
  121. * Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 2.1.6-1
  122. - xf86-video-nv 2.1.6
  123. * Thu Oct 11 2007 Dave Airlie <airlied@redhat.com> 2.1.5-2
  124. - nouveau-fix-bswap32.patch - fix nouveau driver on ppc/ppc64
  125. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 2.1.5-1
  126. - xf86-video-nv 2.1.5.
  127. * Thu Sep 20 2007 Dave Airlie <airlied@redhat.com> 2.1.3-2
  128. - update nouveau
  129. * Fri Aug 17 2007 Adam Jackson <ajax@redhat.com> 2.1.3-1
  130. - xf86-video-nv 2.1.3.
  131. * Tue Jul 10 2007 Adam Jackson <ajax@redhat.com> 2.1.2-1
  132. - xf86-video-nv 2.1.2.
  133. * Tue Jul 03 2007 Adam Jackson <ajax@redhat.com> 2.1.1-1
  134. - xf86-video-nv 2.1.1.
  135. * Tue Jun 26 2007 Adam Jackson <ajax@redhat.com> 2.1.0-2
  136. - %%doc for COPYING and README.G80.
  137. * Tue Jun 19 2007 Adam Jackson <ajax@redhat.com> 2.1.0-1
  138. - xf86-video-nv 2.1.0.
  139. * Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 2.0.96-4
  140. - Update Requires and BuildRequires. Add Requires: hwdata.
  141. * Wed Jun 06 2007 Adam Jackson <ajax@redhat.com> 2.0.96-3
  142. - Backport of G80 LVDS (laptop) support from git master.
  143. * Mon Jun 04 2007 Adam Jackson <ajax@redhat.com> 2.0.96-2
  144. - Meaningless version bump.
  145. * Fri May 18 2007 Adam Jackson <ajax@redhat.com> 2.0.96-1
  146. - nv 2.0.96. Add rudimentary dual-head support for pre-G80 cards.
  147. * Fri May 11 2007 Adam Jackson <ajax@redhat.com> 2.0.95-1
  148. - nv 2.0.95. Adds RandR 1.2 and EXA support for G80 series.
  149. * Thu May 03 2007 Adam Jackson <ajax@redhat.com> 2.0.2-2
  150. - Split nouveau into its own binary package.
  151. * Tue Apr 17 2007 Adam Jackson <ajax@redhat.com> 2.0.2-1
  152. - nv 2.0.2
  153. - nv.xinf: PCI ID updates for yet more G80 cards.
  154. - Drop panel-range-hack, superceded upstream now.
  155. * Mon Apr 2 2007 Kristian H淡gsberg <krh@redhat.com> - 2.0.1-3
  156. - Add nv patches to nouveau too.
  157. * Fri Mar 30 2007 Kristian H淡gsberg <krh@redhat.com> 2.0.1-2
  158. - Update nouveau snapshot.
  159. * Fri Mar 30 2007 Adam Jackson <ajax@redhat.com> 2.0.1-1
  160. - nv 2.0.1
  161. * Fri Mar 23 2007 Adam Jackson <ajax@redhat.com> 2.0.0-3
  162. - nv.xinf: It helps if you spell the driver name correctly.
  163. * Tue Mar 20 2007 Adam Jackson <ajax@redhat.com> 2.0.0-2
  164. - nv-2.0.0-hang-fix.patch: Fix a hang during initialization.
  165. * Mon Mar 19 2007 Adam Jackson <ajax@redhat.com> 2.0.0-1
  166. - Update to 2.0.0.
  167. * Mon Mar 12 2007 Adam Jackson <ajax@redhat.com> 1.99.1-2
  168. - nv.xinf: Various G73 PCI IDs.
  169. * Fri Mar 09 2007 Adam Jackson <ajax@redhat.com> 1.99.1-1
  170. - Update to nv 1.99.1, adds G80 support (wooooo!)
  171. - nv.xinf: Add the G80 PCI IDs.
  172. * Tue Feb 27 2007 Adam Jackson <ajax@redhat.com> 1.2.2.1-4
  173. - nouveau update: Fix a typo that would cause a crash if anyone was insane
  174. enough to still be using an nv3 card.
  175. * Thu Feb 15 2007 Adam Jackson <ajax@redhat.com> 1.2.2.1-3
  176. - Initial nouveau driver build. Utterly untested.
  177. * Mon Feb 05 2007 Adam Jackson <ajax@redhat.com> 1.2.2.1-2
  178. - nv.xinf: Update PCI IDs. (#227346)
  179. * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.2.2.1-1
  180. - Update to 1.2.2.1
  181. * Fri Dec 1 2006 Adam Jackson <ajax@redhat.com> 1.2.1-1
  182. - Update to 1.2.1
  183. * Thu Aug 31 2006 Adam Jackson <ajackson@redhat.com> 1.2.0-4.fc6
  184. - nv-1.2.0-panel-range-hack: If we detect a panel, but don't get DDC, adjust
  185. the monitor's sync ranges to accomodate a 60Hz mode at the panel's
  186. native resolution.
  187. * Wed Aug 2 2006 Adam Jackson <ajackson@redhat.com> 1.2.0-3.fc6
  188. - Bump for upgrade path from FC5.
  189. * Mon Jul 24 2006 Adam Jackson <ajackson@redhat.com> 1.2.0-2.fc6
  190. - Update nv.xinf: Add about 30 new cards, disable a handful that pci.ids
  191. says aren't video cards, and comments galore.
  192. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.2.0-1.1.fc6
  193. - rebuild
  194. * Fri Jul 7 2006 Adam Jackson <ajackson@redhat.com> 1.2.0-1.fc6
  195. - Add %{?dist} and rebuild.
  196. * Thu Jul 6 2006 Adam Jackson <ajackson@redhat.com> 1.2.0-1
  197. - Update to 1.2.0: GeForce 6 and 7 updates and new hardware support.
  198. * Mon Jun 26 2006 Adam Jackson <ajackson@redhat.com> 1.1.2-2
  199. - Make the message printed when modes are rejected for not fitting in the
  200. panel size more accurate (and quieter).
  201. * Sat Jun 17 2006 Mike A. Harris <mharris@redhat.com> 1.1.2-1
  202. - Update to 1.1.2 release for X11R7.1 server.
  203. * Wed Jun 14 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-5
  204. - Fix the panel tweak for a Toshiba laptop.
  205. * Sat Jun 10 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-4
  206. - Added 10DE:0184 to nv.xinf, although the driver is not currently aware of
  207. this specific chip ID, the fallback code appears to work in bug #(186343)
  208. * Tue May 23 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-3
  209. - Rebuild for 7.1 ABI fix.
  210. * Mon Apr 10 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-2
  211. - Bump to appease beehive.
  212. * Sun Apr 09 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1
  213. - Update to 1.1.1 from 7.1RC1.
  214. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1.5-3.1
  215. - bump again for double-long bug on ppc(64)
  216. * Thu Feb 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.5-3
  217. - Added nv-1.0.1.5-updateto-cvs20050209.patch to sync driver with CVS and pick
  218. up support for newer Nvidia chips, and RandR rotation support. (#180101)
  219. * Thu Feb 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.5-2
  220. - Syncronized nv.xinf with nv_driver.c PCI ID list, including 10DE:0092 and
  221. 10DE:00F2 for bug (#179997).
  222. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1.5-1.1
  223. - rebuilt for new gcc4.1 snapshot and glibc changes
  224. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.5-1
  225. - Updated xorg-x11-drv-nv to version 1.0.1.5 from X11R7.0
  226. * Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.4-1
  227. - Updated xorg-x11-drv-nv to version 1.0.1.4 from X11R7 RC4
  228. - Removed 'x' suffix from manpage dirs to match RC4 upstream.
  229. * Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.2-1
  230. - Updated xorg-x11-drv-nv to version 1.0.1.2 from X11R7 RC2
  231. * Fri Nov 04 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.1-1
  232. - Updated xorg-x11-drv-nv to version 1.0.1.1 from X11R7 RC1
  233. - Fix *.la file removal.
  234. - Add riva128.so subdriver to file manifest.
  235. * Mon Oct 03 2005 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  236. - Update BuildRoot to use Fedora Packaging Guidelines.
  237. - Deglob file manifest.
  238. - Limit "ExclusiveArch" to x86, x86_64, ia64, ppc
  239. * Fri Sep 02 2005 Mike A. Harris <mharris@redhat.com> 1.0.1-0
  240. - Initial spec file for nv video driver generated automatically
  241. by my xorg-driverspecgen script.