2009-07-20 21:08:47 +00:00
|
|
|
# S390 doesn't have video cards, but we need swrast for xserver's GLX
|
2007-02-26 17:20:00 +00:00
|
|
|
%ifarch s390 s390x
|
2009-07-20 21:08:47 +00:00
|
|
|
%define with_hardware 0
|
|
|
|
%define dri_drivers --with-dri-drivers=swrast
|
2007-02-26 17:20:00 +00:00
|
|
|
%else
|
2009-07-20 21:08:47 +00:00
|
|
|
%define with_hardware 1
|
2005-09-12 18:27:33 +00:00
|
|
|
%endif
|
2005-09-12 18:26:20 +00:00
|
|
|
|
2008-08-28 12:32:42 +00:00
|
|
|
%define _default_patch_fuzz 2
|
|
|
|
|
2006-09-30 21:32:16 +00:00
|
|
|
%define manpages gl-manpages-1.0.1
|
2011-01-07 06:02:37 +00:00
|
|
|
%define gitdate 20110107
|
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
|
2010-10-20 17:58:16 +00:00
|
|
|
Version: 7.10
|
2011-01-18 11:10:51 +00:00
|
|
|
Release: 0.20%{?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
|
|
|
|
2009-03-22 02:39:21 +00:00
|
|
|
#Source0: http://downloads.sf.net/mesa3d/MesaLib-%{version}.tar.bz2
|
2009-02-08 08:01:38 +00:00
|
|
|
#Source0: http://www.mesa3d.org/beta/MesaLib-%{version}%{?snapshot}.tar.bz2
|
2010-12-15 14:44:35 +00:00
|
|
|
Source0: %{name}-%{gitdate}.tar.xz
|
2009-02-08 08:01:38 +00:00
|
|
|
Source2: %{manpages}.tar.bz2
|
2008-02-15 23:21:58 +00:00
|
|
|
Source3: make-git-snapshot.sh
|
2008-09-29 21:19:22 +00:00
|
|
|
|
2008-09-05 05:48:02 +00:00
|
|
|
Patch2: mesa-7.1-nukeglthread-debug.patch
|
|
|
|
Patch3: mesa-no-mach64.patch
|
2010-11-18 22:06:01 +00:00
|
|
|
Patch4: legacy-drivers.patch
|
2008-02-15 23:21:58 +00:00
|
|
|
|
2010-01-07 00:57:29 +00:00
|
|
|
#Patch7: mesa-7.1-link-shared.patch
|
2009-12-20 23:22:48 +00:00
|
|
|
|
2011-01-08 01:00:01 +00:00
|
|
|
Patch10: mesa-nouveau-libdrm-2_4_24.patch
|
|
|
|
|
2009-08-13 18:57:30 +00:00
|
|
|
Patch30: mesa-7.6-hush-vblank-warning.patch
|
2010-11-11 19:34:20 +00:00
|
|
|
Patch31: mesa-7.10-swrastg.patch
|
2009-07-31 16:20:03 +00:00
|
|
|
|
2010-06-25 08:13:00 +00:00
|
|
|
BuildRequires: pkgconfig autoconf automake libtool
|
2009-07-20 21:08:47 +00:00
|
|
|
%if %{with_hardware}
|
2008-09-05 05:49:33 +00:00
|
|
|
BuildRequires: kernel-headers >= 2.6.27-0.305.rc5.git6
|
2010-05-17 10:11:05 +00:00
|
|
|
BuildRequires: xorg-x11-server-devel
|
2006-03-01 06:16:10 +00:00
|
|
|
%endif
|
2010-06-12 11:28:24 +00:00
|
|
|
BuildRequires: libdrm-devel >= 2.4.21-1
|
2005-09-12 18:27:33 +00:00
|
|
|
BuildRequires: libXxf86vm-devel
|
2007-08-28 13:39:17 +00:00
|
|
|
BuildRequires: expat-devel >= 2.0
|
2010-02-03 00:10:58 +00:00
|
|
|
BuildRequires: xorg-x11-proto-devel >= 7.4-35
|
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
|
2008-10-20 16:04:54 +00:00
|
|
|
BuildRequires: elfutils
|
2010-01-07 00:57:29 +00:00
|
|
|
BuildRequires: python
|
2010-11-01 17:20:21 +00:00
|
|
|
BuildRequires: llvm-static
|
2010-05-29 23:01:25 +00:00
|
|
|
BuildRequires: libxml2-python
|
2010-08-24 08:44:36 +00:00
|
|
|
BuildRequires: libtalloc-devel
|
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
|
2006-06-19 17:36:51 +00:00
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
2005-09-12 18:38:40 +00:00
|
|
|
Provides: libGL
|
2010-06-12 11:28:24 +00:00
|
|
|
Requires: libdrm >= 2.4.21-1
|
2009-07-20 21:08:47 +00:00
|
|
|
%if %{with_hardware}
|
2008-04-01 18:07:48 +00:00
|
|
|
Conflicts: xorg-x11-server-Xorg < 1.4.99.901-14
|
2007-02-26 17:20:00 +00:00
|
|
|
%endif
|
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
|
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
Requires: mesa-dri-drivers%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libdrm >= 2.4.21-1
|
|
|
|
|
|
|
|
%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
|
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
Requires: mesa-dri-drivers%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libdrm >= 2.4.21-1
|
|
|
|
|
|
|
|
%description libGLES
|
|
|
|
Mesa GLES runtime libraries
|
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
|
|
|
|
%description dri-drivers
|
|
|
|
Mesa-based DRI drivers.
|
|
|
|
|
2011-01-18 04:08:44 +00:00
|
|
|
%package dri-drivers-dri1
|
|
|
|
Summary: Mesa-based DRI1 drivers
|
|
|
|
Group: User Interface/X Hardware Support
|
|
|
|
%description dri-drivers-dri1
|
|
|
|
Mesa-based DRI1 drivers.
|
2007-02-20 17:56:21 +00:00
|
|
|
|
2009-08-13 18:57:30 +00:00
|
|
|
%package dri-drivers-experimental
|
|
|
|
Summary: Mesa-based DRI drivers (experimental)
|
|
|
|
Group: User Interface/X Hardware Support
|
|
|
|
%description dri-drivers-experimental
|
|
|
|
Mesa-based DRI drivers (experimental).
|
|
|
|
|
|
|
|
|
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}
|
2005-12-21 12:20:57 +00:00
|
|
|
Requires: libX11-devel
|
2005-09-12 18:38:40 +00:00
|
|
|
Provides: libGL-devel
|
2007-07-24 19:56:47 +00:00
|
|
|
Conflicts: xorg-x11-proto-devel <= 7.2-12
|
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}
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%package libGLU
|
|
|
|
Summary: Mesa libGLU runtime library
|
|
|
|
Group: System Environment/Libraries
|
2006-06-19 17:36:51 +00:00
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
2005-09-12 18:38:40 +00:00
|
|
|
Provides: libGLU
|
2005-09-12 18:26:20 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%description libGLU
|
|
|
|
Mesa libGLU runtime library
|
2007-02-20 17:56:21 +00:00
|
|
|
|
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%package libGLU-devel
|
|
|
|
Summary: Mesa libGLU development package
|
|
|
|
Group: Development/Libraries
|
2005-12-19 06:55:42 +00:00
|
|
|
Requires: mesa-libGLU = %{version}-%{release}
|
2005-12-21 12:20:57 +00:00
|
|
|
Requires: libGL-devel
|
2005-09-12 18:38:40 +00:00
|
|
|
Provides: libGLU-devel
|
2005-09-12 18:26:20 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%description libGLU-devel
|
|
|
|
Mesa libGLU development package
|
2006-08-18 19:52:19 +00:00
|
|
|
|
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
|
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
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
|
|
|
|
2009-12-21 03:04:43 +00:00
|
|
|
%package -n xorg-x11-drv-vmwgfx
|
|
|
|
Summary: VMware GFX DDX driver
|
|
|
|
Group: User Interface/X Hardware Support
|
2010-11-11 19:34:20 +00:00
|
|
|
Requires: Xorg %(xserver-sdk-abi-requires ansic) %(xserver-sdk-abi-requires videodrv)
|
2009-12-21 03:04:43 +00:00
|
|
|
|
|
|
|
%description -n xorg-x11-drv-vmwgfx
|
|
|
|
2D driver for VMware SVGA vGPU
|
2007-07-10 17:25:15 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%prep
|
2010-10-28 10:36:12 +00:00
|
|
|
#setup -q -n mesa-%{version}%{?snapshot} -b0 -b2
|
|
|
|
%setup -q -n mesa-%{gitdate} -b2
|
2010-06-12 10:36:47 +00:00
|
|
|
%patch2 -p1 -b .intel-glthread
|
2009-07-23 02:15:27 +00:00
|
|
|
%patch3 -p1 -b .no-mach64
|
2010-11-18 22:06:01 +00:00
|
|
|
%patch4 -p1 -b .classic
|
|
|
|
#patch7 -p1 -b .dricore
|
2011-01-08 01:00:01 +00:00
|
|
|
%patch10 -p1 -b .nv-libdrm
|
2009-08-13 18:57:30 +00:00
|
|
|
%patch30 -p1 -b .vblank-warning
|
2010-11-18 22:06:01 +00:00
|
|
|
#patch31 -p1 -b .swrastg
|
2005-09-12 18:38:19 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%build
|
2008-02-15 23:44:57 +00:00
|
|
|
|
2008-12-20 07:07:13 +00:00
|
|
|
autoreconf --install
|
2008-02-15 23:21:58 +00:00
|
|
|
|
2010-11-18 22:06:01 +00:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-omit-frame-pointer"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-omit-frame-pointer"
|
2009-08-06 18:04:05 +00:00
|
|
|
%ifarch %{ix86}
|
|
|
|
# i do not have words for how much the assembly dispatch code infuriates me
|
|
|
|
%define common_flags --enable-selinux --enable-pic --disable-asm
|
|
|
|
%else
|
2009-02-24 16:54:44 +00:00
|
|
|
%define common_flags --enable-selinux --enable-pic
|
2009-08-06 18:04:05 +00:00
|
|
|
%endif
|
2009-12-20 23:53:09 +00:00
|
|
|
%define osmesa_flags --with-driver=osmesa %{common_flags} --disable-gallium --with-dri-drivers="" --disable-glu --disable-egl
|
2008-04-10 18:20:31 +00:00
|
|
|
|
2010-10-20 17:58:16 +00:00
|
|
|
# first, build osmesa.
|
2009-02-24 16:54:44 +00:00
|
|
|
|
|
|
|
%configure %{osmesa_flags} --with-osmesa-bits=8
|
2009-12-20 23:53:09 +00:00
|
|
|
make %{_smp_mflags}
|
2008-02-15 23:56:54 +00:00
|
|
|
mv %{_lib} osmesa8
|
2008-02-15 23:21:58 +00:00
|
|
|
make clean
|
|
|
|
|
|
|
|
# just to be sure...
|
2008-10-14 13:31:18 +00:00
|
|
|
[ `find . -name \*.o | wc -l` -eq 0 ] || exit 1
|
2008-02-15 23:21:58 +00:00
|
|
|
|
|
|
|
# now build the rest of mesa
|
2009-02-24 16:54:44 +00:00
|
|
|
%configure %{common_flags} \
|
2008-02-15 23:21:58 +00:00
|
|
|
--disable-glw \
|
|
|
|
--disable-glut \
|
|
|
|
--disable-gl-osmesa \
|
2009-07-20 21:08:47 +00:00
|
|
|
--with-driver=dri \
|
|
|
|
--with-dri-driverdir=%{_libdir}/dri \
|
2010-12-06 21:20:02 +00:00
|
|
|
--with-state-trackers=dri,glx \
|
2010-11-05 16:41:50 +00:00
|
|
|
--enable-egl \
|
|
|
|
--enable-gles1 \
|
|
|
|
--enable-gles2 \
|
2010-08-24 08:44:36 +00:00
|
|
|
--enable-gallium-llvm \
|
2010-06-25 08:13:00 +00:00
|
|
|
%if %{with_hardware}
|
2010-05-29 22:52:50 +00:00
|
|
|
--disable-gallium-intel \
|
|
|
|
--disable-gallium-svga \
|
2010-12-02 21:34:08 +00:00
|
|
|
--disable-gallium-egl \
|
2010-05-29 22:52:50 +00:00
|
|
|
--enable-gallium-radeon \
|
2010-11-09 05:17:43 +00:00
|
|
|
--enable-gallium-r600 \
|
2010-02-03 00:10:58 +00:00
|
|
|
--enable-gallium-nouveau \
|
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
|
|
|
|
2010-05-29 22:52:50 +00:00
|
|
|
make %{?_smp_mflags}
|
2006-09-29 19:07:15 +00:00
|
|
|
|
2008-02-15 23:21:58 +00:00
|
|
|
pushd ../%{manpages}
|
2009-08-13 18:57:30 +00:00
|
|
|
autoreconf -v --install
|
2006-09-30 18:04:34 +00:00
|
|
|
%configure
|
2007-02-20 17:56:21 +00:00
|
|
|
make %{?_smp_mflags}
|
2006-09-30 18:04:34 +00:00
|
|
|
popd
|
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-08-30 07:06:22 +00:00
|
|
|
|
2008-02-15 23:21:58 +00:00
|
|
|
# core libs and headers, but not drivers.
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT DRI_DIRS=
|
2006-08-30 07:06:22 +00:00
|
|
|
|
2008-02-15 23:21:58 +00:00
|
|
|
# just the DRI drivers that are sane
|
|
|
|
install -d $RPM_BUILD_ROOT%{_libdir}/dri
|
2010-01-07 02:00:08 +00:00
|
|
|
#install -m 0755 -t $RPM_BUILD_ROOT%{_libdir}/dri %{_lib}/libdricore.so >& /dev/null
|
2010-11-18 22:06:01 +00:00
|
|
|
# use gallium driver iff built
|
2010-11-03 07:03:48 +00:00
|
|
|
[ -f %{_lib}/gallium/r300_dri.so ] && cp %{_lib}/gallium/r300_dri.so %{_lib}/r300_dri.so
|
2010-11-09 05:17:43 +00:00
|
|
|
[ -f %{_lib}/gallium/r600_dri.so ] && cp %{_lib}/gallium/r600_dri.so %{_lib}/r600_dri.so
|
2010-11-18 22:06:01 +00:00
|
|
|
[ -f %{_lib}/gallium/swrastg_dri.so ] && mv %{_lib}/gallium/swrastg_dri.so %{_lib}/swrast_dri.so
|
2011-01-18 23:30:44 +00:00
|
|
|
|
|
|
|
%if %{with_hardware}
|
|
|
|
DRIVERS="i810 i915 i965 mach64 mga r128 r200 r300 r600 radeon savage sis swrast tdfx unichrome nouveau_vieux gallium/vmwgfx"
|
|
|
|
%else
|
|
|
|
DRIVERS=swrast
|
|
|
|
%endif
|
|
|
|
for f in $DRIVERS ; do
|
2008-02-21 02:31:49 +00:00
|
|
|
so=%{_lib}/${f}_dri.so
|
2008-02-15 23:21:58 +00:00
|
|
|
test -e $so && echo $so
|
|
|
|
done | xargs install -m 0755 -t $RPM_BUILD_ROOT%{_libdir}/dri >& /dev/null || :
|
2006-09-19 19:51:19 +00:00
|
|
|
|
2008-02-15 23:21:58 +00:00
|
|
|
# strip out undesirable headers
|
|
|
|
pushd $RPM_BUILD_ROOT%{_includedir}/GL
|
2010-06-12 20:36:13 +00:00
|
|
|
rm [a-fh-np-wyz]*.h glf*.h glut*.h
|
2009-03-22 02:39:21 +00:00
|
|
|
popd
|
|
|
|
|
|
|
|
pushd $RPM_BUILD_ROOT%{_libdir}
|
2010-05-29 22:52:50 +00:00
|
|
|
rm -f xorg/modules/drivers/modesetting_drv.so
|
2008-02-15 23:21:58 +00:00
|
|
|
popd
|
2006-09-19 19:51:19 +00:00
|
|
|
|
2008-02-15 23:21:58 +00:00
|
|
|
# and osmesa
|
2009-12-21 00:13:57 +00:00
|
|
|
mv osmesa*/libOS* $RPM_BUILD_ROOT%{_libdir}
|
2005-09-12 18:27:33 +00:00
|
|
|
|
2008-02-15 23:21:58 +00:00
|
|
|
# man pages
|
|
|
|
pushd ../%{manpages}
|
|
|
|
make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT
|
2006-09-30 20:08:54 +00:00
|
|
|
popd
|
2006-09-29 03:05:58 +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
|
|
|
|
%post libGLU -p /sbin/ldconfig
|
|
|
|
%postun libGLU -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
|
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
|
|
|
%{_libdir}/egl/egl_glx.so
|
|
|
|
%{_libdir}/egl/egl_dri2.so
|
|
|
|
|
|
|
|
%files libGLES
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc docs/COPYING
|
2010-11-05 16:41:50 +00:00
|
|
|
%{_libdir}/libGLESv1_CM.so.1
|
|
|
|
%{_libdir}/libGLESv1_CM.so.1.*
|
|
|
|
%{_libdir}/libGLESv2.so.2
|
|
|
|
%{_libdir}/libGLESv2.so.2.*
|
|
|
|
|
2008-07-02 12:35:05 +00:00
|
|
|
%files dri-drivers
|
2009-02-21 21:56:30 +00:00
|
|
|
%defattr(-,root,root,-)
|
2010-07-08 14:55:58 +00:00
|
|
|
%doc docs/COPYING
|
2005-09-12 18:36:48 +00:00
|
|
|
%dir %{_libdir}/dri
|
2010-06-25 08:13:00 +00:00
|
|
|
%if %{with_hardware}
|
2011-01-18 04:08:44 +00:00
|
|
|
%{_libdir}/dri/radeon_dri.so
|
|
|
|
%{_libdir}/dri/r200_dri.so
|
2011-01-18 23:30:44 +00:00
|
|
|
%{_libdir}/dri/r300_dri.so
|
2011-01-18 04:08:44 +00:00
|
|
|
%{_libdir}/dri/r600_dri.so
|
|
|
|
%{_libdir}/dri/i915_dri.so
|
|
|
|
%{_libdir}/dri/i965_dri.so
|
|
|
|
%endif
|
|
|
|
%{_libdir}/dri/swrast_dri.so
|
|
|
|
%exclude %{_libdir}/dri/swrastg_dri.so
|
|
|
|
|
|
|
|
%files dri-drivers-dri1
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc docs/COPYING
|
2011-01-18 11:10:51 +00:00
|
|
|
%if %{with_hardware}
|
2011-01-18 04:08:44 +00:00
|
|
|
%ifarch i686
|
|
|
|
%{_libdir}/dri/i810_dri.so
|
|
|
|
%{_libdir}/dri/sis_dri.so
|
2010-06-25 08:13:00 +00:00
|
|
|
%endif
|
2011-01-18 04:08:44 +00:00
|
|
|
%{_libdir}/dri/mga_dri.so
|
|
|
|
%{_libdir}/dri/r128_dri.so
|
|
|
|
%{_libdir}/dri/savage_dri.so
|
|
|
|
%{_libdir}/dri/tdfx_dri.so
|
|
|
|
%{_libdir}/dri/unichrome_dri.so
|
2011-01-18 11:10:51 +00:00
|
|
|
%endif
|
2009-08-13 18:57:30 +00:00
|
|
|
|
|
|
|
%files dri-drivers-experimental
|
|
|
|
%defattr(-,root,root,-)
|
2010-07-08 14:55:58 +00:00
|
|
|
%doc docs/COPYING
|
2010-11-02 19:38:12 +00:00
|
|
|
%if %{with_hardware}
|
2010-05-29 22:52:50 +00:00
|
|
|
#{_libdir}/dri/vmwgfx_dri.so
|
2010-02-03 00:10:58 +00:00
|
|
|
%{_libdir}/dri/nouveau_dri.so
|
2010-02-08 05:33:35 +00:00
|
|
|
%{_libdir}/dri/nouveau_vieux_dri.so
|
2010-06-25 08:13:00 +00:00
|
|
|
%endif
|
2005-09-12 18:27:33 +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
|
2008-02-15 23:21:58 +00:00
|
|
|
%{_libdir}/pkgconfig/gl.pc
|
|
|
|
%{_datadir}/man/man3/gl[^uX]*.3gl*
|
|
|
|
%{_datadir}/man/man3/glX*.3gl*
|
2005-09-12 18:27:33 +00:00
|
|
|
|
2010-11-05 16:41:50 +00:00
|
|
|
%files libEGL-devel
|
|
|
|
%defattr(-,root,root,-)
|
2010-11-05 18:27:39 +00:00
|
|
|
%{_includedir}/EGL/eglext.h
|
|
|
|
%{_includedir}/EGL/egl.h
|
|
|
|
%{_includedir}/EGL/eglplatform.h
|
|
|
|
%{_includedir}/KHR/khrplatform.h
|
|
|
|
%{_libdir}/pkgconfig/egl.pc
|
|
|
|
%{_libdir}/libEGL.so
|
|
|
|
|
|
|
|
%files libGLES-devel
|
|
|
|
%defattr(-,root,root,-)
|
2010-11-05 16:41:50 +00:00
|
|
|
%{_includedir}/GLES/egl.h
|
|
|
|
%{_includedir}/GLES/gl.h
|
|
|
|
%{_includedir}/GLES/glext.h
|
|
|
|
%{_includedir}/GLES/glplatform.h
|
|
|
|
%{_includedir}/GLES2/gl2platform.h
|
|
|
|
%{_includedir}/GLES2/gl2.h
|
|
|
|
%{_includedir}/GLES2/gl2ext.h
|
2010-11-05 17:59:30 +00:00
|
|
|
%{_libdir}/pkgconfig/glesv1_cm.pc
|
2010-11-05 16:41:50 +00:00
|
|
|
%{_libdir}/pkgconfig/glesv2.pc
|
2010-11-05 18:27:39 +00:00
|
|
|
%{_libdir}/libGLESv1_CM.so
|
|
|
|
%{_libdir}/libGLESv2.so
|
2010-11-05 16:41:50 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%files libGLU
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libGLU.so.1
|
2006-04-02 06:13:56 +00:00
|
|
|
%{_libdir}/libGLU.so.1.3.*
|
2005-09-12 18:27:33 +00:00
|
|
|
|
2006-09-30 18:04:34 +00:00
|
|
|
%files libGLU-devel
|
2005-09-12 18:27:33 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libGLU.so
|
2008-02-15 23:21:58 +00:00
|
|
|
%{_libdir}/pkgconfig/glu.pc
|
2005-09-12 18:27:33 +00:00
|
|
|
%{_includedir}/GL/glu.h
|
|
|
|
%{_includedir}/GL/glu_mangle.h
|
2008-02-15 23:21:58 +00:00
|
|
|
%{_datadir}/man/man3/glu*.3gl*
|
2005-09-12 18:27:33 +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
|
2010-10-20 17:58:16 +00:00
|
|
|
%{_libdir}/libOSMesa.so.7*
|
2006-08-18 19:52:19 +00:00
|
|
|
|
|
|
|
%files libOSMesa-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/GL/osmesa.h
|
|
|
|
%{_libdir}/libOSMesa.so
|
|
|
|
|
2005-09-12 18:26:20 +00:00
|
|
|
%changelog
|
2011-01-18 23:30:44 +00:00
|
|
|
* Tue Jan 18 2011 Adam Jackson <ajax@redhat.com>
|
|
|
|
- That's nice, but you can't possibly attach an r300 to an s390. Install only
|
|
|
|
swrast when !with_hardware.
|
|
|
|
|
2011-01-18 11:10:51 +00:00
|
|
|
* Tue Jan 18 2011 Dan Horák <dan[at]danny.cz> 7.10-0.20
|
|
|
|
- updated for s390(x), r300 is really built even when with_hardware == 0
|
|
|
|
|
2011-01-18 04:08:44 +00:00
|
|
|
* Tue Jan 18 2011 Dave Airlie <airlied@redhat.com> 7.10-0.19
|
|
|
|
- split out DRI1 drivers to reduce package size.
|
|
|
|
|
2011-01-07 06:02:37 +00:00
|
|
|
* Fri Jan 07 2011 Dave Airlie <airlied@redhat.com> 7.10-0.18
|
|
|
|
- new snapshot from 7.10 branch (include Radeon HD6xxx support)
|
|
|
|
|
2010-12-16 08:22:18 +00:00
|
|
|
* Thu Dec 16 2010 Dave Airlie <airlied@redhat.com> 7.10-0.17
|
|
|
|
- new snapshot from 7.10 branch
|
|
|
|
|
2010-12-15 14:44:35 +00:00
|
|
|
* Wed Dec 15 2010 Adam Jackson <ajax@redhat.com> 7.10-0.16
|
|
|
|
- Today's (yesterday's) git snap.
|
|
|
|
- Switch the sourceball to xz.
|
|
|
|
|
2010-12-06 21:20:02 +00:00
|
|
|
* Mon Dec 06 2010 Adam Jackson <ajax@redhat.com> 7.10-0.15
|
|
|
|
- Really disable gallium EGL. Requires disabling OpenVG due to buildsystem
|
|
|
|
nonsense. Someone fix that someday. (Patch from krh)
|
|
|
|
|
2010-12-02 21:34:08 +00:00
|
|
|
* Thu Dec 02 2010 Adam Jackson <ajax@redhat.com> 7.10-0.14
|
|
|
|
- --disable-gallium-egl
|
|
|
|
|
2010-12-01 21:21:53 +00:00
|
|
|
* Wed Dec 01 2010 Dan Horák <dan[at]danny.cz> 7.10-0.13
|
|
|
|
- workaround failing build on s390(x)
|
|
|
|
|
2010-11-29 22:54:34 +00:00
|
|
|
* Mon Nov 29 2010 Adam Jackson <ajax@redhat.com> 7.10-0.12
|
|
|
|
- Today's git snap.
|
|
|
|
|
2010-11-18 22:06:01 +00:00
|
|
|
* Thu Nov 18 2010 Adam Jackson <ajax@redhat.com> 7.10-0.11
|
|
|
|
- Today's git snap.
|
|
|
|
- Build with -fno-omit-frame-pointer for profiling.
|
|
|
|
- Install swrastg as the swrast driver.
|
|
|
|
- legacy-drivers.patch: Disable swrast classic.
|
|
|
|
|
2010-11-15 16:20:01 +00:00
|
|
|
* Mon Nov 15 2010 Adam Jackson <ajax@redhat.com>
|
|
|
|
- Drop Requires: mesa-dri-drivers from -experimental, not needed in a non-
|
|
|
|
dricore build.
|
|
|
|
- Drop Requires: mesa-dri-drivers from -libGL, let comps do that.
|
|
|
|
|
2010-11-11 19:34:20 +00:00
|
|
|
* Thu Nov 11 2010 Adam Jackson <ajax@redhat.com> 7.10-0.10
|
|
|
|
- Build libOpenVG too
|
|
|
|
- Add X driver ABI magic for vmwgfx
|
|
|
|
- Linker script hack for swrastg to make it slightly less offensively huge
|
|
|
|
|
2010-11-09 05:17:43 +00:00
|
|
|
* Mon Nov 08 2010 Dave Airlie <airlied@redhat.com> 7.10-0.9
|
|
|
|
- update to latest git snap + enable r600g by default
|
|
|
|
|
2010-11-05 18:48:24 +00:00
|
|
|
* Sat Nov 06 2010 Dave Airlie <airlied@redhat.com> 7.10-0.8
|
|
|
|
- enable EGL/GLES
|
|
|
|
|
2010-11-03 07:03:48 +00:00
|
|
|
* Wed Nov 03 2010 Dave Airlie <airlied@redhat.com> 7.10-0.7
|
|
|
|
- fix r300g selection
|
|
|
|
|
2010-11-02 19:38:12 +00:00
|
|
|
* Tue Nov 02 2010 Adam Jackson <ajax@redhat.com> 7.10-0.6
|
|
|
|
- Use standard CFLAGS
|
|
|
|
- Move swrastg_dri to -experimental
|
|
|
|
|
2010-11-01 17:20:21 +00:00
|
|
|
* Mon Nov 01 2010 Adam Jackson <ajax@redhat.com> 7.10-0.5
|
|
|
|
- BR: llvm-static not llvm-devel (#627965)
|
|
|
|
|
2010-10-28 14:54:02 +00:00
|
|
|
* Thu Oct 28 2010 Adam Jackson <ajax@redhat.com> 7.10-0.4
|
|
|
|
- -dri-drivers-experimental Requires dri-drivers (#556789)
|
|
|
|
|
2010-10-28 10:36:12 +00:00
|
|
|
* Thu Oct 28 2010 Adam Jackson <ajax@redhat.com> 7.10-0.3
|
|
|
|
- Drop demos and glx-utils subpackages, they have their own source package
|
|
|
|
now. (#605719)
|
|
|
|
|
2010-10-20 20:28:35 +00:00
|
|
|
* Wed Oct 20 2010 Adam Jackson <ajax@redhat.com> 7.10-0.2
|
|
|
|
- git snapshot, fixes osmesa linking issues
|
|
|
|
|
2010-10-20 17:58:16 +00:00
|
|
|
* Wed Oct 20 2010 Adam Jackson <ajax@redhat.com> 7.10-0.1
|
|
|
|
- git snapshot
|
|
|
|
- Drop osmesa16 and osmesa32, nothing's using them
|
|
|
|
|
2010-08-24 08:44:36 +00:00
|
|
|
* Tue Aug 24 2010 Dave Airlie <airlied@redhat.com> 7.9-0.7
|
|
|
|
- latest git snapshot - enable talloc/llvm links
|
|
|
|
|
2010-07-20 05:21:47 +00:00
|
|
|
* Tue Jul 20 2010 Dave Airlie <airlied@redhat.com> 7.9-0.6
|
|
|
|
- snapshot latest git
|
|
|
|
|
2010-07-08 23:41:15 +00:00
|
|
|
* Fri Jul 09 2010 Dave Airlie <airlied@redhat.com> 7.9-0.5
|
|
|
|
- resnapshot latest git
|
|
|
|
|
2010-07-08 14:55:58 +00:00
|
|
|
* Thu Jul 08 2010 Adam Jackson <ajax@redhat.com> 7.9-0.4
|
|
|
|
- Install COPYING like we ought to.
|
|
|
|
|
2010-06-25 08:13:00 +00:00
|
|
|
* Thu Jun 24 2010 Dan Horák <dan[at]danny.cz> 7.9-0.3
|
|
|
|
- add libtool (needed by mesa-demos) to BR: - normally it's brought via
|
|
|
|
xorg-x11-util-macros and xorg-x11-server-devel, but not on platforms
|
|
|
|
without hardware drivers
|
|
|
|
- build gallium drivers and the dri-drivers-experimental subpackage only
|
|
|
|
when hardware drivers are requested
|
|
|
|
|
2010-06-12 10:36:47 +00:00
|
|
|
* Sat Jun 12 2010 Dave Airlie <airlied@redhat.com> 7.9-0.2
|
|
|
|
- rebase to git snapshot with TFP fixes for r300 + gallium - enable r300g
|
|
|
|
|
2010-05-29 22:52:50 +00:00
|
|
|
* Sun May 30 2010 Dave Airlie <airlied@redhat.com> 7.9-0.1
|
|
|
|
- rebase to a git snapshot - disable vmwgfx
|
|
|
|
|
2010-02-08 06:14:40 +00:00
|
|
|
* Mon Feb 08 2010 Ben Skeggs <bskeggs@redhat.com> 7.8-0.16
|
|
|
|
- patch mesa to enable legacy nouveau driver build on i386
|
|
|
|
|
2010-02-08 05:33:35 +00:00
|
|
|
* Mon Feb 08 2010 Ben Skeggs <bskeggs@redhat.com> 7.8-0.15
|
|
|
|
- rebase for legacy nouveau drivers
|
|
|
|
|
2010-02-03 22:02:36 +00:00
|
|
|
* Thu Feb 04 2010 Dave Airlie <airlied@redhat.com> 7.8-0.14
|
|
|
|
- rebase again to fix r300
|
|
|
|
|
2010-02-03 00:10:58 +00:00
|
|
|
* Wed Feb 03 2010 Dave Airlie <airlied@redhat.com> 7.8-0.13
|
|
|
|
- update dri2proto requirement
|
|
|
|
- add nouveau to experimental drivers set
|
|
|
|
|
2010-01-27 04:14:39 +00:00
|
|
|
* Wed Jan 27 2010 Dave Airlie <airlied@redhat.com> 7.8-0.12
|
|
|
|
- Fix radeon colors for rawhide
|
|
|
|
|
2010-01-21 01:39:48 +00:00
|
|
|
* Thu Jan 21 2010 Dave Airlie <airlied@redhat.com> 7.8-0.11
|
|
|
|
- rebase for new DRI2 API
|
|
|
|
|
2010-01-08 04:42:59 +00:00
|
|
|
* Fri Jan 08 2010 Dave Airlie <airlied@redhat.com> 7.8-0.10
|
|
|
|
- rebase to new snapshot with fix for radeon in it
|
|
|
|
|
2010-01-07 00:57:29 +00:00
|
|
|
* Thu Jan 07 2010 Dave Airlie <airlied@redhat.com> 7.8-0.9
|
|
|
|
- Disable dricore for now as it conflicts with upstream vis changes
|
|
|
|
|
|
|
|
* Wed Jan 06 2010 Dave Airlie <airlied@redhat.com> 7.8-0.8
|
|
|
|
- update to latest snapshot and fixup build
|