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

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