source: projects/specs/trunk/x/xorg-x11-drv-openchrome/xorg-x11-drv-openchrome-vl.spec @ 2814

Revision 2814, 7.8 KB checked in by Takemikaduchi, 13 years ago (diff)

upload: xserver-1.10.0

Line 
1%define tarball xf86-video-openchrome
2%define moduledir %(pkg-config xorg-server --variable=moduledir )
3%define driverdir       %{moduledir}/drivers
4
5%define cvsdate xxxxxxx
6
7%define with_xvmc 1
8
9Summary:        Xorg X11 openchrome video driver
10Summary(ja):    Xorg X11 openchrome ビデオドライバ
11Name:           xorg-x11-drv-openchrome
12Version:        0.2.904
13Release:        5%{?_dist_release}
14URL:            http://www.openchrome.org
15License:        MIT
16Group:          User Interface/X Hardware Support
17BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
18
19Source0:        http://www.openchrome.org/releases/%{tarball}-%{version}.tar.bz2
20Source1:        openchrome.xinf
21
22# Patches from upstream trunk :
23# svn diff -x -p http://svn.openchrome.org/svn/tags/release_0_2_904 http://svn.openchrome.org/svn/trunk
24Patch0:         openchrome-0.2.904-latest_trunk.patch
25# svn diff -x -p -r853:854 http://svn.openchrome.org/svn/trunk
26patch1:         openchrome-0.2.904-fix_dri_on_64_bits.patch
27
28# Patches from Fedora :
29Patch13:        openchrome-0.2.904-fix_tvout_flickering.patch
30Patch20:        openchrome-0.2.904-I420_Xv_surface_for_CME.patch
31
32ExclusiveArch:  %{ix86} x86_64
33
34BuildRequires:  pkgconfig
35BuildRequires:  xorg-x11-server-sdk
36BuildRequires:  automake
37BuildRequires:  libtool
38BuildRequires:  libX11-devel
39BuildRequires:  libXext-devel
40BuildRequires:  mesa-libGL-devel
41%if %{with_xvmc}
42BuildRequires:  libXvMC-devel
43%endif
44BuildRequires:  libdrm-devel >= 2.0-1
45Requires:       xorg-x11-server-Xorg
46
47Obsoletes:  XOrg-drv-via <= 0.2.2-4
48Provides:   xorg-x11-drv-via = 0.2.2-5
49
50%description
51X.Org X11 openchrome video driver.
52
53%if %{with_xvmc}
54%package devel
55Summary:        Xorg X11 openchrome video driver XvMC development package
56Summary(ja):    Xorg X11 openchrome ビデオドライバ XvMC 開発パッケージ
57Group:          Development/System
58Requires:       %{name} = %{version}-%{release}
59Obsoletes:      XOrg-drv-via-devel <= 0.2.2-4
60Provides:       xorg-x11-drv-via-devel = 0.2.2-5
61
62%description devel
63X.Org X11 openchrome video driver XvMC development package.
64%endif
65
66%prep
67%setup -q -n %{tarball}-%{version}
68%patch0 -p0
69%patch1 -p0
70%patch13 -p0
71%patch20 -p1
72
73%build
74%configure --disable-static --enable-dri
75make
76
77%install
78rm -rf $RPM_BUILD_ROOT
79
80make install DESTDIR=$RPM_BUILD_ROOT
81
82mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases
83install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/openchrome.xinf
84
85# FIXME: Remove all libtool archives (*.la) from modules directory.  This
86# should be fixed in upstream Makefile.am or whatever.
87find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
88
89%clean
90rm -rf $RPM_BUILD_ROOT
91
92%post
93if [ -e /etc/X11/xorg.conf ]; then
94    sed -i "/Driver/s/via/openchrome/" /etc/X11/xorg.conf || :
95fi
96
97%files
98%defattr(-,root,root,-)
99%doc COPYING NEWS README
100%{driverdir}/openchrome_drv.so
101%{_datadir}/hwdata/videoaliases/openchrome.xinf
102%if %{with_xvmc}
103%{_libdir}/libchromeXvMC.so.1
104%{_libdir}/libchromeXvMC.so.1.0.0
105%{_libdir}/libchromeXvMCPro.so.1
106%{_libdir}/libchromeXvMCPro.so.1.0.0
107%endif
108%{_mandir}/man4/openchrome.4.gz
109
110%if %{with_xvmc}
111%files devel
112%defattr(-,root,root,-)
113%{_libdir}/libchromeXvMC.so
114%{_libdir}/libchromeXvMCPro.so
115%endif
116
117
118%changelog
119* Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-5
120- rebuild with xserver-1.10.0
121
122* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-4
123- rebuild with xserver-1.9.2
124
125* Tue Oct 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.904-3
126- update to svn trunk (r854)
127- add patch13,20 from fedora
128
129* Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.904-2
130- rebuild with xserver-1.8rc
131
132* Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.904-1
133- new upstream release
134
135* Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp>  0.2.903-2
136- rebuild with X server 1.6.0
137
138* Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.903-1
139- new upstream release
140
141* Sat May 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp>  0.2.902-1
142- initial build for Vine Linux
143
144* Thu Apr 17 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.902-3
145- Strip leading /trunk/ from patch #2 and #3.
146
147* Sun Apr 13 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.902-2
148- Add patch to properly report driver version in the libpciaccess code path.
149- Add patch to properly report chipset revision in the libpciaccess code path.
150
151* Wed Apr 09 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.902-1
152- New upstream release.
153- Re-enable AGPDMA for K8M800 and VM800, as the drm bug is fixed in kernel
154  >= 2.6.25rc7 (Patch #1).
155
156* Mon Mar 17 2008 Jesse Keating <jkeating@redhat.com> - 0.2.901-16
157- Remove dangerous unversioned obsoletes/provides.
158
159* Sun Mar 16 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-15
160- Update to latest svn snapshot (Rev. 553).
161
162* Sun Mar 09 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-14
163- Revert to last good version of the libpciaccess patch.
164
165* Sun Mar 09 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-13
166- Temporarily revert to old memory detection method. We need something that
167  works out of the box for F9 Beta.
168
169* Sat Mar 08 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-12
170- Yet another revision of the libpciaccess patch.
171
172* Fri Mar 07 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-11
173- Fix a typo in libpciaccess patch.
174
175* Fri Mar 07 2008 Adam Jackson <ajax@redhat.com> 0.2.901-10
176- Fix -devel subpackage to obsolete via-devel properly.
177
178* Thu Mar 06 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-9
179- Fix libpciaccess patch.
180
181* Thu Mar 06 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-8
182- Add patch to fix XV on LCD for VM800.
183- Improved libpciaccess patch.
184
185* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.901-7
186- Autorebuild for GCC 4.3
187
188* Wed Jan 23 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-6
189- Add patch to properly set fifo on P4M900.
190
191* Fri Jan 19 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-5
192- Add patch to replace xf86memcpy by plain memcpy.
193
194* Thu Jan 10 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-4
195- Another try at fixing the libpciaccess patch.
196
197* Mon Jan 07 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-3
198- And now fix patch filename...
199
200* Mon Jan 07 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-2
201- Fix broken libpciaccess patch.
202
203* Wed Jan 02 2008 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.901-1
204- Update to 0.2.901.
205- Remove obsoleted patches.
206- Update libpciaccess patch.
207
208* Fri Dec 08 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-9
209- Add patch for preliminary libpciaccess support.
210
211* Wed Nov 28 2007 Adam Jackson <ajax@redhat.com> 0.2.900-8
212- Obsolete xorg-x11-drv-via.  The king is dead, long live the king.
213- Munge xorg.conf in %%post to change from via to openchrome.
214- Drive-by spec cleanups.
215
216* Fri Nov 02 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-7
217- Replace broken VT1625 NTSC patch.
218- Add patch to announce as release not as development build.
219- First official Fedora build.
220
221* Thu Oct 18 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-6
222- Update to official 0.2.900
223
224* Wed Oct 10 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-5
225- Update to release_0_3_0 branch rev. 410
226- Add VT1625 patch for 720x576 PAL
227
228* Mon Sep 10 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-4
229- Update to release_0_3_0 branch rev. 384 plus all changes from experimental
230  merged back
231- Remove upstream patch #2
232
233* Wed Aug 01 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-3
234- Update to release_0_3_0 branch rev. 380 (fix a bug with XvMC acceleration)
235- Add a patch to allow proper detection of DDR667 (patch #2)
236
237* Mon Jul 16 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-2
238- Update to release_0_3_0 branch rev. 373
239- Add release notes to %%doc
240
241* Thu Jul 05 2007 Xavier Bachelot <xavier AT bachelot DOT org> - 0.2.900-1
242- Initial build (release_0_3_0 branch rev. 365)
243- Add some NTSC modes for the VT1625 (patch #1)
Note: See TracBrowser for help on using the repository browser.