230118
%if 0%{?rhel}
230118
%define with_private_llvm 1
f06792
%define with_vdpau 1
230118
%else
230118
%define with_private_llvm 0
230118
%define with_vdpau 1
230118
%define with_wayland 1
230118
%endif
230118
230118
%ifnarch ppc
230118
%define with_radeonsi 1
230118
%endif
230118
230118
%ifarch %{arm}
230118
%define with_freedreno 1
230118
%endif
230118
230118
# S390 doesn't have video cards, but we need swrast for xserver's GLX
230118
# llvm (and thus llvmpipe) doesn't actually work on ppc32 or s390
230118
230118
%ifnarch s390 ppc
230118
%define with_llvm 1
230118
%endif
230118
13f4a0
%ifarch s390 s390x aarch64
230118
%define with_hardware 0
230118
%ifarch s390
230118
%define base_drivers swrast
230118
%endif
230118
%else
230118
%define with_hardware 1
230118
%define base_drivers nouveau,radeon,r200
f06792
%define base_vulkan_drivers radeon
230118
%ifarch %{ix86} x86_64
230118
%define platform_drivers ,i915,i965
230118
%define with_vmware 1
f06792
%define platform_vulkan_drivers ,intel
230118
%endif
230118
%ifarch ppc
230118
%define platform_drivers ,swrast
230118
%endif
230118
%endif
230118
f06792
%ifarch x86_64 ppc64le
f06792
%define with_vulkan 1
f06792
%else
f06792
%define with_vulkan 0
f06792
%endif
f06792
230118
%define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers}
230118
f06792
%if 0%{?with_vulkan}
f06792
%define vulkan_drivers --with-vulkan-drivers=%{?base_vulkan_drivers}%{?platform_vulkan_drivers}
f06792
%endif
f06792
230118
%define _default_patch_fuzz 2
230118
f06792
%define gitdate 20170307
230118
#% define snapshot 
230118
230118
Summary: Mesa graphics libraries
230118
Name: mesa
f06792
Version: 17.0.1
f06792
Release: 6.%{gitdate}%{?dist}
230118
License: MIT
230118
Group: System Environment/Libraries
230118
URL: http://www.mesa3d.org
230118
230118
# Source0: MesaLib-%{version}.tar.xz
230118
Source0: %{name}-%{gitdate}.tar.xz
230118
Source1: sanitize-tarball.sh
230118
Source2: make-release-tarball.sh
230118
Source3: make-git-snapshot.sh
230118
230118
# src/gallium/auxiliary/postprocess/pp_mlaa* have an ... interestingly worded license.
230118
# Source4 contains email correspondence clarifying the license terms.
230118
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
230118
Source4: Mesa-MLAA-License-Clarification-Email.txt
230118
230118
Patch1: nv50-fix-build.patch
230118
Patch9: mesa-8.0-llvmpipe-shmget.patch
230118
Patch12: mesa-8.0.1-fix-16bpp.patch
230118
Patch15: mesa-9.2-hardware-float.patch
ede8cb
Patch20: mesa-10.2-evergreen-big-endian.patch
fa677b
f06792
Patch30: 0001-glsl-Allow-compatibility-shaders-with-MESA_GL_VERSIO.patch
fa677b
f06792
Patch40: 0001-Revert-draw-use-SoA-fetch-not-AoS-one.patch
f06792
f06792
Patch50: 0001-gallivm-Make-sure-module-has-the-correct-data-layout.patch
de4028
230118
BuildRequires: pkgconfig autoconf automake libtool
230118
%if %{with_hardware}
230118
BuildRequires: kernel-headers
230118
BuildRequires: xorg-x11-server-devel
230118
%endif
762a8c
BuildRequires: libdrm-devel >= 2.4.60
230118
BuildRequires: libXxf86vm-devel
230118
BuildRequires: expat-devel
230118
BuildRequires: xorg-x11-proto-devel
230118
BuildRequires: makedepend
230118
BuildRequires: libselinux-devel
230118
BuildRequires: libXext-devel
230118
BuildRequires: libXfixes-devel
230118
BuildRequires: libXdamage-devel
230118
BuildRequires: libXi-devel
230118
BuildRequires: libXmu-devel
762a8c
BuildRequires: libxshmfence-devel
230118
BuildRequires: elfutils
230118
BuildRequires: python
762a8c
BuildRequires: python-mako
230118
BuildRequires: gettext
230118
%if 0%{?with_llvm}
230118
%if 0%{?with_private_llvm}
f06792
BuildRequires: mesa-private-llvm-devel >= 3.9
230118
%else
230118
BuildRequires: llvm-devel >= 3.0
230118
%endif
230118
%endif
230118
BuildRequires: elfutils-libelf-devel
230118
BuildRequires: libxml2-python
230118
BuildRequires: libudev-devel
230118
BuildRequires: bison flex
230118
%if !0%{?rhel}
230118
BuildRequires: pkgconfig(wayland-client) >= %{min_wayland_version}
230118
BuildRequires: pkgconfig(wayland-server) >= %{min_wayland_version}
230118
%endif
230118
BuildRequires: mesa-libGL-devel
230118
%if 0%{?with_vdpau}
230118
BuildRequires: libvdpau-devel
230118
%endif
230118
BuildRequires: zlib-devel
230118
230118
%description
230118
Mesa
230118
230118
%package libGL
230118
Summary: Mesa libGL runtime libraries and DRI drivers
230118
Group: System Environment/Libraries
230118
Provides: libGL
13f4a0
Requires: mesa-libglapi = %{version}-%{release}
230118
230118
%description libGL
230118
Mesa libGL runtime library.
230118
230118
%package libEGL
230118
Summary: Mesa libEGL runtime libraries
230118
Group: System Environment/Libraries
13f4a0
Requires: mesa-libgbm = %{version}-%{release}
230118
230118
%description libEGL
230118
Mesa libEGL runtime libraries
230118
230118
%package libGLES
230118
Summary: Mesa libGLES runtime libraries
230118
Group: System Environment/Libraries
13f4a0
Requires: mesa-libglapi = %{version}-%{release}
230118
230118
%description libGLES
230118
Mesa GLES runtime libraries
230118
230118
%package filesystem
230118
Summary: Mesa driver filesystem
230118
Group: User Interface/X Hardware Support
230118
Provides: mesa-dri-filesystem = %{version}-%{release}
230118
Obsoletes: mesa-dri-filesystem < %{version}-%{release}
230118
%description filesystem
230118
Mesa driver filesystem
230118
230118
%package dri-drivers
230118
Summary: Mesa-based DRI drivers
230118
Group: User Interface/X Hardware Support
230118
Requires: mesa-filesystem%{?_isa}
13f4a0
Obsoletes: mesa-dri1-drivers < 7.12
230118
Obsoletes: mesa-dri-llvmcore <= 7.12
230118
%description dri-drivers
230118
Mesa-based DRI drivers.
230118
230118
%if 0%{?with_vdpau}
230118
%package vdpau-drivers
230118
Summary: Mesa-based DRI drivers
230118
Group: User Interface/X Hardware Support
230118
Requires: mesa-filesystem%{?_isa}
230118
%description vdpau-drivers
230118
Mesa-based VDPAU drivers.
230118
%endif
230118
230118
%package libGL-devel
230118
Summary: Mesa libGL development package
230118
Group: Development/Libraries
230118
Requires: mesa-libGL = %{version}-%{release}
230118
Requires: gl-manpages
230118
Provides: libGL-devel
230118
230118
%description libGL-devel
230118
Mesa libGL development package
230118
230118
%package libEGL-devel
230118
Summary: Mesa libEGL development package
230118
Group: Development/Libraries
230118
Requires: mesa-libEGL = %{version}-%{release}
230118
Provides: khrplatform-devel = %{version}-%{release}
230118
Obsoletes: khrplatform-devel < %{version}-%{release}
230118
230118
%description libEGL-devel
230118
Mesa libEGL development package
230118
230118
%package libGLES-devel
230118
Summary: Mesa libGLES development package
230118
Group: Development/Libraries
230118
Requires: mesa-libGLES = %{version}-%{release}
230118
230118
%description libGLES-devel
230118
Mesa libGLES development package
230118
230118
230118
%package libOSMesa
230118
Summary: Mesa offscreen rendering libraries
230118
Group: System Environment/Libraries
230118
Provides: libOSMesa
13f4a0
Requires: mesa-libglapi = %{version}-%{release}
230118
230118
%description libOSMesa
230118
Mesa offscreen rendering libraries
230118
230118
230118
%package libOSMesa-devel
230118
Summary: Mesa offscreen rendering development package
230118
Group: Development/Libraries
230118
Requires: mesa-libOSMesa = %{version}-%{release}
230118
230118
%description libOSMesa-devel
230118
Mesa offscreen rendering development package
230118
230118
230118
%package libgbm
230118
Summary: Mesa gbm library
230118
Group: System Environment/Libraries
230118
Provides: libgbm
13f4a0
Requires: mesa-libglapi = %{version}-%{release}
230118
230118
%description libgbm
230118
Mesa gbm runtime library.
230118
230118
230118
%package libgbm-devel
230118
Summary: Mesa libgbm development package
230118
Group: Development/Libraries
230118
Requires: mesa-libgbm%{?_isa} = %{version}-%{release}
230118
Provides: libgbm-devel
230118
230118
%description libgbm-devel
230118
Mesa libgbm development package
230118
230118
230118
%if !0%{?rhel}
230118
%package libwayland-egl
230118
Summary: Mesa libwayland-egl library
230118
Group: System Environment/Libraries
230118
Provides: libwayland-egl
230118
230118
%description libwayland-egl
230118
Mesa libwayland-egl runtime library.
230118
230118
230118
%package libwayland-egl-devel
230118
Summary: Mesa libwayland-egl development package
230118
Group: Development/Libraries
230118
Requires: mesa-libwayland-egl%{?_isa} = %{version}-%{release}
230118
Provides: libwayland-egl-devel
230118
230118
%description libwayland-egl-devel
230118
Mesa libwayland-egl development package
230118
%endif
230118
230118
230118
%if 0%{?with_vmware}
230118
%package libxatracker
230118
Summary: Mesa XA state tracker for vmware
230118
Group: System Environment/Libraries
230118
Provides: libxatracker
230118
230118
%description libxatracker
230118
Mesa XA state tracker for vmware
230118
230118
%package libxatracker-devel
230118
Summary: Mesa XA state tracker development package
230118
Group: Development/Libraries
230118
Requires: mesa-libxatracker%{?_isa} = %{version}-%{release}
230118
Provides: libxatracker-devel
230118
230118
%description libxatracker-devel
230118
Mesa XA state tracker development package
230118
%endif
230118
230118
%package libglapi
230118
Summary: Mesa shared glapi
230118
Group: System Environment/Libraries
230118
230118
%description libglapi
230118
Mesa shared glapi
230118
f06792
%if 0%{?with_vulkan}
f06792
%package vulkan-drivers
f06792
Summary:        Mesa Vulkan drivers
f06792
Requires:       vulkan%{_isa}
f06792
f06792
%description vulkan-drivers
f06792
The drivers with support for the Vulkan API.
f06792
%endif
f06792
230118
%prep
230118
#setup -q -n Mesa-%{version}%{?snapshot}
230118
%setup -q -n mesa-%{gitdate}
230118
# make sure you run sanitize-tarball.sh on mesa source tarball or next line will exit
230118
grep -q ^/ src/gallium/auxiliary/vl/vl_decoder.c && exit 1
230118
%patch1 -p1 -b .nv50rtti
230118
230118
# this fastpath is:
230118
# - broken with swrast classic
230118
# - broken on 24bpp
230118
# - not a huge win anyway
230118
# - ABI-broken wrt upstream
230118
# - eventually obsoleted by vgem
230118
#
230118
# dear ajax: fix this one way or the other
230118
#patch9 -p1 -b .shmget
230118
#patch12 -p1 -b .16bpp
230118
230118
%patch15 -p1 -b .hwfloat
fa677b
#patch20 -p1 -b .egbe
f06792
f06792
%patch30 -p1 -b .glslfix
f06792
f06792
%patch40 -p1 -b .bigendian-fix
f06792
f06792
%patch50 -p1 -b .gallivm-datalayout-fix
230118
230118
%if 0%{with_private_llvm}
ede8cb
sed -i 's/\[llvm-config\]/\[mesa-private-llvm-config-%{__isa_bits}\]/g' configure.ac
ede8cb
sed -i 's/`$LLVM_CONFIG --version`/$LLVM_VERSION_MAJOR.$LLVM_VERSION_MINOR-mesa/' configure.ac
230118
%endif
230118
230118
# need to use libdrm_nouveau2 on F17
230118
%if !0%{?rhel}
230118
%if 0%{?fedora} < 18
230118
sed -i 's/\<libdrm_nouveau\>/&2/' configure.ac
230118
%endif
230118
%endif
230118
230118
cp %{SOURCE4} docs/
230118
230118
%build
230118
230118
autoreconf --install  
230118
230118
export CFLAGS="$RPM_OPT_FLAGS"
230118
# C++ note: we never say "catch" in the source.  we do say "typeid" once,
230118
# in an assert, which is patched out above.  LLVM doesn't use RTTI or throw.
230118
#
230118
# We do say 'catch' in the clover and d3d1x state trackers, but we're not
230118
# building those yet.
230118
export CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions"
230118
%ifarch %{ix86}
230118
# i do not have words for how much the assembly dispatch code infuriates me
230118
%define asm_flags --disable-asm
230118
%endif
230118
230118
%configure \
230118
    %{?asm_flags} \
230118
    --enable-selinux \
230118
    --enable-osmesa \
230118
    --with-dri-driverdir=%{_libdir}/dri \
230118
    --enable-egl \
230118
    --disable-gles1 \
230118
    --enable-gles2 \
230118
    --disable-xvmc \
230118
    %{?with_vdpau:--enable-vdpau} \
230118
    --with-egl-platforms=x11,drm%{?with_wayland:,wayland} \
230118
    --enable-shared-glapi \
230118
    --enable-gbm \
230118
    --disable-opencl \
230118
    --enable-glx-tls \
230118
    --enable-texture-float=yes \
f06792
%if %{with_vulkan}
f06792
    %{?vulkan_drivers} \
f06792
%endif
230118
    %{?with_llvm:--enable-gallium-llvm} \
230118
    --enable-dri \
230118
%if %{with_hardware}
230118
    %{?with_vmware:--enable-xa} \
f06792
    --with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,}%{?with_llvm:swrast,r600,r300}%{?with_freedreno:freedreno,},nouveau,virgl \
230118
%else
230118
    --with-gallium-drivers=%{?with_llvm:swrast} \
230118
%endif
230118
    %{?dri_drivers}
230118
230118
# this seems to be neccessary for s390
230118
make -C src/mesa/drivers/dri/common/xmlpool/
230118
230118
make %{?_smp_mflags} MKDEP=/bin/true
230118
230118
%install
230118
rm -rf $RPM_BUILD_ROOT
230118
230118
make install DESTDIR=$RPM_BUILD_ROOT
230118
230118
%if 0%{?rhel}
230118
# remove pre-DX9 drivers
230118
rm -f $RPM_BUILD_ROOT%{_libdir}/dri/{radeon,r200,nouveau_vieux}_dri.*
f06792
# remove r300 vdpau
f06792
rm -f $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_r300.*
230118
%endif
230118
230118
%if !%{with_hardware}
230118
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/drirc
230118
%endif
230118
230118
# libvdpau opens the versioned name, don't bother including the unversioned
230118
rm -f $RPM_BUILD_ROOT%{_libdir}/vdpau/*.so
230118
230118
# strip out useless headers
230118
rm -f $RPM_BUILD_ROOT%{_includedir}/GL/w*.h
230118
762a8c
rm -rf $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/
ede8cb
f06792
rm -f $RPM_BUILD_ROOT%{_includedir}/vulkan/vulkan_intel.h
f06792
230118
# remove .la files
230118
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
230118
230118
# this keeps breaking, check it early.  note that the exit from eu-ftr is odd.
230118
pushd $RPM_BUILD_ROOT%{_libdir}
230118
for i in libOSMesa*.so libGL.so ; do
230118
    eu-findtextrel $i && exit 1
230118
done
230118
popd
230118
230118
%clean
230118
rm -rf $RPM_BUILD_ROOT
230118
230118
%check
230118
230118
%post libGL -p /sbin/ldconfig
230118
%postun libGL -p /sbin/ldconfig
230118
%post libOSMesa -p /sbin/ldconfig
230118
%postun libOSMesa -p /sbin/ldconfig
230118
%post libEGL -p /sbin/ldconfig
230118
%postun libEGL -p /sbin/ldconfig
230118
%post libGLES -p /sbin/ldconfig
230118
%postun libGLES -p /sbin/ldconfig
230118
%post libglapi -p /sbin/ldconfig
230118
%postun libglapi -p /sbin/ldconfig
230118
%post libgbm -p /sbin/ldconfig
230118
%postun libgbm -p /sbin/ldconfig
230118
%if !0%{?rhel}
230118
%post libwayland-egl -p /sbin/ldconfig
230118
%postun libwayland-egl -p /sbin/ldconfig
230118
%endif
230118
%if 0%{?with_vmware}
230118
%post libxatracker -p /sbin/ldconfig
230118
%postun libxatracker -p /sbin/ldconfig
230118
%endif
230118
230118
%files libGL
230118
%defattr(-,root,root,-)
230118
%{_libdir}/libGL.so.1
230118
%{_libdir}/libGL.so.1.*
230118
230118
%files libEGL
230118
%defattr(-,root,root,-)
230118
%{_libdir}/libEGL.so.1
230118
%{_libdir}/libEGL.so.1.*
230118
230118
%files libGLES
230118
%defattr(-,root,root,-)
230118
%{_libdir}/libGLESv2.so.2
230118
%{_libdir}/libGLESv2.so.2.*
230118
230118
%files filesystem
230118
%defattr(-,root,root,-)
f06792
%doc docs/Mesa-MLAA-License-Clarification-Email.txt
230118
%dir %{_libdir}/dri
762a8c
%if %{with_hardware}
230118
%if 0%{?with_vdpau}
230118
%dir %{_libdir}/vdpau
230118
%endif
230118
%endif
230118
230118
%files libglapi
230118
%{_libdir}/libglapi.so.0
230118
%{_libdir}/libglapi.so.0.*
230118
230118
%files dri-drivers
230118
%defattr(-,root,root,-)
230118
%if %{with_hardware}
230118
%config(noreplace) %{_sysconfdir}/drirc
230118
%if !0%{?rhel}
230118
%{_libdir}/dri/radeon_dri.so
230118
%{_libdir}/dri/r200_dri.so
230118
%{_libdir}/dri/nouveau_vieux_dri.so
230118
%endif
230118
%if 0%{?with_llvm}
f06792
%{_libdir}/dri/r300_dri.so
230118
%{_libdir}/dri/r600_dri.so
230118
%if 0%{?with_radeonsi}
230118
%{_libdir}/dri/radeonsi_dri.so
230118
%endif
230118
%endif
230118
%ifarch %{ix86} x86_64
230118
%{_libdir}/dri/i915_dri.so
230118
%{_libdir}/dri/i965_dri.so
230118
%endif
230118
%if 0%{?with_freedreno}
230118
%{_libdir}/dri/kgsl_dri.so
230118
%endif
230118
%{_libdir}/dri/nouveau_dri.so
fa677b
%{_libdir}/dri/virtio_gpu_dri.so
230118
%if 0%{?with_vmware}
230118
%{_libdir}/dri/vmwgfx_dri.so
230118
%endif
230118
%endif
230118
# this is funky; it doesn't get built for gallium drivers, so it doesn't
230118
# exist on s390x where swrast is llvmpipe, but does exist on s390 where
230118
# swrast is classic mesa.  this seems like a bug?  in that it probably
230118
# means the gallium drivers are linking dricore statically?  fixme.
230118
%{_libdir}/dri/swrast_dri.so
762a8c
%if 0%{?with_llvm}
762a8c
%{_libdir}/dri/kms_swrast_dri.so
762a8c
%endif
230118
230118
%if %{with_hardware}
230118
%if 0%{?with_vdpau}
230118
%files vdpau-drivers
230118
%defattr(-,root,root,-)
230118
%{_libdir}/vdpau/libvdpau_nouveau.so.1*
230118
%if 0%{?with_llvm}
230118
%{_libdir}/vdpau/libvdpau_r600.so.1*
230118
%{_libdir}/vdpau/libvdpau_radeonsi.so.1*
230118
%endif
230118
%endif
230118
%endif
230118
230118
%files libGL-devel
230118
%defattr(-,root,root,-)
230118
%{_includedir}/GL/gl.h
762a8c
%{_includedir}/GL/glcorearb.h
230118
%{_includedir}/GL/gl_mangle.h
230118
%{_includedir}/GL/glext.h
230118
%{_includedir}/GL/glx.h
230118
%{_includedir}/GL/glx_mangle.h
230118
%{_includedir}/GL/glxext.h
230118
%dir %{_includedir}/GL/internal
230118
%{_includedir}/GL/internal/dri_interface.h
230118
%{_libdir}/pkgconfig/dri.pc
230118
%{_libdir}/libGL.so
230118
%{_libdir}/libglapi.so
230118
%{_libdir}/pkgconfig/gl.pc
230118
230118
%files libEGL-devel
230118
%defattr(-,root,root,-)
230118
%dir %{_includedir}/EGL
230118
%{_includedir}/EGL/eglext.h
230118
%{_includedir}/EGL/egl.h
230118
%{_includedir}/EGL/eglmesaext.h
762a8c
%{_includedir}/EGL/eglextchromium.h
230118
%{_includedir}/EGL/eglplatform.h
230118
%dir %{_includedir}/KHR
230118
%{_includedir}/KHR/khrplatform.h
230118
%{_libdir}/pkgconfig/egl.pc
230118
%{_libdir}/libEGL.so
230118
230118
%files libGLES-devel
230118
%defattr(-,root,root,-)
230118
%dir %{_includedir}/GLES2
f06792
%dir %{_includedir}/GLES3
230118
%{_includedir}/GLES2/gl2platform.h
230118
%{_includedir}/GLES2/gl2.h
230118
%{_includedir}/GLES2/gl2ext.h
230118
%{_includedir}/GLES3/gl3platform.h
230118
%{_includedir}/GLES3/gl3.h
ede8cb
%{_includedir}/GLES3/gl31.h
f06792
%{_includedir}/GLES3/gl32.h
230118
%{_includedir}/GLES3/gl3ext.h
230118
%{_libdir}/pkgconfig/glesv2.pc
230118
%{_libdir}/libGLESv2.so
230118
230118
%files libOSMesa
230118
%defattr(-,root,root,-)
230118
%{_libdir}/libOSMesa.so.8*
230118
230118
%files libOSMesa-devel
230118
%defattr(-,root,root,-)
230118
%dir %{_includedir}/GL
230118
%{_includedir}/GL/osmesa.h
230118
%{_libdir}/libOSMesa.so
230118
%{_libdir}/pkgconfig/osmesa.pc
230118
230118
%files libgbm
230118
%defattr(-,root,root,-)
230118
%{_libdir}/libgbm.so.1
230118
%{_libdir}/libgbm.so.1.*
230118
230118
%files libgbm-devel
230118
%defattr(-,root,root,-)
230118
%{_libdir}/libgbm.so
230118
%{_includedir}/gbm.h
230118
%{_libdir}/pkgconfig/gbm.pc
230118
230118
%if !0%{?rhel}
230118
%files libwayland-egl
230118
%defattr(-,root,root,-)
230118
%{_libdir}/libwayland-egl.so.1
230118
%{_libdir}/libwayland-egl.so.1.*
230118
230118
%files libwayland-egl-devel
230118
%defattr(-,root,root,-)
230118
%{_libdir}/libwayland-egl.so
230118
%{_libdir}/pkgconfig/wayland-egl.pc
230118
%endif
230118
230118
%if 0%{?with_vmware}
230118
%files libxatracker
230118
%defattr(-,root,root,-)
230118
%if %{with_hardware}
ede8cb
%{_libdir}/libxatracker.so.2
ede8cb
%{_libdir}/libxatracker.so.2.*
230118
%endif
230118
230118
%files libxatracker-devel
230118
%defattr(-,root,root,-)
230118
%if %{with_hardware}
230118
%{_libdir}/libxatracker.so
230118
%{_includedir}/xa_tracker.h
230118
%{_includedir}/xa_composite.h
230118
%{_includedir}/xa_context.h
230118
%{_libdir}/pkgconfig/xatracker.pc
230118
%endif
230118
%endif
230118
f06792
%if 0%{?with_vulkan}
f06792
%files vulkan-drivers
f06792
%ifarch x86_64
f06792
%{_libdir}/libvulkan_intel.so
f06792
%{_datadir}/vulkan/icd.d/intel_icd.x86_64.json
f06792
%endif
f06792
%{_libdir}/libvulkan_radeon.so
f06792
%ifarch x86_64
f06792
%{_datadir}/vulkan/icd.d/radeon_icd.x86_64.json
f06792
%endif
f06792
%ifarch ppc64le
f06792
%{_datadir}/vulkan/icd.d/radeon_icd.powerpc64le.json
f06792
%endif
f06792
%endif
f06792
230118
%changelog
f06792
* Thu May 11 2017 Dave Airlie <airlied@redhat.com> - 17.0.1-6.20170307
f06792
- enable VDPAU drivers (#1297276)
f06792
f06792
* Tue May 09 2017 Tom Stellard <tstellar@redhat.com> - 17.0.1-5.20170307
f06792
- Use correct datalayout for llvmpipe (#1445423)
f06792
f06792
* Fri May 05 2017 Adam Jackson <ajax@redhat.com> - 17.0.1-4.20170307
f06792
- Add ppc64le vulkan build
f06792
f06792
* Wed May 03 2017 Lyude Paul <lyude@redhat.com> - 17.0.1-3.20170307
f06792
- Add temporary revert for #1438891
f06792
f06792
* Tue Mar 28 2017 Dave Airlie <airlied@redhat.com> - 17.0.1-2.20170307
f06792
- Allow compat shaders override. (#1429813)
f06792
f06792
* Tue Mar 07 2017 Dave Airlie <airlied@redhat.com> - 17.0.1-1.20170307
f06792
- mesa 17.0.1 release
f06792
f06792
* Tue Feb 28 2017 Dave Airlie <airlied@redhat.com> - 17.0.0-2.20170215
f06792
- enable more drivers on aarch64 + vulkan drivers (#1358444)
f06792
f06792
* Wed Feb 15 2017 Dave Airlie <airlied@redhat.com> - 17.0.0-1.20170215
f06792
- mesa 17.0.0 release
f06792
f06792
* Mon Feb 06 2017 Adam Jackson <ajax@redhat.com> - 17.0.0-0.2.20170123
f06792
- Rebuild against (and BuildRequire) mesa-private-llvm >= 3.9
f06792
f06792
* Mon Jan 23 2017 Dave Airlie <airlied@redhat.com> - 17.0.0-0.1.20170123
f06792
- mesa 17.0.0-rc1
f06792
fa677b
* Tue Aug 09 2016 Rob Clark <rclark@redhat.com> - 11.2.2-2.20160614
fa677b
- update kbl pci ids.
fa677b
fa677b
* Tue Jun 14 2016 Dave Airlie <airlied@redhat.com> - 11.2.2-1.20160614
fa677b
- mesa 11.2.2 release
fa677b
fa677b
* Tue Apr 05 2016 Dave Airlie <airlied@redhat.com> 11.2.0-1.20160405
fa677b
- mesa 11.2.0 final release
fa677b
fa677b
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 11.2.0-0.2.20160310
fa677b
- mesa 11.2.0-rc2 release + enable virgl
fa677b
762a8c
* Thu Sep 17 2015 Oded Gabbay <oded.gabbay@redhat.com> 10.6.5-3.20150824
762a8c
- Fix texture compression for big-endian (#1250168)
762a8c
762a8c
* Wed Sep 16 2015 Oded Gabbay <oded.gabbay@redhat.com> 10.6.5-2.20150824
762a8c
- Fix llvmpipe implicit conversion for POWER (#1261988)
762a8c
762a8c
* Mon Aug 24 2015 Oded Gabbay <oded.gabbay@redhat.com> 10.6.5-1.20150824
762a8c
- mesa 10.6.5 release
762a8c
762a8c
* Tue Jun 16 2015 Dave Airlie <airlied@redhat.com> 10.6.0-1.20150616
762a8c
- mesa 10.6.0 release
762a8c
762a8c
* Thu May 28 2015 Dave Airlie <airlied@redhat.com> 10.6.0-0.3.20150528
762a8c
- mesa 10.6.0-rc2
762a8c
762a8c
* Fri May 22 2015 Dave Airlie <airlied@redhat.com> 10.6.0-0.2.20150521
762a8c
- rebuild for ppc64le relro issue
762a8c
762a8c
* Thu May 21 2015 Dave Airlie <airlied@redhat.com> 10.6.0-0.1.20150521
762a8c
- mesa 10.6.0-rc1
f8d316
ede8cb
* Wed Jan 28 2015 Adam Jackson <ajax@redhat.com> 10.2.7-5.20140910
ede8cb
- Fix color clears and colorformat selection on big-endian evergreen
ede8cb
ede8cb
* Wed Sep 17 2014 Dave Airlie <airlied@redhat.com> 10.2.7-3.20140910
ede8cb
- backport regression fix for old x86 cpus
ede8cb
ede8cb
* Wed Sep 17 2014 Dave Airlie <airlied@redhat.com> 10.2.7-2.20140910
ede8cb
- backport upstream big endian format fixes
ede8cb
ede8cb
* Wed Sep 10 2014 Dave Airlie <airlied@redhat.com> 10.2.7-1.20140910
ede8cb
- rebase to latest 10.2.x branch - fixes HSW gnome-shell
ede8cb
ede8cb
* Tue Sep 09 2014 Adam Jackson <ajax@redhat.com> 10.2.5-3.20140827
ede8cb
- Backport a ppc64le fix
ede8cb
ede8cb
* Wed Aug 27 2014 Adam Jackson <ajax@redhat.com> 10.2.5-2.20140827
ede8cb
- Rebuild against llvm 3.5.0rc3
ede8cb
ede8cb
* Wed Aug 27 2014 Dave Airlie <airlied@redhat.com> 10.2.5-1.20140827
ede8cb
- rebase to 10.2.5 (well .6 in branch has hawaii fixes)
de4028
13f4a0
* Mon Feb 24 2014 Dave Airlie <airlied@redhat.com> 9.2.5-5.20131218
13f4a0
- fix GLX attribs against binary drivers (#1064117)
13f4a0
13f4a0
* Wed Feb 12 2014 Adam Jackson <ajax@redhat.com> 9.2.5-4.20131218
13f4a0
- Mass rebuild
13f4a0
13f4a0
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 9.2.5-3.20131218
13f4a0
- Mass rebuild 2014-01-24
13f4a0
13f4a0
* Tue Jan 14 2014 Dave Airlie <airlied@redhat.com> 9.2.5-2.20131218
13f4a0
- obsolete correct dri1 drivers package (#1043903)
13f4a0
13f4a0
* Mon Jan 13 2014 Dave Airlie <airlied@redhat.com> 9.2.5-1.20131218
13f4a0
- rebase to final 9.2.5 release + copy sub buffer enable for swrast
13f4a0
13f4a0
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 9.2-5.20131023
13f4a0
- Mass rebuild 2013-12-27
13f4a0
13f4a0
* Wed Nov 06 2013 Dave Airlie <airlied@redhat.com> 9.2-4.20131023
13f4a0
- fix build for now on aarch64
13f4a0
230118
* Thu Oct 31 2013 Jerome Glisse <jglisse@redhat.com> 9.2-3.20131023
230118
- Add missing kaveri pci id
230118
230118
* Wed Oct 23 2013 Jerome Glisse <jglisse@redhat.com> 9.2-2.20131023
230118
- 9.2 upstream release + fixes from git branch
230118
230118
* Mon Sep 02 2013 Dave Airlie <airlied@redhat.com> 9.2-1.20130902
230118
- 9.2 upstream release + fixes from git branch
230118
230118
* Tue Jul 23 2013 Adam Jackson <ajax@redhat.com> 9.2-0.14.20130723
230118
- Today's git snap of 9.2 branch
230118
230118
* Sun Jul 14 2013 Kyle McMartin <kyle@redhat.com> 9.2-0.13.20130610
230118
- Use LLVM::MCJIT on ARM and AArch64.
230118
230118
* Mon Jun 17 2013 Adam Jackson <ajax@redhat.com> 9.2-0.12.20130610
230118
- Re-enable hardware float support (#975204)
230118
230118
* Mon Jun 17 2013 Adam Jackson <ajax@redhat.com> 9.2-0.11.20130610
230118
- Fix evergreen on big-endian
230118
230118
* Wed Jun 12 2013 Adam Jackson <ajax@redhat.com> 9.2-0.10.20130610
230118
- Fix s390x build
230118
- Fold khrplatform-devel in to libEGL-devel
230118
230118
* Tue Jun 11 2013 Adam Jackson <ajax@redhat.com> 9.2-0.9.20130610
230118
- 0001-Revert-i965-Disable-unused-pipeline-stages-once-at-s.patch: Fix some
230118
  hangs on ivb+
230118
230118
* Mon Jun 10 2013 Adam Jackson <ajax@redhat.com> 9.2-0.8.20130610
230118
- Today's git snap
230118
230118
* Tue May 28 2013 Adam Jackson <ajax@redhat.com> 9.2-0.7.20130528
230118
- Today's git snap
230118
230118
* Sun May 19 2013 Peter Robinson <pbrobinson@fedoraproject.org> 9.2-0.6.20130514
230118
- Update the name of the freedreno driver
230118
230118
* Fri May 17 2013 Adam Jackson <ajax@redhat.com> 9.2-0.5.20130514
230118
- Fix build issues on ppc32
230118
230118
* Thu May 16 2013 Adam Jackson <ajax@redhat.com> 9.2-0.4.20130514
230118
- Fix yet more build issues on s390{,x}
230118
230118
* Wed May 15 2013 Adam Jackson <ajax@redhat.com> 9.2-0.3.20130514
230118
- Fix build ordering issue on s390x
230118
230118
* Wed May 15 2013 Adam Jackson <ajax@redhat.com> 9.2-0.2.20130514
230118
- Fix filesystem for with_hardware == 0
230118
230118
* Tue May 14 2013 Adam Jackson <ajax@redhat.com> 9.2-0.1.20130514
230118
- Today's git snap
230118
- Revert to swrast on ppc32 and s390 since llvm doesn't actually work
230118
- Build freedreno on arm
230118
- Drop snb hang workaround (upstream 1dfea559)
230118
- Rename filesystem package
230118
230118
* Wed May 08 2013 Adam Jackson <ajax@redhat.com> 9.2-0.1.20130508
230118
- Switch to Mesa master (pre 9.2)
230118
- Fix llvmpipe on big-endian and enable llvmpipe everywhere
230118
- Build vdpau drivers for r600/radeonsi/nouveau
230118
- Enable hardware floating-point texture support
230118
- Drop GLESv1, nothing's using it, let's not start
230118
230118
* Sat Apr 27 2013 Dave Airlie <airlied@redhat.com> 9.1.1-1
230118
- rebase to Mesa 9.1.1 + fixes from git
230118
230118
* Thu Apr 11 2013 Dave Airlie <airlied@redhat.com> 9.1-6
230118
- enable glx tls for glamor to work properly
230118
230118
* Thu Apr 04 2013 Adam Jackson <ajax@redhat.com> 9.1-5
230118
- Enable llvmpipe even on non-SSE2 machines (#909473)
230118
230118
* Tue Mar 26 2013 Adam Jackson <ajax@redhat.com> 9.1-4
230118
- Fix build with private LLVM
230118
230118
* Tue Mar 19 2013 Adam Jackson <ajax@redhat.com> 9.1-3
230118
- mesa-9.1-53-gd0ccb5b.patch: Sync with today's git
230118
230118
* Tue Mar 19 2013 Dave Airlie <airlied@redhat.com> 9.1-2
230118
- add SNB hang workaround from chromium
230118
230118
* Fri Mar 08 2013 Adam Jackson <ajax@redhat.com> 9.1-1
230118
- Mesa 9.1
230118
230118
* Wed Feb 27 2013 Dan Horák <dan[at]danny.cz> - 9.1-0.4
230118
- /etc/drirc is always created, so exclude it on platforms without hw drivers
230118
230118
* Tue Feb 26 2013 Adam Jackson <ajax@redhat.com> 9.1-0.3
230118
- Fix s390*'s swrast to be classic not softpipe
230118
230118
* Tue Feb 19 2013 Jens Petersen <petersen@redhat.com> - 9.1-0.2
230118
- build against llvm-3.2
230118
- turn on radeonsi
230118
230118
* Wed Feb 13 2013 Dave Airlie <airlied@redhat.com> 9.1-0.1
230118
- snapshot mesa 9.1 branch
230118
230118
* Tue Jan 15 2013 Tom Callaway <spot@fedoraproject.org> 9.0.1-4
230118
- clarify license on pp_mlaa* files
230118
230118
* Thu Dec 20 2012 Adam Jackson <ajax@redhat.com> 9.0.1-3
230118
- mesa-9.0.1-22-gd0a9ab2.patch: Sync with git
230118
- Build with -fno-rtti -fno-exceptions, modest size and speed win
230118
- mesa-9.0.1-less-cxx-please.patch: Remove the only use of typeid() so the
230118
  above works.
230118
230118
* Wed Dec 05 2012 Adam Jackson <ajax@redhat.com> 9.0.1-2
230118
- Allow linking against a private version of LLVM libs for RHEL7
230118
- Build with -j again
230118
230118
* Mon Dec 03 2012 Adam Jackson <ajax@redhat.com> 9.0.1-1
230118
- Mesa 9.0.1
230118
230118
* Wed Nov 07 2012 Dave Airlie <airlied@redhat.com> 9.0-5
230118
- mesa-9.0-19-g895a587.patch: sync with 9.0 branch with git
230118
- drop wayland patch its in git now.
230118
230118
* Thu Nov 01 2012 Adam Jackson <ajax@redhat.com> 9.0-4
230118
- mesa-9.0-18-g5fe5aa8: sync with 9.0 branch in git
230118
- Portability fixes for F17: old wayland, old llvm.
230118
230118
* Sat Oct 27 2012 Dan Horák <dan[at]danny.cz> 9.0-3
230118
- gallium drivers must be set explicitely for s390(x) otherwise also r300, r600 and vmwgfx are built
230118
230118
* Fri Oct 19 2012 Adam Jackson <ajax@redhat.com> 9.0-2
230118
- Rebuild for wayland 0.99
230118
230118
* Wed Oct 10 2012 Adam Jackson <ajax@redhat.com> 9.0-1
230118
- Mesa 9.0
230118
- mesa-9.0-12-gd56ee24.patch: sync with 9.0 branch in git
230118
230118
* Wed Oct 10 2012 Adam Jackson <ajax@redhat.com> 9.0-0.4
230118
- Switch to external gl-manpages and libGLU
230118
- Drop ShmGetImage fastpath for a bit
230118
230118
* Mon Oct 01 2012 Dan Horák <dan[at]danny.cz> 9.0-0.3
230118
- explicit BR: libGL-devel is required on s390(x), it's probbaly brought in indirectly on x86
230118
- gallium drivers must be set explicitely for s390(x) otherwise also r300, r600 and vmwgfx are built
230118
230118
* Mon Sep 24 2012 Adam Jackson <ajax@redhat.com> 9.0-0.2
230118
- Switch to swrast classic instead of softpipe for non-llvm arches
230118
- Re-disable llvm on ppc until it can draw pixels
230118
230118
* Mon Sep 24 2012 Dave Airlie <airlied@redhat.com> 9.0-0.1
230118
- rebase to latest upstream 9.0 pre-release branch
230118
- add back glu from new upstream (split for f18 later)
230118
230118
* Fri Sep 14 2012 Dave Airlie <airlied@redhat.com> 8.1-0.21
230118
- why fix one yylex when you can fix two
230118
230118
* Fri Sep 14 2012 Dave Airlie <airlied@redhat.com> 8.1-0.20
230118
- fix yylex collision reported on irc by hughsie
230118
230118
* Mon Aug 27 2012 Adam Jackson <ajax@redhat.com> 8.1-0.19
230118
- Today's git snap
230118
- Revert dependency on libkms
230118
- Patch from Mageia to fix some undefined symbols
230118
230118
* Fri Aug 17 2012 Dave Airlie <airlied@redhat.com> 8.1-0.18
230118
- parallel make seems broken - on 16 way machine internally.
230118
230118
* Thu Aug 16 2012 Dave Airlie <airlied@redhat.com> 8.1-0.17
230118
- upstream snapshot
230118
230118
* Wed Jul 25 2012 Peter Robinson <pbrobinson@fedoraproject.org> 8.1-0.16
230118
- Enable LLVM on ARM
230118
230118
* Wed Jul 25 2012 Peter Robinson <pbrobinson@fedoraproject.org> 8.1-0.15
230118
- Fix building on platforms with HW and without LLVM
230118
230118
* Tue Jul 24 2012 Adam Jackson <ajax@redhat.com> 8.1-0.14
230118
- Re-enable llvm on ppc, being worked on
230118
- Don't BuildReq on wayland things in RHEL
230118
230118
* Mon Jul 23 2012 Adam Jackson <ajax@redhat.com> 8.1-0.13
230118
- Build radeonsi (#842194)
230118
230118
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1-0.12
230118
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
230118
230118
* Tue Jul 17 2012 Dave Airlie <airlied@redhat.com> 8.1-0.11
230118
- upstream snapshot: fixes build issues
230118
230118
* Tue Jul 17 2012 Dave Airlie <airlied@redhat.com> 8.1-0.10
230118
- snapshot mesa: add some build hackarounds 
230118
230118
* Sat Jul 14 2012 Ville Skyttä <ville.skytta@iki.fi> - 8.1-0.9
230118
- Call ldconfig at -libglapi and -libxatracker post(un)install time.
230118
- Drop redundant ldconfig dependencies, let rpm auto-add them.
230118
230118
* Wed Jun 13 2012 Dave Airlie <airlied@redhat.com> 8.1-0.8
230118
- enable shared llvm usage.
230118
230118
* Thu Jun 07 2012 Adam Jackson <ajax@redhat.com> 8.1-0.7
230118
- Disable llvm on non-x86 (#829020)
230118
230118
* Sun Jun 03 2012 Dave Airlie <airlied@redhat.com> 8.1-0.6
230118
- rebase to git master + build on top of llvm 3.1
230118
230118
* Thu May 17 2012 Adam Jackson <ajax@redhat.com> 8.1-0.5
230118
- mesa-8.0-llvmpipe-shmget.patch: Rediff for 8.1.
230118
230118
* Thu May 10 2012 Karsten Hopp <karsten@redhat.com> 8.1-0.4
230118
- revert disabling of hardware drivers, disable only llvm on PPC*
230118
  (#819060)
230118
230118
* Tue May 01 2012 Adam Jackson <ajax@redhat.com> 8.1-0.3
230118
- More RHEL tweaking: no pre-DX7 drivers, no wayland.
230118
230118
* Thu Apr 26 2012 Karsten Hopp <karsten@redhat.com> 8.1-0.2
230118
- move drirc into with_hardware section (Dave Airlie)
230118
- libdricore.so and libglsl.so get built and installed on
230118
  non-hardware archs, include them in the file list
230118
230118
* Thu Apr 26 2012 Adam Jackson <ajax@redhat.com> 8.1-0.2
230118
- Don't build vmware stuff on non-x86 (#815444)
230118
230118
* Tue Apr 24 2012 Richard Hughes <rhughes@redhat.com> 8.0.3-0.1
230118
- Rebuild with new git snapshot
230118
- Remove upstreamed patches