|
|
|
@ -2,15 +2,16 @@
@@ -2,15 +2,16 @@
|
|
|
|
|
%define with_private_llvm 1 |
|
|
|
|
%else |
|
|
|
|
%define with_private_llvm 0 |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%define with_vdpau 1 |
|
|
|
|
%define with_wayland 1 |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%ifnarch ppc |
|
|
|
|
%define with_radeonsi 1 |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%ifarch %{arm} |
|
|
|
|
%ifarch %{arm} aarch64 |
|
|
|
|
%define with_freedreno 1 |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
@ -21,7 +22,7 @@
@@ -21,7 +22,7 @@
|
|
|
|
|
%define with_llvm 1 |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%ifarch s390 s390x aarch64 |
|
|
|
|
%ifarch s390 s390x |
|
|
|
|
%define with_hardware 0 |
|
|
|
|
%ifarch s390 |
|
|
|
|
%define base_drivers swrast |
|
|
|
@ -29,32 +30,44 @@
@@ -29,32 +30,44 @@
|
|
|
|
|
%else |
|
|
|
|
%define with_hardware 1 |
|
|
|
|
%define base_drivers nouveau,radeon,r200 |
|
|
|
|
%define base_vulkan_drivers radeon |
|
|
|
|
%ifarch %{ix86} x86_64 |
|
|
|
|
%define platform_drivers ,i915,i965 |
|
|
|
|
%define with_vmware 1 |
|
|
|
|
%define platform_vulkan_drivers ,intel |
|
|
|
|
%endif |
|
|
|
|
%ifarch ppc |
|
|
|
|
%define platform_drivers ,swrast |
|
|
|
|
%endif |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%ifarch %{ix86} x86_64 ppc64le ppc64 |
|
|
|
|
%define with_vulkan 1 |
|
|
|
|
%else |
|
|
|
|
%define with_vulkan 0 |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers} |
|
|
|
|
|
|
|
|
|
%if 0%{?with_vulkan} |
|
|
|
|
%define vulkan_drivers --with-vulkan-drivers=%{?base_vulkan_drivers}%{?platform_vulkan_drivers} |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%define _default_patch_fuzz 2 |
|
|
|
|
|
|
|
|
|
%define gitdate 20150824 |
|
|
|
|
#define gitdate 20180530 |
|
|
|
|
#% define snapshot |
|
|
|
|
|
|
|
|
|
Summary: Mesa graphics libraries |
|
|
|
|
Name: mesa |
|
|
|
|
Version: 10.6.5 |
|
|
|
|
Release: 3.%{gitdate}%{?dist} |
|
|
|
|
Version: 18.3.4 |
|
|
|
|
Release: 5%{?dist} |
|
|
|
|
License: MIT |
|
|
|
|
Group: System Environment/Libraries |
|
|
|
|
URL: http://www.mesa3d.org |
|
|
|
|
|
|
|
|
|
# Source0: MesaLib-%{version}.tar.xz |
|
|
|
|
Source0: %{name}-%{gitdate}.tar.xz |
|
|
|
|
Source0: mesa-%{version}.tar.xz |
|
|
|
|
#Source0: %{name}-%{gitdate}.tar.xz |
|
|
|
|
Source1: sanitize-tarball.sh |
|
|
|
|
Source2: make-release-tarball.sh |
|
|
|
|
Source3: make-git-snapshot.sh |
|
|
|
@ -65,19 +78,27 @@ Source3: make-git-snapshot.sh
@@ -65,19 +78,27 @@ Source3: make-git-snapshot.sh
|
|
|
|
|
Source4: Mesa-MLAA-License-Clarification-Email.txt |
|
|
|
|
|
|
|
|
|
Patch1: nv50-fix-build.patch |
|
|
|
|
Patch9: mesa-8.0-llvmpipe-shmget.patch |
|
|
|
|
|
|
|
|
|
# fix some timeout mismatch warnings (backport from upstream) |
|
|
|
|
Patch3: fix-timeout-warnings.patch |
|
|
|
|
|
|
|
|
|
# Fix dri shm leak |
|
|
|
|
Patch4: 0001-glx-fix-shared-memory-leak-in-X11.patch |
|
|
|
|
# fix remove shm |
|
|
|
|
Patch5: fix-llvmpipe-remote-shm.patch |
|
|
|
|
|
|
|
|
|
Patch12: mesa-8.0.1-fix-16bpp.patch |
|
|
|
|
Patch15: mesa-9.2-hardware-float.patch |
|
|
|
|
Patch20: mesa-10.2-evergreen-big-endian.patch |
|
|
|
|
Patch25: mesa-10.6-llvmpipe-imm-fix-power.patch |
|
|
|
|
Patch26: mesa-10.6-fix-texcompress-big-endian.patch |
|
|
|
|
Patch21: 0001-pkgconfig-Fix-gl.pc-when-glvnd-is-enabled.patch |
|
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig autoconf automake libtool |
|
|
|
|
%if %{with_hardware} |
|
|
|
|
BuildRequires: kernel-headers |
|
|
|
|
BuildRequires: xorg-x11-server-devel |
|
|
|
|
%endif |
|
|
|
|
BuildRequires: libdrm-devel >= 2.4.60 |
|
|
|
|
BuildRequires: libatomic |
|
|
|
|
BuildRequires: libdrm-devel >= 2.4.83 |
|
|
|
|
BuildRequires: libXxf86vm-devel |
|
|
|
|
BuildRequires: expat-devel |
|
|
|
|
BuildRequires: xorg-x11-proto-devel |
|
|
|
@ -88,6 +109,7 @@ BuildRequires: libXfixes-devel
@@ -88,6 +109,7 @@ BuildRequires: libXfixes-devel
|
|
|
|
|
BuildRequires: libXdamage-devel |
|
|
|
|
BuildRequires: libXi-devel |
|
|
|
|
BuildRequires: libXmu-devel |
|
|
|
|
BuildRequires: libXrandr-devel |
|
|
|
|
BuildRequires: libxshmfence-devel |
|
|
|
|
BuildRequires: elfutils |
|
|
|
|
BuildRequires: python |
|
|
|
@ -95,7 +117,7 @@ BuildRequires: python-mako
@@ -95,7 +117,7 @@ BuildRequires: python-mako
|
|
|
|
|
BuildRequires: gettext |
|
|
|
|
%if 0%{?with_llvm} |
|
|
|
|
%if 0%{?with_private_llvm} |
|
|
|
|
BuildRequires: mesa-private-llvm-devel >= 3.6 |
|
|
|
|
BuildRequires: llvm-private-devel >= 6.0 |
|
|
|
|
%else |
|
|
|
|
BuildRequires: llvm-devel >= 3.0 |
|
|
|
|
%endif |
|
|
|
@ -104,15 +126,17 @@ BuildRequires: elfutils-libelf-devel
@@ -104,15 +126,17 @@ BuildRequires: elfutils-libelf-devel
|
|
|
|
|
BuildRequires: libxml2-python |
|
|
|
|
BuildRequires: libudev-devel |
|
|
|
|
BuildRequires: bison flex |
|
|
|
|
%if !0%{?rhel} |
|
|
|
|
BuildRequires: pkgconfig(wayland-client) >= %{min_wayland_version} |
|
|
|
|
BuildRequires: pkgconfig(wayland-server) >= %{min_wayland_version} |
|
|
|
|
%if %{with wayland} |
|
|
|
|
BuildRequires: pkgconfig(wayland-client) >= 1.11 |
|
|
|
|
BuildRequires: pkgconfig(wayland-server) >= 1.11 |
|
|
|
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.8.0 |
|
|
|
|
%endif |
|
|
|
|
BuildRequires: mesa-libGL-devel |
|
|
|
|
# BuildRequires: mesa-libGL-devel |
|
|
|
|
%if 0%{?with_vdpau} |
|
|
|
|
BuildRequires: libvdpau-devel |
|
|
|
|
%endif |
|
|
|
|
BuildRequires: zlib-devel |
|
|
|
|
BuildRequires: libglvnd-devel |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
Mesa |
|
|
|
@ -122,6 +146,8 @@ Summary: Mesa libGL runtime libraries and DRI drivers
@@ -122,6 +146,8 @@ Summary: Mesa libGL runtime libraries and DRI drivers
|
|
|
|
|
Group: System Environment/Libraries |
|
|
|
|
Provides: libGL |
|
|
|
|
Requires: mesa-libglapi = %{version}-%{release} |
|
|
|
|
Requires: libdrm >= 2.4.83 |
|
|
|
|
Requires: libglvnd-glx%{?_isa} >= 1:1.0.1-0.7 |
|
|
|
|
|
|
|
|
|
%description libGL |
|
|
|
|
Mesa libGL runtime library. |
|
|
|
@ -130,6 +156,7 @@ Mesa libGL runtime library.
@@ -130,6 +156,7 @@ Mesa libGL runtime library.
|
|
|
|
|
Summary: Mesa libEGL runtime libraries |
|
|
|
|
Group: System Environment/Libraries |
|
|
|
|
Requires: mesa-libgbm = %{version}-%{release} |
|
|
|
|
Requires: libglvnd-egl%{?_isa} |
|
|
|
|
|
|
|
|
|
%description libEGL |
|
|
|
|
Mesa libEGL runtime libraries |
|
|
|
@ -138,6 +165,7 @@ Mesa libEGL runtime libraries
@@ -138,6 +165,7 @@ Mesa libEGL runtime libraries
|
|
|
|
|
Summary: Mesa libGLES runtime libraries |
|
|
|
|
Group: System Environment/Libraries |
|
|
|
|
Requires: mesa-libglapi = %{version}-%{release} |
|
|
|
|
Requires: libglvnd-gles%{?_isa} |
|
|
|
|
|
|
|
|
|
%description libGLES |
|
|
|
|
Mesa GLES runtime libraries |
|
|
|
@ -150,10 +178,16 @@ Obsoletes: mesa-dri-filesystem < %{version}-%{release}
@@ -150,10 +178,16 @@ Obsoletes: mesa-dri-filesystem < %{version}-%{release}
|
|
|
|
|
%description filesystem |
|
|
|
|
Mesa driver filesystem |
|
|
|
|
|
|
|
|
|
%package khr-devel |
|
|
|
|
Summary: Mesa Khronos development headers |
|
|
|
|
%description khr-devel |
|
|
|
|
%{summary} |
|
|
|
|
|
|
|
|
|
%package dri-drivers |
|
|
|
|
Summary: Mesa-based DRI drivers |
|
|
|
|
Group: User Interface/X Hardware Support |
|
|
|
|
Requires: mesa-filesystem%{?_isa} |
|
|
|
|
Requires: libdrm >= 2.4.83 |
|
|
|
|
Obsoletes: mesa-dri1-drivers < 7.12 |
|
|
|
|
Obsoletes: mesa-dri-llvmcore <= 7.12 |
|
|
|
|
%description dri-drivers |
|
|
|
@ -173,6 +207,8 @@ Summary: Mesa libGL development package
@@ -173,6 +207,8 @@ Summary: Mesa libGL development package
|
|
|
|
|
Group: Development/Libraries |
|
|
|
|
Requires: mesa-libGL = %{version}-%{release} |
|
|
|
|
Requires: gl-manpages |
|
|
|
|
Requires: libglvnd-devel%{?_isa} |
|
|
|
|
Requires: %{name}-khr-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} |
|
|
|
|
Provides: libGL-devel |
|
|
|
|
|
|
|
|
|
%description libGL-devel |
|
|
|
@ -182,6 +218,8 @@ Mesa libGL development package
@@ -182,6 +218,8 @@ Mesa libGL development package
|
|
|
|
|
Summary: Mesa libEGL development package |
|
|
|
|
Group: Development/Libraries |
|
|
|
|
Requires: mesa-libEGL = %{version}-%{release} |
|
|
|
|
Requires: libglvnd-devel%{?_isa} |
|
|
|
|
Requires: %{name}-khr-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} |
|
|
|
|
Provides: khrplatform-devel = %{version}-%{release} |
|
|
|
|
Obsoletes: khrplatform-devel < %{version}-%{release} |
|
|
|
|
|
|
|
|
@ -192,6 +230,8 @@ Mesa libEGL development package
@@ -192,6 +230,8 @@ Mesa libEGL development package
|
|
|
|
|
Summary: Mesa libGLES development package |
|
|
|
|
Group: Development/Libraries |
|
|
|
|
Requires: mesa-libGLES = %{version}-%{release} |
|
|
|
|
Requires: %{name}-khr-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} |
|
|
|
|
Requires: libglvnd-devel%{?_isa} |
|
|
|
|
|
|
|
|
|
%description libGLES-devel |
|
|
|
|
Mesa libGLES development package |
|
|
|
@ -220,6 +260,7 @@ Mesa offscreen rendering development package
@@ -220,6 +260,7 @@ Mesa offscreen rendering development package
|
|
|
|
|
Summary: Mesa gbm library |
|
|
|
|
Group: System Environment/Libraries |
|
|
|
|
Provides: libgbm |
|
|
|
|
Requires: libdrm >= 2.4.83 |
|
|
|
|
Requires: mesa-libglapi = %{version}-%{release} |
|
|
|
|
|
|
|
|
|
%description libgbm |
|
|
|
@ -236,7 +277,7 @@ Provides: libgbm-devel
@@ -236,7 +277,7 @@ Provides: libgbm-devel
|
|
|
|
|
Mesa libgbm development package |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if !0%{?rhel} |
|
|
|
|
%if %{with wayland} |
|
|
|
|
%package libwayland-egl |
|
|
|
|
Summary: Mesa libwayland-egl library |
|
|
|
|
Group: System Environment/Libraries |
|
|
|
@ -283,32 +324,34 @@ Group: System Environment/Libraries
@@ -283,32 +324,34 @@ Group: System Environment/Libraries
|
|
|
|
|
%description libglapi |
|
|
|
|
Mesa shared glapi |
|
|
|
|
|
|
|
|
|
%if 0%{?with_vulkan} |
|
|
|
|
%package vulkan-drivers |
|
|
|
|
Summary: Mesa Vulkan drivers |
|
|
|
|
Requires: vulkan%{_isa} |
|
|
|
|
|
|
|
|
|
%description vulkan-drivers |
|
|
|
|
The drivers with support for the Vulkan API. |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
#setup -q -n Mesa-%{version}%{?snapshot} |
|
|
|
|
%setup -q -n mesa-%{gitdate} |
|
|
|
|
%setup -q -n mesa-%{version}%{?snapshot} |
|
|
|
|
#setup -q -n mesa-%{gitdate} |
|
|
|
|
# make sure you run sanitize-tarball.sh on mesa source tarball or next line will exit |
|
|
|
|
grep -q ^/ src/gallium/auxiliary/vl/vl_decoder.c && exit 1 |
|
|
|
|
%patch1 -p1 -b .nv50rtti |
|
|
|
|
%patch3 -p1 -b .timeout |
|
|
|
|
%patch4 -p1 -b .shmleak |
|
|
|
|
%patch5 -p1 -b .shmremote |
|
|
|
|
|
|
|
|
|
# this fastpath is: |
|
|
|
|
# - broken with swrast classic |
|
|
|
|
# - broken on 24bpp |
|
|
|
|
# - not a huge win anyway |
|
|
|
|
# - ABI-broken wrt upstream |
|
|
|
|
# - eventually obsoleted by vgem |
|
|
|
|
# |
|
|
|
|
# dear ajax: fix this one way or the other |
|
|
|
|
#patch9 -p1 -b .shmget |
|
|
|
|
#patch12 -p1 -b .16bpp |
|
|
|
|
|
|
|
|
|
%patch15 -p1 -b .hwfloat |
|
|
|
|
%patch20 -p1 -b .egbe |
|
|
|
|
%patch25 -p1 -b .llvmimm |
|
|
|
|
%patch26 -p1 -b .texcmprs |
|
|
|
|
#patch20 -p1 -b .egbe |
|
|
|
|
#%patch21 -p1 -b .glpc |
|
|
|
|
|
|
|
|
|
%if 0%{with_private_llvm} |
|
|
|
|
sed -i 's/\[llvm-config\]/\[mesa-private-llvm-config-%{__isa_bits}\]/g' configure.ac |
|
|
|
|
sed -i 's/`$LLVM_CONFIG --version`/$LLVM_VERSION_MAJOR.$LLVM_VERSION_MINOR-mesa/' configure.ac |
|
|
|
|
sed -i 's/\[llvm-config\]/\[llvm-private-config-%{__isa_bits}\]/g' configure.ac |
|
|
|
|
sed -i 's/`$LLVM_CONFIG --version`/$LLVM_VERSION_MAJOR.$LLVM_VERSION_MINOR-pel/' configure.ac |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
# need to use libdrm_nouveau2 on F17 |
|
|
|
@ -338,6 +381,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions"
@@ -338,6 +381,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions"
|
|
|
|
|
|
|
|
|
|
%configure \ |
|
|
|
|
%{?asm_flags} \ |
|
|
|
|
--enable-libglvnd \ |
|
|
|
|
--enable-selinux \ |
|
|
|
|
--enable-osmesa \ |
|
|
|
|
--with-dri-driverdir=%{_libdir}/dri \ |
|
|
|
@ -352,20 +396,19 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions"
@@ -352,20 +396,19 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions"
|
|
|
|
|
--disable-opencl \ |
|
|
|
|
--enable-glx-tls \ |
|
|
|
|
--enable-texture-float=yes \ |
|
|
|
|
%if %{with_vulkan} |
|
|
|
|
%{?vulkan_drivers} \ |
|
|
|
|
%endif |
|
|
|
|
%{?with_llvm:--enable-gallium-llvm} \ |
|
|
|
|
%{?with_llvm:--with-llvm-shared-libs} \ |
|
|
|
|
--enable-dri \ |
|
|
|
|
%if %{with_hardware} |
|
|
|
|
%{?with_vmware:--enable-xa} \ |
|
|
|
|
--with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,}%{?with_llvm:swrast,r600,}%{?with_freedreno:freedreno,}r300,nouveau \ |
|
|
|
|
--with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,}%{?with_llvm:swrast,r600,r300,}%{?with_freedreno:freedreno,}nouveau,virgl \ |
|
|
|
|
%else |
|
|
|
|
--with-gallium-drivers=%{?with_llvm:swrast} \ |
|
|
|
|
%endif |
|
|
|
|
%{?dri_drivers} |
|
|
|
|
|
|
|
|
|
# this seems to be neccessary for s390 |
|
|
|
|
make -C src/mesa/drivers/dri/common/xmlpool/ |
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} MKDEP=/bin/true |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
@ -376,6 +419,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
@@ -376,6 +419,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
%if 0%{?rhel} |
|
|
|
|
# remove pre-DX9 drivers |
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/dri/{radeon,r200,nouveau_vieux}_dri.* |
|
|
|
|
# remove r300 vdpau |
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_r300.* |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%if !%{with_hardware} |
|
|
|
@ -384,12 +429,25 @@ rm -f $RPM_BUILD_ROOT%{_sysconfdir}/drirc
@@ -384,12 +429,25 @@ rm -f $RPM_BUILD_ROOT%{_sysconfdir}/drirc
|
|
|
|
|
|
|
|
|
|
# libvdpau opens the versioned name, don't bother including the unversioned |
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/vdpau/*.so |
|
|
|
|
# likewise glvnd |
|
|
|
|
rm -f %{buildroot}%{_libdir}/libGLX_mesa.so |
|
|
|
|
rm -f %{buildroot}%{_libdir}/libEGL_mesa.so |
|
|
|
|
# XXX can we just not build this |
|
|
|
|
rm -f %{buildroot}%{_libdir}/libGLES* |
|
|
|
|
|
|
|
|
|
# XXX wayland-egl? |
|
|
|
|
|
|
|
|
|
# glvnd needs a default provider for indirect rendering where it cannot |
|
|
|
|
# determine the vendor |
|
|
|
|
ln -s %{_libdir}/libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_system.so.0 |
|
|
|
|
|
|
|
|
|
# strip out useless headers |
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_includedir}/GL/w*.h |
|
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/ |
|
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_includedir}/vulkan/vulkan_intel.h |
|
|
|
|
|
|
|
|
|
# remove .la files |
|
|
|
|
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f |
|
|
|
|
|
|
|
|
@ -417,36 +475,32 @@ rm -rf $RPM_BUILD_ROOT
@@ -417,36 +475,32 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%postun libglapi -p /sbin/ldconfig |
|
|
|
|
%post libgbm -p /sbin/ldconfig |
|
|
|
|
%postun libgbm -p /sbin/ldconfig |
|
|
|
|
%if !0%{?rhel} |
|
|
|
|
%post libwayland-egl -p /sbin/ldconfig |
|
|
|
|
%postun libwayland-egl -p /sbin/ldconfig |
|
|
|
|
%endif |
|
|
|
|
%if 0%{?with_vmware} |
|
|
|
|
%post libxatracker -p /sbin/ldconfig |
|
|
|
|
%postun libxatracker -p /sbin/ldconfig |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%files khr-devel |
|
|
|
|
%dir %{_includedir}/KHR |
|
|
|
|
%{_includedir}/KHR/khrplatform.h |
|
|
|
|
|
|
|
|
|
%files libGL |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%doc docs/COPYING |
|
|
|
|
%{_libdir}/libGL.so.1 |
|
|
|
|
%{_libdir}/libGL.so.1.* |
|
|
|
|
%{_libdir}/libGLX_mesa.so.0* |
|
|
|
|
%{_libdir}/libGLX_system.so.0* |
|
|
|
|
|
|
|
|
|
%files libEGL |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%doc docs/COPYING |
|
|
|
|
%{_libdir}/libEGL.so.1 |
|
|
|
|
%{_libdir}/libEGL.so.1.* |
|
|
|
|
%{_datadir}/glvnd/egl_vendor.d/50_mesa.json |
|
|
|
|
%{_libdir}/libEGL_mesa.so.0* |
|
|
|
|
|
|
|
|
|
%files libGLES |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%doc docs/COPYING |
|
|
|
|
%{_libdir}/libGLESv2.so.2 |
|
|
|
|
%{_libdir}/libGLESv2.so.2.* |
|
|
|
|
# no files, all provided by libglvnd |
|
|
|
|
|
|
|
|
|
%files filesystem |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%doc docs/COPYING docs/Mesa-MLAA-License-Clarification-Email.txt |
|
|
|
|
%doc docs/Mesa-MLAA-License-Clarification-Email.txt |
|
|
|
|
%dir %{_libdir}/dri |
|
|
|
|
%if %{with_hardware} |
|
|
|
|
%if 0%{?with_vdpau} |
|
|
|
@ -460,18 +514,21 @@ rm -rf $RPM_BUILD_ROOT
@@ -460,18 +514,21 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files dri-drivers |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%dir %{_datadir}/drirc.d |
|
|
|
|
%{_datadir}/drirc.d/00-mesa-defaults.conf |
|
|
|
|
%if %{with_hardware} |
|
|
|
|
%config(noreplace) %{_sysconfdir}/drirc |
|
|
|
|
%if !0%{?rhel} |
|
|
|
|
%{_libdir}/dri/radeon_dri.so |
|
|
|
|
%{_libdir}/dri/r200_dri.so |
|
|
|
|
%{_libdir}/dri/nouveau_vieux_dri.so |
|
|
|
|
%endif |
|
|
|
|
%{_libdir}/dri/r300_dri.so |
|
|
|
|
%if 0%{?with_llvm} |
|
|
|
|
%{_libdir}/dri/r300_dri.so |
|
|
|
|
%{_libdir}/dri/r600_dri.so |
|
|
|
|
%{_libdir}/dri/r600_drv_video.so |
|
|
|
|
%if 0%{?with_radeonsi} |
|
|
|
|
%{_libdir}/dri/radeonsi_dri.so |
|
|
|
|
%{_libdir}/dri/radeonsi_drv_video.so |
|
|
|
|
%endif |
|
|
|
|
%endif |
|
|
|
|
%ifarch %{ix86} x86_64 |
|
|
|
@ -480,8 +537,11 @@ rm -rf $RPM_BUILD_ROOT
@@ -480,8 +537,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%endif |
|
|
|
|
%if 0%{?with_freedreno} |
|
|
|
|
%{_libdir}/dri/kgsl_dri.so |
|
|
|
|
%{_libdir}/dri/msm_dri.so |
|
|
|
|
%endif |
|
|
|
|
%{_libdir}/dri/nouveau_dri.so |
|
|
|
|
%{_libdir}/dri/nouveau_drv_video.so |
|
|
|
|
%{_libdir}/dri/virtio_gpu_dri.so |
|
|
|
|
%if 0%{?with_vmware} |
|
|
|
|
%{_libdir}/dri/vmwgfx_dri.so |
|
|
|
|
%endif |
|
|
|
@ -519,7 +579,6 @@ rm -rf $RPM_BUILD_ROOT
@@ -519,7 +579,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%dir %{_includedir}/GL/internal |
|
|
|
|
%{_includedir}/GL/internal/dri_interface.h |
|
|
|
|
%{_libdir}/pkgconfig/dri.pc |
|
|
|
|
%{_libdir}/libGL.so |
|
|
|
|
%{_libdir}/libglapi.so |
|
|
|
|
%{_libdir}/pkgconfig/gl.pc |
|
|
|
|
|
|
|
|
@ -531,27 +590,24 @@ rm -rf $RPM_BUILD_ROOT
@@ -531,27 +590,24 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{_includedir}/EGL/eglmesaext.h |
|
|
|
|
%{_includedir}/EGL/eglextchromium.h |
|
|
|
|
%{_includedir}/EGL/eglplatform.h |
|
|
|
|
%dir %{_includedir}/KHR |
|
|
|
|
%{_includedir}/KHR/khrplatform.h |
|
|
|
|
%{_libdir}/pkgconfig/egl.pc |
|
|
|
|
%{_libdir}/libEGL.so |
|
|
|
|
|
|
|
|
|
%files libGLES-devel |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%dir %{_includedir}/GLES2 |
|
|
|
|
%dir %{_includedir}/GLES3 |
|
|
|
|
%{_includedir}/GLES2/gl2platform.h |
|
|
|
|
%{_includedir}/GLES2/gl2.h |
|
|
|
|
%{_includedir}/GLES2/gl2ext.h |
|
|
|
|
%{_includedir}/GLES3/gl3platform.h |
|
|
|
|
%{_includedir}/GLES3/gl3.h |
|
|
|
|
%{_includedir}/GLES3/gl31.h |
|
|
|
|
%{_includedir}/GLES3/gl32.h |
|
|
|
|
%{_includedir}/GLES3/gl3ext.h |
|
|
|
|
%{_libdir}/pkgconfig/glesv2.pc |
|
|
|
|
%{_libdir}/libGLESv2.so |
|
|
|
|
|
|
|
|
|
%files libOSMesa |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%doc docs/COPYING |
|
|
|
|
%{_libdir}/libOSMesa.so.8* |
|
|
|
|
|
|
|
|
|
%files libOSMesa-devel |
|
|
|
@ -563,7 +619,6 @@ rm -rf $RPM_BUILD_ROOT
@@ -563,7 +619,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files libgbm |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%doc docs/COPYING |
|
|
|
|
%{_libdir}/libgbm.so.1 |
|
|
|
|
%{_libdir}/libgbm.so.1.* |
|
|
|
|
|
|
|
|
@ -573,23 +628,9 @@ rm -rf $RPM_BUILD_ROOT
@@ -573,23 +628,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{_includedir}/gbm.h |
|
|
|
|
%{_libdir}/pkgconfig/gbm.pc |
|
|
|
|
|
|
|
|
|
%if !0%{?rhel} |
|
|
|
|
%files libwayland-egl |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%doc docs/COPYING |
|
|
|
|
%{_libdir}/libwayland-egl.so.1 |
|
|
|
|
%{_libdir}/libwayland-egl.so.1.* |
|
|
|
|
|
|
|
|
|
%files libwayland-egl-devel |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%{_libdir}/libwayland-egl.so |
|
|
|
|
%{_libdir}/pkgconfig/wayland-egl.pc |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%if 0%{?with_vmware} |
|
|
|
|
%files libxatracker |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%doc docs/COPYING |
|
|
|
|
%if %{with_hardware} |
|
|
|
|
%{_libdir}/libxatracker.so.2 |
|
|
|
|
%{_libdir}/libxatracker.so.2.* |
|
|
|
@ -606,7 +647,157 @@ rm -rf $RPM_BUILD_ROOT
@@ -606,7 +647,157 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%endif |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%if 0%{?with_vulkan} |
|
|
|
|
%files vulkan-drivers |
|
|
|
|
%ifarch %{ix86} x86_64 |
|
|
|
|
%{_libdir}/libvulkan_intel.so |
|
|
|
|
%endif |
|
|
|
|
%{_libdir}/libvulkan_radeon.so |
|
|
|
|
%ifarch x86_64 |
|
|
|
|
%{_datadir}/vulkan/icd.d/intel_icd.x86_64.json |
|
|
|
|
%{_datadir}/vulkan/icd.d/radeon_icd.x86_64.json |
|
|
|
|
%endif |
|
|
|
|
%ifarch %{ix86} |
|
|
|
|
%{_datadir}/vulkan/icd.d/intel_icd.i686.json |
|
|
|
|
%{_datadir}/vulkan/icd.d/radeon_icd.i686.json |
|
|
|
|
%endif |
|
|
|
|
%ifarch ppc64le |
|
|
|
|
%{_datadir}/vulkan/icd.d/radeon_icd.powerpc64le.json |
|
|
|
|
%endif |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
|
* Thu Apr 04 2019 Dave Airlie <airlied@redhat.com> - 18.3.4-5 |
|
|
|
|
- fix remote shm patch |
|
|
|
|
|
|
|
|
|
* Wed Mar 27 2019 Dave Airlie <airlied@redhat.com> - 18.3.4-4 |
|
|
|
|
- Enable i686 vulkan drivers for 32-bit apps |
|
|
|
|
|
|
|
|
|
* Tue Mar 26 2019 Dave Airlie <airlied@redhat.com> - 18.3.4-3 |
|
|
|
|
- fix remote shm |
|
|
|
|
|
|
|
|
|
* Fri Mar 01 2019 Dave Airlie <airlied@redhat.com> - 18.3.4-2 |
|
|
|
|
- add shm fix |
|
|
|
|
|
|
|
|
|
* Tue Feb 19 2019 Dave Airlie <airlied@redhat.com> - 18.3.4-1 |
|
|
|
|
- mesa 18.3.4 |
|
|
|
|
|
|
|
|
|
* Wed Feb 13 2019 Dave Airlie <airlied@redhat.com> - 18.3.3-2 |
|
|
|
|
- Add khr-devel to fix buildroot GL/EGL devel (#1676392) |
|
|
|
|
|
|
|
|
|
* Wed Feb 06 2019 Dave Airlie <airlied@redhat.com> - 18.3.3-1 |
|
|
|
|
- mesa 18.3.3 |
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Dave Airlie <airlied@redhat.com> - 18.3.2-1 |
|
|
|
|
- mesa 18.3.2 |
|
|
|
|
|
|
|
|
|
* Sat Dec 15 2018 Dave Airlie <airlied@redhat.com> - 18.0.5-4 |
|
|
|
|
- disable shm put/get for now it caused regressions |
|
|
|
|
|
|
|
|
|
* Tue Jul 24 2018 Dave Airlie <airlied@redhat.com> - 18.0.5-3 |
|
|
|
|
- rename fedora to system in glvnd fallback |
|
|
|
|
|
|
|
|
|
* Thu Jul 19 2018 Dave Airlie <airlied@redhat.com> - 18.0.5-2 |
|
|
|
|
- Fix timeout overflow warnings (backport from upstream + virgl) |
|
|
|
|
|
|
|
|
|
* Wed Jun 20 2018 Adam Jackson <ajax@redhat.com> - 18.0.5-1 |
|
|
|
|
- Mesa 18.0.5 |
|
|
|
|
|
|
|
|
|
* Wed May 30 2018 Dave Airlie <airlied@redhat.com - 18.0.4-1.20180530 |
|
|
|
|
- rebase to 18.0.4 |
|
|
|
|
- backport shm put/get image for improved sw renderers (esp under qxl) |
|
|
|
|
|
|
|
|
|
* Tue May 29 2018 Adam Jackson <ajax@redhat.com> - 18.0.3-5.20180508 |
|
|
|
|
- Fix gl.pc when using glvnd |
|
|
|
|
- Fix subpackage dependencies for glvnd |
|
|
|
|
|
|
|
|
|
* Fri May 25 2018 Adam Jackson <ajax@redhat.com> - 18.0.3-2.20180508 |
|
|
|
|
- Use glvnd |
|
|
|
|
|
|
|
|
|
* Tue May 08 2018 Dave Airlie <airlied@redhat.com> 18.0.3-1.20180508 |
|
|
|
|
- rebase to 18.0.3 |
|
|
|
|
|
|
|
|
|
* Wed Apr 18 2018 Adam Jackson <ajax@redhat.com> - 17.2.3-9 |
|
|
|
|
- Rebuild for new llvm |
|
|
|
|
|
|
|
|
|
* Mon Jan 15 2018 Dave Airlie <airlied@redhat.com> - 17.2.3-8.20171019 |
|
|
|
|
- Add missing Intel CFL ids. |
|
|
|
|
|
|
|
|
|
* Thu Nov 30 2017 Lyude Paul <lyude@redhat.com> - 17.2.3-7.20171019 |
|
|
|
|
- Add patches to fix cache lines with DRI_PRIME + amdgpu (#1503861) |
|
|
|
|
|
|
|
|
|
* Fri Nov 17 2017 Dave Airlie <airlied@redhat.com> - 17.2.3-6.20171019 |
|
|
|
|
- fix libgbm/dri-drivers requires on libdrm |
|
|
|
|
|
|
|
|
|
* Wed Oct 25 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 17.2.3-5.20171019 |
|
|
|
|
- Enable hardware drivers on aarch64 (#1358444) |
|
|
|
|
|
|
|
|
|
* Tue Oct 24 2017 Dave Airlie <airlied@redhat.com> - 17.2.3-4.20171019 |
|
|
|
|
- Update gitdate and clean out sources. |
|
|
|
|
|
|
|
|
|
* Tue Oct 24 2017 Dave Airlie <airlied@redhat.com> - 17.2.3-3.20171019 |
|
|
|
|
- Add final 17.2.3 patch. |
|
|
|
|
|
|
|
|
|
* Thu Oct 19 2017 Tom Stellard <tstellar@redhat.com> - 17.2.3-2.20171019 |
|
|
|
|
- Switch to llvm-private |
|
|
|
|
|
|
|
|
|
* Thu Oct 19 2017 Dave Airlie <airlied@redhat.com> - 17.2.3-1.20171019 |
|
|
|
|
- rebase to 17.2.3 |
|
|
|
|
|
|
|
|
|
* Thu Oct 05 2017 Dave Airlie <airlied@redhat.com> - 17.2.2-1.20171005 |
|
|
|
|
- rebase to 17.2.2 final release + s3tc support |
|
|
|
|
|
|
|
|
|
* Thu Sep 28 2017 Olivier Fourdan <ofourdan@redhat.com> - 17.2.0-2.20170911 |
|
|
|
|
- Enable wayland-egl, add dependencies on wayland-protocols (#1481412) |
|
|
|
|
|
|
|
|
|
* Mon Sep 11 2017 Dave Airlie <airlied@redhat.com> - 17.2.0-1.20170911 |
|
|
|
|
- rebase to 17.2.0 final release |
|
|
|
|
|
|
|
|
|
* Tue Aug 15 2017 Dave Airlie <airlied@redhat.com> - 17.2.0-0.1.20170815 |
|
|
|
|
- rebase to 17.2-rc4 |
|
|
|
|
|
|
|
|
|
* Thu May 11 2017 Dave Airlie <airlied@redhat.com> - 17.0.1-6.20170307 |
|
|
|
|
- enable VDPAU drivers (#1297276) |
|
|
|
|
|
|
|
|
|
* Tue May 09 2017 Tom Stellard <tstellar@redhat.com> - 17.0.1-5.20170307 |
|
|
|
|
- Use correct datalayout for llvmpipe (#1445423) |
|
|
|
|
|
|
|
|
|
* Fri May 05 2017 Adam Jackson <ajax@redhat.com> - 17.0.1-4.20170307 |
|
|
|
|
- Add ppc64le vulkan build |
|
|
|
|
|
|
|
|
|
* Wed May 03 2017 Lyude Paul <lyude@redhat.com> - 17.0.1-3.20170307 |
|
|
|
|
- Add temporary revert for #1438891 |
|
|
|
|
|
|
|
|
|
* Tue Mar 28 2017 Dave Airlie <airlied@redhat.com> - 17.0.1-2.20170307 |
|
|
|
|
- Allow compat shaders override. (#1429813) |
|
|
|
|
|
|
|
|
|
* Tue Mar 07 2017 Dave Airlie <airlied@redhat.com> - 17.0.1-1.20170307 |
|
|
|
|
- mesa 17.0.1 release |
|
|
|
|
|
|
|
|
|
* Tue Feb 28 2017 Dave Airlie <airlied@redhat.com> - 17.0.0-2.20170215 |
|
|
|
|
- enable more drivers on aarch64 + vulkan drivers (#1358444) |
|
|
|
|
|
|
|
|
|
* Wed Feb 15 2017 Dave Airlie <airlied@redhat.com> - 17.0.0-1.20170215 |
|
|
|
|
- mesa 17.0.0 release |
|
|
|
|
|
|
|
|
|
* Mon Feb 06 2017 Adam Jackson <ajax@redhat.com> - 17.0.0-0.2.20170123 |
|
|
|
|
- Rebuild against (and BuildRequire) mesa-private-llvm >= 3.9 |
|
|
|
|
|
|
|
|
|
* Mon Jan 23 2017 Dave Airlie <airlied@redhat.com> - 17.0.0-0.1.20170123 |
|
|
|
|
- mesa 17.0.0-rc1 |
|
|
|
|
|
|
|
|
|
* Tue Aug 09 2016 Rob Clark <rclark@redhat.com> - 11.2.2-2.20160614 |
|
|
|
|
- update kbl pci ids. |
|
|
|
|
|
|
|
|
|
* Tue Jun 14 2016 Dave Airlie <airlied@redhat.com> - 11.2.2-1.20160614 |
|
|
|
|
- mesa 11.2.2 release |
|
|
|
|
|
|
|
|
|
* Tue Apr 05 2016 Dave Airlie <airlied@redhat.com> 11.2.0-1.20160405 |
|
|
|
|
- mesa 11.2.0 final release |
|
|
|
|
|
|
|
|
|
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 11.2.0-0.2.20160310 |
|
|
|
|
- mesa 11.2.0-rc2 release + enable virgl |
|
|
|
|
|
|
|
|
|
* Thu Sep 17 2015 Oded Gabbay <oded.gabbay@redhat.com> 10.6.5-3.20150824 |
|
|
|
|
- Fix texture compression for big-endian (#1250168) |
|
|
|
|
|
|
|
|
|