2012-05-10 14:23:44 +00:00
|
|
|
%if 0%{?rhel}
|
2012-12-05 21:12:23 +00:00
|
|
|
%define with_private_llvm 1
|
2013-12-18 20:04:13 +00:00
|
|
|
%define with_wayland 0
|
2012-12-05 21:12:23 +00:00
|
|
|
%else
|
|
|
|
%define with_private_llvm 0
|
2013-05-16 13:29:12 +00:00
|
|
|
%define with_vdpau 1
|
2012-12-20 19:15:37 +00:00
|
|
|
%define with_wayland 1
|
2012-05-10 14:23:44 +00:00
|
|
|
%endif
|
|
|
|
|
2014-03-26 20:19:20 +00:00
|
|
|
%ifarch ppc64le
|
|
|
|
%undefine with_vdpau
|
|
|
|
%endif
|
|
|
|
|
2014-02-02 21:03:31 +00:00
|
|
|
# S390 doesn't have video cards, but we need swrast for xserver's GLX
|
|
|
|
# llvm (and thus llvmpipe) doesn't actually work on ppc32 or s390
|
|
|
|
|
2014-03-26 20:19:20 +00:00
|
|
|
%ifnarch s390 ppc ppc64le
|
2014-02-02 21:03:31 +00:00
|
|
|
%define with_llvm 1
|
|
|
|
%endif
|
|
|
|
|
2012-11-01 20:54:32 +00:00
|
|
|
%define min_wayland_version 1.0
|
2014-02-04 16:57:11 +00:00
|
|
|
%if 0%{?with_llvm}
|
2013-02-19 06:47:28 +00:00
|
|
|
%define with_radeonsi 1
|
2012-11-01 20:54:32 +00:00
|
|
|
%endif
|
|
|
|
|
2013-05-14 21:33:42 +00:00
|
|
|
%ifarch %{arm}
|
|
|
|
%define with_freedreno 1
|
|
|
|
%endif
|
|
|
|
|
2014-03-26 20:19:20 +00:00
|
|
|
%ifarch s390 s390x ppc64le
|
2009-07-20 21:08:47 +00:00
|
|
|
%define with_hardware 0
|
2014-03-26 20:19:20 +00:00
|
|
|
%ifarch s390 ppc64le
|
2013-05-14 21:33:42 +00:00
|
|
|
%define base_drivers swrast
|
|
|
|
%endif
|
2007-02-26 17:20:00 +00:00
|
|
|
%else
|
2009-07-20 21:08:47 +00:00
|
|
|
%define with_hardware 1
|
2011-11-14 16:21:07 +00:00
|
|
|
%define base_drivers nouveau,radeon,r200
|
2013-05-14 21:33:42 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
2012-05-01 15:43:31 +00:00
|
|
|
%define platform_drivers ,i915,i965
|
2012-04-26 14:19:09 +00:00
|
|
|
%define with_vmware 1
|
2014-01-18 20:06:01 +00:00
|
|
|
%define with_opencl 1
|
2011-08-02 15:58:35 +00:00
|
|
|
%endif
|
2014-03-26 20:19:20 +00:00
|
|
|
%ifarch ppc ppc64le
|
2013-05-14 21:33:42 +00:00
|
|
|
%define platform_drivers ,swrast
|
2011-08-02 15:58:35 +00:00
|
|
|
%endif
|
2005-09-12 18:27:33 +00:00
|
|
|
%endif
|
2005-09-12 18:26:20 +00:00
|
|
|
|
2013-05-14 21:33:42 +00:00
|
|
|
%define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers}
|
|
|
|
|
2008-08-28 12:32:42 +00:00
|
|
|
%define _default_patch_fuzz 2
|
|
|
|
|
2014-05-21 11:49:50 +00:00
|
|
|
%define gitdate 20140521
|
2009-02-08 08:01:38 +00:00
|
|
|
#% define snapshot
|
2006-09-30 21:32:16 +00:00
|
|
|
|
2005-09-12 18:38:19 +00:00
|
|
|
Summary: Mesa graphics libraries
|
2005-09-12 18:27:33 +00:00
|
|
|
Name: mesa
|
2014-05-21 11:49:50 +00:00
|
|
|
Version: 10.1.4
|
2014-05-29 03:33:49 +00:00
|
|
|
Release: 3.%{gitdate}%{?dist}
|
2007-02-20 17:56:21 +00:00
|
|
|
License: MIT
|
2005-09-12 18:26:20 +00:00
|
|
|
Group: System Environment/Libraries
|
2005-09-12 18:27:33 +00:00
|
|
|
URL: http://www.mesa3d.org
|
2006-06-19 17:36:51 +00:00
|
|
|
|
2013-05-08 22:03:21 +00:00
|
|
|
# Source0: MesaLib-%{version}.tar.xz
|
|
|
|
Source0: %{name}-%{gitdate}.tar.xz
|
|
|
|
Source1: sanitize-tarball.sh
|
|
|
|
Source2: make-release-tarball.sh
|
2008-02-15 23:21:58 +00:00
|
|
|
Source3: make-git-snapshot.sh
|
2008-09-29 21:19:22 +00:00
|
|
|
|
2013-01-15 15:38:20 +00:00
|
|
|
# src/gallium/auxiliary/postprocess/pp_mlaa* have an ... interestingly worded license.
|
|
|
|
# Source4 contains email correspondence clarifying the license terms.
|
|
|
|
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
|
|
|
Source4: Mesa-MLAA-License-Clarification-Email.txt
|
|
|
|
|
2013-12-01 12:51:48 +00:00
|
|
|
Patch1: mesa-10.0-nv50-fix-build.patch
|
2012-03-21 17:41:55 +00:00
|
|
|
Patch9: mesa-8.0-llvmpipe-shmget.patch
|
2012-04-02 16:27:19 +00:00
|
|
|
Patch12: mesa-8.0.1-fix-16bpp.patch
|
2013-05-08 22:03:21 +00:00
|
|
|
Patch15: mesa-9.2-hardware-float.patch
|
2013-07-23 20:42:11 +00:00
|
|
|
Patch20: mesa-9.2-evergreen-big-endian.patch
|
2013-03-19 15:50:20 +00:00
|
|
|
|
2014-03-21 15:33:26 +00:00
|
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=75797#c1
|
|
|
|
Patch21: 0001-mesa-Don-t-optimize-out-glClear-if-drawbuffer-size-i.patch
|
2013-12-13 05:11:06 +00:00
|
|
|
|
2014-01-18 20:06:01 +00:00
|
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=73512
|
|
|
|
Patch99: 0001-opencl-use-versioned-.so-in-mesa.icd.patch
|
|
|
|
|
2014-03-19 06:17:01 +00:00
|
|
|
Patch100: radeonsi-llvm-version-hack.patch
|
|
|
|
|
2010-06-25 08:13:00 +00:00
|
|
|
BuildRequires: pkgconfig autoconf automake libtool
|
2009-07-20 21:08:47 +00:00
|
|
|
%if %{with_hardware}
|
2011-11-16 16:29:47 +00:00
|
|
|
BuildRequires: kernel-headers
|
2010-05-17 10:11:05 +00:00
|
|
|
BuildRequires: xorg-x11-server-devel
|
2006-03-01 06:16:10 +00:00
|
|
|
%endif
|
2013-02-13 06:57:10 +00:00
|
|
|
BuildRequires: libdrm-devel >= 2.4.42
|
2005-09-12 18:27:33 +00:00
|
|
|
BuildRequires: libXxf86vm-devel
|
2011-11-16 16:29:47 +00:00
|
|
|
BuildRequires: expat-devel
|
|
|
|
BuildRequires: xorg-x11-proto-devel
|
2006-05-17 20:34:37 +00:00
|
|
|
BuildRequires: makedepend
|
2006-07-24 22:33:06 +00:00
|
|
|
BuildRequires: libselinux-devel
|
2006-09-19 19:34:38 +00:00
|
|
|
BuildRequires: libXext-devel
|
2007-08-14 05:44:52 +00:00
|
|
|
BuildRequires: libXfixes-devel
|
|
|
|
BuildRequires: libXdamage-devel
|
2008-04-09 14:49:49 +00:00
|
|
|
BuildRequires: libXi-devel
|
2008-04-09 15:06:32 +00:00
|
|
|
BuildRequires: libXmu-devel
|
2014-02-08 12:28:02 +00:00
|
|
|
BuildRequires: libxshmfence-devel
|
2008-10-20 16:04:54 +00:00
|
|
|
BuildRequires: elfutils
|
2010-01-07 00:57:29 +00:00
|
|
|
BuildRequires: python
|
2013-02-13 08:36:36 +00:00
|
|
|
BuildRequires: gettext
|
2013-05-16 18:10:18 +00:00
|
|
|
%if 0%{?with_llvm}
|
2012-12-05 21:12:23 +00:00
|
|
|
%if 0%{?with_private_llvm}
|
|
|
|
BuildRequires: mesa-private-llvm-devel
|
|
|
|
%else
|
2014-04-19 15:16:04 +00:00
|
|
|
BuildRequires: llvm-devel >= 3.4-6
|
2014-01-18 20:06:01 +00:00
|
|
|
%if 0%{?with_opencl}
|
|
|
|
BuildRequires: clang-devel >= 3.0
|
|
|
|
%endif
|
2011-12-14 18:14:28 +00:00
|
|
|
%endif
|
2013-05-16 18:10:18 +00:00
|
|
|
%endif
|
2013-05-08 22:03:21 +00:00
|
|
|
BuildRequires: elfutils-libelf-devel
|
2010-05-29 23:01:25 +00:00
|
|
|
BuildRequires: libxml2-python
|
2011-01-18 23:54:35 +00:00
|
|
|
BuildRequires: libudev-devel
|
2011-03-28 20:14:42 +00:00
|
|
|
BuildRequires: bison flex
|
2013-12-18 20:04:13 +00:00
|
|
|
%if 0%{?with_wayland}
|
2012-11-01 20:54:32 +00:00
|
|
|
BuildRequires: pkgconfig(wayland-client) >= %{min_wayland_version}
|
|
|
|
BuildRequires: pkgconfig(wayland-server) >= %{min_wayland_version}
|
2012-07-24 13:44:45 +00:00
|
|
|
%endif
|
2012-10-01 10:51:20 +00:00
|
|
|
BuildRequires: mesa-libGL-devel
|
2013-05-16 13:29:12 +00:00
|
|
|
%if 0%{?with_vdpau}
|
2013-05-08 22:03:21 +00:00
|
|
|
BuildRequires: libvdpau-devel
|
2013-05-16 13:29:12 +00:00
|
|
|
%endif
|
2013-05-08 22:16:51 +00:00
|
|
|
BuildRequires: zlib-devel
|
2014-01-18 20:06:01 +00:00
|
|
|
%if 0%{?with_opencl}
|
|
|
|
BuildRequires: libclc-devel llvm-static opencl-filesystem
|
|
|
|
%endif
|
2005-09-12 18:26:20 +00:00
|
|
|
|
|
|
|
%description
|
2005-09-12 18:27:33 +00:00
|
|
|
Mesa
|
2005-09-12 18:26:20 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%package libGL
|
2006-08-18 19:52:19 +00:00
|
|
|
Summary: Mesa libGL runtime libraries and DRI drivers
|
2005-09-12 18:27:33 +00:00
|
|
|
Group: System Environment/Libraries
|
2005-09-12 18:38:40 +00:00
|
|
|
Provides: libGL
|
2005-09-12 18:26:20 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%description libGL
|
2008-07-02 12:35:05 +00:00
|
|
|
Mesa libGL runtime library.
|
|
|
|
|
2010-11-05 16:41:50 +00:00
|
|
|
%package libEGL
|
|
|
|
Summary: Mesa libEGL runtime libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description libEGL
|
2010-11-05 18:27:39 +00:00
|
|
|
Mesa libEGL runtime libraries
|
|
|
|
|
|
|
|
%package libGLES
|
|
|
|
Summary: Mesa libGLES runtime libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description libGLES
|
|
|
|
Mesa GLES runtime libraries
|
2008-07-02 12:35:05 +00:00
|
|
|
|
2013-05-14 21:33:42 +00:00
|
|
|
%package filesystem
|
|
|
|
Summary: Mesa driver filesystem
|
2011-01-19 03:36:41 +00:00
|
|
|
Group: User Interface/X Hardware Support
|
2013-05-14 21:33:42 +00:00
|
|
|
Provides: mesa-dri-filesystem = %{version}-%{release}
|
|
|
|
Obsoletes: mesa-dri-filesystem < %{version}-%{release}
|
|
|
|
%description filesystem
|
|
|
|
Mesa driver filesystem
|
2011-01-19 03:36:41 +00:00
|
|
|
|
2008-07-02 12:35:05 +00:00
|
|
|
%package dri-drivers
|
2009-02-21 21:56:30 +00:00
|
|
|
Summary: Mesa-based DRI drivers
|
2008-07-02 12:35:05 +00:00
|
|
|
Group: User Interface/X Hardware Support
|
2013-05-14 21:33:42 +00:00
|
|
|
Requires: mesa-filesystem%{?_isa}
|
2011-11-17 19:32:24 +00:00
|
|
|
Obsoletes: mesa-dri-drivers-dri1 < 7.12
|
2011-11-09 16:03:17 +00:00
|
|
|
Obsoletes: mesa-dri-llvmcore <= 7.12
|
2008-07-02 12:35:05 +00:00
|
|
|
%description dri-drivers
|
|
|
|
Mesa-based DRI drivers.
|
|
|
|
|
2013-05-16 13:29:12 +00:00
|
|
|
%if 0%{?with_vdpau}
|
2013-05-08 22:03:21 +00:00
|
|
|
%package vdpau-drivers
|
|
|
|
Summary: Mesa-based DRI drivers
|
|
|
|
Group: User Interface/X Hardware Support
|
2013-05-14 21:33:42 +00:00
|
|
|
Requires: mesa-filesystem%{?_isa}
|
2013-05-08 22:03:21 +00:00
|
|
|
%description vdpau-drivers
|
|
|
|
Mesa-based VDPAU drivers.
|
2013-05-16 13:29:12 +00:00
|
|
|
%endif
|
2013-05-08 22:03:21 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%package libGL-devel
|
|
|
|
Summary: Mesa libGL development package
|
|
|
|
Group: Development/Libraries
|
2005-12-19 06:55:42 +00:00
|
|
|
Requires: mesa-libGL = %{version}-%{release}
|
2012-09-07 20:34:36 +00:00
|
|
|
Requires: gl-manpages
|
2005-09-12 18:38:40 +00:00
|
|
|
Provides: libGL-devel
|
2005-09-12 18:26:20 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%description libGL-devel
|
|
|
|
Mesa libGL development package
|
2007-02-20 17:56:21 +00:00
|
|
|
|
2010-11-05 16:41:50 +00:00
|
|
|
%package libEGL-devel
|
|
|
|
Summary: Mesa libEGL development package
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: mesa-libEGL = %{version}-%{release}
|
2013-06-12 22:12:04 +00:00
|
|
|
Provides: khrplatform-devel = %{version}-%{release}
|
|
|
|
Obsoletes: khrplatform-devel < %{version}-%{release}
|
2010-11-05 16:41:50 +00:00
|
|
|
|
|
|
|
%description libEGL-devel
|
|
|
|
Mesa libEGL development package
|
2007-02-20 17:56:21 +00:00
|
|
|
|
2010-11-05 18:27:39 +00:00
|
|
|
%package libGLES-devel
|
|
|
|
Summary: Mesa libGLES development package
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: mesa-libGLES = %{version}-%{release}
|
|
|
|
|
|
|
|
%description libGLES-devel
|
|
|
|
Mesa libGLES development package
|
|
|
|
|
2007-02-20 17:56:21 +00:00
|
|
|
|
2006-08-18 19:52:19 +00:00
|
|
|
%package libOSMesa
|
|
|
|
Summary: Mesa offscreen rendering libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Provides: libOSMesa
|
|
|
|
|
|
|
|
%description libOSMesa
|
|
|
|
Mesa offscreen rendering libraries
|
|
|
|
|
2007-02-20 17:56:21 +00:00
|
|
|
|
2006-08-18 19:52:19 +00:00
|
|
|
%package libOSMesa-devel
|
|
|
|
Summary: Mesa offscreen rendering development package
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: mesa-libOSMesa = %{version}-%{release}
|
|
|
|
|
|
|
|
%description libOSMesa-devel
|
|
|
|
Mesa offscreen rendering development package
|
|
|
|
|
2007-02-20 17:56:21 +00:00
|
|
|
|
2012-02-23 19:14:04 +00:00
|
|
|
%package libgbm
|
|
|
|
Summary: Mesa gbm library
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Provides: libgbm
|
|
|
|
|
|
|
|
%description libgbm
|
|
|
|
Mesa gbm runtime library.
|
|
|
|
|
|
|
|
|
|
|
|
%package libgbm-devel
|
|
|
|
Summary: Mesa libgbm development package
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: mesa-libgbm%{?_isa} = %{version}-%{release}
|
|
|
|
Provides: libgbm-devel
|
|
|
|
|
|
|
|
%description libgbm-devel
|
|
|
|
Mesa libgbm development package
|
|
|
|
|
|
|
|
|
2013-12-18 20:04:13 +00:00
|
|
|
%if 0%{?with_wayland}
|
2012-02-23 19:14:04 +00:00
|
|
|
%package libwayland-egl
|
|
|
|
Summary: Mesa libwayland-egl library
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Provides: libwayland-egl
|
|
|
|
|
|
|
|
%description libwayland-egl
|
|
|
|
Mesa libwayland-egl runtime library.
|
|
|
|
|
|
|
|
|
|
|
|
%package libwayland-egl-devel
|
|
|
|
Summary: Mesa libwayland-egl development package
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: mesa-libwayland-egl%{?_isa} = %{version}-%{release}
|
|
|
|
Provides: libwayland-egl-devel
|
|
|
|
|
|
|
|
%description libwayland-egl-devel
|
|
|
|
Mesa libwayland-egl development package
|
2012-05-01 15:43:31 +00:00
|
|
|
%endif
|
|
|
|
|
2012-02-23 19:14:04 +00:00
|
|
|
|
2012-04-26 14:19:09 +00:00
|
|
|
%if 0%{?with_vmware}
|
2012-03-15 13:39:24 +00:00
|
|
|
%package libxatracker
|
|
|
|
Summary: Mesa XA state tracker for vmware
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Provides: libxatracker
|
|
|
|
|
|
|
|
%description libxatracker
|
|
|
|
Mesa XA state tracker for vmware
|
|
|
|
|
|
|
|
%package libxatracker-devel
|
|
|
|
Summary: Mesa XA state tracker development package
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: mesa-libxatracker%{?_isa} = %{version}-%{release}
|
|
|
|
Provides: libxatracker-devel
|
|
|
|
|
|
|
|
%description libxatracker-devel
|
|
|
|
Mesa XA state tracker development package
|
2012-04-26 14:19:09 +00:00
|
|
|
%endif
|
2012-02-23 19:14:04 +00:00
|
|
|
|
2012-03-28 21:21:59 +00:00
|
|
|
%package libglapi
|
|
|
|
Summary: Mesa shared glapi
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description libglapi
|
|
|
|
Mesa shared glapi
|
|
|
|
|
2014-01-18 20:06:01 +00:00
|
|
|
|
|
|
|
%if 0%{?with_opencl}
|
|
|
|
%package libOpenCL
|
|
|
|
Summary: Mesa OpenCL runtime library
|
|
|
|
Requires: ocl-icd
|
|
|
|
Requires: libclc
|
|
|
|
Requires: mesa-libgbm = %{version}-%{release}
|
|
|
|
|
|
|
|
%description libOpenCL
|
|
|
|
Mesa OpenCL runtime library.
|
|
|
|
|
|
|
|
%package libOpenCL-devel
|
|
|
|
Summary: Mesa OpenCL development package
|
|
|
|
Requires: mesa-libOpenCL%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description libOpenCL-devel
|
|
|
|
Mesa OpenCL development package.
|
|
|
|
%endif
|
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%prep
|
2013-05-08 22:03:21 +00:00
|
|
|
#setup -q -n Mesa-%{version}%{?snapshot}
|
|
|
|
%setup -q -n mesa-%{gitdate}
|
|
|
|
grep -q ^/ src/gallium/auxiliary/vl/vl_decoder.c && exit 1
|
2013-03-19 15:50:20 +00:00
|
|
|
%patch1 -p1 -b .nv50rtti
|
2011-03-28 20:14:42 +00:00
|
|
|
|
2012-10-10 15:55:24 +00:00
|
|
|
# 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
|
2011-03-28 20:14:42 +00:00
|
|
|
|
2013-05-08 22:03:21 +00:00
|
|
|
%patch15 -p1 -b .hwfloat
|
2013-07-23 20:42:11 +00:00
|
|
|
%patch20 -p1 -b .egbe
|
2014-03-21 15:33:26 +00:00
|
|
|
%patch21 -p1 -b .clear
|
2013-12-13 05:11:06 +00:00
|
|
|
|
2014-01-18 20:19:31 +00:00
|
|
|
%if 0%{?with_opencl}
|
2014-01-18 20:06:01 +00:00
|
|
|
%patch99 -p1 -b .icd
|
|
|
|
%endif
|
|
|
|
|
2014-03-19 06:17:01 +00:00
|
|
|
%patch100 -p1 -b .radeonsi
|
|
|
|
|
2012-12-05 21:12:23 +00:00
|
|
|
%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`/&-mesa/' configure.ac
|
|
|
|
%endif
|
|
|
|
|
2013-01-15 15:38:20 +00:00
|
|
|
cp %{SOURCE4} docs/
|
|
|
|
|
2012-11-01 20:54:32 +00:00
|
|
|
%build
|
|
|
|
|
2014-01-18 20:06:01 +00:00
|
|
|
autoreconf --install
|
2008-02-15 23:21:58 +00:00
|
|
|
|
2011-02-23 21:43:59 +00:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2012-12-20 19:15:37 +00:00
|
|
|
# C++ note: we never say "catch" in the source. we do say "typeid" once,
|
|
|
|
# in an assert, which is patched out above. LLVM doesn't use RTTI or throw.
|
|
|
|
#
|
|
|
|
# We do say 'catch' in the clover and d3d1x state trackers, but we're not
|
|
|
|
# building those yet.
|
2014-01-18 20:06:01 +00:00
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS %{?with_opencl:-frtti -fexceptions} %{!?with_opencl:-fno-rtti -fno-exceptions}"
|
2009-08-06 18:04:05 +00:00
|
|
|
%ifarch %{ix86}
|
|
|
|
# i do not have words for how much the assembly dispatch code infuriates me
|
2013-05-14 21:33:42 +00:00
|
|
|
%define asm_flags --disable-asm
|
2009-08-06 18:04:05 +00:00
|
|
|
%endif
|
2008-04-10 18:20:31 +00:00
|
|
|
|
2013-05-14 21:33:42 +00:00
|
|
|
%configure \
|
|
|
|
%{?asm_flags} \
|
|
|
|
--enable-selinux \
|
2011-11-14 16:21:07 +00:00
|
|
|
--enable-osmesa \
|
2009-07-20 21:08:47 +00:00
|
|
|
--with-dri-driverdir=%{_libdir}/dri \
|
2010-11-05 16:41:50 +00:00
|
|
|
--enable-egl \
|
2013-05-08 22:03:21 +00:00
|
|
|
--disable-gles1 \
|
2010-11-05 16:41:50 +00:00
|
|
|
--enable-gles2 \
|
2010-12-02 21:34:08 +00:00
|
|
|
--disable-gallium-egl \
|
2013-05-08 22:03:21 +00:00
|
|
|
--disable-xvmc \
|
2013-05-16 13:29:12 +00:00
|
|
|
%{?with_vdpau:--enable-vdpau} \
|
2012-12-20 19:15:37 +00:00
|
|
|
--with-egl-platforms=x11,drm%{?with_wayland:,wayland} \
|
2012-02-23 19:14:04 +00:00
|
|
|
--enable-shared-glapi \
|
|
|
|
--enable-gbm \
|
2014-01-18 20:06:01 +00:00
|
|
|
%{?with_opencl:--enable-opencl --enable-opencl-icd --with-clang-libdir=%{_prefix}/lib} %{!?with_opencl:--disable-opencl} \
|
2013-04-11 02:11:21 +00:00
|
|
|
--enable-glx-tls \
|
2013-06-17 19:53:32 +00:00
|
|
|
--enable-texture-float=yes \
|
2013-05-14 21:33:42 +00:00
|
|
|
%{?with_llvm:--enable-gallium-llvm} \
|
|
|
|
%{?with_llvm:--with-llvm-shared-libs} \
|
2013-05-08 22:03:21 +00:00
|
|
|
--enable-dri \
|
2011-01-18 23:54:35 +00:00
|
|
|
%if %{with_hardware}
|
2012-04-26 14:19:09 +00:00
|
|
|
%{?with_vmware:--enable-xa} \
|
2013-05-17 18:55:01 +00:00
|
|
|
--with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,}%{?with_llvm:swrast,r600,}%{?with_freedreno:freedreno,}r300,nouveau \
|
2012-07-25 06:56:27 +00:00
|
|
|
%else
|
2013-05-14 21:33:42 +00:00
|
|
|
--with-gallium-drivers=%{?with_llvm:swrast} \
|
2014-04-15 21:32:28 +00:00
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} < 21
|
2014-04-16 14:56:42 +00:00
|
|
|
--disable-dri3 \
|
2010-06-25 08:13:00 +00:00
|
|
|
%endif
|
2009-08-13 18:57:30 +00:00
|
|
|
%{?dri_drivers}
|
2008-02-18 16:23:51 +00:00
|
|
|
|
2013-05-15 21:08:15 +00:00
|
|
|
# this seems to be neccessary for s390
|
|
|
|
make -C src/mesa/drivers/dri/common/xmlpool/
|
|
|
|
|
2012-12-05 21:12:23 +00:00
|
|
|
make %{?_smp_mflags} MKDEP=/bin/true
|
2006-09-29 19:07:15 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-08-30 07:06:22 +00:00
|
|
|
|
2013-05-08 22:03:21 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2011-09-08 21:33:52 +00:00
|
|
|
|
2012-05-01 15:43:31 +00:00
|
|
|
%if 0%{?rhel}
|
2012-07-23 21:19:31 +00:00
|
|
|
# remove pre-DX9 drivers
|
2012-08-17 13:51:46 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/dri/{radeon,r200,nouveau_vieux}_dri.*
|
2012-05-01 15:43:31 +00:00
|
|
|
%endif
|
2006-09-19 19:51:19 +00:00
|
|
|
|
2013-06-12 22:12:04 +00:00
|
|
|
%if !%{with_hardware}
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/drirc
|
|
|
|
%endif
|
|
|
|
|
2013-05-14 21:33:42 +00:00
|
|
|
# libvdpau opens the versioned name, don't bother including the unversioned
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/vdpau/*.so
|
|
|
|
|
2013-05-08 22:03:21 +00:00
|
|
|
# strip out useless headers
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_includedir}/GL/w*.h
|
2006-09-19 19:51:19 +00:00
|
|
|
|
2012-04-24 16:47:33 +00:00
|
|
|
# remove .la files
|
2012-05-01 15:43:31 +00:00
|
|
|
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
|
2012-04-24 16:47:33 +00:00
|
|
|
|
2009-02-23 20:25:07 +00:00
|
|
|
# this keeps breaking, check it early. note that the exit from eu-ftr is odd.
|
2009-02-24 16:54:44 +00:00
|
|
|
pushd $RPM_BUILD_ROOT%{_libdir}
|
2009-08-06 18:04:05 +00:00
|
|
|
for i in libOSMesa*.so libGL.so ; do
|
2009-02-24 16:54:44 +00:00
|
|
|
eu-findtextrel $i && exit 1
|
|
|
|
done
|
2010-11-18 22:06:01 +00:00
|
|
|
popd
|
2009-02-23 20:25:07 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2005-09-12 18:36:48 +00:00
|
|
|
%check
|
|
|
|
|
2005-09-12 18:32:57 +00:00
|
|
|
%post libGL -p /sbin/ldconfig
|
|
|
|
%postun libGL -p /sbin/ldconfig
|
2006-08-18 19:52:19 +00:00
|
|
|
%post libOSMesa -p /sbin/ldconfig
|
|
|
|
%postun libOSMesa -p /sbin/ldconfig
|
2010-11-05 16:41:50 +00:00
|
|
|
%post libEGL -p /sbin/ldconfig
|
|
|
|
%postun libEGL -p /sbin/ldconfig
|
2010-11-05 18:27:39 +00:00
|
|
|
%post libGLES -p /sbin/ldconfig
|
|
|
|
%postun libGLES -p /sbin/ldconfig
|
2012-07-14 21:51:39 +00:00
|
|
|
%post libglapi -p /sbin/ldconfig
|
|
|
|
%postun libglapi -p /sbin/ldconfig
|
2012-02-23 19:14:04 +00:00
|
|
|
%post libgbm -p /sbin/ldconfig
|
|
|
|
%postun libgbm -p /sbin/ldconfig
|
2013-12-18 20:04:13 +00:00
|
|
|
%if 0%{?with_wayland}
|
2012-02-23 19:14:04 +00:00
|
|
|
%post libwayland-egl -p /sbin/ldconfig
|
|
|
|
%postun libwayland-egl -p /sbin/ldconfig
|
2012-05-01 15:43:31 +00:00
|
|
|
%endif
|
2012-07-14 21:51:39 +00:00
|
|
|
%if 0%{?with_vmware}
|
|
|
|
%post libxatracker -p /sbin/ldconfig
|
|
|
|
%postun libxatracker -p /sbin/ldconfig
|
|
|
|
%endif
|
2014-01-18 20:06:01 +00:00
|
|
|
%if 0%{?with_opencl}
|
|
|
|
%post libOpenCL -p /sbin/ldconfig
|
|
|
|
%postun libOpenCL -p /sbin/ldconfig
|
|
|
|
%endif
|
2005-09-12 18:27:33 +00:00
|
|
|
|
|
|
|
%files libGL
|
|
|
|
%defattr(-,root,root,-)
|
2010-07-08 14:55:58 +00:00
|
|
|
%doc docs/COPYING
|
2005-09-12 18:27:33 +00:00
|
|
|
%{_libdir}/libGL.so.1
|
2009-03-23 13:01:12 +00:00
|
|
|
%{_libdir}/libGL.so.1.*
|
2008-07-02 12:35:05 +00:00
|
|
|
|
2010-11-05 16:41:50 +00:00
|
|
|
%files libEGL
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc docs/COPYING
|
|
|
|
%{_libdir}/libEGL.so.1
|
|
|
|
%{_libdir}/libEGL.so.1.*
|
2010-11-05 18:27:39 +00:00
|
|
|
|
|
|
|
%files libGLES
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc docs/COPYING
|
2010-11-05 16:41:50 +00:00
|
|
|
%{_libdir}/libGLESv2.so.2
|
|
|
|
%{_libdir}/libGLESv2.so.2.*
|
|
|
|
|
2013-05-14 21:33:42 +00:00
|
|
|
%files filesystem
|
2009-02-21 21:56:30 +00:00
|
|
|
%defattr(-,root,root,-)
|
2013-01-15 15:38:20 +00:00
|
|
|
%doc docs/COPYING docs/Mesa-MLAA-License-Clarification-Email.txt
|
2005-09-12 18:36:48 +00:00
|
|
|
%dir %{_libdir}/dri
|
2013-05-16 13:32:04 +00:00
|
|
|
%if %{with_hardware}
|
|
|
|
%if 0%{?with_vdpau}
|
2013-05-08 22:03:21 +00:00
|
|
|
%dir %{_libdir}/vdpau
|
2013-05-15 15:26:50 +00:00
|
|
|
%endif
|
2013-05-16 13:32:04 +00:00
|
|
|
%endif
|
2011-01-19 03:36:41 +00:00
|
|
|
|
2012-03-28 21:21:59 +00:00
|
|
|
%files libglapi
|
2012-03-19 18:05:34 +00:00
|
|
|
%{_libdir}/libglapi.so.0
|
|
|
|
%{_libdir}/libglapi.so.0.*
|
2012-03-28 21:21:59 +00:00
|
|
|
|
|
|
|
%files dri-drivers
|
|
|
|
%defattr(-,root,root,-)
|
2010-06-25 08:13:00 +00:00
|
|
|
%if %{with_hardware}
|
2012-04-26 15:15:25 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/drirc
|
2012-05-01 15:43:31 +00:00
|
|
|
%if !0%{?rhel}
|
2011-06-20 03:47:11 +00:00
|
|
|
%{_libdir}/dri/radeon_dri.so
|
|
|
|
%{_libdir}/dri/r200_dri.so
|
2012-05-01 15:43:31 +00:00
|
|
|
%{_libdir}/dri/nouveau_vieux_dri.so
|
|
|
|
%endif
|
2011-01-18 23:30:44 +00:00
|
|
|
%{_libdir}/dri/r300_dri.so
|
2013-05-17 18:55:01 +00:00
|
|
|
%if 0%{?with_llvm}
|
2011-01-18 04:08:44 +00:00
|
|
|
%{_libdir}/dri/r600_dri.so
|
2013-05-08 22:03:21 +00:00
|
|
|
%if 0%{?with_radeonsi}
|
2012-07-23 21:19:31 +00:00
|
|
|
%{_libdir}/dri/radeonsi_dri.so
|
2012-07-25 06:56:27 +00:00
|
|
|
%endif
|
2013-05-17 18:55:01 +00:00
|
|
|
%endif
|
2013-05-08 22:03:21 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
2011-01-18 04:08:44 +00:00
|
|
|
%{_libdir}/dri/i915_dri.so
|
|
|
|
%{_libdir}/dri/i965_dri.so
|
2011-03-18 01:27:33 +00:00
|
|
|
%endif
|
2013-05-14 21:33:42 +00:00
|
|
|
%if 0%{?with_freedreno}
|
2013-05-19 18:54:33 +00:00
|
|
|
%{_libdir}/dri/kgsl_dri.so
|
2013-12-01 12:51:48 +00:00
|
|
|
%{_libdir}/dri/msm_dri.so
|
2013-05-14 21:33:42 +00:00
|
|
|
%endif
|
2011-01-20 00:38:18 +00:00
|
|
|
%{_libdir}/dri/nouveau_dri.so
|
2012-04-26 14:19:09 +00:00
|
|
|
%if 0%{?with_vmware}
|
2012-03-15 13:39:24 +00:00
|
|
|
%{_libdir}/dri/vmwgfx_dri.so
|
2011-06-20 03:47:11 +00:00
|
|
|
%endif
|
2013-05-16 18:10:18 +00:00
|
|
|
%endif
|
2011-06-20 03:47:11 +00:00
|
|
|
%{_libdir}/dri/swrast_dri.so
|
2009-08-13 18:57:30 +00:00
|
|
|
|
2013-05-16 13:32:04 +00:00
|
|
|
%if %{with_hardware}
|
|
|
|
%if 0%{?with_vdpau}
|
2013-05-08 22:03:21 +00:00
|
|
|
%files vdpau-drivers
|
|
|
|
%defattr(-,root,root,-)
|
2013-05-14 21:33:42 +00:00
|
|
|
%{_libdir}/vdpau/libvdpau_nouveau.so.1*
|
2013-05-17 18:55:01 +00:00
|
|
|
%if 0%{?with_llvm}
|
2013-05-14 21:33:42 +00:00
|
|
|
%{_libdir}/vdpau/libvdpau_r600.so.1*
|
2014-02-02 21:03:31 +00:00
|
|
|
%if 0%{?with_radeonsi}
|
2013-05-14 21:33:42 +00:00
|
|
|
%{_libdir}/vdpau/libvdpau_radeonsi.so.1*
|
2013-05-08 22:03:21 +00:00
|
|
|
%endif
|
2013-05-16 13:32:04 +00:00
|
|
|
%endif
|
2013-05-17 18:55:01 +00:00
|
|
|
%endif
|
2014-02-02 21:03:31 +00:00
|
|
|
%endif
|
2013-05-08 22:03:21 +00:00
|
|
|
|
2006-09-30 18:04:34 +00:00
|
|
|
%files libGL-devel
|
2005-09-12 18:27:33 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/GL/gl.h
|
|
|
|
%{_includedir}/GL/gl_mangle.h
|
|
|
|
%{_includedir}/GL/glext.h
|
|
|
|
%{_includedir}/GL/glx.h
|
|
|
|
%{_includedir}/GL/glx_mangle.h
|
|
|
|
%{_includedir}/GL/glxext.h
|
2007-07-24 19:56:47 +00:00
|
|
|
%dir %{_includedir}/GL/internal
|
|
|
|
%{_includedir}/GL/internal/dri_interface.h
|
2008-09-05 05:48:02 +00:00
|
|
|
%{_libdir}/pkgconfig/dri.pc
|
2009-03-23 13:01:12 +00:00
|
|
|
%{_libdir}/libGL.so
|
2012-03-19 18:05:34 +00:00
|
|
|
%{_libdir}/libglapi.so
|
2008-02-15 23:21:58 +00:00
|
|
|
%{_libdir}/pkgconfig/gl.pc
|
2005-09-12 18:27:33 +00:00
|
|
|
|
2010-11-05 16:41:50 +00:00
|
|
|
%files libEGL-devel
|
|
|
|
%defattr(-,root,root,-)
|
2011-07-05 20:28:52 +00:00
|
|
|
%dir %{_includedir}/EGL
|
2010-11-05 18:27:39 +00:00
|
|
|
%{_includedir}/EGL/eglext.h
|
|
|
|
%{_includedir}/EGL/egl.h
|
2012-01-05 19:56:38 +00:00
|
|
|
%{_includedir}/EGL/eglmesaext.h
|
2010-11-05 18:27:39 +00:00
|
|
|
%{_includedir}/EGL/eglplatform.h
|
2011-07-06 20:47:18 +00:00
|
|
|
%dir %{_includedir}/KHR
|
2010-11-05 18:27:39 +00:00
|
|
|
%{_includedir}/KHR/khrplatform.h
|
|
|
|
%{_libdir}/pkgconfig/egl.pc
|
|
|
|
%{_libdir}/libEGL.so
|
|
|
|
|
|
|
|
%files libGLES-devel
|
|
|
|
%defattr(-,root,root,-)
|
2011-07-05 20:28:52 +00:00
|
|
|
%dir %{_includedir}/GLES2
|
2010-11-05 16:41:50 +00:00
|
|
|
%{_includedir}/GLES2/gl2platform.h
|
|
|
|
%{_includedir}/GLES2/gl2.h
|
|
|
|
%{_includedir}/GLES2/gl2ext.h
|
2013-02-13 08:19:46 +00:00
|
|
|
%{_includedir}/GLES3/gl3platform.h
|
|
|
|
%{_includedir}/GLES3/gl3.h
|
|
|
|
%{_includedir}/GLES3/gl3ext.h
|
2010-11-05 16:41:50 +00:00
|
|
|
%{_libdir}/pkgconfig/glesv2.pc
|
2010-11-05 18:27:39 +00:00
|
|
|
%{_libdir}/libGLESv2.so
|
2010-11-05 16:41:50 +00:00
|
|
|
|
2006-08-18 19:52:19 +00:00
|
|
|
%files libOSMesa
|
|
|
|
%defattr(-,root,root,-)
|
2010-07-08 14:55:58 +00:00
|
|
|
%doc docs/COPYING
|
2012-01-26 15:12:47 +00:00
|
|
|
%{_libdir}/libOSMesa.so.8*
|
2006-08-18 19:52:19 +00:00
|
|
|
|
|
|
|
%files libOSMesa-devel
|
|
|
|
%defattr(-,root,root,-)
|
2011-07-06 20:47:18 +00:00
|
|
|
%dir %{_includedir}/GL
|
2006-08-18 19:52:19 +00:00
|
|
|
%{_includedir}/GL/osmesa.h
|
|
|
|
%{_libdir}/libOSMesa.so
|
2011-05-10 00:17:06 +00:00
|
|
|
%{_libdir}/pkgconfig/osmesa.pc
|
2006-08-18 19:52:19 +00:00
|
|
|
|
2012-02-23 19:14:04 +00:00
|
|
|
%files libgbm
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc docs/COPYING
|
|
|
|
%{_libdir}/libgbm.so.1
|
|
|
|
%{_libdir}/libgbm.so.1.*
|
|
|
|
|
|
|
|
%files libgbm-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libgbm.so
|
|
|
|
%{_includedir}/gbm.h
|
|
|
|
%{_libdir}/pkgconfig/gbm.pc
|
|
|
|
|
2013-12-18 20:04:13 +00:00
|
|
|
%if 0%{?with_wayland}
|
2012-02-23 19:14:04 +00:00
|
|
|
%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
|
2012-05-01 15:43:31 +00:00
|
|
|
%endif
|
2012-02-23 19:14:04 +00:00
|
|
|
|
2012-04-26 14:19:09 +00:00
|
|
|
%if 0%{?with_vmware}
|
2012-03-15 13:39:24 +00:00
|
|
|
%files libxatracker
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc docs/COPYING
|
|
|
|
%if %{with_hardware}
|
2013-12-01 12:51:48 +00:00
|
|
|
%{_libdir}/libxatracker.so.2
|
|
|
|
%{_libdir}/libxatracker.so.2.*
|
2012-03-15 13:39:24 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%files libxatracker-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%if %{with_hardware}
|
|
|
|
%{_libdir}/libxatracker.so
|
|
|
|
%{_includedir}/xa_tracker.h
|
|
|
|
%{_includedir}/xa_composite.h
|
|
|
|
%{_includedir}/xa_context.h
|
|
|
|
%{_libdir}/pkgconfig/xatracker.pc
|
|
|
|
%endif
|
2012-04-26 14:19:09 +00:00
|
|
|
%endif
|
2012-03-15 13:39:24 +00:00
|
|
|
|
2014-01-18 20:06:01 +00:00
|
|
|
%if 0%{?with_opencl}
|
|
|
|
%files libOpenCL
|
|
|
|
%{_libdir}/libMesaOpenCL.so.*
|
|
|
|
%{_libdir}/gallium-pipe/
|
|
|
|
%{_sysconfdir}/OpenCL/vendors/mesa.icd
|
|
|
|
|
|
|
|
%files libOpenCL-devel
|
|
|
|
%{_libdir}/libMesaOpenCL.so
|
|
|
|
%endif
|
|
|
|
|
2005-09-12 18:26:20 +00:00
|
|
|
%changelog
|
2014-05-29 03:33:49 +00:00
|
|
|
* Thu May 29 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.1.4-3.20140521
|
|
|
|
- drop previous patch (not needed for F20)
|
|
|
|
|
2014-05-28 18:56:26 +00:00
|
|
|
* Wed May 28 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.1.4-2.20140521
|
|
|
|
- i915: add a missing NULL pointer check (RHBZ #1100967)
|
|
|
|
|
2014-05-21 11:49:50 +00:00
|
|
|
* Wed May 21 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.1.4-1.20140521
|
|
|
|
- 10.1.4 upstream release
|
|
|
|
|
2014-05-09 16:05:56 +00:00
|
|
|
* Fri May 09 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.1.3-1.20140509
|
|
|
|
- 10.1.3 upstream release
|
|
|
|
|
2014-04-19 15:16:04 +00:00
|
|
|
* Sat Apr 19 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.1.1-2.20140419
|
|
|
|
- fix buildrequires llvm 3.4-5 to 3.4-6, because 3.4-5 is not available for F20
|
|
|
|
|
2014-04-19 14:49:00 +00:00
|
|
|
* Sat Apr 19 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.1.1-1.20140419
|
|
|
|
- 10.1.1 upstream release
|
|
|
|
|
2014-04-15 21:32:28 +00:00
|
|
|
* Tue Apr 15 2014 Adam Jackson <ajax@redhat.com> 10.1-6.20140305
|
|
|
|
- Disable DRI3 in F20, it requires libxcb bits we haven't backported.
|
|
|
|
|
2014-03-26 20:19:20 +00:00
|
|
|
* Wed Mar 26 2014 Adam Jackson <ajax@redhat.com> 10.1-5.20140305
|
|
|
|
- Initial ppc64le enablement (no hardware drivers or vdpau yet)
|
|
|
|
|
2014-03-21 15:33:26 +00:00
|
|
|
* Fri Mar 21 2014 Adam Jackson <ajax@redhat.com> 10.1-4.20140305
|
|
|
|
- mesa: Don't optimize out glClear if drawbuffer size is 0x0 (fdo #75797)
|
|
|
|
|
2014-03-19 06:17:01 +00:00
|
|
|
* Wed Mar 19 2014 Dave Airlie <airlied@redhat.com> 10.1-3.20140305
|
|
|
|
- rebuild against backported llvm 3.4-5 for radeonsi GL 3.3 support.
|
|
|
|
|
2014-03-12 03:16:28 +00:00
|
|
|
* Wed Mar 12 2014 Dave Airlie <airlied@redhat.com> 10.1-2.20140305
|
|
|
|
- disable r600 llvm compiler (upstream advice)
|
|
|
|
|
2014-03-05 08:33:48 +00:00
|
|
|
* Wed Mar 05 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.1-1.20140305
|
|
|
|
- mesa: Bump version to 10.1 (final) (Ian Romanick)
|
|
|
|
- glx/dri2: fix build failure on HURD (Julien Cristau)
|
|
|
|
- i965: Validate (and resolve) all the bound textures. (Chris Forbes)
|
|
|
|
- i965: Widen sampler key bitfields for 32 samplers (Chris Forbes)
|
|
|
|
|
2014-03-01 18:55:04 +00:00
|
|
|
* Sat Mar 01 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.1-0.rc3.20140301
|
2014-03-01 17:15:05 +00:00
|
|
|
- 10.1-rc3
|
|
|
|
|
2014-02-25 10:05:22 +00:00
|
|
|
* Tue Feb 25 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.1-0.rc2.20140225
|
|
|
|
- really 10.1-rc2
|
|
|
|
|
2014-02-22 11:17:50 +00:00
|
|
|
* Sat Feb 22 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.1-0.rc2.20140222
|
|
|
|
- 10.1-rc2
|
|
|
|
|
2014-02-08 12:28:02 +00:00
|
|
|
* Sat Feb 08 2014 Adel Gadllah <adel.gadllah@gmail.com> - 10.1-0.rc1.20140208
|
|
|
|
- 10.1rc1
|
|
|
|
- Drop upstreamed patches
|
|
|
|
|
2014-02-06 13:45:51 +00:00
|
|
|
* Thu Feb 06 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.0.3-1.20140206
|
|
|
|
- 10.0.3 upstream release
|
|
|
|
|
2014-02-04 16:57:11 +00:00
|
|
|
* Tue Feb 04 2014 Kyle McMartin <kyle@redhat.com> - 10.0.2-6.20140118
|
|
|
|
- Fix accidentally inverted logic that meant radeonsi_dri.so went missing
|
|
|
|
on all architectures instead of just ppc and s390. Sorry!
|
|
|
|
|
2014-02-02 21:25:35 +00:00
|
|
|
* Sun Feb 02 2014 Kyle McMartin <kyle@redhat.com> - 10.0.2-5.20140118
|
|
|
|
- Fix a thinko in previous commit wrt libdrm_nouveau2.
|
|
|
|
|
2014-02-02 21:03:31 +00:00
|
|
|
* Sun Feb 02 2014 Kyle McMartin <kyle@redhat.com> - 10.0.2-4.20140118
|
|
|
|
- Fix up building drivers on AArch64, enable LLVM there.
|
|
|
|
- Eliminate some F17 cruft from the spec, since we don't support it anymore.
|
|
|
|
- Conditionalize with_radeonsi on with_llvm instead of ppc,s390 && >F-17.
|
|
|
|
- Conditionalize libvdpau_radeonsi.so.1* on with_radeonsi instead of simply
|
|
|
|
with_llvm to fix a build failure on AArch64.
|
|
|
|
|
2014-01-18 20:06:01 +00:00
|
|
|
* Sun Jan 19 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.0.2-3.20140118
|
|
|
|
- Enable OpenCL (RHBZ #887628)
|
|
|
|
- Enable r600 llvm compiler (RHBZ #1055098)
|
2014-03-12 16:31:56 +00:00
|
|
|
|
2013-12-20 19:15:00 +00:00
|
|
|
* Fri Dec 20 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 9.2.5-1.20131220
|
|
|
|
- 9.2.5 upstream release
|
|
|
|
|
2013-12-13 05:11:06 +00:00
|
|
|
* Fri Dec 13 2013 Dave Airlie <airlied@redhat.com> 9.2.4-2.20131128
|
|
|
|
- backport the GLX_MESA_copy_sub_buffer from upstream for cogl
|
|
|
|
|
2013-11-28 10:21:24 +00:00
|
|
|
* Thu Nov 28 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 9.2.4-1.20131128
|
|
|
|
- 9.2.4 upstream release
|
|
|
|
|
2013-11-14 11:41:45 +00:00
|
|
|
* Thu Nov 14 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 9.2.3-1.20131114
|
|
|
|
- 9.2.3 upstream release
|
|
|
|
|
2013-11-13 11:27:36 +00:00
|
|
|
* Wed Nov 13 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 9.2.2-1.20131113
|
|
|
|
- 9.2.2 upstream release + fixes from git 9.2 branch
|
|
|
|
|
2013-09-11 08:17:35 +00:00
|
|
|
* Thu Sep 19 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 9.2-1.20130919
|
|
|
|
- Today's git snap of 9.2 branch
|
|
|
|
- [NVE4] Fix crashing games when set AA to x2 on GTX760
|
|
|
|
- (freedesktop 68665 rhbz 1001714 1001698 1001740 1004674)
|
|
|
|
|
2013-09-02 06:03:26 +00:00
|
|
|
* Mon Sep 02 2013 Dave Airlie <airlied@redhat.com> 9.2-1.20130902
|
|
|
|
- 9.2 upstream release + fixes from git branch
|
|
|
|
|
2013-08-03 10:07:43 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.2-0.15.20130723
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-23 20:42:11 +00:00
|
|
|
* Tue Jul 23 2013 Adam Jackson <ajax@redhat.com> 9.2-0.14.20130723
|
|
|
|
- Today's git snap of 9.2 branch
|
|
|
|
|
2013-07-17 16:35:40 +00:00
|
|
|
* Sun Jul 14 2013 Kyle McMartin <kyle@redhat.com> 9.2-0.13.20130610
|
2013-07-15 15:12:47 +00:00
|
|
|
- Use LLVM::MCJIT on ARM and AArch64.
|
|
|
|
|
2013-06-17 19:53:32 +00:00
|
|
|
* Mon Jun 17 2013 Adam Jackson <ajax@redhat.com> 9.2-0.12.20130610
|
|
|
|
- Re-enable hardware float support (#975204)
|
|
|
|
|
2013-06-17 14:25:35 +00:00
|
|
|
* Mon Jun 17 2013 Adam Jackson <ajax@redhat.com> 9.2-0.11.20130610
|
|
|
|
- Fix evergreen on big-endian
|
|
|
|
|
2013-06-12 22:12:04 +00:00
|
|
|
* Wed Jun 12 2013 Adam Jackson <ajax@redhat.com> 9.2-0.10.20130610
|
|
|
|
- Fix s390x build
|
|
|
|
- Fold khrplatform-devel in to libEGL-devel
|
|
|
|
|
2013-06-11 21:10:22 +00:00
|
|
|
* Tue Jun 11 2013 Adam Jackson <ajax@redhat.com> 9.2-0.9.20130610
|
|
|
|
- 0001-Revert-i965-Disable-unused-pipeline-stages-once-at-s.patch: Fix some
|
|
|
|
hangs on ivb+
|
|
|
|
|
2013-06-10 18:38:54 +00:00
|
|
|
* Mon Jun 10 2013 Adam Jackson <ajax@redhat.com> 9.2-0.8.20130610
|
|
|
|
- Today's git snap
|
|
|
|
|
2013-05-28 17:37:37 +00:00
|
|
|
* Tue May 28 2013 Adam Jackson <ajax@redhat.com> 9.2-0.7.20130528
|
|
|
|
- Today's git snap
|
|
|
|
|
2013-05-19 18:54:33 +00:00
|
|
|
* Sun May 19 2013 Peter Robinson <pbrobinson@fedoraproject.org> 9.2-0.6.20130514
|
|
|
|
- Update the name of the freedreno driver
|
|
|
|
|
2013-05-17 18:55:01 +00:00
|
|
|
* Fri May 17 2013 Adam Jackson <ajax@redhat.com> 9.2-0.5.20130514
|
|
|
|
- Fix build issues on ppc32
|
|
|
|
|
2013-05-16 18:10:18 +00:00
|
|
|
* Thu May 16 2013 Adam Jackson <ajax@redhat.com> 9.2-0.4.20130514
|
|
|
|
- Fix yet more build issues on s390{,x}
|
|
|
|
|
2013-05-15 21:08:15 +00:00
|
|
|
* Wed May 15 2013 Adam Jackson <ajax@redhat.com> 9.2-0.3.20130514
|
|
|
|
- Fix build ordering issue on s390x
|
|
|
|
|
2013-05-15 15:26:50 +00:00
|
|
|
* Wed May 15 2013 Adam Jackson <ajax@redhat.com> 9.2-0.2.20130514
|
|
|
|
- Fix filesystem for with_hardware == 0
|
|
|
|
|
2013-05-14 21:33:42 +00:00
|
|
|
* Tue May 14 2013 Adam Jackson <ajax@redhat.com> 9.2-0.1.20130514
|
|
|
|
- Today's git snap
|
|
|
|
- Revert to swrast on ppc32 and s390 since llvm doesn't actually work
|
|
|
|
- Build freedreno on arm
|
|
|
|
- Drop snb hang workaround (upstream 1dfea559)
|
|
|
|
- Rename filesystem package
|
|
|
|
|
2013-05-08 22:03:21 +00:00
|
|
|
* Wed May 08 2013 Adam Jackson <ajax@redhat.com> 9.2-0.1.20130508
|
|
|
|
- Switch to Mesa master (pre 9.2)
|
|
|
|
- Fix llvmpipe on big-endian and enable llvmpipe everywhere
|
|
|
|
- Build vdpau drivers for r600/radeonsi/nouveau
|
|
|
|
- Enable hardware floating-point texture support
|
|
|
|
- Drop GLESv1, nothing's using it, let's not start
|
|
|
|
|
2013-04-27 07:29:43 +00:00
|
|
|
* Sat Apr 27 2013 Dave Airlie <airlied@redhat.com> 9.1.1-1
|
|
|
|
- rebase to Mesa 9.1.1 + fixes from git
|
|
|
|
|
2013-04-11 02:12:34 +00:00
|
|
|
* Thu Apr 11 2013 Dave Airlie <airlied@redhat.com> 9.1-6
|
2013-04-11 02:11:21 +00:00
|
|
|
- enable glx tls for glamor to work properly
|
|
|
|
|
2013-04-04 21:23:59 +00:00
|
|
|
* Thu Apr 04 2013 Adam Jackson <ajax@redhat.com> 9.1-5
|
|
|
|
- Enable llvmpipe even on non-SSE2 machines (#909473)
|
|
|
|
|
2013-03-26 18:48:16 +00:00
|
|
|
* Tue Mar 26 2013 Adam Jackson <ajax@redhat.com> 9.1-4
|
|
|
|
- Fix build with private LLVM
|
|
|
|
|
2013-03-19 15:50:20 +00:00
|
|
|
* Tue Mar 19 2013 Adam Jackson <ajax@redhat.com> 9.1-3
|
|
|
|
- mesa-9.1-53-gd0ccb5b.patch: Sync with today's git
|
|
|
|
|
2013-03-19 01:55:32 +00:00
|
|
|
* Tue Mar 19 2013 Dave Airlie <airlied@redhat.com> 9.1-2
|
|
|
|
- add SNB hang workaround from chromium
|
|
|
|
|
2013-03-11 22:56:49 +00:00
|
|
|
* Fri Mar 08 2013 Adam Jackson <ajax@redhat.com> 9.1-1
|
|
|
|
- Mesa 9.1
|
|
|
|
|
2013-02-27 14:25:43 +00:00
|
|
|
* Wed Feb 27 2013 Dan Horák <dan[at]danny.cz> - 9.1-0.4
|
|
|
|
- /etc/drirc is always created, so exclude it on platforms without hw drivers
|
|
|
|
|
2013-02-26 17:17:22 +00:00
|
|
|
* Tue Feb 26 2013 Adam Jackson <ajax@redhat.com> 9.1-0.3
|
|
|
|
- Fix s390*'s swrast to be classic not softpipe
|
|
|
|
|
2013-02-19 06:47:28 +00:00
|
|
|
* Tue Feb 19 2013 Jens Petersen <petersen@redhat.com> - 9.1-0.2
|
|
|
|
- build against llvm-3.2
|
|
|
|
- turn on radeonsi
|
|
|
|
|
2013-02-13 06:57:10 +00:00
|
|
|
* Wed Feb 13 2013 Dave Airlie <airlied@redhat.com> 9.1-0.1
|
|
|
|
- snapshot mesa 9.1 branch
|
|
|
|
|
2013-01-15 15:38:20 +00:00
|
|
|
* Tue Jan 15 2013 Tom Callaway <spot@fedoraproject.org> 9.0.1-4
|
|
|
|
- clarify license on pp_mlaa* files
|
|
|
|
|
2012-12-20 19:15:37 +00:00
|
|
|
* Thu Dec 20 2012 Adam Jackson <ajax@redhat.com> 9.0.1-3
|
|
|
|
- mesa-9.0.1-22-gd0a9ab2.patch: Sync with git
|
|
|
|
- Build with -fno-rtti -fno-exceptions, modest size and speed win
|
|
|
|
- mesa-9.0.1-less-cxx-please.patch: Remove the only use of typeid() so the
|
|
|
|
above works.
|
|
|
|
|
2012-12-05 21:12:23 +00:00
|
|
|
* Wed Dec 05 2012 Adam Jackson <ajax@redhat.com> 9.0.1-2
|
|
|
|
- Allow linking against a private version of LLVM libs for RHEL7
|
|
|
|
- Build with -j again
|
|
|
|
|
2012-12-03 15:53:37 +00:00
|
|
|
* Mon Dec 03 2012 Adam Jackson <ajax@redhat.com> 9.0.1-1
|
|
|
|
- Mesa 9.0.1
|
|
|
|
|
2012-11-06 21:05:57 +00:00
|
|
|
* Wed Nov 07 2012 Dave Airlie <airlied@redhat.com> 9.0-5
|
|
|
|
- mesa-9.0-19-g895a587.patch: sync with 9.0 branch with git
|
|
|
|
- drop wayland patch its in git now.
|
|
|
|
|
2012-11-01 20:54:32 +00:00
|
|
|
* Thu Nov 01 2012 Adam Jackson <ajax@redhat.com> 9.0-4
|
|
|
|
- mesa-9.0-18-g5fe5aa8: sync with 9.0 branch in git
|
|
|
|
- Portability fixes for F17: old wayland, old llvm.
|
|
|
|
|
2012-10-27 15:16:35 +00:00
|
|
|
* Sat Oct 27 2012 Dan Horák <dan[at]danny.cz> 9.0-3
|
|
|
|
- gallium drivers must be set explicitely for s390(x) otherwise also r300, r600 and vmwgfx are built
|
|
|
|
|
2012-10-19 17:22:33 +00:00
|
|
|
* Fri Oct 19 2012 Adam Jackson <ajax@redhat.com> 9.0-2
|
|
|
|
- Rebuild for wayland 0.99
|
|
|
|
|
2012-10-10 18:33:29 +00:00
|
|
|
* Wed Oct 10 2012 Adam Jackson <ajax@redhat.com> 9.0-1
|
|
|
|
- Mesa 9.0
|
|
|
|
- mesa-9.0-12-gd56ee24.patch: sync with 9.0 branch in git
|
|
|
|
|
2012-10-10 15:55:24 +00:00
|
|
|
* Wed Oct 10 2012 Adam Jackson <ajax@redhat.com> 9.0-0.4
|
|
|
|
- Switch to external gl-manpages and libGLU
|
|
|
|
- Drop ShmGetImage fastpath for a bit
|
|
|
|
|
2012-10-01 10:51:20 +00:00
|
|
|
* Mon Oct 01 2012 Dan Horák <dan[at]danny.cz> 9.0-0.3
|
|
|
|
- explicit BR: libGL-devel is required on s390(x), it's probbaly brought in indirectly on x86
|
2012-10-27 15:16:35 +00:00
|
|
|
- gallium drivers must be set explicitely for s390(x) otherwise also r300, r600 and vmwgfx are built
|
2012-10-01 10:51:20 +00:00
|
|
|
|
2012-09-24 18:53:26 +00:00
|
|
|
* Mon Sep 24 2012 Adam Jackson <ajax@redhat.com> 9.0-0.2
|
|
|
|
- Switch to swrast classic instead of softpipe for non-llvm arches
|
|
|
|
- Re-disable llvm on ppc until it can draw pixels
|
|
|
|
|
2012-09-23 23:21:34 +00:00
|
|
|
* Mon Sep 24 2012 Dave Airlie <airlied@redhat.com> 9.0-0.1
|
|
|
|
- rebase to latest upstream 9.0 pre-release branch
|
2012-09-24 00:49:28 +00:00
|
|
|
- add back glu from new upstream (split for f18 later)
|
2012-09-23 23:21:34 +00:00
|
|
|
|
2012-09-14 10:02:30 +00:00
|
|
|
* Fri Sep 14 2012 Dave Airlie <airlied@redhat.com> 8.1-0.21
|
|
|
|
- why fix one yylex when you can fix two
|
|
|
|
|
2012-09-14 01:42:50 +00:00
|
|
|
* Fri Sep 14 2012 Dave Airlie <airlied@redhat.com> 8.1-0.20
|
|
|
|
- fix yylex collision reported on irc by hughsie
|
2012-09-07 20:34:36 +00:00
|
|
|
|
2012-08-27 15:29:09 +00:00
|
|
|
* Mon Aug 27 2012 Adam Jackson <ajax@redhat.com> 8.1-0.19
|
|
|
|
- Today's git snap
|
|
|
|
- Revert dependency on libkms
|
|
|
|
- Patch from Mageia to fix some undefined symbols
|
|
|
|
|
2012-08-17 06:09:10 +00:00
|
|
|
* Fri Aug 17 2012 Dave Airlie <airlied@redhat.com> 8.1-0.18
|
|
|
|
- parallel make seems broken - on 16 way machine internally.
|
|
|
|
|
2012-08-16 01:04:56 +00:00
|
|
|
* Thu Aug 16 2012 Dave Airlie <airlied@redhat.com> 8.1-0.17
|
|
|
|
- upstream snapshot
|
|
|
|
|
2012-07-25 10:12:18 +00:00
|
|
|
* Wed Jul 25 2012 Peter Robinson <pbrobinson@fedoraproject.org> 8.1-0.16
|
|
|
|
- Enable LLVM on ARM
|
|
|
|
|
2012-07-25 06:56:27 +00:00
|
|
|
* Wed Jul 25 2012 Peter Robinson <pbrobinson@fedoraproject.org> 8.1-0.15
|
|
|
|
- Fix building on platforms with HW and without LLVM
|
|
|
|
|
2012-07-24 19:11:35 +00:00
|
|
|
* Tue Jul 24 2012 Adam Jackson <ajax@redhat.com> 8.1-0.14
|
|
|
|
- Re-enable llvm on ppc, being worked on
|
2012-07-24 13:44:45 +00:00
|
|
|
- Don't BuildReq on wayland things in RHEL
|
|
|
|
|
2012-07-23 21:19:31 +00:00
|
|
|
* Mon Jul 23 2012 Adam Jackson <ajax@redhat.com> 8.1-0.13
|
|
|
|
- Build radeonsi (#842194)
|
|
|
|
|
2012-07-20 00:39:11 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1-0.12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-17 23:14:36 +00:00
|
|
|
* Tue Jul 17 2012 Dave Airlie <airlied@redhat.com> 8.1-0.11
|
|
|
|
- upstream snapshot: fixes build issues
|
|
|
|
|
2012-07-17 07:59:15 +00:00
|
|
|
* Tue Jul 17 2012 Dave Airlie <airlied@redhat.com> 8.1-0.10
|
|
|
|
- snapshot mesa: add some build hackarounds
|
|
|
|
|
2012-07-14 21:51:39 +00:00
|
|
|
* Sat Jul 14 2012 Ville Skyttä <ville.skytta@iki.fi> - 8.1-0.9
|
|
|
|
- Call ldconfig at -libglapi and -libxatracker post(un)install time.
|
|
|
|
- Drop redundant ldconfig dependencies, let rpm auto-add them.
|
|
|
|
|
2012-06-13 18:56:11 +00:00
|
|
|
* Wed Jun 13 2012 Dave Airlie <airlied@redhat.com> 8.1-0.8
|
|
|
|
- enable shared llvm usage.
|
|
|
|
|
2012-06-07 19:28:37 +00:00
|
|
|
* Thu Jun 07 2012 Adam Jackson <ajax@redhat.com> 8.1-0.7
|
|
|
|
- Disable llvm on non-x86 (#829020)
|
|
|
|
|
2012-06-03 15:33:36 +00:00
|
|
|
* Sun Jun 03 2012 Dave Airlie <airlied@redhat.com> 8.1-0.6
|
|
|
|
- rebase to git master + build on top of llvm 3.1
|
|
|
|
|
2012-05-17 17:47:33 +00:00
|
|
|
* Thu May 17 2012 Adam Jackson <ajax@redhat.com> 8.1-0.5
|
|
|
|
- mesa-8.0-llvmpipe-shmget.patch: Rediff for 8.1.
|
|
|
|
|
2012-05-10 14:23:44 +00:00
|
|
|
* Thu May 10 2012 Karsten Hopp <karsten@redhat.com> 8.1-0.4
|
|
|
|
- revert disabling of hardware drivers, disable only llvm on PPC*
|
|
|
|
(#819060)
|
|
|
|
|
2012-05-01 15:43:31 +00:00
|
|
|
* Tue May 01 2012 Adam Jackson <ajax@redhat.com> 8.1-0.3
|
|
|
|
- More RHEL tweaking: no pre-DX7 drivers, no wayland.
|
|
|
|
|
2012-04-26 16:45:21 +00:00
|
|
|
* Thu Apr 26 2012 Karsten Hopp <karsten@redhat.com> 8.1-0.2
|
|
|
|
- move drirc into with_hardware section (Dave Airlie)
|
|
|
|
- libdricore.so and libglsl.so get built and installed on
|
|
|
|
non-hardware archs, include them in the file list
|
|
|
|
|
2012-04-26 14:19:09 +00:00
|
|
|
* Thu Apr 26 2012 Adam Jackson <ajax@redhat.com> 8.1-0.2
|
|
|
|
- Don't build vmware stuff on non-x86 (#815444)
|
|
|
|
|
2012-04-24 16:47:33 +00:00
|
|
|
* Tue Apr 24 2012 Richard Hughes <rhughes@redhat.com> 8.0.3-0.1
|
|
|
|
- Rebuild with new git snapshot
|
|
|
|
- Remove upstreamed patches
|