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

Revision 11496, 9.3 KB checked in by iwamoto, 6 years ago (diff)

xorg-x11-drv-openchrome: update to 0.6.0 and build with xorg 1.19.6

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