Blob Blame History Raw
%define tarball xf86-video-nouveau
%define moduledir %(pkg-config xorg-server --variable=moduledir )
%define driverdir %{moduledir}/drivers
%define nouveau_version 0.0.12

# Tarfile created using git
# git clone git://git.freedesktop.org/git/nouveau/xf86-video-nouveau
# git-archive --format=tar --prefix=xf86-video-nouveau-0.0.10/ %{git_version} | bzip2 > xf86-video-nouveau-0.0.10-%{gitdate}.tar.bz2

%define gitdate 20090528
%define git_version 0c17b87

%define snapshot %{gitdate}git%{git_version}

%define tarfile %{tarball}-%{nouveau_version}-%{snapshot}.tar.bz2

Summary:   Xorg X11 nouveau video driver for NVIDIA graphics chipsets
Name:      xorg-x11-drv-nouveau
# need to set an epoch to get version number in sync with upstream
Epoch:     1
Version:   %{nouveau_version}
Release:   41.%{snapshot}%{?dist}
URL:       http://www.x.org
License:   MIT
Group:     User Interface/X Hardware Support
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

# Fedora specific snapshot no upstream release
Source0:   %{tarfile}

ExcludeArch: s390 s390x

BuildRequires: libtool automake autoconf
BuildRequires: xorg-x11-server-sdk >= 1.3.0.0-6
BuildRequires: libdrm-devel >= 2.4.4-4
BuildRequires: mesa-libGL-devel
BuildRequires: kernel-headers >= 2.6.27-0.296

Requires:  hwdata
Requires:  xorg-x11-server-Xorg >= 1.3.0.0-6
Requires:  libdrm >= 2.4.4-4
Requires:  kernel-drm-nouveau = 12

Patch0: nouveau-transition-hack.patch
Patch1: nouveau-store-vbios.patch
Patch2: nouveau-multiple-xserver.patch
Patch3: nouveau-nv50-fb-accel.patch
Patch4: nouveau-nv50-nva0-noaccel.patch
Patch5: dcbconf_7_4_ignore.diff
Patch6: nouveau-fb-resize.patch
Patch7: nouveau-bicubic-2x.patch
Patch8: nv50-pramin-vbios.patch
Patch9: rh508970.patch

%description 
X.Org X11 nouveau video driver.

%prep
%setup -q -n %{tarball}-%{version}

%patch0 -p1 -b .transition
%patch1 -p1 -b .vbios
%patch2 -p1 -b .userswitch
%patch3 -p1 -b .nv50_fb_render
%patch4 -p1 -b .nva0_noaccel
%patch5 -p1 -b .dcbconf
%patch6 -p1 -b .fbresize
%patch7 -p1 -b .bicubic
%patch8 -p1 -b .pramin_bios
%patch9 -p1 -b .rh508970

%build
autoreconf -v --install
%configure --disable-static --with-kms=yes

make

%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{driverdir}/nouveau_drv.so
%{_mandir}/man4/nouveau.4*

%changelog
* Sat Aug 8 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-41.20090528git0c17b87
- rh#508970: fix for minor corruption at depth 16

* Fri Jun 19 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-40.20090528git0c17b87
- correct thinko in pramin vbios patch

* Tue Jun 16 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-39.20090528git0c17b87
- minor fixes from upstream
- nv50-pramin-vbios.patch: rh#492658
- nouveau-fptable-noerror.patch: drop patch, is upstream

* Mon May 25 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-38.20090525gitdb9ff95
- rh#502371 - don't treat lack of fp table as an error on any chipset
- some minor changes to fix issues with pre-nv5x kms

* Thu May 18 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-37.20090514git9656762
- <nv50: fix randr rotation

* Thu May 14 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-36.20090514git9656762
- nv50: fix hang with multiple displays when encoders swap crtcs

* Fri May 08 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-35.20090507git1072103
- nv50: ensure crtcs get reprogrammed as needed across resize

* Thu May 07 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-34.20090507git1072103
- upstream update, fix issues that occured from recent exa abi change

* Mon May 04 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-33.20090501gitf69b34a
- rh#492572: only apply bicubic filter when scaling >=2x
- rh#497654: correct exa offscreen memory size

* Fri May 01 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-32.20090501gitf69b34a
- upstream update fixing serious issues in nv50 output setup

* Mon Apr 21 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-31.20090421git47bb00f
- fix for rh#496559

* Mon Apr 21 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-30.20090421git47bb00f
- fix for rh#489101

* Fri Apr 17 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-29.20090417gitfa2f111
- avoid post-beta hangs experienced by many people (rh#495764, rh#493222).
  - the bug here was relatively harmless, but exposed a more serious issue
    which has been fixed in libdrm-2.4.6-6.fc11
- kms: speed up transitions, they could take a couple of seconds previously
- framebuffer resize support (rh#495838, rh#487356, lots of dups)

* Wed Apr 15 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-27.20090413git7100c06
- fix rh#495843

* Mon Apr 13 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-26.20090413git7100c06
- nouveau-fedora.patch: split out into indivdual functionality
- nv50: disable acceleration on NVAx chipsets, it won't work properly yet
- drop nouveau-eedid.patch, it's upstream now

* Wed Apr 08 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-25.20090408gitd8545e6
- correct logic error in vbios parser (rh#493981)

* Wed Apr 08 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-24.20090408git960a5c8
- modify nv50 ddc regs again, fix kms edid property

* Tue Apr 07 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-23.20090407git11451ca
- upstream update: rh#492399, nv50 PROM fixes

* Sat Apr 04 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-22.20090404git836d985
- use consistent connector names across all modesetting paths
- rh#493981

* Fri Apr 03 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-21.20090403git11be9a9
- upstream update, loads of modesetting fixes
- rh#492819, rh#492427, rh#492289, rh#492289

* Mon Mar 30 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-20.20090330git9d46930
- xv bugfix

* Mon Mar 30 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-19.20090330git9213c39
- fix rh#492239, and various modesetting changes
- nouveau-eedid.patch: remove nv50 hunk, is upstream now

* Fri Mar 27 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-18.20090327gitf1907dc
- nv50: add default modes to mode pool for lvds panels (rh#492360)
- kms: fix getting edid blob from kernel

* Fri Mar 27 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-17.20090327gitf431e20
- fix partially obscured xv rendering without compmgr (rh#492227,rh#492229,rh#492428)
- fix crash when rotation requested (fdo#20848)
- additional sanity checks for kernel modesetting enabled

* Thu Mar 26 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-16.20090326git01cee29
- update, should fix rh#497173

* Mon Mar 23 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-15.20090324git4067ab4
- more ppc build fixes

* Mon Mar 23 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-14.20090323git3063486
- fix ppc build

* Mon Mar 23 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-13.20090323gitd80fe78
- modesetting fixes, should handle rh#487456

* Mon Mar 23 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-12.20090318git3e7fa97
- upstream update, various fixes to pre-nv50 modesetting, cleanups

* Fri Mar 13 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-11.20090313git79d23d8
- kms: dpms fixes
- kms: nicer reporting of output properties to users
- improve init paths, more robust
- support for multiple xservers (fast user switching)

* Tue Mar 10 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-10.20090310git8f9a580
- upstream update, should fix #455194

* Mon Mar 09 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-9.20090309gited9bd88
- upstream update, fixes
- store used vbios image in /var/run, will potentially help debugging later

* Thu Mar 05 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-8.20090305git42f99e6
- upstream update, fixes
- kms: support gamma and dpms calls
- kms: nicer transition to gdm from plymouth

* Mon Mar 02 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-7.20090302gite6c3b98
- upstream update, fixes

* Fri Feb 27 2009 Adam Jackson <ajax@redhat.com> 0.0.12-6.20090224gitd91fc78
- nouveau-eedid.patch: Do EEDID.

* Tue Feb 24 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-5.20090224gitd91fc78
- improve description of package

* Tue Feb 24 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-4.20090224gitd91fc78
- new upstream snapshot

* Tue Feb 17 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-1.20090216git7b25a30
- fixes from upstream
- append git version to tarball filename

* Mon Feb 16 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-1.20090213git2573c06
- latest snapshot
- add patches to improve G80/G90 desktop performance 

* Sat Feb 7 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-3.20090205git945f0cb
- build with kms paths enabled, so things don't blow up with kms turned on

* Thu Feb 5 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.12-1.20090205git945f0cb
- latest snapshot - kernel interface 0.0.12

* Tue Feb 03 2009 Kyle McMartin <kyle@redhat.com> 0.0.11-2.20090106git133c1a5
- add build-dep on mesa (missing GL/gl.h due to glxint.h)

* Tue Jan 13 2009 Ben Skeggs <bskeggs@redhat.com> 0.0.11-1.20090106git133c1a5
- update to latest snapshot

* Wed Nov 19 2008 Dave Airlie <airlied@redhat.com> 0.0.11-1.20081119git65b956f
- update to latest upstream snapshot

* Tue Sep 02 2008 Dave Airlie <airlied@redhat.com> 0.0.11-1.20080902git6dd8ad4
- update to snapshot with new kernel interface 0.0.11

* Tue May 20 2008 Dave Airlie <airlied@redhat.com> 0.0.10-3.20080520git9c1d87f
- update to latest snapshot - enables randr12

* Tue Apr 08 2008 Dave Airlie <airlied@redhat.com> 0.0.10-2.20080408git0991281
- Update to latest snapshot

* Tue Mar 11 2008 Dave Airlie <airlied@redhat.com> 1:0.0.10-1.20080311git460cb26
- update to latest snapshot

* Fri Feb 29 2008 Dave Airlie <airlied@redhat.com> 1:0.0.10-1.20080221git5db7920
- Initial package for nouveau driver.