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

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