source: projects/specs/trunk/m/mesa/mesa-vl.spec @ 2590

Revision 2590, 34.9 KB checked in by daisuke, 13 years ago (diff)

mesa: update to 7.10, split mesa-demos and glx-utils to their own source package.

Line 
1# When bootstrapping an arch, omit the -demos subpackage.
2
3# S390 doesn't have video cards, so it's not much use building DRI there.
4%define with_dri 1
5%define driver dri
6
7%define manpages gl-manpages-1.0.1
8#%define gitdate 20100217
9
10%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
11
12Summary: Mesa graphics libraries
13Summary(ja): Mesa グラフィックスライブラリ
14Name: mesa
15Version: 7.10
16Release: 1%{?_dist_release}
17License: MIT
18Group: System Environment/Libraries
19URL: http://www.mesa3d.org
20
21Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/MesaLib-%{version}.tar.bz2
22Source2: %{manpages}.tar.bz2
23Source3: make-git-snapshot.sh
24Source10: nouveau_class.h
25
26Patch3: mesa-7.8-no-mach64.patch
27Patch4: mesa-7.8-nouveau-legacy-enable.patch
28
29#Patch7: mesa-7.1-link-shared.patch
30
31Patch30: mesa-7.6-hush-vblank-warning.patch
32
33#Patch40: mesa-7.8.2-nouveau-build-fix.patch
34#Patch41: mesa-7.8.2-gallium-build-fix.patch
35
36BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
37BuildRequires: pkgconfig
38%if %{with_dri}
39BuildRequires: libdrm-devel >= 2.4.23
40%endif
41BuildRequires: libXxf86vm-devel
42BuildRequires: expat-devel >= 2.0
43BuildRequires: xorg-x11-proto-devel >= 7.4
44BuildRequires: xorg-x11-server-sdk
45BuildRequires: kernel-headers
46BuildRequires: makedepend
47BuildRequires: libXext-devel
48BuildRequires: freeglut-devel
49BuildRequires: libXfixes-devel
50BuildRequires: libXdamage-devel
51BuildRequires: libXi-devel
52BuildRequires: libXmu-devel
53BuildRequires: libtalloc-devel
54
55%description
56Mesa
57
58%package libGL
59Summary: Mesa libGL runtime libraries and DRI drivers
60Summary(ja): Mesa libGL ランタイプライブラリおよび DRI ドライバ
61Group: System Environment/Libraries
62Requires(post): /sbin/ldconfig
63Requires(postun): /sbin/ldconfig
64Provides: libGL
65Obsoletes: Mesa, XFree86-gl, XOrg-gl
66%if %{with_dri}
67Requires: libdrm >= 2.4.5
68%endif
69
70%description libGL
71Mesa libGL runtime libraries and DRI drivers.
72
73%package libGL-devel
74Summary: Mesa libGL development package
75Summary(ja): Mesa libGL 開発パッケージ
76Group: Development/Libraries
77Provides: libGL-devel
78Requires: mesa-libGL = %{version}-%{release}
79Requires: libX11-devel
80Requires: libXxf86vm-devel
81Requires: libXdamage-devel
82Requires: libXfixes-devel
83Requires: libXext-devel
84Requires: libdrm-devel
85Obsoletes: Mesa-devel, XFree86-gl-devel, XOrg-gl-devel
86
87
88%description libGL-devel
89Mesa libGL development package
90
91
92%package libGLU
93Summary: Mesa libGLU runtime library
94Summary(ja): Mesa libGLU ランタイムライブラリ
95Group: System Environment/Libraries
96Requires(post): /sbin/ldconfig
97Requires(postun): /sbin/ldconfig
98Provides: libGLU
99Obsoletes: Mesa, XFree86-gl, XOrg-gl
100
101%description libGLU
102Mesa libGLU runtime library
103
104
105%package libGLU-devel
106Summary: Mesa libGLU development package
107Summary(ja): Mesa libGLU 開発パッケージ
108Group: Development/Libraries
109Requires: mesa-libGLU = %{version}-%{release}
110Requires: libGL-devel
111Provides: libGLU-devel
112Obsoletes: Mesa-devel, XFree86-gl-devel, XOrg-gl-devel
113
114%description libGLU-devel
115Mesa libGLU development package
116
117
118%package libOSMesa
119Summary: Mesa offscreen rendering libraries
120Summary(ja): Mesa オフスクリーンレンダリングライブラリ
121Group: System Environment/Libraries
122Requires(post): /sbin/ldconfig
123Requires(postun): /sbin/ldconfig
124Provides: libOSMesa
125
126%description libOSMesa
127Mesa offscreen rendering libraries
128
129
130%package libOSMesa-devel
131Summary: Mesa offscreen rendering development package
132Summary(ja): Mesa オフスクリーンレンダリング開発パッケージ
133Group: Development/Libraries
134Requires: mesa-libOSMesa = %{version}-%{release}
135
136%description libOSMesa-devel
137Mesa offscreen rendering development package
138
139
140%package source
141Summary: Mesa source code required to build X server
142Summary(ja): X サーバをビルドするために必要な Mesa ソースコード
143Group: Development/Libraries
144
145%description source
146The mesa-source package provides the minimal source code needed to
147build DRI enabled X servers, etc.
148
149
150%package -n xorg-x11-drv-vmwgfx
151Summary: VMware GFX DDX driver
152Summary(ja): VMware GFX DDX ドライバ
153Group: User Interface/X Hardware Support
154
155%description -n xorg-x11-drv-vmwgfx
1562D driver for VMware SVGA vGPU
157
158
159# compat32
160%package -n compat32-%{name}-libGL
161Summary: Mesa libGL runtime libraries and DRI drivers
162Summary(ja): Mesa libGL ランタイプライブラリおよび DRI ドライバ
163Group: System Environment/Libraries
164Requires(post): /sbin/ldconfig
165Requires(postun): /sbin/ldconfig
166Requires: %{name}-libGL = %{version}-%{release}
167%if %{with_dri}
168Requires: compat32-libdrm >= 2.4.5
169%endif
170
171%description -n compat32-%{name}-libGL
172Mesa libGL runtime libraries and DRI drivers.
173
174%package -n compat32-%{name}-libGL-devel
175Summary: Mesa libGL development package
176Summary(ja): Mesa libGL 開発パッケージ
177Group: Development/Libraries
178Requires: compat32-%{name}-libGL = %{version}-%{release}
179Requires: %{name}-libGL-devel = %{version}-%{release}
180Requires: compat32-libX11-devel
181Requires: compat32-libdrm-devel
182
183%description -n compat32-%{name}-libGL-devel
184Mesa libGL development package
185
186
187%package -n compat32-%{name}-libGLU
188Summary: Mesa libGLU runtime library
189Summary(ja): Mesa libGLU ランタイムライブラリ
190Group: System Environment/Libraries
191Requires(post): /sbin/ldconfig
192Requires(postun): /sbin/ldconfig
193Requires: %{name}-libGLU = %{version}-%{release}
194
195%description -n compat32-%{name}-libGLU
196Mesa libGLU runtime library
197
198
199%package -n compat32-%{name}-libGLU-devel
200Summary: Mesa libGLU development package
201Summary(ja): Mesa libGLU 開発パッケージ
202Group: Development/Libraries
203Requires: compat32-%{name}-libGL  = %{version}-%{release}
204Requires: compat32-%{name}-libGLU = %{version}-%{release}
205Requires: %{name}-libGL-devel  = %{version}-%{release}
206Requires: %{name}-libGLU-devel = %{version}-%{release}
207
208%description -n compat32-%{name}-libGLU-devel
209Mesa libGLU development package
210
211
212%package -n compat32-%{name}-libOSMesa
213Summary: Mesa offscreen rendering libraries
214Summary(ja): Mesa オフスクリーンレンダリングライブラリ
215Group: System Environment/Libraries
216Requires(post): /sbin/ldconfig
217Requires(postun): /sbin/ldconfig
218Requires: %{name}-libOSMesa
219
220%description -n compat32-%{name}-libOSMesa
221Mesa offscreen rendering libraries
222
223
224%package -n compat32-%{name}-libOSMesa-devel
225Summary: Mesa offscreen rendering development package
226Summary(ja): Mesa オフスクリーンレンダリング開発パッケージ
227Group: Development/Libraries
228Requires: compat32-%{name}-libOSMesa = %{version}-%{release}
229Requires: %{name}-libOSMesa-devel = %{version}-%{release}
230
231%description -n compat32-%{name}-libOSMesa-devel
232Mesa offscreen rendering development package
233
234%prep
235%setup -q -n Mesa-%{version} -b2
236
237%patch3 -p1 -b .no-mach64
238%patch4 -p1 -b .nouveau-legacy
239#%patch7 -p1 -b .dricore
240%patch30 -p1 -b .vblank-warning
241
242cp %{SOURCE10} src/mesa/drivers/dri/nouveau
243cp %{SOURCE10} src/gallium/drivers/nouveau
244#%patch40 -p1 -b .build-fix
245#%patch41 -p1 -b .build-fix
246
247%build
248
249autoreconf --install
250
251%ifarch ppc
252export CFLAGS="$RPM_OPT_FLAGS -fvisibility=hidden -O2"
253export CXXFLAGS="$RPM_OPT_FLAGS -fvisibility=hidden -O2"
254%else
255export CFLAGS="$RPM_OPT_FLAGS -fvisibility=hidden -Os"
256export CXXFLAGS="$RPM_OPT_FLAGS -fvisibility=hidden -Os"
257%endif
258%define common_flags --enable-pic --disable-asm
259%define osmesa_flags --with-driver=osmesa --disable-gallium --disable-egl --disable-glu --with-dri-drivers="" %{common_flags}
260
261# first, build the osmesa variants. XXX this is overkill.  osmesa32 is
262# sufficient to render to any of the channel sizes, according to the
263# docs.  should fix this someday.
264
265%configure %{osmesa_flags} --with-osmesa-bits=8
266make %{_smp_mflags}
267mv %{_lib} osmesa8
268make clean
269
270%configure %{osmesa_flags} --with-osmesa-bits=16
271make %{_smp_mflags}
272mv %{_lib} osmesa16
273make clean
274
275%configure %{osmesa_flags} --with-osmesa-bits=32
276make %{_smp_mflags}
277mv %{_lib} osmesa32
278make clean
279
280# just to be sure...
281[ `find . -name \*.o | wc -l` -eq 0 ] || exit "make cleaner plz"
282
283# XXX should get visibility working again post-dricore.
284%ifarch ppc
285export CFLAGS="$RPM_OPT_FLAGS -O2"
286export CXXFLAGS="$RPM_OPT_FLAGS -O2"
287%else
288export CFLAGS="$RPM_OPT_FLAGS -Os"
289export CXXFLAGS="$RPM_OPT_FLAGS -Os"
290%endif
291
292# now build the rest of mesa
293%configure \
294    %{common_flags} \
295    --disable-egl \
296    --disable-glw \
297    --disable-glut \
298    --disable-gl-osmesa \
299    --with-driver=%{driver} \
300    --with-dri-driverdir=%{_libdir}/dri \
301    --with-state-trackers=dri,xorg,glx \
302    --enable-gallium-svga \
303    --enable-gallium-nouveau \
304    --enable-gallium-radeon
305
306make #{?_smp_mflags}
307
308pushd ../%{manpages}
309%configure
310make %{?_smp_mflags}
311popd
312
313%install
314rm -rf $RPM_BUILD_ROOT
315
316# core libs and headers, but not drivers.
317make install DESTDIR=$RPM_BUILD_ROOT DRI_DIRS=
318
319# just the DRI drivers that are sane
320%if %{with_dri}
321install -d $RPM_BUILD_ROOT%{_libdir}/dri
322#install -m 0755 -t $RPM_BUILD_ROOT%{_libdir}/dri %{_lib}/libdricore.so >& /dev/null
323for f in i810 i915 i965 mach64 mga r128 r200 r300 r600 radeon savage sis swrast tdfx unichrome nouveau_vieux gallium/vmwgfx; do
324    so=%{_lib}/${f}_dri.so
325    test -e $so && echo $so
326done | xargs install -m 0755 -t $RPM_BUILD_ROOT%{_libdir}/dri >& /dev/null || :
327%endif
328
329# strip out undesirable headers
330pushd $RPM_BUILD_ROOT%{_includedir}/GL
331rm -f [a-fh-np-wyz]*.h gg*.h glf*.h glew.h glxew.h
332popd
333
334# remove EGL stuff
335pushd $RPM_BUILD_ROOT%{_libdir}
336rm -f libEGL*
337popd
338pushd $RPM_BUILD_ROOT%{_libdir}/dri
339rm -f EGL_*.so
340popd
341
342# and osmesa
343mv osmesa*/libOS* $RPM_BUILD_ROOT%{_libdir}
344
345# man pages
346pushd ../%{manpages}
347make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT
348popd
349
350# Install the source needed to build the X server.  The egreps are just
351# stripping out unnecessary dirs; only tricky bit is the [^c] to make sure
352# .../dri/common is included.
353%define mesasourcedir %{_datadir}/mesa/source
354mkdir -p $RPM_BUILD_ROOT/%{mesasourcedir}
355( find src -name \*.[ch] ; find include -name \*.h ) |
356    egrep -v '^src/(glu|glw)' |
357    egrep -v '^src/mesa/drivers/(directfb|dos|fbdev|glide|ggi|osmesa)' |
358    egrep -v '^src/mesa/drivers/(windows|dri/[^c])' |
359    xargs tar cf - --mode a=r |
360        (cd $RPM_BUILD_ROOT/%{mesasourcedir} && tar xf -)
361
362%clean
363rm -rf $RPM_BUILD_ROOT
364
365%check
366
367%post libGL -p /sbin/ldconfig
368%postun libGL -p /sbin/ldconfig
369%post libGLU -p /sbin/ldconfig
370%postun libGLU -p /sbin/ldconfig
371%post libOSMesa -p /sbin/ldconfig
372%postun libOSMesa -p /sbin/ldconfig
373
374%post -n compat32-%{name}-libGL -p /sbin/ldconfig
375%postun -n compat32-%{name}-libGL -p /sbin/ldconfig
376%post -n compat32-%{name}-libGLU -p /sbin/ldconfig
377%postun -n compat32-%{name}-libGLU -p /sbin/ldconfig
378%post -n compat32-%{name}-libOSMesa -p /sbin/ldconfig
379%postun -n compat32-%{name}-libOSMesa -p /sbin/ldconfig
380
381%files libGL
382%defattr(-,root,root,-)
383%{_libdir}/libGL.so.1
384%{_libdir}/libGL.so.1.2
385%if %{with_dri}
386%dir %{_libdir}/dri
387#%{_libdir}/dri/libdricore.so
388%{_libdir}/dri/*_dri.so
389%endif
390
391%files libGL-devel
392%defattr(-,root,root,-)
393%{_includedir}/GL/gl.h
394%{_includedir}/GL/gl_mangle.h
395%{_includedir}/GL/glext.h
396%{_includedir}/GL/glx.h
397%{_includedir}/GL/glx_mangle.h
398%{_includedir}/GL/glxext.h
399%dir %{_includedir}/GL/internal
400%{_includedir}/GL/internal/dri_interface.h
401%{_libdir}/libGL.so
402%{_libdir}/pkgconfig/gl.pc
403%{_libdir}/pkgconfig/dri.pc
404%{_datadir}/man/man3/gl[^uX]*.3gl*
405%{_datadir}/man/man3/glX*.3gl*
406
407%files libGLU
408%defattr(-,root,root,-)
409%{_libdir}/libGLU.so.1
410%{_libdir}/libGLU.so.1.3.*
411
412%files libGLU-devel
413%defattr(-,root,root,-)
414%{_libdir}/libGLU.so
415%{_libdir}/pkgconfig/glu.pc
416%{_includedir}/GL/glu.h
417%{_includedir}/GL/glu_mangle.h
418%{_datadir}/man/man3/glu*.3gl*
419
420%files libOSMesa
421%defattr(-,root,root,-)
422%{_libdir}/libOSMesa.so.7*
423%{_libdir}/libOSMesa16.so.7*
424%{_libdir}/libOSMesa32.so.7*
425
426%files libOSMesa-devel
427%defattr(-,root,root,-)
428%{_includedir}/GL/osmesa.h
429%{_libdir}/libOSMesa.so
430%{_libdir}/libOSMesa16.so
431%{_libdir}/libOSMesa32.so
432
433# We constructed this dir carefully, so just slurp in the whole thing.
434%files source
435%defattr(-,root,root,-)
436%{mesasourcedir}
437
438%files -n xorg-x11-drv-vmwgfx
439%defattr(-,root,root,-)
440%{_libdir}/xorg/modules/drivers/vmwgfx_drv.so
441
442# compat32
443%if %{build_compat32}
444%files -n compat32-%{name}-libGL
445%defattr(-,root,root,-)
446%{_libdir}/libGL.so.1
447%{_libdir}/libGL.so.1.2
448%if %{with_dri}
449%dir %{_libdir}/dri
450#%{_libdir}/dri/libdricore.so
451%{_libdir}/dri/*_dri.so
452%endif
453
454%files -n compat32-%{name}-libGL-devel
455%defattr(-,root,root,-)
456%{_libdir}/libGL.so
457%{_libdir}/pkgconfig/gl.pc
458%{_libdir}/pkgconfig/dri.pc
459
460%files -n compat32-%{name}-libGLU
461%defattr(-,root,root,-)
462%{_libdir}/libGLU.so.1
463%{_libdir}/libGLU.so.1.3.*
464
465%files -n compat32-%{name}-libGLU-devel
466%defattr(-,root,root,-)
467%{_libdir}/libGLU.so
468%{_libdir}/pkgconfig/glu.pc
469
470%files -n compat32-%{name}-libOSMesa
471%defattr(-,root,root,-)
472%{_libdir}/libOSMesa.so.7*
473%{_libdir}/libOSMesa16.so.7*
474%{_libdir}/libOSMesa32.so.7*
475
476%files -n compat32-%{name}-libOSMesa-devel
477%defattr(-,root,root,-)
478%{_libdir}/libOSMesa.so
479%{_libdir}/libOSMesa16.so
480%{_libdir}/libOSMesa32.so
481%endif
482
483%changelog
484* Fri Jan 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 7.10-1
485- update to 7.10
486- split mesa-demos and glx-utils to their own source package.
487- add BR: libtalloc-devel
488
489* Wed Sep 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.8.2-1
490- update to 7.8.2
491- add Patch40,41 to fix build failure
492- add Source10 to build with libdrm-2.4.21
493- add BR: kernel-headers, xorg-x11-server-sdk
494
495* Thu Apr  8 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 7.8.1-2
496- rebuilt with gcc-4.4.3-5 on ppc
497- temporarily don't use "-Os" on ppc (a toolchain bug?)
498
499* Tue Apr 06 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.8.1-1
500- update to 7.8.1
501
502* Mon Mar 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.8-1
503- update to 7.8 release
504- add xorg-x11-drv-vmwgfx subpackage for VMware GFX DDX driver
505
506* Thu Mar 11 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.8-0.1.git20100217
507- update to 7.8 branch from git
508
509* Tue Jan 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 7.6.1-1
510- update to 7.6.1 release
511
512* Thu Dec 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.6.1-0.2.rc3
513- update to 7.6.1-rc3
514
515* Sat Nov 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.6.1-0.1.rc1
516- update to 7.6.1-rc1
517
518* Tue Nov 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.6-1
519- new upstream release
520- add R: libXxf86vm-devel, libXdamage-devel, libXfixes-devel,
521  libXext-devel and libdrm-devel to mesa-libGL-devel
522
523* Sat Sep 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.4.4-1
524- new upstream release
525
526* Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 7.4.1-2
527- added compat32 subpackage for x86_64 arch support.
528
529* Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.4.1-1
530- new upstream release
531- BR: libdrm-devel >= 2.4.9
532
533* Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-1
534- new upstream release
535- BR: libdrm-devel >= 2.4.5
536- drop mach64
537- update patches from fedora
538
539* Tue Oct 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2-2
540- add BR: libdrm-devel >= 2.4.0-3
541
542* Mon Oct 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2-1
543- new upstreal release
544
545* Thu Sep 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.1-4
546- update to 7.1 release
547
548* Thu Jul 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.1-3.rc3
549- update to 7.1-rc3
550
551* Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.1-2.rc1
552- include missing swrast_dri.so to %%files list
553
554* Tue Jul 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.1-1.rc1
555- update to 7.1-rc1
556
557* Thu May 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.0.3-2
558- add Patch100 to disable 915tex driver
559
560* Mon May 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.0.3-1
561- new upstream release
562
563* Sun Jan 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.0.2-0vl1
564- build with freeglut
565
566* Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.0.2-0vl0
567- initial build for Vine Linux(bootstrap)
568
569* Tue Jan 01 2008 Dave Airlie <airlied@redhat.com> 7.0.2-2
570- mesa-7.0.2-stable-branch.patch: add in mesa 7.0.2 stable patches so far
571
572* Tue Jan 01 2008 Dave Airlie <airlied@redhat.com> 7.0.2-1
573- update to Mesa 7.0.2 final
574- mesa-7.0.2-rx00-vertprog-num-temps-off-by-one.patch - fixes for maniadrive
575- mesa-7.0.2-t_vp_build-use-less-temps.patch - fixes for maniadrive
576
577* Thu Oct 18 2007 Dave Airlie <airlied@redhat.com> 7.0.1-7
578- mesa-7.0.1-stable-branch.patch - Updated with more fixes from stable
579- mesa-7.0.1-r300-fix-writemask.patch - fix r300 fragprog writemask
580- mesa-7.0.1-r200-settexoffset.patch - add zero-copy TFP support for r200
581
582* Fri Sep 28 2007 Dave Airlie <airlied@redhat.com> 7.0.1-6
583- mesa-7.0.1-stable-branch.patch - Updated to close to 7.0.2-rc1
584- This contains the fixes made to the upstream Mesa stable branch
585  including fixes for 965 vblank interrupt issues along with a fix
586  in the kernel - remove patches that already upstream.
587- mesa-6.5.2-hush-synthetic-visual-warning.patch - dropped
588- mesa-7.0-i-already-defined-glapi-you-twit.patch - dropped
589- mesa-7.0.1-965-sampler-crash.patch - dropped
590
591* Thu Sep 06 2007 Adam Jackson <ajax@redhat.com> 7.0.1-5
592- mesa-7.0.1-965-sampler-crash.patch: Fix a crash with 965 in Torcs. (#262941)
593
594* Tue Aug 28 2007 Adam Jackson <ajax@redhat.com> 7.0.1-4
595- Rebuild for new libexpat.
596
597* Wed Aug 15 2007 Dave Airlie <airlied@redhat.com> - 7.0.1-3
598- mesa-7.0.1-stable-branch.patch - Add patches from stable branch
599  includes support for some Intel chipsets
600- mesa-7.0-use_master-r300.patch - Add r300 driver from master
601
602* Tue Aug 14 2007 Dave Airlie <airlied@redhat.com> - 7.0.1-2
603- missing build requires for Xfixes-devel and Xdamage-devel
604
605* Mon Aug 13 2007 Dave Airlie <airlied@redhat.com> - 7.0.1-1
606- Rebase to upstream 7.0.1 release
607- ajax provided patches: for updated selinux awareness, build config
608- gl visibility and picify were fixed upstream
609- OS mesa library version are 6.5.3 not 7.0.1 - spec fix
610
611* Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> - 6.5.2-16
612- Rebuild for RH #249435
613
614* Tue Jul 24 2007 Adam Jackson <ajax@redhat.com> 6.5.2-15
615- Add dri_interface.h to mesa-libGL-devel, and conflict with
616  xorg-x11-proto-devel versions that attempted to provide it.
617
618* Tue Jul 10 2007 Adam Jackson <ajax@redhat.com> 6.5.2-14
619- Add mesa-demos subpackage. (#247252)
620
621* Mon Jul 09 2007 Adam Jackson <ajax@redhat.com> 6.5.2-13
622- mesa-6.5.2-radeon-backports-231787.patch: One more fix for r300. (#231787)
623
624* Mon Jul 09 2007 Adam Jackson <ajax@redhat.com> 6.5.2-12
625- Don't install header files for APIs that we don't provide. (#247390)
626
627* Fri Jul 06 2007 Adam Jackson <ajax@redhat.com> 6.5.2-11
628- mesa-6.5.2-via-respect-my-cliplist.patch: Backport a via fix. (#247254)
629
630* Tue Apr 10 2007 Adam Jackson <ajax@redhat.com> 6.5.2-10
631- mesa-6.5.2-radeon-backports-231787.patch: Backport various radeon bugfixes
632  from git. (#231787)
633
634* Wed Apr 04 2007 Adam Jackson <ajax@redhat.com> 6.5.2-9
635- mesa-6.5.2-bindcontext-paranoia.patch: Paper over a crash when doBindContext
636  fails, to avoid, for example, crashing the server when using tdfx but
637  without glide3 installed.
638
639* Thu Mar 08 2007 Adam Jackson <ajax@redhat.com> 6.5.2-8
640- Hush the (useless) warning about the synthetic visual not being supported.
641
642* Fri Mar 02 2007 Adam Jackson <ajax@redhat.com> 6.5.2-7
643- mesa-6.5.2-picify-dri-drivers.patch: Attempt to make the DRI drivers PIC.
644- mesa-6.5.1-build-config.patch: Apply RPM_OPT_FLAGS to OSMesa too.
645
646* Mon Feb 26 2007 Adam Jackson <ajax@redhat.com> 6.5.2-6
647- mesa-6.5.2-libgl-visibility.patch: Fix non-exported GLX symbols (#229808)
648- Require a sufficiently new libdrm at runtime too
649- Make the arch macros do something sensible in the general case
650
651* Tue Feb 20 2007 Adam Jackson <ajax@redhat.com> 6.5.2-5
652- General spec cleanups
653- Require current libdrm
654- Build with -fvisibility=hidden
655- Redo the way mesa-source is generated
656- Add %%{?_smp_mflags} where appropriate
657
658* Mon Dec 18 2006 Adam Jackson <ajax@redhat.com> 6.5.2-4
659- Add i915tex and mach64 to the install set.
660
661* Tue Dec 12 2006 Adam Jackson <ajax@redhat.com> 6.5.2-3
662- mesa-6.5.2-xserver-1.1-source-compat.patch: Add some source-compatibility
663  defines to dispatch.h so the X server will continue to build.
664
665* Mon Dec 4 2006 Adam Jackson <ajax@redhat.com> 6.5.2-2.fc6
666- Fix OSMesa file listing to use %%version for DSO number.  Note that this
667  will still break on Mesa 7; oh well.
668- Deleted file: directfbgl.h
669
670* Sun Dec  3 2006 Kristian Høgsberg <krh@redhat.com> 6.5.2-1.fc6
671- Update to 6.5.2.
672
673* Mon Oct 16 2006 Kristian <krh@redhat.com> - 6.5.1-8.fc6
674- Add i965-interleaved-arrays-fix.patch to fix (#209318).
675
676* Sat Sep 30 2006 Soren Sandmann <sandmann@redhat.com> - 6.5.1-7.fc6
677- Update to gl-manpages-1.0.1.tar.bz2 which doesn't use symlinks. (#184547)
678
679* Sat Sep 30 2006 Soren Sandmann <sandmann@redhat.com> - 6.5.1-7.fc6
680- Remove . after popd; add .gz in %%files section. (#184547)
681
682* Sat Sep 30 2006 Soren Sandmann <sandmann@redhat.com>
683- Use better tarball for gl man pages. (#184547)
684
685* Fri Sep 29 2006 Kristian <krh@redhat.com> - 6.5.1-6.fc6
686- Add -fno-strict-aliasing to compiler flags for i965 driver.
687- Add post-6.5.1-i965-fixes.patch backport of i965 fixes from mesa CVS.
688
689* Fri Sep 29 2006 Soren Sandmann <sandamnn@redhat.com> - 6.5.1-5.fc6
690- Give the correct path for man page file lists.
691
692* Thu Sep 28 2006 Soren Sandmann <sandmann@redhat.com> - 6.5.1-5.fc6
693- Add GL man pages from X R6.9.  (#184547)
694
695* Mon Sep 25 2006 Adam Jackson <ajackson@redhat.com> - 6.5.1-4.fc6
696- mesa-6.5.1-build-config.patch: Add -lselinux to osmesa builds.  (#207767)
697
698* Wed Sep 20 2006 Kristian Høgsberg <krh@redhat.com> - 6.5.1-3.fc6
699- Bump xorg-x11-proto-devel BuildRequires to 7.1-8 so we pick up the
700  latest GLX_EXT_texture_from_pixmap opcodes.
701
702* Wed Sep 20 2006 Kristian Høgsberg <krh@redhat.com> - 6.5.1-2.fc6
703- Remove mesa-6.5-drop-static-inline.patch.
704
705* Tue Sep 19 2006 Kristian Høgsberg <krh@redhat.com> 6.5.1-1.fc6
706- Bump to 6.5.1 final release.
707- Drop libGLw subpackage, it is now in Fedora Extras (#188974) and
708  tweak mesa-6.5.1-build-config.patch to not build libGLw.
709- Drop mesa-6.5.1-r300-smooth-line.patch, the smooth line fallback can
710  now be prevented by enabling disable_lowimpact_fallback in
711  /etc/drirc.
712- Drop mesa-6.4.1-radeon-use-right-texture-format.patch, now upstream.
713- Drop mesa-6.5-drop-static-inline.patch, workaround no longer necessary.
714
715* Thu Sep  7 2006 Kristian Høgsberg <krh@redhat.com>
716- Drop unused mesa-modular-dri-dir.patch.
717
718* Tue Aug 29 2006 Kristian Høgsberg <krh@redhat.com> - 6.5.1-0.rc2.fc6
719- Rebase to 6.5.1 RC2.
720- Get rid of redhat-mesa-driver-install and redhat-mesa-target helper
721  scripts and clean up specfile a bit.
722
723* Mon Aug 28 2006 Kristian Høgsberg <krh@redhat.com> - 6.5.1-0.rc1.2.fc6
724- Drop upstreamed patches mesa-6.5-texture-from-pixmap-fixes.patch and
725  mesa-6.5-tfp-fbconfig-attribs.patch and fix
726  mesa-6.4.1-radeon-use-right-texture-format.patch to not break 16bpp
727  transparency.
728
729* Fri Aug 25 2006 Adam Jackson <ajackson@redhat.com> - 6.5.1-0.rc1.1.fc6
730- mesa-6.5.1-build-config.patch: Add i965 to x86-64 config.
731
732* Wed Aug 23 2006 Kristian Høgsberg <krh@redhat.com> - 6.5.1-0.rc1.fc6
733- Bump to 6.5.1 RC1.
734
735* Tue Aug 22 2006 Kristian Høgsberg <krh@redhat.com> 6.5-26.20060818cvs.fc6
736- Pull the vtxfmt patch into the selinux-awareness patch, handle exec
737  mem heap init failure correctly by releasing mutex.
738
739* Tue Aug 22 2006 Adam Jackson <ajackson@redhat.com> 6.5-25.20060818cvs.fc6
740- mesa-6.5.1-r300-smooth-line.patch: Added, fakes smooth lines with aliased
741  lines on R300+ cards, makes Google Earth tolerable.
742- mesa-6.5-force-r300.patch: Resurrect.
743
744* Tue Aug 22 2006 Adam Jackson <ajackson@redhat.com> 6.5-24.20060818cvs.fc6
745- mesa-6.5.1-radeon-vtxfmt-cleanup-properly.patch: Fix a segfault on context
746  destruction when selinux is enabled.
747
748* Mon Aug 21 2006 Adam Jackson <ajackson@redhat.com> 6.5-23.20060818cvs.fc6
749- redhat-mesa-driver-install: Reenable installing the tdfx driver. (#203295)
750
751* Fri Aug 18 2006 Adam Jackson <ajackson@redhat.com> 6.5-22.20060818cvs.fc6
752- Update to pre-6.5.1 snapshot.
753- Re-add libOSMesa{,16,32}. (#186366)
754- Add BuildReq: on libXp-devel due to openmotif header insanity.
755
756* Sun Aug 13 2006 Florian La Roche <laroche@redhat.com> 6.5-21.fc6
757- fix one Requires: to use the correct mesa-libGLw name
758
759* Thu Jul 27 2006 Mike A. Harris <mharris@redhat.com> 6.5-20.fc6
760- Conditionalized libGLw inclusion with new with_libGLw macro defaulting
761  to 1 (enabled) for now, however since nothing in Fedora Core uses libGLw
762  anymore, we will be transitioning libGLw to an external package maintained
763  in Fedora Extras soon.
764
765* Wed Jul 26 2006 Kristian Høgsberg <krh@redhat.com> 6.5-19.fc5.aiglx
766- Build for fc5 aiglx repo.
767
768* Tue Jul 25 2006 Adam Jackson <ajackson@redhat.com> 6.5-19.fc6
769- Disable TLS dispatch, it is selinux-hostile.
770
771* Tue Jul 25 2006 Adam Jackson <ajackson@redhat.com> 6.5-18.fc6
772- mesa-6.5-fix-glxinfo-link.patch: lib64 fix.
773
774* Tue Jul 25 2006 Adam Jackson <ajackson@redhat.com> 6.5-17.fc6
775- mesa-6.5-fix-linux-indirect-build.patch: Added.
776- mesa-6.5-fix-glxinfo-link.patch: Added.
777- Build libOSMesa never instead of inconsistently; to be fixed later.
778- Updates to redhat-mesa-target:
779  - Always select linux-indirect when not building for DRI
780  - Enable DRI to be built on PPC64 (still disabled in the spec file though)
781  - MIT licence boilerplate
782
783* Tue Jul 25 2006 Mike A. Harris <mharris@redhat.com> 6.5-16.fc6
784- Remove glut-devel dependency, as nothing actually uses it that we ship.
785- Added mesa-6.5-dont-libglut-me-harder-ok-thx-bye.patch to prevent libglut
786  and other libs from being linked into glxgears/glxinfo even though they
787  are not actually used.  This was the final package linking to freeglut in
788  Fedora Core, blocking freeglut from being moved to Extras.
789- Commented all of the virtual provides in the spec file to document clearly
790  how they should be used by other developers in specifying build and runtime
791  dependencies when packaging software which links to libGL, libGLU, and
792  libGLw. (#200069)
793
794* Mon Jul 24 2006 Adam Jackson <ajackson@redhat.com> 6.5-15.fc6
795- Attempt to add selinux awareness; check if we can map executable memory
796  and fail softly if not.  Removes the need for allow_execmem from huge
797  chunks of the desktop.
798- Disable the r300 gart fix for not compiling.
799
800* Mon Jul 24 2006 Kristian Høgsberg <krh@redhat.com> 6.5-14.fc6
801- Add mesa-6.5-r300-free-gart-mem.patch to make r300 driver free gart
802  memory on context destroy.
803
804* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 6.5-13.1.fc6
805- rebuild
806
807* Wed Jul 05 2006 Mike A. Harris <mharris@redhat.com> 6.5-13.fc6
808- Added mesa-6.5-fix-opt-flags-bug197640.patch as 2nd attempt to fix OPT_FLAGS
809  for (#197640).
810- Ensure that redhat-mesa-driver-install creates $DRIMODULE_DESTDIR with
811  mode 0755.
812
813* Wed Jul 05 2006 Mike A. Harris <mharris@redhat.com> 6.5-12.fc6
814- Maybe actually, you know, apply the mesa-6.5-glx-use-tls.patch as that might
815  help to you know, actually solve the problem.  Duh.
816- Use {dist} tag in Release field now.
817
818* Wed Jul 05 2006 Mike A. Harris <mharris@redhat.com> 6.5-11
819- Added mesa-6.5-glx-use-tls.patch to hopefully get -DGLX_USE_TLS to really
820  work this time due to broken upstream linux-dri-* configs. (#193979)
821- Pass RPM_OPT_FLAGS via OPT_FLAGS instead of via CFLAGS also for (#193979)
822
823* Mon Jun 19 2006 Mike A. Harris <mharris@redhat.com> 6.5-10
824- Bump libdrm-devel dep to trigger new ExclusiveArch test with the new package.
825- Use Fedora Extras style BuildRoot tag.
826- Added "Requires(post): /sbin/ldconfig" and postun to all runtime lib packages.
827
828* Mon Jun 12 2006 Kristian Høsberg <krh@redhat.com> 6.5-9
829- Add mesa-6.5-fix-pbuffer-dispatch.patch to fix pbuffer marshalling code.
830
831* Mon May 29 2006 Kristian Høgsberg <krh@redhat.com> 6.5-8
832- Bump for rawhide build.
833
834* Mon May 29 2006 Kristian Høgsberg <krh@redhat.com> 6.5-7
835- Update mesa-6.5-texture-from-pixmap-fixes.patch to include new
836  tokens and change tfp functions to return void.  Yes, a new mesa
837  snapshot would be nice.
838
839* Wed May 17 2006 Mike A. Harris <mharris@redhat.com> 6.5-6
840- Add "BuildRequires: makedepend" for bug (#191967)
841
842* Tue Apr 11 2006 Kristian Høgsberg <krh@redhat.com> 6.5-5
843- Bump for fc5 build.
844
845* Tue Apr 11 2006 Adam Jackson <ajackson@redhat.com> 6.5-4
846- Disable R300_FORCE_R300 hack for wider testing.
847
848* Mon Apr 10 2006 Kristian Høgsberg <krh@redhat.com> 6.5-3
849- Add mesa-6.5-noexecstack.patch to prevent assembly files from making
850  libGL.so have executable stack.
851
852* Mon Apr 10 2006 Kristian Høgsberg <krh@redhat.com> 6.5-2
853- Bump for fc5 build.
854- Bump libdrm requires to 2.0.1.
855
856* Sat Apr 01 2006 Kristian Høgsberg <krh@redhat.com> 6.5-1
857- Update to mesa 6.5 snapshot.
858- Use -MG for generating deps and some files are not yet symlinked at
859  make depend time.
860- Drop mesa-6.4.2-dprintf-to-debugprintf-for-bug180122.patch and
861  mesa-6.4.2-xorg-server-uses-bad-datatypes-breaking-AMD64-fdo5835.patch
862  as these are upstream now.
863- Drop mesa-6.4.1-texture-from-drawable.patch and add
864  mesa-6.5-texture-from-pixmap-fixes.patch.
865- Update mesa-modular-dri-dir.patch to apply.
866- Widen libGLU glob.
867- Reenable r300 driver install.
868- Widen libOSMesa glob.
869- Go back to patching config/linux-dri, add mesa-6.5-build-config.patch,
870  drop mesa-6.3.2-build-configuration-v4.patch.
871- Disable sis dri driver for now, only builds on x86 and x86-64.
872
873* Fri Mar 24 2006 Kristian Høgsberg <krh@redhat.com> 6.4.2-7
874- Set ARCH_FLAGS=-DGLX_USE_TLS to enable TLS for GL contexts.
875
876* Wed Mar 01 2006 Karsten Hopp <karsten@redhat.de> 6.4.2-6
877- Buildrequires: libXt-devel (#183479)
878
879* Sat Feb 25 2006 Mike A. Harris <mharris@redhat.com> 6.4.2-5
880- Disable the expeimental r300 DRI driver, as it has turned out to cause
881  instability and system hangs for many users.
882
883* Wed Feb 22 2006 Adam Jackson <ajackson@redhat.com> 6.4.2-4
884- rebuilt
885
886* Sun Feb 19 2006 Ray Strode <rstrode@redhat.com> 6.4.2-3
887- enable texture-from-drawable patch
888- add glut-devel dependency
889
890* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 6.4.2-2.1
891- bump again for double-long bug on ppc(64)
892
893* Tue Feb 07 2006 Mike A. Harris <mharris@redhat.com> 6.4.2-2
894- Added new "glx-utils" subpackage with glxgears and glxinfo (#173510)
895- Added mesa-6.4.2-dprintf-to-debugprintf-for-bug180122.patch to workaround
896  a Mesa namespace conflict with GNU_SOURCE (#180122)
897- Added mesa-6.4.2-xorg-server-uses-bad-datatypes-breaking-AMD64-fdo5835.patch
898  as an attempt to fix bugs (#176976,176414,fdo#5835)
899- Enabled inclusion of the *EXPERIMENTAL UNSUPPORTED* r300 DRI driver on
900  x86, x86_64, and ppc architectures, however the 2D Radeon driver will soon
901  be modified to require the user to manually turn experimental DRI support
902  on with Option "dri" in xorg.conf to test it out and report all X bugs that
903  occur while using it directly to X.Org bugzilla.  (#179712)
904- Use "libOSMesa.so.6.4.0604*" glob in file manifest, to avoid having to
905  update it each upstream release.
906
907* Sat Feb 04 2006 Mike A. Harris <mharris@redhat.com> 6.4.2-1
908- Updated to Mesa 6.4.2
909- Use "libGLU.so.1.3.0604*" glob in file manifest, to avoid having to update it
910  each upstream release.
911
912* Tue Jan 24 2006 Mike A. Harris <mharris@redhat.com> 6.4.1-5
913- Added missing "BuildRequires: expat-devel" for bug (#178525)
914- Temporarily disabled mesa-6.4.1-texture-from-drawable.patch, as it fails
915  to compile on at least ia64, and possibly other architectures.
916
917* Tue Jan 17 2006 Kristian Høgsberg <krh@redhat.com> 6.4.1-4
918- Add mesa-6.4.1-texture-from-drawable.patch to implement protocol
919  support for GLX_EXT_texture_from_drawable extension.
920
921* Sat Dec 24 2005 Mike A. Harris <mharris@redhat.com> 6.4.1-3
922- Manually copy libGLw headers that Mesa forgets to install, to fix (#173879).
923- Added mesa-6.4.1-libGLw-enable-motif-support.patch to fix (#175251).
924- Removed "Conflicts" lines from libGL package, as they are "Obsoletes" now.
925- Do not rename swrast libGL .so version, as it is the OpenGL version.
926
927* Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 6.4.1-2
928- Rebuild to ensure libGLU gets rebuilt with new gcc with C++ compiler fixes.
929- Changed the 3 devel packages to use Obsoletes instead of Conflicts for the
930  packages the files used to be present in, as this is more friendy for
931  OS upgrades.
932- Added "Requires: libX11-devel" to mesa-libGL-devel package (#173712)
933- Added "Requires: libGL-devel" to mesa-libGLU-devel package (#175253)
934
935* Sat Dec 17 2005 Mike A. Harris <mharris@redhat.com> 6.4.1-1
936- Updated MesaLib tarball to version 6.4.1 from Mesa project for X11R7 RC4.
937- Added pkgconfig dependency.
938- Updated "BuildRequires: libdrm-devel >= 2.0-1"
939- Added Obsoletes lines to all the subpackages to have cleaner upgrades.
940- Added mesa-6.4.1-amd64-assyntax-fix.patch to work around a build problem on
941  AMD64, which is fixed in the 6.4 branch of Mesa CVS.
942- Conditionalize libOSMesa inclusion, and default to not including it for now.
943
944* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 6.4-5.1
945- rebuilt
946
947* Sun Nov 20 2005 Jeremy Katz <katzj@redhat.com> 6.4-5
948- fix directory used for loading dri modules (#173679)
949- install dri drivers as executable so they get stripped (#173292)
950
951* Thu Nov 03 2005 Mike A. Harris <mharris@redhat.com> 6.4-4
952- Wrote redhat-mesa-source-filelist-generator to dynamically generate the
953  files to be included in the mesa-source subpackage, to minimize future
954  maintenance.
955- Fixed detection and renaming of software mesa .so version.
956
957* Wed Nov 02 2005 Mike A. Harris <mharris@redhat.com> 6.4-3
958- Hack: autodetect if libGL was given .so.1.5* and rename it to 1.2 for
959  consistency on all architectures, and to avoid upgrade problems if we
960  ever disable DRI on an arch and then re-enable it later.
961
962* Wed Nov 02 2005 Mike A. Harris <mharris@redhat.com> 6.4-2
963- Added mesa-6.4-multilib-fix.patch to instrument and attempt to fix Mesa
964  bin/installmesa script to work properly with multilib lib64 architectures.
965- Set and export LIB_DIR and INCLUDE_DIR in spec file 'install' section,
966  and invoke our modified bin/installmesa directly instead of using
967  "make install".
968- Remove "include/GL/uglglutshapes.h", as it uses the GLUT license, and seems
969  like an extraneous file anyway.
970- Conditionalize the file manifest to include libGL.so.1.2 on DRI enabled
971  builds, but use libGL.so.1.5.060400 instead on DRI disabled builds, as
972  this is how upstream builds the library, although it is not clear to me
973  why this difference exists yet (which was not in Xorg 6.8.2 Mesa).
974
975* Thu Oct 27 2005 Mike A. Harris <mharris@redhat.com> 6.4-1
976- Updated to new upstream MesaLib-6.4
977- Updated libGLU.so.1.3.060400 entry in file manifest
978- Updated "BuildRequires: libdrm-devel >= 1.0.5" to pick up fixes for the
979  unichrome driver.
980
981* Tue Sep 13 2005 Mike A. Harris <mharris@redhat.com> 6.3.2-6
982- Fix redhat-mesa-driver-install and spec file to work right on multilib
983  systems.
984 
985* Mon Sep 05 2005 Mike A. Harris <mharris@redhat.com> 6.3.2-5
986- Fix mesa-libGL-devel to depend on mesa-libGL instead of mesa-libGLU.
987- Added virtual "Provides: libGL..." entries for each subpackage as relevant.
988
989* Mon Sep 05 2005 Mike A. Harris <mharris@redhat.com> 6.3.2-4
990- Added the mesa-source subpackage, which contains part of the Mesa source
991  code needed by other packages such as the X server to build stuff.
992
993* Mon Sep 05 2005 Mike A. Harris <mharris@redhat.com> 6.3.2-3
994- Added Conflicts/Obsoletes lines to all of the subpackages to make upgrades
995  from previous OS releases, and piecemeal upgrades work as nicely as
996  possible.
997
998* Mon Sep 05 2005 Mike A. Harris <mharris@redhat.com> 6.3.2-2
999- Wrote redhat-mesa-target script to simplify mesa build target selection.
1000- Wrote redhat-mesa-driver-install to install the DRI drivers and simplify
1001  per-arch conditionalization, etc.
1002
1003* Sun Sep 04 2005 Mike A. Harris <mharris@redhat.com> 6.3.2-1
1004- Initial build.
Note: See TracBrowser for help on using the repository browser.