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

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