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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. %define tarball xf86-video-nouveau
  2. %define moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %define driverdir %{moduledir}/drivers
  4. %define nouveau_version 0.0.16
  5. # Tarfile created using git
  6. # git clone git://git.freedesktop.org/git/nouveau/xf86-video-nouveau
  7. # git-archive --format=tar --prefix=xf86-video-nouveau-0.0.10/ %{git_version} | bzip2 > xf86-video-nouveau-0.0.10-%{gitdate}.tar.bz2
  8. %define gitdate 20100218
  9. %define git_version 2964702
  10. %define snapshot %{gitdate}git%{git_version}
  11. %define tarfile %{tarball}-%{nouveau_version}-%{snapshot}.tar.bz2
  12. Summary: Xorg X11 nouveau video driver for NVIDIA graphics chipsets
  13. Summary(ja): Xorg X11 nouveau ビデオドライバ - NVIDIA グラフィックスチップセット用
  14. Name: xorg-x11-drv-nouveau
  15. Version: %{nouveau_version}
  16. Release: 2.%{snapshot}%{?_dist_release}
  17. URL: http://www.x.org
  18. License: MIT
  19. Group: User Interface/X Hardware Support
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  21. # Fedora specific snapshot no upstream release
  22. Source0: %{tarfile}
  23. ExcludeArch: s390 s390x
  24. BuildRequires: libtool automake autoconf
  25. BuildRequires: xorg-x11-server-sdk >= 1.7.0
  26. BuildRequires: libdrm-devel >= 2.4.18
  27. BuildRequires: mesa-libGL-devel
  28. BuildRequires: kernel-headers >= 2.6.32
  29. Requires: hwdata
  30. Requires: xorg-x11-server-Xorg > 1.7.0
  31. Requires: libdrm >= 2.4.18
  32. Patch0: nouveau-bicubic-2x.patch
  33. Patch1: nouveau-bgnr.patch
  34. %description
  35. X.Org X11 nouveau video driver.
  36. %prep
  37. %setup -q -n %{tarball}-%{version}
  38. %patch0 -p1 -b .bicubic
  39. %patch1 -p1 -b .bgnr
  40. %build
  41. autoreconf -v --install
  42. %configure --disable-static --with-kms=yes
  43. make
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make install DESTDIR=$RPM_BUILD_ROOT
  47. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %files
  51. %defattr(-,root,root,-)
  52. %{driverdir}/nouveau_drv.so
  53. %{_mandir}/man4/nouveau.4*
  54. %changelog
  55. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.16-2.20100218git2964702
  56. - rebuild with xserver-1.8rc
  57. * Wed Mar 24 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.16-1.20100218git2964702
  58. - update to new git snapshot
  59. - BR: libdrm-devel >= 2.4.18
  60. * Wed Dec 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.15-1.20091216git03c7d6
  61. - initial build for Vine Linux
  62. - update to new git snapshot
  63. - BR: libdrm-devel >= 2.4.16
  64. * Thu Nov 05 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-17.20091105gite1c2efd
  65. - handle reloc failures more gracefully (rh#531058)
  66. - fix for rh#532322
  67. * Mon Nov 02 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-16.20091030git5587f40
  68. - force all pixmaps into system memory initally on low memory cards
  69. * Tue Oct 27 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-15.20091022git718a41b
  70. - misc fixes, initial NVA8 support
  71. * Thu Oct 09 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-14.20091008git3f020b0
  72. - update from upstream, fixes various issues, especially with recent xservers
  73. * Tue Sep 29 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-13.20090929gitdd8339f
  74. - fix driver to work again with recent EXA changes
  75. * Fri Sep 25 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-12.20090924gitde0b095
  76. - G80: small performance fix
  77. * Mon Sep 21 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-11.20090921gitdf95ebd
  78. - fix an accel pitch issue seen in rh#523281
  79. * Mon Sep 14 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-10.20090914git1b72020
  80. - wait for fbcon copy to complete before switching mode (rh#522688)
  81. * Thu Sep 10 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-9.20090910git806eaf6
  82. - fix a hang/crash issue that could occur during a modeset
  83. - nouveau-transition-hack.patch: drop, supported with driver pixmaps anyway
  84. * Wed Sep 09 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-8.20090904git2b5ec6a
  85. - nouveau-tile7000.patch: workaround some display corruption on G8x
  86. * Fri Sep 04 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-7.20090904git2b5ec6a
  87. - fix cursor being left enabled on wrong display
  88. * Thu Aug 27 2009 Adam Jackson <ajax@redhat.com> 0.0.15-6.20090820git569a17a
  89. - nouveau-bgnr.patch: Enable seamless plymouth->gdm transition.
  90. * Fri Aug 21 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-5.20090820git569a17a
  91. - a couple more minor fixes
  92. * Thu Aug 20 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-4.20090819gitfe2b5e6
  93. - various fixes from upstream, build pending new xorg-x11-server update
  94. * Tue Aug 11 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-3.20090810git85b1c86
  95. - wfb fixes, driver pixmaps enabled by default
  96. * Wed Aug 05 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-2.20090803git712064e
  97. - dri2 fixes, no wfb without kms, non-kms fb resize fixes, other misc fixes
  98. * Tue Aug 04 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-1.20090803git619103a
  99. - upstream update, misc fixes
  100. * Tue Jul 28 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.15-0.20090728git4d20547
  101. - Update to latest upstream
  102. * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.0.14-4.20090717gitb1b2330
  103. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  104. * Fri Jul 17 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.14-3.20090717gitb1b2330
  105. - somehow missed updated patches to go on top
  106. * Fri Jul 17 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.14-2.20090717gitb1b2330
  107. - build fixes for recent X changes
  108. * Wed Jul 15 2009 Adam Jackson <ajax@redhat.com> - 1:0.0.14-1.20090701git6d14327.1
  109. - ABI bump
  110. * Mon Jul 7 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.14-1.20090701git6d14327
  111. - update from upstream + bring back additional features found in F11
  112. * Fri Jun 26 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.14-0.20090625gitc0bf670
  113. - rebase onto latest upstream. missing some features that were patched into
  114. F11, they'll come back soon.
  115. * Fri Apr 17 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-29.20090417gitfa2f111
  116. - avoid post-beta hangs experienced by many people (rh#495764, rh#493222).
  117. - the bug here was relatively harmless, but exposed a more serious issue
  118. which has been fixed in libdrm-2.4.6-6.fc11
  119. - kms: speed up transitions, they could take a couple of seconds previously
  120. - framebuffer resize support (rh#495838, rh#487356, lots of dups)
  121. * Wed Apr 15 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-27.20090413git7100c06
  122. - fix rh#495843
  123. * Mon Apr 13 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-26.20090413git7100c06
  124. - nouveau-fedora.patch: split out into indivdual functionality
  125. - nv50: disable acceleration on NVAx chipsets, it won't work properly yet
  126. - drop nouveau-eedid.patch, it's upstream now
  127. * Wed Apr 08 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-25.20090408gitd8545e6
  128. - correct logic error in vbios parser (rh#493981)
  129. * Wed Apr 08 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-24.20090408git960a5c8
  130. - modify nv50 ddc regs again, fix kms edid property
  131. * Tue Apr 07 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-23.20090407git11451ca
  132. - upstream update: rh#492399, nv50 PROM fixes
  133. * Sat Apr 04 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-22.20090404git836d985
  134. - use consistent connector names across all modesetting paths
  135. - rh#493981
  136. * Fri Apr 03 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-21.20090403git11be9a9
  137. - upstream update, loads of modesetting fixes
  138. - rh#492819, rh#492427, rh#492289, rh#492289
  139. * Mon Mar 30 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-20.20090330git9d46930
  140. - xv bugfix
  141. * Mon Mar 30 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-19.20090330git9213c39
  142. - fix rh#492239, and various modesetting changes
  143. - nouveau-eedid.patch: remove nv50 hunk, is upstream now
  144. * Fri Mar 27 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-18.20090327gitf1907dc
  145. - nv50: add default modes to mode pool for lvds panels (rh#492360)
  146. - kms: fix getting edid blob from kernel
  147. * Fri Mar 27 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-17.20090327gitf431e20
  148. - fix partially obscured xv rendering without compmgr (rh#492227,rh#492229,rh#492428)
  149. - fix crash when rotation requested (fdo#20848)
  150. - additional sanity checks for kernel modesetting enabled
  151. * Thu Mar 26 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-16.20090326git01cee29
  152. - update, should fix rh#497173
  153. * Mon Mar 23 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-15.20090324git4067ab4
  154. - more ppc build fixes
  155. * Mon Mar 23 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-14.20090323git3063486
  156. - fix ppc build
  157. * Mon Mar 23 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-13.20090323gitd80fe78
  158. - modesetting fixes, should handle rh#487456
  159. * Mon Mar 23 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-12.20090318git3e7fa97
  160. - upstream update, various fixes to pre-nv50 modesetting, cleanups
  161. * Fri Mar 13 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-11.20090313git79d23d8
  162. - kms: dpms fixes
  163. - kms: nicer reporting of output properties to users
  164. - improve init paths, more robust
  165. - support for multiple xservers (fast user switching)
  166. * Tue Mar 10 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-10.20090310git8f9a580
  167. - upstream update, should fix #455194
  168. * Mon Mar 09 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-9.20090309gited9bd88
  169. - upstream update, fixes
  170. - store used vbios image in /var/run, will potentially help debugging later
  171. * Thu Mar 05 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-8.20090305git42f99e6
  172. - upstream update, fixes
  173. - kms: support gamma and dpms calls
  174. - kms: nicer transition to gdm from plymouth
  175. * Mon Mar 02 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-7.20090302gite6c3b98
  176. - upstream update, fixes
  177. * Fri Feb 27 2009 Adam Jackson <ajax@redhat.com> 0.0.12-6.20090224gitd91fc78
  178. - nouveau-eedid.patch: Do EEDID.
  179. * Tue Feb 24 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-5.20090224gitd91fc78
  180. - improve description of package
  181. * Tue Feb 24 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-4.20090224gitd91fc78
  182. - new upstream snapshot
  183. * Tue Feb 17 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-1.20090216git7b25a30
  184. - fixes from upstream
  185. - append git version to tarball filename
  186. * Mon Feb 16 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-1.20090213git2573c06
  187. - latest snapshot
  188. - add patches to improve G80/G90 desktop performance
  189. * Sat Feb 7 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-3.20090205git945f0cb
  190. - build with kms paths enabled, so things don't blow up with kms turned on
  191. * Thu Feb 5 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-1.20090205git945f0cb
  192. - latest snapshot - kernel interface 0.0.12
  193. * Tue Feb 03 2009 Kyle McMartin <kyle@redhat.com> 0.0.11-2.20090106git133c1a5
  194. - add build-dep on mesa (missing GL/gl.h due to glxint.h)
  195. * Tue Jan 13 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.11-1.20090106git133c1a5
  196. - update to latest snapshot
  197. * Wed Nov 19 2008 Dave Airlie <airlied@redhat.com> 0.0.11-1.20081119git65b956f
  198. - update to latest upstream snapshot
  199. * Tue Sep 02 2008 Dave Airlie <airlied@redhat.com> 0.0.11-1.20080902git6dd8ad4
  200. - update to snapshot with new kernel interface 0.0.11
  201. * Tue May 20 2008 Dave Airlie <airlied@redhat.com> 0.0.10-3.20080520git9c1d87f
  202. - update to latest snapshot - enables randr12
  203. * Tue Apr 08 2008 Dave Airlie <airlied@redhat.com> 0.0.10-2.20080408git0991281
  204. - Update to latest snapshot
  205. * Tue Mar 11 2008 Dave Airlie <airlied@redhat.com> 1:0.0.10-1.20080311git460cb26
  206. - update to latest snapshot
  207. * Fri Feb 29 2008 Dave Airlie <airlied@redhat.com> 1:0.0.10-1.20080221git5db7920
  208. - Initial package for nouveau driver.