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

Revision 7648, 8.3 KB checked in by Takemikaduchi, 11 years ago (diff)

xserver-1.14.1

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