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

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