f7116e
%define tarball xf86-video-ati
mharris 943390
%define moduledir %(pkg-config xorg-server --variable=moduledir )
mharris c8555f
%define driverdir	%{moduledir}/drivers
mharris 943390
mharris 943390
Summary:   Xorg X11 ati video driver
mharris 943390
Name:      xorg-x11-drv-ati
fbc5fa
Version:   6.8.0
68a603
Release:   10%{?dist}
mharris 943390
URL:       http://www.x.org
0352f8
License:   MIT
mharris cc01fd
Group:     User Interface/X Hardware Support
mharris cc01fd
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
mharris cc01fd
mharris 521d38
Source0:   ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
mharris a87a1b
Source1:   ati.xinf
mharris 0744e5
Source2:   r128.xinf
mharris 0744e5
Source3:   radeon.xinf
mharris 943390
fdd519
# Radeon patches (0-99)
fb7d64
Patch1:     radeon-git-upstream-fixes.patch
ebfb34
Patch2:     radeon-git-upstream-fixes2.patch
ef56a4
Patch4:     radeon-6.7.196-faster-ddc.patch
fdd519
fdd519
# Rage 128 patches (100-199)
356bfc
bfe107
# mach64 patches (200-299)
7b2583
Patch200: mach64-ia64-pagesize.patch
bfe107
6ca1cb
# ati wrapperloader patches (300-399)
9cf381
7fb245
ExcludeArch: s390 s390x
mharris 943390
a53d09
BuildRequires: xorg-x11-server-sdk >= 1.4.99.1
mharris 5387e8
BuildRequires: mesa-libGL-devel >= 6.4-4
mharris 0744e5
BuildRequires: libdrm-devel >= 2.0-1
dcdedd
BuildRequires: automake autoconf libtool pkgconfig
dcdedd
BuildRequires: xorg-x11-util-macros >= 1.1.5
mharris 943390
0352f8
Requires:  hwdata
a53d09
Requires:  xorg-x11-server-Xorg >= 1.4.99.1
mharris a87a1b
mharris 943390
%description 
mharris 943390
X.Org X11 ati video driver.
mharris 943390
mharris 943390
%prep
f7116e
%setup -q -n %{tarball}-%{version}
mharris 943390
fb7d64
%patch1 -p1 -b .git
ebfb34
%patch2 -p1 -b .git2
bd9423
%patch4 -p1 -b .ddc
454f12
7b2583
%patch200 -p1 -b .mach64-ia64
7b2583
mharris 943390
%build
dcdedd
aclocal ; automake -a ; autoconf
mharris 943390
%configure --disable-static
mharris 62b282
make %{?_smp_mflags}
mharris 943390
mharris 943390
%install
mharris 943390
rm -rf $RPM_BUILD_ROOT
mharris a87a1b
mharris 943390
make install DESTDIR=$RPM_BUILD_ROOT
mharris 943390
mharris a87a1b
mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases
mharris a87a1b
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/
mharris 0744e5
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/
mharris 0744e5
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/
mharris a87a1b
mharris a87a1b
find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
mharris 943390
mharris 943390
%clean
mharris 943390
rm -rf $RPM_BUILD_ROOT
mharris 943390
mharris 943390
%files
mharris 943390
%defattr(-,root,root,-)
0feae4
%doc README.ati README.r128
mharris 62b282
%{driverdir}/ati_drv.so
3d8ede
%{driverdir}/mach64_drv.so
454f12
%{driverdir}/r128_drv.so
mharris 62b282
%{driverdir}/radeon_drv.so
mharris a87a1b
%{_datadir}/hwdata/videoaliases/ati.xinf
mharris 0744e5
%{_datadir}/hwdata/videoaliases/r128.xinf
mharris 0744e5
%{_datadir}/hwdata/videoaliases/radeon.xinf
ef56a4
%{moduledir}/multimedia/theatre200_drv.so
ef56a4
%{moduledir}/multimedia/theatre_detect_drv.so
ef56a4
%{moduledir}/multimedia/theatre_drv.so
mharris a87a1b
%{_mandir}/man4/ati.4*
mharris a87a1b
%{_mandir}/man4/r128.4*
mharris a87a1b
%{_mandir}/man4/radeon.4*
mharris 943390
mharris 943390
%changelog
68a603
* Sun Apr 06 2008 Dave Airlie <airlied@redhat.com> 6.8.0-10
68a603
- attempt to fix VT switch and X restart hangs
68a603
232a2e
* Wed Apr 02 2008 Dave Airlie <airlied@redhat.com> 6.8.0-9
232a2e
- attempt to fix dualhead and rotation at the same time.
232a2e
692eff
* Mon Mar 31 2008 Dave Airlie <airlied@redhat.com> 6.8.0-8
692eff
- Hopefully fix quirks not applying on radeon LVDS (#435126)
692eff
- quirk connector table from (#428515)
692eff
- fix rotate on r500 cards
692eff
ebfb34
* Sun Mar 30 2008 Dave Airlie <airlied@redhat.com> 6.8.0-7
ebfb34
- Major upstream fixes backported - render accel, xv etc.
ebfb34
- This is done with a separate patch as upstream has split mach64/r128 already
ebfb34
ae5223
* Fri Mar 28 2008 Adam Jackson <ajax@redhat.com> 6.8.0-6
ae5223
- radeon.xinf: :1,$s/radeon_tp/radeon/
ae5223
7b2583
* Wed Mar 26 2008 Dave Airlie <airlied@redhat.com> 6.8.0-5
7b2583
- Fix mach64 on ia64 with 16k pagesize (#438947)
7b2583
7a7bc1
* Tue Mar 11 2008 Adam Jackson <ajax@redhat.com> 6.8.0-4
7a7bc1
- r500-dual-link-love.patch: Make R300+ max CRTC size guess big enough
7a7bc1
  for a 30" monitor.
7a7bc1
c31e7d
* Mon Mar 03 2008 Dave Airlie <airlied@redhat.com> 6.8.0-3
c31e7d
- rebuild for upstream ABI breakage
c31e7d
fb7d64
* Tue Feb 26 2008 Dave Airlie <airlied@redhat.com> 6.8.0-2
fb7d64
- rebase to upstream 6.8.0 release + git fixes
fb7d64
fbc5fa
* Tue Feb 19 2008 Dave Airlie <airlied@redhat.com> 6.8.0-1
fbc5fa
- rebase to upstream 6.8.0 release.
fbc5fa
948d68
* Mon Feb 18 2008 Dave Airlie <airlied@redhat.com> 6.7.197-3
948d68
- rebase to upstream git master - lots of r600 fixes
948d68
df64f3
* Fri Feb 08 2008 Dave Airlie <airlied@redhat.com> 6.7.197-2
df64f3
- rebase to upstream git master - add rv67x ids
df64f3
74ab4a
* Mon Feb 04 2008 Dave Airlie <airlied@redhat.com> 6.7.197-1
74ab4a
- rebase to upstream git master
74ab4a
- add r5xx and r6xx pci ids to xinf
74ab4a
d8b594
* Thu Jan 17 2008 Dave Airlie <airlied@redhat.com> 6.7.196-7
d8b594
- fix up IGPs from upstream fix.
d8b594
67f05f
* Wed Jan 09 2008 Adam Jackson <ajax@redhat.com> 6.7.196-6
67f05f
- Rebuild for new server ABI.
67f05f
0882cf
* Wed Jan 02 2008 Adam Jackson <ajax@redhat.com> 6.7.196-5
0882cf
- r128-6.7.196-pciaccess.patch: Fix some preprocessor dumbness.
0882cf
454f12
* Wed Jan 02 2008 Adam Jackson <ajax@redhat.com> 6.7.196-4
454f12
- r128-6.7.196-pciaccess.patch: Port r128 to libpciaccess.
454f12
b637b0
* Wed Dec 19 2007 Dave Airlie <airlied@redhat.com> 6.7.196-3
b637b0
- radeon-git-upstream-fixes.patch - update for latest git master
b637b0
- radeon-6.7.196-atombios-support.patch - update for r500/r600
b637b0
a42a7f
* Mon Dec 17 2007 Adam Jackson <ajax@redhat.com> 6.7.196-2
a42a7f
- *-6.7.196-alloca.patch: Fix ALLOCATE_LOCAL failures.
a42a7f
ef56a4
* Wed Nov 14 2007 Adam Jackson <ajax@redhat.com> 6.7.196-1
ef56a4
- xf86-video-ati 6.7.196
ef56a4
a53d09
* Tue Nov 13 2007 Adam Jackson <ajax@redhat.com> 6.7.195-5
a53d09
- Require xserver 1.4.99.1
a53d09
bd9423
* Thu Nov 08 2007 Adam Jackson <ajax@redhat.com> 6.7.195-4
bd9423
- radeon-6.7.195-faster-ddc.patch: Speed up X startup by assuming the
bd9423
  monitor doesn't need a dead chicken waved over it to get DDC.
bd9423
af87d3
* Tue Oct 16 2007 Dave Airlie <airlied@redhat.com> 6.7.195-3
af87d3
- upstream fixes including previous patches + attempted mac detection
af87d3
eacc7a
* Tue Oct 09 2007 Adam Jackson <ajax@redhat.com> 6.7.195-2
eacc7a
- DDC and LVDS patches from git.
eacc7a
f169ae
* Sat Oct 06 2007 Adam Jackson <ajax@redhat.com> 6.7.195-1
f169ae
- xf86-video-ati 6.7.195
f169ae
ebf2bf
* Fri Oct 5 2007 Dave Airlie <airlied@redhat.com> 6.7.194-3
ebf2bf
- radeon-6.7.194-upstream-fixes - Upstream LVDS fixes
ebf2bf
  improve chances of working on more panels.
ebf2bf
0a5852
* Fri Sep 28 2007 Dave Airlie <airlied@redhat.com> 6.7.194-2
0a5852
- radeon-6.7.194-disable-rc410-dri.patch - Disable DRI on
0a5852
  RC410 by default as it seems to need some more work.
0a5852
ee1c92
* Mon Sep 24 2007 Dave Airlie <airlied@redhat.com> 6.7.194-1
ee1c92
- xf86-video-ati 6.7.194
ee1c92
14d363
* Thu Sep 20 2007 Dave Airlie <airlied@redhat.com> 6.7.193-1
14d363
- xf86-video-ati 6.7.193
14d363
8f268e
* Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 6.7.192-1
8f268e
- xf86-video-ati 6.7.192
8f268e
29f140
* Mon Aug 27 2007 Dave Airlie <airlied@redhat.com> 6.7.191-2
29f140
- radeon-6.7.191-git-master.patch - upgrade to git head
29f140
  f36720377737210c985b196d9a988efdd767f1c7
29f140
bcfff4
* Tue Aug 23 2007 Dave Airlie <airlied@redhat.com> 6.7.191-1
bcfff4
- xf86-video-ati 6.7.191. - Add a pre-release of radeon randr code
bcfff4
  This will break old zaphod mode further than the current 6.6.193
bcfff4
  driver, and will probably break mergedfb configs, however it will
bcfff4
  work with randr-1.2 properly and is the more supported codebase going
bcfff4
  forward.
bcfff4
ec3d9b
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 6.6.193-3
ec3d9b
- Rebuild for build id
ec3d9b
ed0627
* Wed Aug 08 2007 Dave Airlie <airlied@redhat.com> 6.6.193-2
ed0627
- xf86-video-ati 6.6.193. - remove dotclock workaround for now
ed0627
  It causes crashes bug 251051
ed0627
ce9a51
* Sat Aug 04 2007 Dave Airlie <airlied@redhat.com> 6.6.193-1
ce9a51
- xf86-video-ati 6.6.193.
ce9a51
0feae4
* Wed Jun 27 2007 Adam Jackson <ajax@redhat.com> 6.6.192-1
0feae4
- xf86-video-ati 6.6.192.
0feae4
7e74b1
* Tue Jun 19 2007 Adam Jackson <ajax@redhat.com> 6.6.3-4
7e74b1
- radeon-6.6.3-renderaccel-buglet.patch: Fix OpenOffice font corruption
7e74b1
  when RenderAccel is disabled. (#244675)
7e74b1
0352f8
* Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 6.6.3-3
0352f8
- Update Requires and BuildRequires.  Disown the module directories.  Add
0352f8
  Requires: hwdata.
0352f8
7fb245
* Thu Feb 15 2007 Adam Jackson <ajax@redhat.com> 6.6.3-2
7fb245
- ExclusiveArch -> ExcludeArch
7fb245
9cf381
* Tue Nov 7 2006 Adam Jackson <ajackson@redhat.com> 6.6.3-1.fc7
9cf381
- Update to 6.6.3.
9cf381
6ca1cb
* Mon Oct 2 2006 Adam Jackson <ajackson@redhat.com> 6.6.2-4
6ca1cb
- ati-prefer-radeon-then-r128.patch: When loading through the 'ati' wrapper,
6ca1cb
  prefer radeon to rage128 to mach{64,32,16,8,4,2,1}. 
6ca1cb
- r128-fp-dpms.patch: Hook up DPMS for Rage128 DFPs. (#197436)
6ca1cb
- radeon-6.6.2-dac-fix.patch: Even though we turn DACs on for probing, don't
6ca1cb
  turn them off.  Fixes black screen of death post-rhgb.  (#208610)
6ca1cb
- radeon-6.6.2-pmac-bios.patch: Be more suspicious of ROMs before interpreting
6ca1cb
  their content.  (#208694)
6ca1cb
- radeon-6.6.2-usefbdev-patch.patch: Use the framebuffer stride from fbdev,
6ca1cb
  instead of making up numbers.  (#208694)
6ca1cb
8ca099
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 6.6.2-3
8ca099
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
8ca099
00b23c
* Thu Sep 21 2006 Adam Jackson <ajackson@redhat.com> 6.6.2-2.fc6
00b23c
- radeon-6.6.2-dac-fix.patch: Backport 25fa71... from git.  Turn on the DAC
00b23c
  before doing CRT connection probe, otherwise we might incorrectly detect
00b23c
  a CRT where there isn't one. (#202240 and others)
00b23c
4a429b
* Tue Aug 29 2006 Adam Jackson <ajackson@redhat.com> 6.6.2-1.fc6
4a429b
- Update to 6.6.2 from upstream:
4a429b
  - Mach64 stability and correctness fixes
4a429b
  - Mach64 EXA support.
4a429b
  - Misc bugfixes for radeon.
4a429b
596ad6
* Thu Aug 24 2006 Adam Jackson <ajackson@redhat.com> 6.6.1-11.fc6
596ad6
- radeon-6.6.1-use-mtdriver.patch: Only flag modes with M_T_PREFERRED if
596ad6
  the EDID blocks says to.
596ad6
f71aa2
* Fri Aug 18 2006 Adam Jackson <ajackson@redhat.com> 6.6.1-10.fc6
f71aa2
- radeon-6.6.1-use-mtdriver.patch: Use new M_T_DRIVER mode type for mode
f71aa2
  synthesis.
f71aa2
- Bump Requires to match.
f71aa2
bfe107
* Fri Aug 18 2006 Adam Jackson <ajackson@redhat.com> 6.6.1-9.fc6
bfe107
- mach64-cpio-for-ia64.patch: Enable CPIO for mach64 on ia64. (#203017)
bfe107
d92033
* Thu Aug 10 2006 Adam Jackson <ajackson@redhat.com> 6.6.1-8.fc6
d92033
- radeon-6.6.1-xpress-200.patch: Also disable DRI on xpress200, known broken.
d92033
fdd519
* Wed Aug  2 2006 Adam Jackson <ajackson@redhat.com> 6.6.1-7.fc6
fdd519
- Make sure DRI and Render accel are disabled on RN50.
fdd519
Kristian Høgsberg eb9c3d
* Sat Jul 29 2006 Kristian Høgsberg <krh@redhat.com> 6.6.1-6.fc5.aiglx
Kristian Høgsberg 3eed60
- Build for fc5 aiglx repo.
Kristian Høgsberg 3eed60
aa174f
* Thu Jul 27 2006 Adam Jackson <ajackson@redhat.com> 6.6.1-6.fc6
aa174f
- Updated radeon.xinf: comments, a handful of new devices.
aa174f
aa174f
* Mon Jul 24 2006 Mike A. Harris <mharris@redhat.com> 6.6.1-5.fc6
mharris 1a7ea8
- Added r128-missing-xf86ForceHWCursor-symbol-bug168753.patch to fix (#168753)
mharris 1a7ea8
- Add {?dist} tag to Release field
mharris 1a7ea8
mharris fee721
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 6.6.1-4.1
e78c45
- rebuild
e78c45
mharris 4b5e84
* Wed Jun 28 2006 Mike A. Harris <mharris@@redhat.com> 6.6.1-4
mharris 4b5e84
- Added "BuildRequires: xorg-x11-server-sdk >= 1.1.0-12" to fix the same
mharris 4b5e84
  problem at build time as were added in 6.6.1-2 to fix it at runtime.
mharris 4b5e84
mharris 4b5e84
* Tue Jun 27 2006 Kristian Høgsberg <krh@redhat.com> 6.6.1-3
Kristian Høgsberg f4d301
- Bump release for FC5 aiglx build.
Kristian Høgsberg f4d301
356bfc
* Mon Jun 26 2006 Adam Jackson <ajackson@redhat.com> 6.6.1-2
356bfc
- Filter the EDID mode list by the monitor's reported pixel clock.  Bump
356bfc
  the BuildReq to a server that provides the necessary ABI field.
356bfc
mharris 6377fb
* Sat Jun 17 2006 Mike A. Harris <mharris@redhat.com> 6.6.1-1
mharris 6377fb
- Updated xorg-x11-drv-ati to version 6.6.1 update release for X11R7.1
mharris 6377fb
- Drop db-root-visual.patch, as it is included in 6.6.1
mharris 6377fb
- Enable DRI support for sparc/sparc64 builds.
mharris 6377fb
mharris 4b5e84
* Fri Jun  9 2006 Kristian Høgsberg <krh@redhat.com> 6.6.0-7
Kristian Høgsberg dc7b5d
- Committed db-root-visual.patch and reenabled.
Kristian Høgsberg dc7b5d
mharris 6e1052
* Thu Jun  8 2006 Mike A. Harris <mharris@@redhat.com> 6.6.0-6
mharris 6e1052
- Disable db-root-visual.patch, because the file wasn't committed to CVS.
mharris 6e1052
Kristian Høgsberg 1a848d
* Thu Jun  8 2006 Kristian Høgsberg <krh@redhat.com> 6.6.0-5
Kristian Høgsberg 1a848d
- Bump for rawhide build.
Kristian Høgsberg 1a848d
Kristian Høgsberg 1a848d
* Thu Jun  8 2006 Kristian Høgsberg <krh@redhat.com> 6.6.0-4
Kristian Høgsberg 32ad03
- Add db-root-visual.patch to make root visual double buffered.
Kristian Høgsberg 32ad03
633ecc
* Tue May 23 2006 Adam Jackson <ajackson@redhat.com> 6.6.0-3
633ecc
- Rebuild for 7.1 ABI fix.
633ecc
Kristian Høgsberg e705ad
* Tue Apr 11 2006 Kristian Høgsberg <krh@redhat.com> 6.6.0-2
Kristian Høgsberg e705ad
- Bump for fc5-bling build.
Kristian Høgsberg e705ad
f7116e
* Sun Apr  9 2006 Adam Jackson <ajackson@redhat.com> 6.6.0-1
f7116e
- Update to 6.6.0 from 7.1RC1.
f7116e
Kristian Høgsberg 1c33f3
* Tue Apr  4 2006 Kristian Høgsberg <krh@redhat.com> 6.5.7.3-4.cvs20060404
Kristian Høgsberg 1c33f3
- Update to CVS snapshot from 20060404.
Kristian Høgsberg 1c33f3
Kristian Høgsberg 4f5e86
* Wed Mar 22 2006 Kristian Høgsberg <krh@redhat.com> 6.5.7.3-4.cvs20060322
Kristian Høgsberg 4f5e86
- Update to CVS snapshot of 20060322.
Kristian Høgsberg 4f5e86
- Drop xorg-x11-drv-ati-6.5.7.3-radeon-metamodes-SEGV-fix.patch.
Kristian Høgsberg 4f5e86
mharris cc01fd
* Tue Feb 21 2006 Mike A. Harris <mharris@redhat.com> 6.5.7.3-4
mharris cc01fd
- Added xorg-x11-drv-ati-6.5.7.3-radeon-metamodes-SEGV-fix.patch from CVS HEAD.
mharris cc01fd
a48232
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 6.5.7.3-3.2
a48232
- bump again for double-long bug on ppc(64)
a48232
5c80a1
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 6.5.7.3-3.1
5c80a1
- rebuilt for new gcc4.1 snapshot and glibc changes
5c80a1
mharris cc01fd
* Sun Feb 05 2006 Mike A. Harris <mharris@redhat.com> 6.5.7.3-3
mharris 438d0d
- Updated radeon.xinf to be up to date with the xf86PciInfo.h from the Xorg
mharris 438d0d
  X server 1.0.1-1 source.  This should account for all supported Radeon
mharris 438d0d
  models now modulo errors/omissions.
mharris 438d0d
mharris cc01fd
* Thu Feb 02 2006 Mike A. Harris <mharris@redhat.com> 6.5.7.3-2
mharris 0744e5
- Added r128.xinf and radeon.xinf videoalias files to fix bug (#174101).
mharris 0744e5
- Added "BuildRequires: libdrm-devel >= 2.0-1" to fix bug (#178613)
mharris 0744e5
mharris a87a1b
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 6.5.7.3-1
mharris a87a1b
- Updated xorg-x11-drv-ati to version 6.5.7.3 from X11R7.0
mharris a87a1b
- Added ati.xinf videoalias file for hardware autodetection.
mharris a87a1b
mharris d51f93
* Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 6.5.7.2-1
mharris d51f93
- Updated xorg-x11-drv-ati to version 6.5.7.2 from X11R7 RC4
mharris d51f93
- Removed 'x' suffix from manpage dirs to match RC4 upstream.
mharris d51f93
mharris 9c6e9d
* Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 6.5.7-1
mharris 9c6e9d
- Updated xorg-x11-drv-ati to version 6.5.7 from X11R7 RC2
mharris 9c6e9d
mharris c8555f
* Fri Nov 4 2005 Mike A. Harris <mharris@redhat.com> 6.5.6.1-1
mharris c8555f
- Updated xorg-x11-drv-ati to version 6.5.6.1 from X11R7 RC1
mharris c8555f
- Fix *.la file removal.
mharris 5387e8
- Add "BuildRequires: mesa-libGL-devel >= 6.4-4 for DRI builds"
mharris 5387e8
mharris 62b282
* Mon Oct 3 2005 Mike A. Harris <mharris@redhat.com> 6.5.6-1
mharris 62b282
- Update BuildRoot to use Fedora Packaging Guidelines.
mharris 62b282
- Deglob file manifest.
mharris 62b282
- Use _smp_mflags with make, to speed up SMP builds.
mharris ed5405
- Add "alpha sparc sparc64" to ExclusiveArch
mharris 62b282
mharris 943390
* Fri Sep 2 2005 Mike A. Harris <mharris@redhat.com> 6.5.6-0
mharris 943390
- Initial spec file for ati video driver generated automatically
mharris 943390
  by my xorg-driverspecgen script.