From 02818ecde5a7d7604fafba046669dd5618da527c0a22316a902232b50b50aee2 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Tue, 24 Apr 2012 09:10:24 +0000 Subject: [PATCH] Accepting request 115124 from home:vlj:branches:X11:XOrg - Enable xa state tracker and svga gallium drivers (vmwgfx stack) OBS-URL: https://build.opensuse.org/request/show/115124 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=209 --- Mesa.changes | 5 +++++ Mesa.spec | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/Mesa.changes b/Mesa.changes index 5e98b0b..5c9df99 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 23 15:09:29 UTC 2012 - vljn@ovi.com + +- Enable xa state tracker and svga gallium drivers (vmwgfx stack) + ------------------------------------------------------------------- Sun Apr 15 18:10:39 CEST 2012 - ro@suse.de diff --git a/Mesa.spec b/Mesa.spec index ddef3b1..cdc4e8d 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -348,6 +348,35 @@ openwfd. This package provides the development environment for compiling programs against the GBM library. +%package -n libxatracker1 +Summary: XA state tracker +Group: System/Libraries +Version: 1.0.0 +Release: 0 + +%description -n libxatracker1 +This package contains the XA state tracker for gallium3D driver. +It superseeds the Xorg state tracker and provides an infrastructure +to accelerate Xorg 2D operations. It is currently used by vmwgfx +video driver. + +%package -n libxatracker-devel +Summary: Development files for the XA API +Group: Development/Libraries/C and C++ +Version: 1.0.0 +Release: 0 +Requires: libxatracker1 = %version + +%description -n libxatracker-devel +This package contains the XA state tracker for gallium3D driver. +It superseeds the Xorg state tracker and provides an infrastructure +to accelerate Xorg 2D operations. It is currently used by vmwgfx +video driver. + +This package provides the development environment for compiling +programs against the XA state tracker. + + %package -n Mesa-libglapi0 Summary: Free implementation of the GL API Group: System/Libraries @@ -357,6 +386,7 @@ The Mesa GL API module is responsible for dispatching all the gl* functions. It is intended to be mainly used by the Mesa-libGLES* packages. + %prep %setup -n %{_name_archive}-%{_version} -b4 -q %patch1 -p1 @@ -382,11 +412,12 @@ autoreconf -fi --with-egl-platforms=x11,drm \ --enable-shared-glapi \ --enable-shared-dricore \ + --enable-xa \ --with-dri-searchpath=/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri \ %ifarch %ix86 x86_64 --enable-gallium-llvm \ --with-dri-drivers=i915,i965,nouveau,r200,radeon \ - --with-gallium-drivers=r300,r600,nouveau,swrast \ + --with-gallium-drivers=r300,r600,nouveau,swrast,svga \ %endif %ifarch ia64 ppc ppc64 %sparc hppa --with-dri-drivers=nouveau,r200,radeon \ @@ -464,6 +495,10 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc %postun -n libgbm1 -p /sbin/ldconfig +%post -n libxatracker1 -p /sbin/ldconfig + +%postun -n libxatracker1 -p /sbin/ldconfig + %post -n Mesa-libglapi0 -p /sbin/ldconfig %postun -n Mesa-libglapi0 -p /sbin/ldconfig @@ -549,6 +584,16 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc %_libdir/libgbm.so %_libdir/pkgconfig/gbm.pc +%files -n libxatracker1 +%defattr(-,root,root) +%_libdir/libxatracker.so.1* + +%files -n libxatracker-devel +%defattr(-,root,root) +%_includedir/xa_*.h +%_libdir/libxatracker.so +%_libdir/pkgconfig/xatracker.pc + %files -n Mesa-libglapi0 %defattr(-,root,root) %_libdir/libglapi.so.0*