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

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