2007-01-10 01:57:03 +01:00
|
|
|
#
|
2011-04-27 09:08:15 +02:00
|
|
|
# spec file for package Mesa
|
2007-01-10 01:57:03 +01:00
|
|
|
#
|
2015-01-26 05:11:23 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-10 01:57:03 +01:00
|
|
|
#
|
2008-08-11 23:05:30 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-10 01:57:03 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2012-02-09 21:16:37 +01:00
|
|
|
#
|
|
|
|
|
- Update to Mesa 8.0.1
* Removed all DRI drivers that did not support DRI2.
Specifically, i810, mach64, mga, r128, savage, sis, tdfx, and
unichrome were removed.
* Removed all remnants of paletted texture support. As required
by desktop OpenGL, GL_COLOR_INDEX data can still be uploaded
to a color (e.g., RGBA) texture. However, the data cannot be
stored internally as color-index.
* Removed support for GL_APPLE_client_storage extension.
* Removed the classic Mesa r300 and r600 drivers, which are
superseded by the gallium drivers for this hardware.
* Removed the dead Gallium i965, cell and failover drivers,
which were either broken and with nobody in sight to fix
the situation or deprecated.
- obsoletes u_GLX-SWrast-Make-GLX-with-SWrast-enabled-work-on-olde.patch
(git commit #63a6fd6603574c1c01324fbeb0863e39d3864c16)
- obsoletes U_Mesa-7.11-llvm3.patch
- obsoletes Mesa-llvm-3.0.patch
- disabled u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch
for now (obsolete as well?)
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=196
2012-02-23 14:38:22 +01:00
|
|
|
|
2012-05-27 00:31:19 +02:00
|
|
|
%define glamor 1
|
2015-01-19 14:08:21 +01:00
|
|
|
%define _name_archive MesaLib
|
2015-01-26 05:11:23 +01:00
|
|
|
%define _version 10.4.3
|
2014-05-12 15:08:48 +02:00
|
|
|
%ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le s390x
|
|
|
|
%define gallium_loader 1
|
|
|
|
%else
|
|
|
|
%define gallium_loader 0
|
|
|
|
%endif
|
2014-09-29 15:09:39 +02:00
|
|
|
%ifarch %ix86 x86_64 %arm ppc64 ppc64le
|
2014-04-01 11:29:15 +02:00
|
|
|
%define xvmc_support 1
|
|
|
|
%else
|
|
|
|
%define xvmc_support 0
|
|
|
|
%endif
|
2014-09-29 15:09:39 +02:00
|
|
|
%ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le
|
2014-04-01 11:29:15 +02:00
|
|
|
%define vdpau_nouveau 1
|
2015-01-19 14:08:21 +01:00
|
|
|
%define vdpau_radeon 1
|
2014-04-01 11:29:15 +02:00
|
|
|
%else
|
|
|
|
%define vdpau_nouveau 0
|
2015-01-19 14:08:21 +01:00
|
|
|
%define vdpau_radeon 0
|
2014-04-01 11:29:15 +02:00
|
|
|
%endif
|
2012-02-22 00:59:17 +01:00
|
|
|
Name: Mesa
|
2015-01-26 05:11:23 +01:00
|
|
|
Version: 10.4.3
|
2011-12-01 12:25:10 +01:00
|
|
|
Release: 0
|
2015-01-19 14:08:21 +01:00
|
|
|
Summary: System for rendering interactive 3-D graphics
|
|
|
|
License: MIT
|
|
|
|
Group: System/Libraries
|
|
|
|
Url: http://www.mesa3d.org
|
|
|
|
Source: ftp://ftp.freedesktop.org/pub/mesa/%{_version}/%{_name_archive}-%{_version}.tar.bz2
|
|
|
|
Source2: baselibs.conf
|
|
|
|
Source3: README.updates
|
|
|
|
Source4: manual-pages.tar.bz2
|
|
|
|
Source6: %{name}-rpmlintrc
|
|
|
|
# to be upstreamed
|
|
|
|
Patch11: u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch
|
|
|
|
# Patch from Fedora, fix 16bpp in llvmpipe
|
|
|
|
Patch13: u_mesa-8.0.1-fix-16bpp.patch
|
|
|
|
# Patch from Fedora, use shmget when available, under llvmpipe
|
|
|
|
Patch15: u_mesa-8.0-llvmpipe-shmget.patch
|
|
|
|
Patch18: u_be_assert_include.patch
|
2012-08-27 11:57:08 +02:00
|
|
|
BuildRequires: autoconf >= 2.60
|
2011-12-01 12:25:10 +01:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: gcc-c++
|
2014-04-25 10:38:43 +02:00
|
|
|
BuildRequires: imake
|
2015-01-19 14:08:21 +01:00
|
|
|
BuildRequires: libXvMC-devel
|
2011-12-01 12:25:10 +01:00
|
|
|
BuildRequires: libexpat-devel
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: libtool
|
2015-01-19 14:08:21 +01:00
|
|
|
BuildRequires: libvdpau-devel
|
2011-12-01 12:25:10 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: python-base
|
2014-05-05 10:12:09 +02:00
|
|
|
BuildRequires: python-xml
|
2014-04-25 10:38:43 +02:00
|
|
|
BuildRequires: pkgconfig(dri2proto)
|
|
|
|
BuildRequires: pkgconfig(dri3proto)
|
|
|
|
BuildRequires: pkgconfig(glproto)
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: pkgconfig(libdrm) >= 2.4.24
|
2013-07-15 15:37:01 +02:00
|
|
|
BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.41
|
|
|
|
BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.45
|
2013-02-04 17:42:19 +01:00
|
|
|
BuildRequires: pkgconfig(libkms) >= 1.0.0
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: pkgconfig(libudev) > 150
|
2015-01-19 14:08:21 +01:00
|
|
|
BuildRequires: pkgconfig(presentproto)
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(x11-xcb)
|
|
|
|
BuildRequires: pkgconfig(xcb-dri2)
|
2013-12-02 11:29:34 +01:00
|
|
|
BuildRequires: pkgconfig(xcb-dri3)
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: pkgconfig(xcb-glx)
|
2013-12-02 11:29:34 +01:00
|
|
|
BuildRequires: pkgconfig(xcb-present)
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: pkgconfig(xdamage)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xfixes)
|
2015-01-19 14:08:21 +01:00
|
|
|
BuildRequires: pkgconfig(xshmfence)
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: pkgconfig(xxf86vm)
|
2013-07-15 15:37:01 +02:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2012-02-22 00:59:17 +01:00
|
|
|
Provides: Mesa7 = %{version}
|
|
|
|
Obsoletes: Mesa7 < %{version}
|
|
|
|
Provides: intel-i810-Mesa = %{version}
|
|
|
|
Obsoletes: intel-i810-Mesa < %{version}
|
2013-09-20 13:57:54 +02:00
|
|
|
Provides: Mesa-libIndirectGL1 = %{version}
|
|
|
|
Obsoletes: Mesa-libIndirectGL1 < %{version}
|
2015-01-19 14:08:21 +01:00
|
|
|
Provides: Mesa-nouveau3d = %{version}
|
2012-02-22 00:59:17 +01:00
|
|
|
Provides: xorg-x11-Mesa = %{version}
|
2015-01-19 14:08:21 +01:00
|
|
|
Obsoletes: Mesa-nouveau3d < %{version}
|
2012-03-01 14:56:33 +01:00
|
|
|
Obsoletes: xorg-x11-Mesa < %{version}
|
2007-01-10 01:57:03 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-01-19 14:08:21 +01:00
|
|
|
%ifarch %arm
|
|
|
|
BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.43
|
|
|
|
%endif
|
|
|
|
%ifarch x86_64 %ix86
|
|
|
|
BuildRequires: libelf-devel
|
|
|
|
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.38
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} >= 1310
|
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
|
|
BuildRequires: pkgconfig(wayland-server)
|
|
|
|
%endif
|
|
|
|
%ifarch %arm ppc64 ppc64le s390x %ix86 x86_64
|
|
|
|
BuildRequires: llvm-devel
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
%endif
|
2007-01-10 01:57:03 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Mesa is a 3-D graphics library with an API which is very similar to
|
|
|
|
that of OpenGL.* To the extent that Mesa utilizes the OpenGL command
|
|
|
|
syntax or state machine, it is being used with authorization from
|
|
|
|
Silicon Graphics, Inc.(SGI). However, the author does not possess an
|
|
|
|
OpenGL license from SGI, and makes no claim that Mesa is in any way a
|
|
|
|
compatible replacement for OpenGL or associated with SGI. Those who
|
|
|
|
want a licensed implementation of OpenGL should contact a licensed
|
|
|
|
vendor.
|
|
|
|
|
|
|
|
Please do not refer to the library as MesaGL (for legal reasons). It's
|
|
|
|
just Mesa or The Mesa 3-D graphics library.
|
|
|
|
|
|
|
|
* OpenGL is a trademark of Silicon Graphics Incorporated.
|
|
|
|
|
2012-02-22 00:59:17 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Libraries, includes and more to develop Mesa applications
|
|
|
|
Group: Development/Libraries/X11
|
2015-01-19 14:08:21 +01:00
|
|
|
Requires: Mesa = %{version}
|
|
|
|
Requires: Mesa-dri-devel = %{version}
|
|
|
|
Requires: Mesa-libEGL-devel = %{version}
|
|
|
|
Requires: Mesa-libGL-devel = %{version}
|
|
|
|
Requires: Mesa-libGLESv1_CM-devel = %{version}
|
|
|
|
Requires: Mesa-libGLESv2-devel = %{version}
|
|
|
|
Requires: Mesa-libglapi-devel = %{version}
|
|
|
|
Requires: libOSMesa-devel = %{version}
|
2012-02-22 00:59:17 +01:00
|
|
|
Requires: libgbm-devel
|
|
|
|
Provides: Mesa-devel-static = %{version}
|
|
|
|
Provides: xorg-x11-Mesa-devel = %{version}
|
2012-03-01 14:56:33 +01:00
|
|
|
Obsoletes: Mesa-devel-static < %{version}
|
|
|
|
Obsoletes: xorg-x11-Mesa-devel < %{version}
|
2013-09-20 13:57:54 +02:00
|
|
|
Provides: Mesa-libIndirectGL-devel = %{version}
|
|
|
|
Obsoletes: Mesa-libIndirectGL-devel < %{version}
|
2015-01-19 14:08:21 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
|
|
|
Requires: libwayland-egl-devel
|
|
|
|
%endif
|
2012-02-22 00:59:17 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Mesa is a 3-D graphics library with an API which is very similar to
|
|
|
|
that of OpenGL.* To the extent that Mesa utilizes the OpenGL command
|
|
|
|
syntax or state machine, it is being used with authorization from
|
|
|
|
Silicon Graphics, Inc.(SGI). However, the author does not possess an
|
|
|
|
OpenGL license from SGI, and makes no claim that Mesa is in any way a
|
|
|
|
compatible replacement for OpenGL or associated with SGI. Those who
|
|
|
|
want a licensed implementation of OpenGL should contact a licensed
|
|
|
|
vendor.
|
|
|
|
|
|
|
|
Please do not refer to the library as MesaGL (for legal reasons). It's
|
|
|
|
just Mesa or The Mesa 3-D graphics library.
|
|
|
|
|
|
|
|
* OpenGL is a trademark of Silicon Graphics Incorporated.
|
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%package -n Mesa-libEGL1
|
|
|
|
# Kudos to Debian for the descriptions
|
|
|
|
Summary: Free implementation of the EGL API
|
|
|
|
Group: System/Libraries
|
2007-01-10 01:57:03 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%description -n Mesa-libEGL1
|
|
|
|
This package contains the EGL native platform graphics interface
|
|
|
|
library. EGL provides a platform-agnostic mechanism for creating
|
|
|
|
rendering surfaces for use with other graphics libraries, such as
|
|
|
|
OpenGL|ES and OpenVG.
|
2007-01-10 01:57:03 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
This package contains modules to interface with the existing system
|
|
|
|
GLX or DRI2 drivers to provide OpenGL via EGL. The Mesa main package
|
|
|
|
provides drivers to provide hardware-accelerated OpenGL|ES and OpenVG
|
|
|
|
support.
|
|
|
|
|
|
|
|
%package -n Mesa-libEGL-devel
|
|
|
|
Summary: Development files for the EGL API
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-01-19 14:08:21 +01:00
|
|
|
Requires: Mesa-libEGL1 = %{version}
|
2012-02-21 11:57:47 +01:00
|
|
|
# Other requires taken care of by pkgconfig already
|
|
|
|
|
|
|
|
%description -n Mesa-libEGL-devel
|
|
|
|
This package contains the development environment required for
|
|
|
|
compiling programs against EGL native platform graphics interface
|
|
|
|
library. EGL provides a platform-agnostic mechanism for creating
|
|
|
|
rendering surfaces for use with other graphics libraries, such as
|
|
|
|
OpenGL|ES and OpenVG.
|
|
|
|
|
|
|
|
This package provides the development environment for compiling
|
|
|
|
programs against the EGL library.
|
|
|
|
|
|
|
|
%package -n Mesa-libGL1
|
|
|
|
Summary: The GL/GLX runtime of the Mesa 3D graphics library
|
|
|
|
Group: System/Libraries
|
2015-01-19 14:08:21 +01:00
|
|
|
Requires: Mesa = %{version}
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%description -n Mesa-libGL1
|
|
|
|
Mesa is a software library for 3D computer graphics that provides a
|
|
|
|
generic OpenGL implementation for rendering three-dimensional
|
|
|
|
graphics.
|
|
|
|
|
|
|
|
GLX ("OpenGL Extension to the X Window System") provides the
|
|
|
|
interface connecting OpenGL and the X Window System: it enables
|
|
|
|
programs wishing to use OpenGL to do so within a window provided by
|
|
|
|
the X Window System.
|
|
|
|
|
|
|
|
%package -n Mesa-libGL-devel
|
|
|
|
Summary: GL/GLX development files of the OpenGL API
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-01-19 14:08:21 +01:00
|
|
|
Requires: Mesa-libGL1 = %{version}
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%description -n Mesa-libGL-devel
|
|
|
|
Mesa is a software library for 3D computer graphics that provides a
|
|
|
|
generic OpenGL implementation for rendering three-dimensional
|
|
|
|
graphics.
|
|
|
|
|
|
|
|
This package includes headers and static libraries for compiling
|
|
|
|
programs with Mesa.
|
|
|
|
|
|
|
|
%package -n Mesa-libGLESv1_CM1
|
2012-10-16 10:42:59 +02:00
|
|
|
Summary: Free implementation of the OpenGL|ES 1.x Common Profile API
|
2012-02-21 11:57:47 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n Mesa-libGLESv1_CM1
|
|
|
|
OpenGL|ES is a cross-platform API for full-function 2D and 3D
|
|
|
|
graphics on embedded systems - including consoles, phones, appliances
|
|
|
|
and vehicles. It contains a subset of OpenGL plus a number of
|
|
|
|
extensions for the special needs of embedded systems.
|
|
|
|
|
|
|
|
OpenGL|ES 1.x provides an API for fixed-function hardware.
|
|
|
|
|
|
|
|
%package -n Mesa-libGLESv1_CM-devel
|
2012-10-16 10:42:59 +02:00
|
|
|
Summary: Development files for the OpenGL ES 1.x API
|
2012-02-21 11:57:47 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2015-01-19 14:08:21 +01:00
|
|
|
Requires: Mesa-libGLESv1_CM1 = %{version}
|
2012-02-21 11:57:47 +01:00
|
|
|
Requires: pkgconfig(egl)
|
|
|
|
|
|
|
|
%description -n Mesa-libGLESv1_CM-devel
|
|
|
|
OpenGL|ES is a cross-platform API for full-function 2D and 3D
|
|
|
|
graphics on embedded systems - including consoles, phones, appliances
|
|
|
|
and vehicles. It contains a subset of OpenGL plus a number of
|
|
|
|
extensions for the special needs of embedded systems.
|
|
|
|
|
|
|
|
OpenGL|ES 1.x provides an API for fixed-function hardware.
|
|
|
|
|
|
|
|
This package provides a development environment for building programs
|
|
|
|
using the OpenGL|ES 1.x APIs.
|
|
|
|
|
|
|
|
%package -n Mesa-libGLESv2-2
|
2013-03-13 17:30:13 +01:00
|
|
|
Summary: Free implementation of the OpenGL|ES 2.x API
|
2012-02-21 11:57:47 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n Mesa-libGLESv2-2
|
|
|
|
OpenGL|ES is a cross-platform API for full-function 2D and 3D
|
|
|
|
graphics on embedded systems - including consoles, phones, appliances
|
|
|
|
and vehicles. It contains a subset of OpenGL plus a number of
|
|
|
|
extensions for the special needs of embedded systems.
|
|
|
|
|
|
|
|
OpenGL|ES 2.x provides an API for programmable hardware including
|
|
|
|
vertex and fragment shaders.
|
|
|
|
|
2015-01-19 14:08:21 +01:00
|
|
|
The libGLESv2.so.2 library provides symbols for all OpenGL ES 2 and
|
|
|
|
ES 3 entry points.
|
2014-10-30 14:18:51 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%package -n Mesa-libGLESv2-devel
|
2013-03-13 17:30:13 +01:00
|
|
|
Summary: Development files for the OpenGL ES 2.x API
|
2012-02-21 11:57:47 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2015-01-19 14:08:21 +01:00
|
|
|
Requires: Mesa-libGLESv2-2 = %{version}
|
2012-02-21 11:57:47 +01:00
|
|
|
Requires: pkgconfig(egl)
|
|
|
|
|
|
|
|
%description -n Mesa-libGLESv2-devel
|
|
|
|
OpenGL|ES is a cross-platform API for full-function 2D and 3D
|
|
|
|
graphics on embedded systems - including consoles, phones, appliances
|
|
|
|
and vehicles. It contains a subset of OpenGL plus a number of
|
|
|
|
extensions for the special needs of embedded systems.
|
|
|
|
|
|
|
|
OpenGL|ES 2.x provides an API for programmable hardware including
|
|
|
|
vertex and fragment shaders.
|
|
|
|
|
|
|
|
This package provides a development environment for building
|
2013-03-13 17:30:13 +01:00
|
|
|
applications using the OpenGL|ES 2.x APIs.
|
|
|
|
|
|
|
|
%package -n Mesa-libGLESv3-devel
|
|
|
|
Summary: Development files for the OpenGL ES 3.x API
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-01-19 14:08:21 +01:00
|
|
|
Requires: Mesa-libGLESv2-2 = %{version}
|
2013-03-13 17:30:13 +01:00
|
|
|
Requires: pkgconfig(egl)
|
|
|
|
|
|
|
|
%description -n Mesa-libGLESv3-devel
|
|
|
|
OpenGL|ES is a cross-platform API for full-function 2D and 3D
|
|
|
|
graphics on embedded systems - including consoles, phones, appliances
|
|
|
|
and vehicles. It contains a subset of OpenGL plus a number of
|
|
|
|
extensions for the special needs of embedded systems.
|
|
|
|
|
|
|
|
This package provides a development environment for building
|
|
|
|
applications using the OpenGL|ES 3.x APIs.
|
2012-02-21 11:57:47 +01:00
|
|
|
|
2012-09-03 13:00:50 +02:00
|
|
|
%package -n libOSMesa9
|
2012-02-21 11:57:47 +01:00
|
|
|
Summary: Mesa Off-screen rendering extension
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2012-09-03 13:00:50 +02:00
|
|
|
%description -n libOSMesa9
|
2012-02-21 11:57:47 +01:00
|
|
|
OSmesa is a Mesa extension that allows programs to render to an
|
|
|
|
off-screen buffer using the OpenGL API without having to create a
|
|
|
|
rendering context on an X Server. It uses a pure software renderer.
|
|
|
|
|
2012-08-27 11:57:08 +02:00
|
|
|
%package -n libOSMesa-devel
|
|
|
|
Summary: Development files for the Mesa Offscreen Rendering extension
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-01-19 14:08:21 +01:00
|
|
|
Requires: libOSMesa9 = %{version}
|
2012-08-27 11:57:08 +02:00
|
|
|
|
|
|
|
%description -n libOSMesa-devel
|
|
|
|
Development files for the OSmesa Mesa extension that allows programs to render to an
|
|
|
|
off-screen buffer using the OpenGL API without having to create a
|
|
|
|
rendering context on an X Server. It uses a pure software renderer.
|
|
|
|
|
|
|
|
%package -n Mesa-libglapi0
|
|
|
|
Summary: Free implementation of the GL API
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n Mesa-libglapi0
|
|
|
|
The Mesa GL API module is responsible for dispatching all the gl*
|
|
|
|
functions. It is intended to be mainly used by the Mesa-libGLES*
|
|
|
|
packages.
|
|
|
|
|
|
|
|
%package -n Mesa-libglapi-devel
|
|
|
|
Summary: Development files for the free implementation of the GL API
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-01-19 14:08:21 +01:00
|
|
|
Requires: Mesa-libglapi0 = %{version}
|
2012-08-27 11:57:08 +02:00
|
|
|
|
|
|
|
%description -n Mesa-libglapi-devel
|
2013-07-15 15:37:01 +02:00
|
|
|
Development files for the Mesa GL API module which is responsible for
|
2012-08-27 11:57:08 +02:00
|
|
|
dispatching all the gl* functions. It is intended to be mainly used by
|
|
|
|
the Mesa-libGLES* packages.
|
|
|
|
|
2014-10-27 08:38:50 +01:00
|
|
|
%package -n Mesa-dri-devel
|
|
|
|
Summary: Development files for the DRI API
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-01-19 14:08:21 +01:00
|
|
|
Requires: Mesa = %{version}
|
2014-10-27 08:38:50 +01:00
|
|
|
|
|
|
|
%description -n Mesa-dri-devel
|
|
|
|
This package contains the development environment required for
|
|
|
|
compiling programs and libraries using the DRI API.
|
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%package -n libgbm1
|
|
|
|
Summary: Generic buffer management API
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libgbm1
|
|
|
|
This package contains the GBM buffer management library. It provides
|
|
|
|
a mechanism for allocating buffers for graphics rendering tied to
|
|
|
|
Mesa.
|
|
|
|
|
|
|
|
GBM is intended to be used as a native platform for EGL on drm or
|
|
|
|
openwfd.
|
|
|
|
|
|
|
|
%package -n libgbm-devel
|
|
|
|
Summary: Development files for the EGL API
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-01-19 14:08:21 +01:00
|
|
|
Requires: libgbm1 = %{version}
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%description -n libgbm-devel
|
|
|
|
This package contains the GBM buffer management library. It provides
|
|
|
|
a mechanism for allocating buffers for graphics rendering tied to
|
|
|
|
Mesa.
|
|
|
|
|
|
|
|
GBM is intended to be used as a native platform for EGL on drm or
|
|
|
|
openwfd.
|
|
|
|
|
|
|
|
This package provides the development environment for compiling
|
|
|
|
programs against the GBM library.
|
|
|
|
|
2013-12-02 11:58:33 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-02-04 17:42:19 +01:00
|
|
|
%package -n libwayland-egl1
|
|
|
|
Summary: Additional egl functions for wayland
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libwayland-egl1
|
|
|
|
This package provides additional functions for egl-using programs
|
|
|
|
that run within the wayland framework. This allows for applications
|
|
|
|
that need not run full-screen and cooperate with a compositor.
|
|
|
|
|
2013-03-13 17:30:13 +01:00
|
|
|
%package -n libwayland-egl-devel
|
2013-02-04 17:42:19 +01:00
|
|
|
Summary: Development files for libwayland-egl1
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-01-19 14:08:21 +01:00
|
|
|
Requires: libwayland-egl1 = %{version}
|
2013-02-04 17:42:19 +01:00
|
|
|
|
2013-03-13 17:30:13 +01:00
|
|
|
%description -n libwayland-egl-devel
|
2013-02-04 17:42:19 +01:00
|
|
|
This package is required to link wayland client applications to the EGL
|
|
|
|
implementation of Mesa.
|
|
|
|
%endif
|
|
|
|
|
2013-12-02 11:29:34 +01:00
|
|
|
%package -n libxatracker2
|
2012-04-24 11:10:24 +02:00
|
|
|
Version: 1.0.0
|
|
|
|
Release: 0
|
2015-01-19 14:08:21 +01:00
|
|
|
Summary: XA state tracker
|
|
|
|
Group: System/Libraries
|
2012-04-24 11:10:24 +02:00
|
|
|
|
2013-12-02 11:29:34 +01:00
|
|
|
%description -n libxatracker2
|
2012-04-24 11:10:24 +02:00
|
|
|
This package contains the XA state tracker for gallium3D driver.
|
|
|
|
It superseeds the Xorg state tracker and provides an infrastructure
|
2013-07-15 15:37:01 +02:00
|
|
|
to accelerate Xorg 2D operations. It is currently used by vmwgfx
|
2012-04-24 11:10:24 +02:00
|
|
|
video driver.
|
|
|
|
|
|
|
|
%package -n libxatracker-devel
|
|
|
|
Version: 1.0.0
|
|
|
|
Release: 0
|
2015-01-19 14:08:21 +01:00
|
|
|
Summary: Development files for the XA API
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libxatracker2 = %{version}
|
2012-04-24 11:10:24 +02:00
|
|
|
|
|
|
|
%description -n libxatracker-devel
|
|
|
|
This package contains the XA state tracker for gallium3D driver.
|
|
|
|
It superseeds the Xorg state tracker and provides an infrastructure
|
2013-07-15 15:37:01 +02:00
|
|
|
to accelerate Xorg 2D operations. It is currently used by vmwgfx
|
2012-04-24 11:10:24 +02:00
|
|
|
video driver.
|
|
|
|
|
|
|
|
This package provides the development environment for compiling
|
|
|
|
programs against the XA state tracker.
|
|
|
|
|
2012-06-12 17:58:01 +02:00
|
|
|
%package -n libXvMC_nouveau
|
|
|
|
Summary: XVMC state tracker for Nouveau
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libXvMC_nouveau
|
2012-06-13 16:41:18 +02:00
|
|
|
This package contains the XvMC state tracker for Nouveau. This is
|
|
|
|
still "work in progress", i.e. expect poor video quality, choppy
|
|
|
|
videos and artefacts all over.
|
2012-06-12 17:58:01 +02:00
|
|
|
|
|
|
|
%package -n libXvMC_r600
|
|
|
|
Summary: XVMC state tracker for R600
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libXvMC_r600
|
2013-07-15 15:37:01 +02:00
|
|
|
This package contains the XvMC state tracker for R600. This is
|
2012-06-13 16:41:18 +02:00
|
|
|
still "work in progress", i.e. expect poor video quality, choppy
|
|
|
|
videos and artefacts all over.
|
2012-06-12 17:58:01 +02:00
|
|
|
|
|
|
|
%package -n libvdpau_nouveau
|
|
|
|
Summary: XVMC state tracker for Nouveau
|
|
|
|
Group: System/Libraries
|
2013-10-24 15:15:59 +02:00
|
|
|
Supplements: xf86-video-nouveau
|
2012-06-12 17:58:01 +02:00
|
|
|
|
|
|
|
%description -n libvdpau_nouveau
|
2015-01-19 14:08:21 +01:00
|
|
|
This package contains the VDPAU state tracker for Nouveau.
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2014-12-15 15:28:38 +01:00
|
|
|
%package -n libvdpau_r300
|
|
|
|
Summary: XVMC state tracker for R300
|
|
|
|
Group: System/Libraries
|
|
|
|
Supplements: xf86-video-ati
|
|
|
|
|
|
|
|
%description -n libvdpau_r300
|
2015-01-19 14:08:21 +01:00
|
|
|
This package contains the VDPAU state tracker for R300.
|
2014-12-15 15:28:38 +01:00
|
|
|
|
2012-06-12 17:58:01 +02:00
|
|
|
%package -n libvdpau_r600
|
|
|
|
Summary: XVMC state tracker for R600
|
|
|
|
Group: System/Libraries
|
2013-10-24 15:15:59 +02:00
|
|
|
Supplements: xf86-video-ati
|
2012-06-12 17:58:01 +02:00
|
|
|
|
|
|
|
%description -n libvdpau_r600
|
2015-01-19 14:08:21 +01:00
|
|
|
This package contains the VDPAU state tracker for R600.
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2013-07-15 15:37:01 +02:00
|
|
|
%package -n libvdpau_radeonsi
|
|
|
|
Summary: XVMC state tracker for radeonsi
|
|
|
|
Group: System/Libraries
|
2013-10-24 15:15:59 +02:00
|
|
|
Supplements: xf86-video-ati
|
2012-09-03 13:00:50 +02:00
|
|
|
|
2013-07-15 15:37:01 +02:00
|
|
|
%description -n libvdpau_radeonsi
|
2015-01-19 14:08:21 +01:00
|
|
|
This package contains the VDPAU state tracker for radeonsi.
|
2012-09-03 13:00:50 +02:00
|
|
|
|
2007-01-10 01:57:03 +01:00
|
|
|
%prep
|
2015-01-19 14:08:21 +01:00
|
|
|
%setup -q -n %{name}-%{_version} -b4
|
2010-07-19 13:29:59 +02:00
|
|
|
# remove some docs
|
|
|
|
rm -rf docs/README.{VMS,WIN32,OS2}
|
2014-03-05 11:39:53 +01:00
|
|
|
### disabled, but not dropped yet; these still need investigation in
|
|
|
|
### order to figure out whether the issue is still reproducable and
|
|
|
|
### hence a fix is required
|
- Update to Mesa 8.0.1
* Removed all DRI drivers that did not support DRI2.
Specifically, i810, mach64, mga, r128, savage, sis, tdfx, and
unichrome were removed.
* Removed all remnants of paletted texture support. As required
by desktop OpenGL, GL_COLOR_INDEX data can still be uploaded
to a color (e.g., RGBA) texture. However, the data cannot be
stored internally as color-index.
* Removed support for GL_APPLE_client_storage extension.
* Removed the classic Mesa r300 and r600 drivers, which are
superseded by the gallium drivers for this hardware.
* Removed the dead Gallium i965, cell and failover drivers,
which were either broken and with nobody in sight to fix
the situation or deprecated.
- obsoletes u_GLX-SWrast-Make-GLX-with-SWrast-enabled-work-on-olde.patch
(git commit #63a6fd6603574c1c01324fbeb0863e39d3864c16)
- obsoletes U_Mesa-7.11-llvm3.patch
- obsoletes Mesa-llvm-3.0.patch
- disabled u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch
for now (obsolete as well?)
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=196
2012-02-23 14:38:22 +01:00
|
|
|
#%patch11 -p1
|
2013-09-20 13:57:54 +02:00
|
|
|
#%patch15 -p1
|
|
|
|
#%patch13 -p1
|
2014-03-18 12:29:12 +01:00
|
|
|
###
|
2014-09-29 15:09:39 +02:00
|
|
|
%patch18 -p1
|
2011-09-09 17:37:55 +02:00
|
|
|
|
2007-01-10 01:57:03 +01:00
|
|
|
%build
|
2013-12-02 11:58:33 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-02-04 17:42:19 +01:00
|
|
|
egl_platforms=x11,drm,wayland
|
|
|
|
%else
|
|
|
|
egl_platforms=x11,drm
|
|
|
|
%endif
|
2015-01-19 14:08:21 +01:00
|
|
|
autoreconf -fvi
|
2012-09-03 13:00:50 +02:00
|
|
|
### --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga \
|
2012-09-18 17:44:41 +02:00
|
|
|
### --with-gallium-drivers=r300,r600,nouveau,swrast,svga \
|
2013-03-13 17:30:13 +01:00
|
|
|
### --with-gallium-drivers=r300,nouveau,swrast,svga \
|
2012-04-25 15:39:26 +02:00
|
|
|
%configure --enable-gles1 \
|
2011-06-10 12:03:49 +02:00
|
|
|
--enable-gles2 \
|
2012-08-28 15:09:46 +02:00
|
|
|
--enable-dri \
|
2013-02-04 17:42:19 +01:00
|
|
|
--with-egl-platforms=$egl_platforms \
|
2011-09-21 14:13:27 +02:00
|
|
|
--enable-shared-glapi \
|
2012-04-25 15:39:26 +02:00
|
|
|
--enable-texture-float \
|
2013-09-20 13:57:54 +02:00
|
|
|
--enable-osmesa \
|
Accepting request 251630 from home:tobijk:X11:XOrg
- Update to version 10.3.0 (10.3 Final):
- New features:
+ GL_ARB_ES3_compatibility on nv50, nvc0, r600, radeonsi, softpipe, llvmpipe
+ GL_ARB_clear_texture on i965
+ GL_ARB_compressed_texture_pixel_storage on all drivers
+ GL_ARB_conditional_render_inverted on i965, nvc0, softpipe, llvmpipe
+ GL_ARB_derivative_control on i965, nv50, nvc0, r600
+ GL_ARB_draw_indirect on nvc0, radeonsi
+ GL_ARB_explicit_uniform_location (all drivers that support GLSL)
+ GL_ARB_fragment_layer_viewport on nv50, nvc0, llvmpipe, r600
+ GL_ARB_gpu_shader5 on i965/gen7, nvc0
+ GL_ARB_multi_draw_indirect on nvc0, radeonsi
+ GL_ARB_sample_shading on radeonsi
+ GL_ARB_seamless_cubemap_per_texture on i965, llvmpipe, nvc0, r600, radeonsi, softpipe
+ GL_ARB_stencil_texturing on nv50, nvc0, r600, and radeonsi
+ GL_ARB_texture_barrier on nv50, nvc0, r300, r600, radeonsi
+ GL_ARB_texture_compression_bptc on i965/gen7+, nvc0, r600/evergreen+, radeonsi
+ GL_ARB_texture_cube_map_array on radeonsi
+ GL_ARB_texture_gather on r600, radeonsi
+ GL_ARB_texture_query_levels on nv50, nvc0, llvmpipe, r600, radeonsi, softpipe
+ GL_ARB_texture_query_lod on r600, radeonsi
+ GL_ARB_viewport_array on nvc0
+ GL_AMD_vertex_shader_viewport_index on i965/gen7+, r600
+ GL_OES_compressed_ETC1_RGB8_texture on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe
+ GLX_MESA_query_renderer on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe
+ A new software rasterizer driver (kms_swrast_dri.so) that works with DRM drivers that don't have a full-fledged GEM (such as qxl or simpledrm)
- Changes:
Building of gallium-pipe disabled for now by upstream, see:
http://cgit.freedesktop.org/mesa/mesa/commit/?h=10.3&id=07426ad1029c3505b809dc9eec104007fb623983
Nevertheless keep it around as it may get enabled again.
OBS-URL: https://build.opensuse.org/request/show/251630
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=397
2014-09-23 16:09:36 +02:00
|
|
|
--enable-dri3 \
|
2015-01-19 14:08:21 +01:00
|
|
|
%if %{glamor}
|
2012-05-27 00:31:19 +02:00
|
|
|
--enable-gbm \
|
|
|
|
--enable-glx-tls \
|
2013-07-15 15:37:01 +02:00
|
|
|
%endif
|
2014-08-15 14:43:38 +02:00
|
|
|
%if 0%{?suse_version} < 1315
|
2015-01-19 14:08:21 +01:00
|
|
|
--with-dri-searchpath=%{_libdir}/dri/updates:%{_libdir}/dri \
|
2014-08-15 14:43:38 +02:00
|
|
|
%else
|
2015-01-19 14:08:21 +01:00
|
|
|
--with-dri-searchpath=%{_libdir}/dri \
|
2014-08-15 14:43:38 +02:00
|
|
|
%endif
|
2013-05-08 17:41:45 +02:00
|
|
|
%ifarch %ix86 x86_64
|
2013-03-21 17:53:52 +01:00
|
|
|
--enable-xa \
|
2012-03-22 12:18:14 +01:00
|
|
|
--enable-gallium-llvm \
|
2012-02-24 16:13:15 +01:00
|
|
|
--with-dri-drivers=i915,i965,nouveau,r200,radeon \
|
2013-12-02 11:29:34 +01:00
|
|
|
--enable-opencl-icd \
|
2014-05-05 10:12:09 +02:00
|
|
|
--enable-llvm-shared-libs \
|
2013-07-15 15:37:01 +02:00
|
|
|
--enable-r600-llvm-compiler \
|
|
|
|
--with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga \
|
2012-06-12 17:58:01 +02:00
|
|
|
--enable-vdpau \
|
|
|
|
--enable-xvmc \
|
2010-03-05 02:08:54 +01:00
|
|
|
%endif
|
2014-09-29 15:09:39 +02:00
|
|
|
%ifarch %arm ppc64 ppc64le
|
2013-05-08 17:41:45 +02:00
|
|
|
--enable-xa \
|
|
|
|
--enable-gallium-llvm \
|
|
|
|
--with-dri-drivers=nouveau \
|
2014-01-16 10:39:56 +01:00
|
|
|
%ifarch %arm
|
2014-11-17 11:18:08 +01:00
|
|
|
--with-gallium-drivers=r300,r600,nouveau,swrast,svga,freedreno,vc4 \
|
2014-01-16 10:39:56 +01:00
|
|
|
%else
|
2013-08-13 17:01:11 +02:00
|
|
|
--with-gallium-drivers=r300,r600,nouveau,swrast,svga \
|
2014-01-16 10:39:56 +01:00
|
|
|
%endif
|
2013-05-08 17:41:45 +02:00
|
|
|
--enable-vdpau \
|
|
|
|
--enable-xvmc \
|
|
|
|
%endif
|
2015-01-19 14:08:21 +01:00
|
|
|
%ifarch ia64 ppc hppa
|
2012-02-24 16:13:15 +01:00
|
|
|
--with-dri-drivers=nouveau,r200,radeon \
|
|
|
|
--with-gallium-drivers=r300,r600,nouveau,swrast \
|
2010-07-19 13:29:59 +02:00
|
|
|
%endif
|
2015-01-19 14:08:21 +01:00
|
|
|
%ifarch s390 aarch64
|
2009-08-06 17:44:49 +02:00
|
|
|
--with-dri-drivers=swrast \
|
2011-07-29 12:17:32 +02:00
|
|
|
--with-gallium-drivers="" \
|
2013-09-02 10:52:42 +02:00
|
|
|
%endif
|
|
|
|
%ifarch s390x
|
|
|
|
--enable-xa \
|
|
|
|
--enable-gallium-llvm \
|
|
|
|
--with-dri-drivers=swrast \
|
|
|
|
--with-gallium-drivers=swrast,svga \
|
2008-07-08 22:21:48 +02:00
|
|
|
%endif
|
2015-01-19 14:08:21 +01:00
|
|
|
CFLAGS="%{optflags} -DNDEBUG"
|
2014-03-08 12:27:35 +01:00
|
|
|
make %{?_smp_mflags}
|
2013-12-17 15:00:58 +01:00
|
|
|
|
|
|
|
%install
|
2015-01-19 14:08:21 +01:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2013-07-29 15:54:03 +02:00
|
|
|
|
|
|
|
# Make a symlink to libGL.so.1.2 for compatibility (bnc#809359, bnc#831306)
|
2015-01-19 14:08:21 +01:00
|
|
|
test -f %{buildroot}%{_libdir}/libGL.so.1.2 || \
|
|
|
|
ln -s `readlink %{buildroot}%{_libdir}/libGL.so.1` %{buildroot}%{_libdir}/libGL.so.1.2
|
2013-07-29 15:54:03 +02:00
|
|
|
|
2012-09-03 13:00:50 +02:00
|
|
|
for dir in ../xc/doc/man/{GL/gl,GL/glx}; do
|
2013-07-15 15:37:01 +02:00
|
|
|
pushd $dir
|
|
|
|
xmkmf -a
|
|
|
|
make %{?_smp_mflags}
|
2015-01-19 14:08:21 +01:00
|
|
|
make install.man DESTDIR=%{buildroot} MANPATH=%{_mandir} LIBMANSUFFIX=3gl
|
2013-07-15 15:37:01 +02:00
|
|
|
popd
|
2007-01-10 01:57:03 +01:00
|
|
|
done
|
2014-08-15 14:43:38 +02:00
|
|
|
%if 0%{?suse_version} < 1315
|
2013-07-15 15:37:01 +02:00
|
|
|
#DRI driver update mechanism
|
2015-01-19 14:08:21 +01:00
|
|
|
mkdir -p %{buildroot}%{_libdir}/dri/updates
|
2007-01-10 01:57:03 +01:00
|
|
|
install -m 644 $RPM_SOURCE_DIR/README.updates \
|
2015-01-19 14:08:21 +01:00
|
|
|
%{buildroot}%{_libdir}/dri/updates
|
2014-08-15 14:43:38 +02:00
|
|
|
%endif
|
2013-09-10 17:08:28 +02:00
|
|
|
|
2015-01-19 14:08:21 +01:00
|
|
|
%fdupes -s %{buildroot}/%{_mandir}
|
2007-01-10 01:57:03 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2015-01-19 14:08:21 +01:00
|
|
|
|
2007-01-10 01:57:03 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -n Mesa-libEGL1 -p /sbin/ldconfig
|
2015-01-19 14:08:21 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%postun -n Mesa-libEGL1 -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -n Mesa-libGL1 -p /sbin/ldconfig
|
2015-01-19 14:08:21 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%postun -n Mesa-libGL1 -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -n Mesa-libGLESv1_CM1 -p /sbin/ldconfig
|
2015-01-19 14:08:21 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%postun -n Mesa-libGLESv1_CM1 -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -n Mesa-libGLESv2-2 -p /sbin/ldconfig
|
2015-01-19 14:08:21 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%postun -n Mesa-libGLESv2-2 -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2012-09-03 13:00:50 +02:00
|
|
|
%post -n libOSMesa9 -p /sbin/ldconfig
|
2015-01-19 14:08:21 +01:00
|
|
|
|
2012-09-03 13:00:50 +02:00
|
|
|
%postun -n libOSMesa9 -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -n libgbm1 -p /sbin/ldconfig
|
2015-01-19 14:08:21 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%postun -n libgbm1 -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2014-09-29 15:09:39 +02:00
|
|
|
%ifarch %ix86 x86_64 %arm ppc64 ppc64le s390x
|
2013-12-02 11:29:34 +01:00
|
|
|
%post -n libxatracker2 -p /sbin/ldconfig
|
2015-01-19 14:08:21 +01:00
|
|
|
|
2013-12-02 11:29:34 +01:00
|
|
|
%postun -n libxatracker2 -p /sbin/ldconfig
|
2014-04-01 11:29:15 +02:00
|
|
|
%endif
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2015-01-19 14:08:21 +01:00
|
|
|
%if %{xvmc_support}
|
|
|
|
%post -n libXvMC_nouveau -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libXvMC_nouveau -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libXvMC_r600 -p /sbin/ldconfig
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2015-01-19 14:08:21 +01:00
|
|
|
%postun -n libXvMC_r600 -p /sbin/ldconfig
|
2014-04-01 11:29:15 +02:00
|
|
|
%endif
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2015-01-19 14:08:21 +01:00
|
|
|
%if %{vdpau_radeon}
|
|
|
|
%post -n libvdpau_r300 -p /sbin/ldconfig
|
2014-12-15 15:28:38 +01:00
|
|
|
|
2015-01-19 14:08:21 +01:00
|
|
|
%postun -n libvdpau_r300 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libvdpau_r600 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libvdpau_r600 -p /sbin/ldconfig
|
2014-04-01 11:29:15 +02:00
|
|
|
%endif
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2015-01-19 14:08:21 +01:00
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
%post -n libvdpau_radeonsi -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libvdpau_radeonsi -p /sbin/ldconfig
|
2013-07-15 15:37:01 +02:00
|
|
|
%endif
|
2013-05-08 17:41:45 +02:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -n Mesa-libglapi0 -p /sbin/ldconfig
|
2015-01-19 14:08:21 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%postun -n Mesa-libglapi0 -p /sbin/ldconfig
|
2007-01-10 01:57:03 +01:00
|
|
|
|
2013-12-02 11:58:33 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-02-04 17:42:19 +01:00
|
|
|
%post -n libwayland-egl1 -p /sbin/ldconfig
|
2015-01-19 14:08:21 +01:00
|
|
|
|
2013-02-04 17:42:19 +01:00
|
|
|
%postun -n libwayland-egl1 -p /sbin/ldconfig
|
|
|
|
%endif
|
|
|
|
|
2007-01-10 01:57:03 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-05-27 00:24:09 +02:00
|
|
|
%doc docs/README* docs/COPYING
|
2015-01-19 14:08:21 +01:00
|
|
|
%config %{_sysconfdir}/drirc
|
2010-07-19 13:29:59 +02:00
|
|
|
%{_libdir}/dri/
|
Accepting request 251630 from home:tobijk:X11:XOrg
- Update to version 10.3.0 (10.3 Final):
- New features:
+ GL_ARB_ES3_compatibility on nv50, nvc0, r600, radeonsi, softpipe, llvmpipe
+ GL_ARB_clear_texture on i965
+ GL_ARB_compressed_texture_pixel_storage on all drivers
+ GL_ARB_conditional_render_inverted on i965, nvc0, softpipe, llvmpipe
+ GL_ARB_derivative_control on i965, nv50, nvc0, r600
+ GL_ARB_draw_indirect on nvc0, radeonsi
+ GL_ARB_explicit_uniform_location (all drivers that support GLSL)
+ GL_ARB_fragment_layer_viewport on nv50, nvc0, llvmpipe, r600
+ GL_ARB_gpu_shader5 on i965/gen7, nvc0
+ GL_ARB_multi_draw_indirect on nvc0, radeonsi
+ GL_ARB_sample_shading on radeonsi
+ GL_ARB_seamless_cubemap_per_texture on i965, llvmpipe, nvc0, r600, radeonsi, softpipe
+ GL_ARB_stencil_texturing on nv50, nvc0, r600, and radeonsi
+ GL_ARB_texture_barrier on nv50, nvc0, r300, r600, radeonsi
+ GL_ARB_texture_compression_bptc on i965/gen7+, nvc0, r600/evergreen+, radeonsi
+ GL_ARB_texture_cube_map_array on radeonsi
+ GL_ARB_texture_gather on r600, radeonsi
+ GL_ARB_texture_query_levels on nv50, nvc0, llvmpipe, r600, radeonsi, softpipe
+ GL_ARB_texture_query_lod on r600, radeonsi
+ GL_ARB_viewport_array on nvc0
+ GL_AMD_vertex_shader_viewport_index on i965/gen7+, r600
+ GL_OES_compressed_ETC1_RGB8_texture on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe
+ GLX_MESA_query_renderer on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe
+ A new software rasterizer driver (kms_swrast_dri.so) that works with DRM drivers that don't have a full-fledged GEM (such as qxl or simpledrm)
- Changes:
Building of gallium-pipe disabled for now by upstream, see:
http://cgit.freedesktop.org/mesa/mesa/commit/?h=10.3&id=07426ad1029c3505b809dc9eec104007fb623983
Nevertheless keep it around as it may get enabled again.
OBS-URL: https://build.opensuse.org/request/show/251630
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=397
2014-09-23 16:09:36 +02:00
|
|
|
#%if %gallium_loader
|
|
|
|
#%dir %_libdir/gallium-pipe/
|
|
|
|
#%_libdir/gallium-pipe/pipe_*.so
|
|
|
|
#%endif
|
2007-01-10 01:57:03 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%files -n Mesa-libEGL1
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libEGL.so.1*
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%files -n Mesa-libEGL-devel
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_includedir}/EGL
|
|
|
|
%{_includedir}/KHR
|
|
|
|
%{_libdir}/libEGL.so
|
|
|
|
%{_libdir}/pkgconfig/egl.pc
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%files -n Mesa-libGL1
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libGL.so.1*
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%files -n Mesa-libGL-devel
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%dir %{_includedir}/GL
|
|
|
|
%{_includedir}/GL/*.h
|
|
|
|
%exclude %{_includedir}/GL/osmesa.h
|
|
|
|
%{_libdir}/libGL.so
|
|
|
|
%{_libdir}/pkgconfig/gl.pc
|
|
|
|
%{_mandir}/man3/gl[A-Z]*
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%files -n Mesa-libGLESv1_CM1
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libGLESv1_CM.so.1*
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%files -n Mesa-libGLESv1_CM-devel
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_includedir}/GLES
|
|
|
|
%{_libdir}/libGLESv1_CM.so
|
|
|
|
%{_libdir}/pkgconfig/glesv1_cm.pc
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%files -n Mesa-libGLESv2-2
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libGLESv2.so.2*
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%files -n Mesa-libGLESv2-devel
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_includedir}/GLES2
|
|
|
|
%{_libdir}/libGLESv2.so
|
|
|
|
%{_libdir}/pkgconfig/glesv2.pc
|
2012-02-21 11:57:47 +01:00
|
|
|
|
2013-03-13 17:30:13 +01:00
|
|
|
%files -n Mesa-libGLESv3-devel
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_includedir}/GLES3
|
2013-03-13 17:30:13 +01:00
|
|
|
#%_libdir/libGLESv3.so
|
|
|
|
#%_libdir/pkgconfig/glesv3.pc
|
|
|
|
|
2012-09-03 13:00:50 +02:00
|
|
|
%files -n libOSMesa9
|
2012-02-21 11:57:47 +01:00
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libOSMesa.so.8.0.0
|
|
|
|
%{_libdir}/libOSMesa.so.8
|
2012-08-27 11:57:08 +02:00
|
|
|
|
|
|
|
%files -n libOSMesa-devel
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_includedir}/GL/osmesa.h
|
|
|
|
%{_libdir}/libOSMesa.so
|
|
|
|
%{_libdir}/pkgconfig/osmesa.pc
|
2012-02-21 11:57:47 +01:00
|
|
|
|
2013-12-02 11:58:33 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-02-04 17:42:19 +01:00
|
|
|
%files -n libwayland-egl1
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libwayland-egl.so.1*
|
2013-02-04 17:42:19 +01:00
|
|
|
|
2013-03-13 17:30:13 +01:00
|
|
|
%files -n libwayland-egl-devel
|
2013-02-04 17:42:19 +01:00
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libwayland-egl.so
|
|
|
|
%{_libdir}/pkgconfig/wayland-egl.pc
|
2013-02-04 17:42:19 +01:00
|
|
|
%endif
|
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%files -n libgbm1
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libgbm.so.1*
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%files -n libgbm-devel
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_includedir}/gbm.h
|
|
|
|
%{_libdir}/libgbm.so
|
|
|
|
%{_libdir}/pkgconfig/gbm.pc
|
2012-02-21 11:57:47 +01:00
|
|
|
|
2014-09-29 15:09:39 +02:00
|
|
|
%ifarch %ix86 x86_64 %arm ppc64 ppc64le s390x
|
2013-12-02 11:29:34 +01:00
|
|
|
%files -n libxatracker2
|
2012-04-24 11:10:24 +02:00
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libxatracker.so.2*
|
2012-04-24 11:10:24 +02:00
|
|
|
|
|
|
|
%files -n libxatracker-devel
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_includedir}/xa_*.h
|
|
|
|
%{_libdir}/libxatracker.so
|
|
|
|
%{_libdir}/pkgconfig/xatracker.pc
|
2013-07-26 10:56:04 +02:00
|
|
|
%endif
|
|
|
|
|
2015-01-19 14:08:21 +01:00
|
|
|
%if %{xvmc_support}
|
2012-06-12 17:58:01 +02:00
|
|
|
%files -n libXvMC_nouveau
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libXvMCnouveau.so
|
|
|
|
%{_libdir}/libXvMCnouveau.so.1
|
|
|
|
%{_libdir}/libXvMCnouveau.so.1.0
|
|
|
|
%{_libdir}/libXvMCnouveau.so.1.0.0
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2014-04-01 11:29:15 +02:00
|
|
|
%files -n libXvMC_r600
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libXvMCr600.so
|
|
|
|
%{_libdir}/libXvMCr600.so.1
|
|
|
|
%{_libdir}/libXvMCr600.so.1.0
|
|
|
|
%{_libdir}/libXvMCr600.so.1.0.0
|
2014-04-01 11:29:15 +02:00
|
|
|
%endif
|
|
|
|
|
2015-01-19 14:08:21 +01:00
|
|
|
%if %{vdpau_nouveau}
|
2013-12-06 11:51:38 +01:00
|
|
|
%files -n libvdpau_nouveau
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/vdpau/libvdpau_nouveau.so
|
|
|
|
%{_libdir}/vdpau/libvdpau_nouveau.so.1
|
|
|
|
%{_libdir}/vdpau/libvdpau_nouveau.so.1.0
|
|
|
|
%{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
|
2013-12-06 11:51:38 +01:00
|
|
|
%endif
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2015-01-19 14:08:21 +01:00
|
|
|
%if %{vdpau_radeon}
|
2014-12-15 15:28:38 +01:00
|
|
|
%files -n libvdpau_r300
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/vdpau/libvdpau_r300.so
|
|
|
|
%{_libdir}/vdpau/libvdpau_r300.so.1
|
|
|
|
%{_libdir}/vdpau/libvdpau_r300.so.1.0
|
|
|
|
%{_libdir}/vdpau/libvdpau_r300.so.1.0.0
|
2014-12-15 15:28:38 +01:00
|
|
|
|
2012-06-12 17:58:01 +02:00
|
|
|
%files -n libvdpau_r600
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/vdpau/libvdpau_r600.so
|
|
|
|
%{_libdir}/vdpau/libvdpau_r600.so.1
|
|
|
|
%{_libdir}/vdpau/libvdpau_r600.so.1.0
|
|
|
|
%{_libdir}/vdpau/libvdpau_r600.so.1.0.0
|
2013-09-02 10:52:42 +02:00
|
|
|
%endif
|
|
|
|
|
2015-01-19 14:08:21 +01:00
|
|
|
%ifarch %ix86 x86_64
|
2013-07-15 15:37:01 +02:00
|
|
|
%files -n libvdpau_radeonsi
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/vdpau/libvdpau_radeonsi.so
|
|
|
|
%{_libdir}/vdpau/libvdpau_radeonsi.so.1
|
|
|
|
%{_libdir}/vdpau/libvdpau_radeonsi.so.1.0
|
|
|
|
%{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
|
2013-07-15 15:37:01 +02:00
|
|
|
%endif
|
2012-09-03 13:00:50 +02:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%files -n Mesa-libglapi0
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libglapi.so.0*
|
2012-02-21 11:57:47 +01:00
|
|
|
|
2012-08-27 11:57:08 +02:00
|
|
|
%files -n Mesa-libglapi-devel
|
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_libdir}/libglapi.so
|
2012-08-27 11:57:08 +02:00
|
|
|
|
2014-10-27 08:38:50 +01:00
|
|
|
%files -n Mesa-dri-devel
|
2007-01-10 01:57:03 +01:00
|
|
|
%defattr(-,root,root)
|
2015-01-19 14:08:21 +01:00
|
|
|
%{_includedir}/GL/internal
|
|
|
|
%{_libdir}/pkgconfig/dri.pc
|
2007-01-10 01:57:03 +01:00
|
|
|
|
2014-10-27 08:38:50 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc docs/*.html
|
|
|
|
|
2007-03-15 01:44:44 +01:00
|
|
|
%changelog
|