Radeon

Pepe pepe w apollo.net.pl
Pon, 28 Kwi 2003, 10:31:47 CEST


On Mon, 28 Apr 2003 10:09:37 +0200
Grzegorz Pietrzak <grzes w artikon.one.pl> wrote:

> Teraz mam XFree.spec
> ($Revision: 1.409 $, $Date: 2003/04/19 16:47:17 $)

Oto patch:

diff -urN SPECS/XFree86.spec SPECS/XFree86_gatos.spec
--- SPECS/XFree86.spec	Mon Apr 28 10:23:34 2003
+++ SPECS/XFree86_gatos.spec	Mon Apr 28 10:21:50 2003
@@ -24,7 +24,7 @@
 Summary(zh_CN):	XFree86 ´°¿Úϵͳ·þÎñÆ÷ºÍ»ù±¾³ÌÐò
 Name:		XFree86
 Version:	4.3.0
-Release:	1.2
+Release:	1.3
 License:	MIT
 Group:		X11/XFree86
 Source0:	ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/X430src-1.tgz
@@ -56,7 +56,8 @@
 Source36:	oclock.png
 Source37:	xconsole.png
 Source38:	http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-Xman-pages.tar.bz2
-Source39:	cvs://anonymous@cvs.gatos.sourceforge.net/cvsroot/gatos/ati.2-20021001.tar.bz2
+#Source39:	cvs://anonymous@cvs.gatos.sourceforge.net/cvsroot/gatos/ati.2-20021001.tar.bz2
+Source39:	ati.2-CVS.tar.bz2
 Patch0:		%{name}-PLD.patch
 Patch1:		%{name}-HasZlib.patch
 Patch2:		%{name}-DisableDebug.patch
@@ -1962,8 +1963,8 @@
 rm -f xc/config/cf/host.def
 
 # New ATI drivers
-# cd xc/programs/Xserver/hw/xfree86/drivers
-#%bzcat %{SOURCE39} | tar x
+cd xc/programs/Xserver/hw/xfree86/drivers
+bzcat %{SOURCE39} | tar x
 # ati.2 directory
 
 #--- %build --------------------------
@@ -1977,12 +1978,12 @@
 	"ICONDIR=%{_icondir}"
 
 %ifnarch alpha
-#%%{__make} -C xc/programs/Xserver/hw/xfree86/drivers SUBDIRS="ati.2" Makefiles
-#%%{__make} -C xc/programs/Xserver/hw/xfree86/drivers SUBDIRS="ati.2" all \
-#	"BOOTSTRAPCFLAGS=%{rpmcflags}" \
-#	"CCOPTIONS=%{rpmcflags}" \
-#	"CXXOPTIONS=%{rpmcflags}" \
-#	"CXXDEBUGFLAGS=" "CDEBUGFLAGS="
+%{__make} -C xc/programs/Xserver/hw/xfree86/drivers SUBDIRS="ati.2" Makefiles
+%{__make} -C xc/programs/Xserver/hw/xfree86/drivers SUBDIRS="ati.2" all \
+	"BOOTSTRAPCFLAGS=%{rpmcflags}" \
+	"CCOPTIONS=%{rpmcflags}" \
+	"CXXOPTIONS=%{rpmcflags}" \
+	"CXXDEBUGFLAGS=" "CDEBUGFLAGS="
 %endif
 
 #--- %install ------------------------
@@ -2011,11 +2012,11 @@
 		install install.man
 
 %ifnarch alpha
-#install -d $RPM_BUILD_ROOT%{_libdir}/modules.gatos/{drivers,dri}
-#install xc/programs/Xserver/hw/xfree86/drivers/ati.2/*_drv.o \
-#	$RPM_BUILD_ROOT%{_libdir}/modules.gatos/drivers
-#install xc/programs/Xserver/hw/xfree86/drivers/ati.2/*_dri.o \
-#	$RPM_BUILD_ROOT%{_libdir}/modules.gatos/dri
+install -d $RPM_BUILD_ROOT%{_libdir}/modules.gatos/{drivers,dri}
+install xc/programs/Xserver/hw/xfree86/drivers/ati.2/*_drv.o \
+	$RPM_BUILD_ROOT%{_libdir}/modules.gatos/drivers
+install xc/programs/Xserver/hw/xfree86/drivers/ati.2/*_dri.o \
+	$RPM_BUILD_ROOT%{_libdir}/modules.gatos/dri
 
 %endif
 
@@ -2816,31 +2817,31 @@
 %{_mandir}/man4/radeon*
 
 %ifnarch alpha
-#%%files driver-ati.2
-#%defattr(644,root,root,755)
-#%dir %{_libdir}/modules.gatos/drivers
-#%attr(755,root,root) %{_libdir}/modules.gatos/drivers/ati*_drv.o
-#%attr(755,root,root) %{_libdir}/modules.gatos/drivers/[bfmt]*_drv.o
+%files driver-ati.2
+%defattr(644,root,root,755)
+%dir %{_libdir}/modules.gatos/drivers
+%attr(755,root,root) %{_libdir}/modules.gatos/drivers/ati*_drv.o
+%attr(755,root,root) %{_libdir}/modules.gatos/drivers/[bfmt]*_drv.o
 %endif
 
 %ifnarch alpha
-#%files driver-r128.2
-#%defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/modules.gatos/drivers/r128*_drv.o
-#%ifnarch sparc sparc64
-#%attr(755,root,root) %{_libdir}/modules.gatos/dri/r128_dri.o
-#%endif
-#%%{_mandir}/man4/r128*
+%files driver-r128.2
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/modules.gatos/drivers/r128*_drv.o
+%ifnarch sparc sparc64
+%attr(755,root,root) %{_libdir}/modules.gatos/dri/r128_dri.o
+%endif
+%{_mandir}/man4/r128*
 %endif
 
 %ifnarch alpha
-#%files driver-radeon.2
-#%defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/modules.gatos/drivers/radeon*_drv.o
-#%attr(755,root,root) %{_libdir}/modules.gatos/drivers/saa7114_drv.o
-#%ifnarch sparc sparc64
-#%attr(755,root,root) %{_libdir}/modules.gatos/dri/radeon_dri.o
-#%endif
+%files driver-radeon.2
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/modules.gatos/drivers/radeon*_drv.o
+%attr(755,root,root) %{_libdir}/modules.gatos/drivers/saa7114_drv.o
+%ifnarch sparc sparc64
+%attr(755,root,root) %{_libdir}/modules.gatos/dri/radeon_dri.o
+%endif
 %endif
 
 # Devel: sparc sparc64

Same starowniki musisz zassaæ z cvs'a gatosa - plik ati.2-CVS.tar.bz2

-- 
Pepe



Wiêcej informacji o li¶cie dyskusyjnej pld-users-pl