|
|
e0b8e0d |
# S390 doesn't have video cards, but we need swrast for xserver's GLX
|
|
|
d916aa2 |
%ifarch s390 s390x
|
|
|
e0b8e0d |
%define with_hardware 0
|
|
|
e0b8e0d |
%define dri_drivers --with-dri-drivers=swrast
|
|
|
d916aa2 |
%else
|
|
|
e0b8e0d |
%define with_hardware 1
|
|
mharris |
36252a7 |
%endif
|
|
mharris |
4d75a60 |
|
|
|
7d1f13d |
# broken atm, sorry. fix before any f15 merge.
|
|
|
7d1f13d |
%define with_llvmcore 1
|
|
|
7d1f13d |
|
|
|
249ba36 |
%define _default_patch_fuzz 2
|
|
|
249ba36 |
|
|
sandmann |
5320c2a |
%define manpages gl-manpages-1.0.1
|
|
|
93e1adb |
%define gitdate 20110412
|
|
|
764f362 |
#% define snapshot
|
|
sandmann |
5320c2a |
|
|
mharris |
c94a186 |
Summary: Mesa graphics libraries
|
|
mharris |
36252a7 |
Name: mesa
|
|
|
7d1f13d |
Version: 7.11
|
|
|
93e1adb |
Release: 0.6.%{gitdate}.0%{?dist}
|
|
|
95e3dd9 |
License: MIT
|
|
mharris |
4d75a60 |
Group: System Environment/Libraries
|
|
mharris |
36252a7 |
URL: http://www.mesa3d.org
|
|
mharris |
8f17530 |
|
|
|
6db4be1 |
#Source0: http://downloads.sf.net/mesa3d/MesaLib-%{version}.tar.bz2
|
|
|
764f362 |
#Source0: http://www.mesa3d.org/beta/MesaLib-%{version}%{?snapshot}.tar.bz2
|
|
|
7d1f13d |
#Source0: ftp://ftp.freedesktop.org/pub/%{name}/%{version}/MesaLib-%{version}.tar.bz2
|
|
|
7d1f13d |
Source0: %{name}-%{gitdate}.tar.xz
|
|
|
764f362 |
Source2: %{manpages}.tar.bz2
|
|
|
cfe4e41 |
Source3: make-git-snapshot.sh
|
|
|
55ddc65 |
Source4: llvmcore.mk
|
|
|
dfb4c30 |
|
|
|
520a428 |
Patch1: mesa-nouveau-fix-build.patch
|
|
|
7cf755a |
Patch2: mesa-7.1-nukeglthread-debug.patch
|
|
|
7cf755a |
Patch3: mesa-no-mach64.patch
|
|
|
f906792 |
Patch4: legacy-drivers.patch
|
|
|
cfe4e41 |
|
|
|
1e93fee |
#Patch7: mesa-7.1-link-shared.patch
|
|
|
55ddc65 |
Patch8: mesa-7.10-llvmcore.patch
|
|
|
2b04ed9 |
|
|
|
d6af41d |
Patch30: mesa-7.6-hush-vblank-warning.patch
|
|
|
e8cb8d9 |
Patch31: mesa-7.10-swrastg.patch
|
|
Kristian Høgsberg |
00ee705 |
|
|
|
24a42a4 |
BuildRequires: pkgconfig autoconf automake libtool
|
|
|
e0b8e0d |
%if %{with_hardware}
|
|
|
eae7188 |
BuildRequires: kernel-headers >= 2.6.27-0.305.rc5.git6
|
|
|
2574f3f |
BuildRequires: xorg-x11-server-devel
|
|
mharris |
359440a |
%endif
|
|
|
7d1f13d |
BuildRequires: libdrm-devel >= 2.4.24-1
|
|
mharris |
36252a7 |
BuildRequires: libXxf86vm-devel
|
|
|
678a251 |
BuildRequires: expat-devel >= 2.0
|
|
|
1308929 |
BuildRequires: xorg-x11-proto-devel >= 7.4-35
|
|
mharris |
4b6debf |
BuildRequires: makedepend
|
|
|
1afba92 |
BuildRequires: libselinux-devel
|
|
Kristian Høgsberg |
18012c8 |
BuildRequires: libXext-devel
|
|
|
540e56b |
BuildRequires: libXfixes-devel
|
|
|
540e56b |
BuildRequires: libXdamage-devel
|
|
|
b978bec |
BuildRequires: libXi-devel
|
|
|
d3c4211 |
BuildRequires: libXmu-devel
|
|
|
2b62ebd |
BuildRequires: elfutils
|
|
|
1e93fee |
BuildRequires: python
|
|
|
86dc0b7 |
BuildRequires: llvm-static
|
|
|
1c43d7f |
BuildRequires: libxml2-python
|
|
|
c70ee32 |
BuildRequires: libudev-devel
|
|
|
2cfd8f5 |
BuildRequires: libtalloc-devel
|
|
|
7d1f13d |
BuildRequires: bison flex
|
|
mharris |
4d75a60 |
|
|
mharris |
4d75a60 |
%description
|
|
mharris |
36252a7 |
Mesa
|
|
mharris |
4d75a60 |
|
|
mharris |
36252a7 |
%package libGL
|
|
|
182f8fe |
Summary: Mesa libGL runtime libraries and DRI drivers
|
|
mharris |
36252a7 |
Group: System Environment/Libraries
|
|
mharris |
8f17530 |
Requires(post): /sbin/ldconfig
|
|
mharris |
8f17530 |
Requires(postun): /sbin/ldconfig
|
|
mharris |
4fd2884 |
Provides: libGL
|
|
|
55ddc65 |
Requires: libdrm >= 2.4.23-1
|
|
|
e0b8e0d |
%if %{with_hardware}
|
|
Kristian Høgsberg |
0db3f8d |
Conflicts: xorg-x11-server-Xorg < 1.4.99.901-14
|
|
|
d916aa2 |
%endif
|
|
mharris |
4d75a60 |
|
|
mharris |
36252a7 |
%description libGL
|
|
Adam Tkac |
a2ea537 |
Mesa libGL runtime library.
|
|
Adam Tkac |
a2ea537 |
|
|
|
cf9d011 |
%package libEGL
|
|
|
cf9d011 |
Summary: Mesa libEGL runtime libraries
|
|
|
cf9d011 |
Group: System Environment/Libraries
|
|
|
cf9d011 |
Requires(post): /sbin/ldconfig
|
|
|
cf9d011 |
Requires(postun): /sbin/ldconfig
|
|
|
cf9d011 |
Requires: mesa-dri-drivers%{?_isa} = %{version}-%{release}
|
|
|
55ddc65 |
Requires: libdrm >= 2.4.23-1
|
|
|
cf9d011 |
|
|
|
cf9d011 |
%description libEGL
|
|
|
7625ab7 |
Mesa libEGL runtime libraries
|
|
|
7625ab7 |
|
|
|
7625ab7 |
%package libGLES
|
|
|
7625ab7 |
Summary: Mesa libGLES runtime libraries
|
|
|
7625ab7 |
Group: System Environment/Libraries
|
|
|
7625ab7 |
Requires(post): /sbin/ldconfig
|
|
|
7625ab7 |
Requires(postun): /sbin/ldconfig
|
|
|
7625ab7 |
Requires: mesa-dri-drivers%{?_isa} = %{version}-%{release}
|
|
|
55ddc65 |
Requires: libdrm >= 2.4.23-1
|
|
|
7625ab7 |
|
|
|
7625ab7 |
%description libGLES
|
|
|
7625ab7 |
Mesa GLES runtime libraries
|
|
Adam Tkac |
a2ea537 |
|
|
|
55ddc65 |
%package dri-filesystem
|
|
|
55ddc65 |
Summary: Mesa DRI driver filesystem
|
|
|
55ddc65 |
Group: User Interface/X Hardware Support
|
|
|
55ddc65 |
%description dri-filesystem
|
|
|
55ddc65 |
Mesa DRI driver filesystem
|
|
|
55ddc65 |
|
|
|
7d1f13d |
%if %{with_llvmcore}
|
|
|
55ddc65 |
%package dri-llvmcore
|
|
|
55ddc65 |
Summary: Mesa common LLVM support
|
|
|
55ddc65 |
Group: User Interface/X Hardware Support
|
|
|
55ddc65 |
Requires: mesa-dri-filesystem%{?_isa}
|
|
|
55ddc65 |
%description dri-llvmcore
|
|
|
55ddc65 |
Common DSO for LLVM support for gallium-based DRI drivers. This package
|
|
|
55ddc65 |
exists solely as a disk space hack for Mesa. Do not link against this
|
|
|
55ddc65 |
library if you are not Mesa. You have been warned.
|
|
|
7d1f13d |
%endif
|
|
|
55ddc65 |
|
|
Adam Tkac |
a2ea537 |
%package dri-drivers
|
|
|
208fbaf |
Summary: Mesa-based DRI drivers
|
|
Adam Tkac |
a2ea537 |
Group: User Interface/X Hardware Support
|
|
|
55ddc65 |
Requires: mesa-dri-filesystem%{?_isa}
|
|
Ben Skeggs |
866ef4f |
Obsoletes: mesa-dri-drivers-experimental < 0:7.10-0.24
|
|
Adam Tkac |
a2ea537 |
%description dri-drivers
|
|
Adam Tkac |
a2ea537 |
Mesa-based DRI drivers.
|
|
Adam Tkac |
a2ea537 |
|
|
|
45b72ca |
%package dri-drivers-dri1
|
|
|
45b72ca |
Summary: Mesa-based DRI1 drivers
|
|
|
45b72ca |
Group: User Interface/X Hardware Support
|
|
|
55ddc65 |
Requires: mesa-dri-filesystem%{?isa}
|
|
|
45b72ca |
%description dri-drivers-dri1
|
|
|
45b72ca |
Mesa-based DRI1 drivers.
|
|
|
95e3dd9 |
|
|
mharris |
36252a7 |
%package libGL-devel
|
|
mharris |
36252a7 |
Summary: Mesa libGL development package
|
|
mharris |
36252a7 |
Group: Development/Libraries
|
|
mharris |
8f51b4f |
Requires: mesa-libGL = %{version}-%{release}
|
|
mharris |
4fd2884 |
Provides: libGL-devel
|
|
|
e4f1307 |
Conflicts: xorg-x11-proto-devel <= 7.2-12
|
|
mharris |
4d75a60 |
|
|
mharris |
36252a7 |
%description libGL-devel
|
|
mharris |
36252a7 |
Mesa libGL development package
|
|
|
95e3dd9 |
|
|
|
cf9d011 |
%package libEGL-devel
|
|
|
cf9d011 |
Summary: Mesa libEGL development package
|
|
|
cf9d011 |
Group: Development/Libraries
|
|
|
cf9d011 |
Requires: mesa-libEGL = %{version}-%{release}
|
|
|
cf9d011 |
|
|
|
cf9d011 |
%description libEGL-devel
|
|
|
cf9d011 |
Mesa libEGL development package
|
|
|
95e3dd9 |
|
|
|
7625ab7 |
%package libGLES-devel
|
|
|
7625ab7 |
Summary: Mesa libGLES development package
|
|
|
7625ab7 |
Group: Development/Libraries
|
|
|
7625ab7 |
Requires: mesa-libGLES = %{version}-%{release}
|
|
|
7625ab7 |
|
|
|
7625ab7 |
%description libGLES-devel
|
|
|
7625ab7 |
Mesa libGLES development package
|
|
|
7625ab7 |
|
|
mharris |
36252a7 |
%package libGLU
|
|
mharris |
36252a7 |
Summary: Mesa libGLU runtime library
|
|
mharris |
36252a7 |
Group: System Environment/Libraries
|
|
mharris |
8f17530 |
Requires(post): /sbin/ldconfig
|
|
mharris |
8f17530 |
Requires(postun): /sbin/ldconfig
|
|
mharris |
4fd2884 |
Provides: libGLU
|
|
mharris |
4d75a60 |
|
|
mharris |
36252a7 |
%description libGLU
|
|
mharris |
36252a7 |
Mesa libGLU runtime library
|
|
|
95e3dd9 |
|
|
|
95e3dd9 |
|
|
mharris |
36252a7 |
%package libGLU-devel
|
|
mharris |
36252a7 |
Summary: Mesa libGLU development package
|
|
mharris |
36252a7 |
Group: Development/Libraries
|
|
mharris |
8f51b4f |
Requires: mesa-libGLU = %{version}-%{release}
|
|
mharris |
4fd2884 |
Provides: libGLU-devel
|
|
mharris |
4d75a60 |
|
|
mharris |
36252a7 |
%description libGLU-devel
|
|
mharris |
36252a7 |
Mesa libGLU development package
|
|
|
182f8fe |
|
|
|
95e3dd9 |
|
|
|
182f8fe |
%package libOSMesa
|
|
|
182f8fe |
Summary: Mesa offscreen rendering libraries
|
|
|
182f8fe |
Group: System Environment/Libraries
|
|
|
182f8fe |
Requires(post): /sbin/ldconfig
|
|
|
182f8fe |
Requires(postun): /sbin/ldconfig
|
|
|
182f8fe |
Provides: libOSMesa
|
|
|
182f8fe |
|
|
|
182f8fe |
%description libOSMesa
|
|
|
182f8fe |
Mesa offscreen rendering libraries
|
|
|
182f8fe |
|
|
|
95e3dd9 |
|
|
|
182f8fe |
%package libOSMesa-devel
|
|
|
182f8fe |
Summary: Mesa offscreen rendering development package
|
|
|
182f8fe |
Group: Development/Libraries
|
|
|
182f8fe |
Requires: mesa-libOSMesa = %{version}-%{release}
|
|
|
182f8fe |
|
|
|
182f8fe |
%description libOSMesa-devel
|
|
|
182f8fe |
Mesa offscreen rendering development package
|
|
|
182f8fe |
|
|
|
95e3dd9 |
|
|
|
84a4f73 |
%package -n xorg-x11-drv-vmwgfx
|
|
|
84a4f73 |
Summary: VMware GFX DDX driver
|
|
|
84a4f73 |
Group: User Interface/X Hardware Support
|
|
|
e8cb8d9 |
Requires: Xorg %(xserver-sdk-abi-requires ansic) %(xserver-sdk-abi-requires videodrv)
|
|
|
84a4f73 |
|
|
|
84a4f73 |
%description -n xorg-x11-drv-vmwgfx
|
|
|
84a4f73 |
2D driver for VMware SVGA vGPU
|
|
|
7f93e43 |
|
|
mharris |
36252a7 |
%prep
|
|
|
7d1f13d |
#setup -q -n Mesa-%{version}%{?snapshot} -b0 -b2
|
|
|
7d1f13d |
%setup -q -n mesa-%{gitdate} -b2
|
|
|
520a428 |
%patch1 -p1 -b .nv-fix
|
|
|
7c7c5f5 |
%patch2 -p1 -b .intel-glthread
|
|
|
ff9b12c |
%patch3 -p1 -b .no-mach64
|
|
|
f906792 |
%patch4 -p1 -b .classic
|
|
|
f906792 |
#patch7 -p1 -b .dricore
|
|
|
d6af41d |
%patch30 -p1 -b .vblank-warning
|
|
|
f906792 |
#patch31 -p1 -b .swrastg
|
|
|
7d1f13d |
|
|
|
7d1f13d |
%if %{with_llvmcore}
|
|
|
7d1f13d |
%patch8 -p1 -b .llvmcore
|
|
|
7d1f13d |
%endif
|
|
mharris |
c94a186 |
|
|
mharris |
36252a7 |
%build
|
|
|
4e39dbd |
|
|
|
cce70a1 |
autoreconf --install
|
|
|
cfe4e41 |
|
|
Jerome Glisse |
361cf9f |
export CFLAGS="$RPM_OPT_FLAGS"
|
|
Jerome Glisse |
361cf9f |
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
629c872 |
%ifarch %{ix86}
|
|
|
629c872 |
# i do not have words for how much the assembly dispatch code infuriates me
|
|
|
c70ee32 |
%define common_flags --enable-selinux --enable-pic --enable-udev --disable-asm
|
|
|
629c872 |
%else
|
|
|
c70ee32 |
%define common_flags --enable-selinux --enable-pic --enable-udev
|
|
|
629c872 |
%endif
|
|
|
7fbcaf3 |
%define osmesa_flags --with-driver=osmesa %{common_flags} --disable-gallium --with-dri-drivers="" --disable-glu --disable-egl
|
|
|
c0c14a5 |
|
|
|
4f4b4ad |
# first, build osmesa.
|
|
|
c553e35 |
|
|
|
c553e35 |
%configure %{osmesa_flags} --with-osmesa-bits=8
|
|
|
7fbcaf3 |
make %{_smp_mflags}
|
|
|
c2c814d |
mv %{_lib} osmesa8
|
|
|
cfe4e41 |
make clean
|
|
|
cfe4e41 |
|
|
|
cfe4e41 |
# just to be sure...
|
|
|
52cda38 |
[ `find . -name \*.o | wc -l` -eq 0 ] || exit 1
|
|
|
cfe4e41 |
|
|
|
55ddc65 |
# build llvmcore
|
|
|
7d1f13d |
%if %{with_llvmcore}
|
|
|
55ddc65 |
TOP=`pwd` make -f %{SOURCE4} llvmcore
|
|
|
55ddc65 |
mkdir -p %{_lib}
|
|
|
55ddc65 |
mv libllvmcore*.so %{_lib}
|
|
|
7d1f13d |
%endif
|
|
|
55ddc65 |
|
|
|
cfe4e41 |
# now build the rest of mesa
|
|
|
c553e35 |
%configure %{common_flags} \
|
|
|
cfe4e41 |
--disable-glw \
|
|
|
cfe4e41 |
--disable-glut \
|
|
|
cfe4e41 |
--disable-gl-osmesa \
|
|
|
e0b8e0d |
--with-driver=dri \
|
|
|
e0b8e0d |
--with-dri-driverdir=%{_libdir}/dri \
|
|
|
31225f1 |
--with-state-trackers=dri,glx \
|
|
|
cf9d011 |
--enable-egl \
|
|
|
cf9d011 |
--enable-gles1 \
|
|
|
cf9d011 |
--enable-gles2 \
|
|
|
df0934e |
--disable-gallium-intel \
|
|
|
df0934e |
--disable-gallium-svga \
|
|
|
bbf660e |
--disable-gallium-egl \
|
|
|
c70ee32 |
%if %{with_hardware}
|
|
|
d55d73c |
--enable-gallium-llvm \
|
|
|
df0934e |
--enable-gallium-radeon \
|
|
|
a8555b4 |
--enable-gallium-r600 \
|
|
|
1308929 |
--enable-gallium-nouveau \
|
|
|
c70ee32 |
%else
|
|
|
d55d73c |
--disable-gallium-llvm \
|
|
|
c70ee32 |
--disable-gallium-radeon \
|
|
|
c70ee32 |
--disable-gallium-r600 \
|
|
|
c70ee32 |
--disable-gallium-nouveau \
|
|
|
24a42a4 |
%endif
|
|
|
d6af41d |
%{?dri_drivers}
|
|
|
f734187 |
|
|
|
df0934e |
make %{?_smp_mflags}
|
|
Kristian Høgsberg |
96b4a67 |
|
|
|
cfe4e41 |
pushd ../%{manpages}
|
|
|
d6af41d |
autoreconf -v --install
|
|
sandmann |
760ef13 |
%configure
|
|
|
95e3dd9 |
make %{?_smp_mflags}
|
|
sandmann |
760ef13 |
popd
|
|
sandmann |
760ef13 |
|
|
mharris |
36252a7 |
%install
|
|
mharris |
36252a7 |
rm -rf $RPM_BUILD_ROOT
|
|
Kristian Høgsberg |
96c0f93 |
|
|
|
cfe4e41 |
# core libs and headers, but not drivers.
|
|
|
cfe4e41 |
make install DESTDIR=$RPM_BUILD_ROOT DRI_DIRS=
|
|
Kristian Høgsberg |
96c0f93 |
|
|
|
cfe4e41 |
# just the DRI drivers that are sane
|
|
|
cfe4e41 |
install -d $RPM_BUILD_ROOT%{_libdir}/dri
|
|
|
7d1f13d |
%if %{with_llvmcore}
|
|
|
7d1f13d |
install -m 0755 -t $RPM_BUILD_ROOT%{_libdir}/dri %{_lib}/libllvmcore-2*.so >& /dev/null
|
|
|
7d1f13d |
%endif
|
|
|
f906792 |
# use gallium driver iff built
|
|
Dave Airlie |
63f3aa2 |
[ -f %{_lib}/gallium/r300_dri.so ] && cp %{_lib}/gallium/r300_dri.so %{_lib}/r300_dri.so
|
|
|
a8555b4 |
[ -f %{_lib}/gallium/r600_dri.so ] && cp %{_lib}/gallium/r600_dri.so %{_lib}/r600_dri.so
|
|
|
f906792 |
[ -f %{_lib}/gallium/swrastg_dri.so ] && mv %{_lib}/gallium/swrastg_dri.so %{_lib}/swrast_dri.so
|
|
|
c6b63f5 |
|
|
|
c70ee32 |
for f in i810 i915 i965 mach64 mga r128 r200 r300 r600 radeon savage sis swrast tdfx unichrome nouveau_vieux gallium/vmwgfx ; do
|
|
|
8319866 |
so=%{_lib}/${f}_dri.so
|
|
|
cfe4e41 |
test -e $so && echo $so
|
|
|
cfe4e41 |
done | xargs install -m 0755 -t $RPM_BUILD_ROOT%{_libdir}/dri >& /dev/null || :
|
|
Kristian Høgsberg |
68ba098 |
|
|
|
cfe4e41 |
# strip out undesirable headers
|
|
|
cfe4e41 |
pushd $RPM_BUILD_ROOT%{_includedir}/GL
|
|
|
292f2d1 |
rm -f [a-fh-np-wyz]*.h glf*.h glut*.h
|
|
|
6db4be1 |
popd
|
|
|
6db4be1 |
|
|
|
6db4be1 |
pushd $RPM_BUILD_ROOT%{_libdir}
|
|
|
df0934e |
rm -f xorg/modules/drivers/modesetting_drv.so
|
|
|
cfe4e41 |
popd
|
|
Kristian Høgsberg |
68ba098 |
|
|
|
cfe4e41 |
# and osmesa
|
|
|
a85de44 |
mv osmesa*/libOS* $RPM_BUILD_ROOT%{_libdir}
|
|
mharris |
36252a7 |
|
|
|
cfe4e41 |
# man pages
|
|
|
cfe4e41 |
pushd ../%{manpages}
|
|
|
cfe4e41 |
make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT
|
|
sandmann |
a7a98d3 |
popd
|
|
sandmann |
ed8bea9 |
|
|
|
792edb2 |
# this keeps breaking, check it early. note that the exit from eu-ftr is odd.
|
|
|
c553e35 |
pushd $RPM_BUILD_ROOT%{_libdir}
|
|
|
629c872 |
for i in libOSMesa*.so libGL.so ; do
|
|
|
c553e35 |
eu-findtextrel $i && exit 1
|
|
|
c553e35 |
done
|
|
|
f906792 |
popd
|
|
|
792edb2 |
|
|
mharris |
36252a7 |
%clean
|
|
mharris |
36252a7 |
rm -rf $RPM_BUILD_ROOT
|
|
mharris |
36252a7 |
|
|
mharris |
85d7880 |
%check
|
|
mharris |
85d7880 |
|
|
mharris |
bd002cd |
%post libGL -p /sbin/ldconfig
|
|
mharris |
bd002cd |
%postun libGL -p /sbin/ldconfig
|
|
mharris |
bd002cd |
%post libGLU -p /sbin/ldconfig
|
|
mharris |
bd002cd |
%postun libGLU -p /sbin/ldconfig
|
|
|
182f8fe |
%post libOSMesa -p /sbin/ldconfig
|
|
|
182f8fe |
%postun libOSMesa -p /sbin/ldconfig
|
|
|
cf9d011 |
%post libEGL -p /sbin/ldconfig
|
|
|
cf9d011 |
%postun libEGL -p /sbin/ldconfig
|
|
|
7625ab7 |
%post libGLES -p /sbin/ldconfig
|
|
|
7625ab7 |
%postun libGLES -p /sbin/ldconfig
|
|
mharris |
36252a7 |
|
|
mharris |
36252a7 |
%files libGL
|
|
mharris |
36252a7 |
%defattr(-,root,root,-)
|
|
|
9b83756 |
%doc docs/COPYING
|
|
mharris |
36252a7 |
%{_libdir}/libGL.so.1
|
|
|
892491f |
%{_libdir}/libGL.so.1.*
|
|
Adam Tkac |
a2ea537 |
|
|
|
cf9d011 |
%files libEGL
|
|
|
cf9d011 |
%defattr(-,root,root,-)
|
|
|
cf9d011 |
%doc docs/COPYING
|
|
|
cf9d011 |
%{_libdir}/libEGL.so.1
|
|
|
cf9d011 |
%{_libdir}/libEGL.so.1.*
|
|
|
7625ab7 |
|
|
|
7625ab7 |
%files libGLES
|
|
|
7625ab7 |
%defattr(-,root,root,-)
|
|
|
7625ab7 |
%doc docs/COPYING
|
|
|
cf9d011 |
%{_libdir}/libGLESv1_CM.so.1
|
|
|
cf9d011 |
%{_libdir}/libGLESv1_CM.so.1.*
|
|
|
cf9d011 |
%{_libdir}/libGLESv2.so.2
|
|
|
cf9d011 |
%{_libdir}/libGLESv2.so.2.*
|
|
|
7d1f13d |
%{_libdir}/libglapi.so.0
|
|
|
7d1f13d |
%{_libdir}/libglapi.so.0.*
|
|
|
cf9d011 |
|
|
|
55ddc65 |
%files dri-filesystem
|
|
|
208fbaf |
%defattr(-,root,root,-)
|
|
|
9b83756 |
%doc docs/COPYING
|
|
mharris |
85d7880 |
%dir %{_libdir}/dri
|
|
|
55ddc65 |
|
|
|
7d1f13d |
%if %{with_llvmcore}
|
|
|
55ddc65 |
%files dri-llvmcore
|
|
|
55ddc65 |
%defattr(-,root,root,-)
|
|
|
7d1f13d |
%{_libdir}/dri/libllvmcore-2.*.so
|
|
|
7d1f13d |
%endif
|
|
|
55ddc65 |
|
|
|
55ddc65 |
%files dri-drivers
|
|
|
55ddc65 |
%defattr(-,root,root,-)
|
|
|
24a42a4 |
%if %{with_hardware}
|
|
|
45b72ca |
%{_libdir}/dri/radeon_dri.so
|
|
|
45b72ca |
%{_libdir}/dri/r200_dri.so
|
|
|
c6b63f5 |
%{_libdir}/dri/r300_dri.so
|
|
|
45b72ca |
%{_libdir}/dri/r600_dri.so
|
|
|
8e0c841 |
%ifnarch %{sparc}
|
|
|
8e0c841 |
# we no intel chipsets on sparc. Please move on...
|
|
|
45b72ca |
%{_libdir}/dri/i915_dri.so
|
|
|
45b72ca |
%{_libdir}/dri/i965_dri.so
|
|
|
8e0c841 |
%endif
|
|
Ben Skeggs |
866ef4f |
%{_libdir}/dri/nouveau_dri.so
|
|
Ben Skeggs |
866ef4f |
%{_libdir}/dri/nouveau_vieux_dri.so
|
|
|
45b72ca |
%endif
|
|
|
45b72ca |
%{_libdir}/dri/swrast_dri.so
|
|
|
45b72ca |
%exclude %{_libdir}/dri/swrastg_dri.so
|
|
|
45b72ca |
|
|
|
45b72ca |
%files dri-drivers-dri1
|
|
|
45b72ca |
%defattr(-,root,root,-)
|
|
|
45b72ca |
%doc docs/COPYING
|
|
|
36a7074 |
%if %{with_hardware}
|
|
|
c70ee32 |
%ifarch %{ix86}
|
|
|
45b72ca |
%{_libdir}/dri/i810_dri.so
|
|
|
45b72ca |
%{_libdir}/dri/sis_dri.so
|
|
|
24a42a4 |
%endif
|
|
|
45b72ca |
%{_libdir}/dri/r128_dri.so
|
|
|
8e0c841 |
%ifnarch %{sparc}
|
|
|
8e0c841 |
# we no much hardware....
|
|
|
8e0c841 |
%{_libdir}/dri/mga_dri.so
|
|
|
45b72ca |
%{_libdir}/dri/savage_dri.so
|
|
|
45b72ca |
%{_libdir}/dri/tdfx_dri.so
|
|
|
45b72ca |
%{_libdir}/dri/unichrome_dri.so
|
|
|
36a7074 |
%endif
|
|
|
8e0c841 |
%endif
|
|
|
d6af41d |
|
|
sandmann |
760ef13 |
%files libGL-devel
|
|
mharris |
36252a7 |
%defattr(-,root,root,-)
|
|
mharris |
36252a7 |
%{_includedir}/GL/gl.h
|
|
mharris |
36252a7 |
%{_includedir}/GL/gl_mangle.h
|
|
mharris |
36252a7 |
%{_includedir}/GL/glext.h
|
|
mharris |
36252a7 |
%{_includedir}/GL/glx.h
|
|
mharris |
36252a7 |
%{_includedir}/GL/glx_mangle.h
|
|
mharris |
36252a7 |
%{_includedir}/GL/glxext.h
|
|
|
e4f1307 |
%dir %{_includedir}/GL/internal
|
|
|
e4f1307 |
%{_includedir}/GL/internal/dri_interface.h
|
|
|
7cf755a |
%{_libdir}/pkgconfig/dri.pc
|
|
|
892491f |
%{_libdir}/libGL.so
|
|
|
cfe4e41 |
%{_libdir}/pkgconfig/gl.pc
|
|
|
cfe4e41 |
%{_datadir}/man/man3/gl[^uX]*.3gl*
|
|
|
cfe4e41 |
%{_datadir}/man/man3/glX*.3gl*
|
|
mharris |
36252a7 |
|
|
|
cf9d011 |
%files libEGL-devel
|
|
|
cf9d011 |
%defattr(-,root,root,-)
|
|
|
7625ab7 |
%{_includedir}/EGL/eglext.h
|
|
|
7625ab7 |
%{_includedir}/EGL/egl.h
|
|
|
7625ab7 |
%{_includedir}/EGL/eglplatform.h
|
|
|
7625ab7 |
%{_includedir}/KHR/khrplatform.h
|
|
|
7625ab7 |
%{_libdir}/pkgconfig/egl.pc
|
|
|
7625ab7 |
%{_libdir}/libEGL.so
|
|
|
7625ab7 |
|
|
|
7625ab7 |
%files libGLES-devel
|
|
|
7625ab7 |
%defattr(-,root,root,-)
|
|
|
cf9d011 |
%{_includedir}/GLES/egl.h
|
|
|
cf9d011 |
%{_includedir}/GLES/gl.h
|
|
|
cf9d011 |
%{_includedir}/GLES/glext.h
|
|
|
cf9d011 |
%{_includedir}/GLES/glplatform.h
|
|
|
cf9d011 |
%{_includedir}/GLES2/gl2platform.h
|
|
|
cf9d011 |
%{_includedir}/GLES2/gl2.h
|
|
|
cf9d011 |
%{_includedir}/GLES2/gl2ext.h
|
|
|
6b7a5be |
%{_libdir}/pkgconfig/glesv1_cm.pc
|
|
|
cf9d011 |
%{_libdir}/pkgconfig/glesv2.pc
|
|
|
7625ab7 |
%{_libdir}/libGLESv1_CM.so
|
|
|
7625ab7 |
%{_libdir}/libGLESv2.so
|
|
|
7d1f13d |
%{_libdir}/libglapi.so
|
|
|
cf9d011 |
|
|
mharris |
36252a7 |
%files libGLU
|
|
mharris |
36252a7 |
%defattr(-,root,root,-)
|
|
mharris |
36252a7 |
%{_libdir}/libGLU.so.1
|
|
Kristian Høgsberg |
7a4f9eb |
%{_libdir}/libGLU.so.1.3.*
|
|
mharris |
36252a7 |
|
|
sandmann |
760ef13 |
%files libGLU-devel
|
|
mharris |
36252a7 |
%defattr(-,root,root,-)
|
|
mharris |
36252a7 |
%{_libdir}/libGLU.so
|
|
|
cfe4e41 |
%{_libdir}/pkgconfig/glu.pc
|
|
mharris |
36252a7 |
%{_includedir}/GL/glu.h
|
|
mharris |
36252a7 |
%{_includedir}/GL/glu_mangle.h
|
|
|
cfe4e41 |
%{_datadir}/man/man3/glu*.3gl*
|
|
mharris |
36252a7 |
|
|
|
182f8fe |
%files libOSMesa
|
|
|
182f8fe |
%defattr(-,root,root,-)
|
|
|
9b83756 |
%doc docs/COPYING
|
|
|
4f4b4ad |
%{_libdir}/libOSMesa.so.7*
|
|
|
182f8fe |
|
|
|
182f8fe |
%files libOSMesa-devel
|
|
|
182f8fe |
%defattr(-,root,root,-)
|
|
|
182f8fe |
%{_includedir}/GL/osmesa.h
|
|
|
182f8fe |
%{_libdir}/libOSMesa.so
|
|
|
182f8fe |
|
|
mharris |
4d75a60 |
%changelog
|
|
|
93e1adb |
* Tue Apr 12 2011 Dave Airlie <airlied@redhat.com> 7.11-0.6.20110412.0
|
|
|
93e1adb |
- latest upstream snapshot to fix r200 regression.
|
|
|
93e1adb |
|
|
|
a27a36d |
* Fri Apr 01 2011 Dave Airlie <airlied@redhat.com> 7.11-0.5.20110401.0
|
|
|
a27a36d |
- Revert upstream patches causing SNB regression.
|
|
|
a27a36d |
|
|
|
7f30443 |
* Fri Apr 01 2011 Dave Airlie <airlied@redhat.com> 7.11-0.4.20110401.0
|
|
|
7f30443 |
- upstream snapshot again - proper fix for ILK + nv50 gnome-shell issue
|
|
|
7f30443 |
|
|
|
5ea1084 |
* Wed Mar 30 2011 Dave Airlie <airlied@redhat.com> 7.11-0.3.20110330.0
|
|
|
5ea1084 |
- mesa-intel-fix-gs-rendering-regression.patch, attempt to fix gnome shell
|
|
|
5ea1084 |
rendering.
|
|
|
5ea1084 |
|
|
|
9f7b14f |
* Wed Mar 30 2011 Dave Airlie <airlied@redhat.com> 7.11-0.2.20110330.0
|
|
|
9f7b14f |
- snapshot upstream again to hopefully fix ILK bug
|
|
|
9f7b14f |
|
|
|
7d1f13d |
* Sun Mar 27 2011 Dave Airlie <airlied@redhat.com> 7.11-0.1.20110327.0
|
|
|
7d1f13d |
- pull latest snapshot + 3 post snapshot fixes
|
|
|
7d1f13d |
|
|
|
292f2d1 |
* Wed Mar 23 2011 Adam Jackson <ajax@redhat.com> 7.10.1-1
|
|
|
292f2d1 |
- mesa 7.10.1
|
|
|
292f2d1 |
|
|
|
8e0c841 |
* Fri Mar 18 2011 Dennis Gilmore <dennis@ausil.us> 7.10-0.30
|
|
|
8e0c841 |
- fall back to non native jit on sparc.
|
|
|
8e0c841 |
|
|
|
424069b |
* Mon Mar 14 2011 Dave Airlie <airlied@redhat.com> 7.10-0.29
|
|
|
424069b |
- use g++ to link llvmcore.so so it gets libstdc++ (#674079)
|
|
|
424069b |
|
|
|
d55d73c |
* Fri Mar 04 2011 Dan Horák <dan[at]danny.cz> 7.10-0.28
|
|
|
d55d73c |
- enable gallium-llvm only when with_hardware is set (workarounds linking
|
|
|
d55d73c |
failure on s390(x))
|
|
|
d55d73c |
|
|
Jerome Glisse |
361cf9f |
* Wed Feb 23 2011 Jerome Glisse <jglisse@redhat.com> 7.10-0.27
|
|
Jerome Glisse |
361cf9f |
- Build without -fno-omit-frame-pointer as gcc 4.6.0 seems to lead to
|
|
Jerome Glisse |
361cf9f |
bogus code with that option (#679924)
|
|
Jerome Glisse |
361cf9f |
|
|
|
b0b617a |
* Wed Feb 09 2011 Adam Jackson <ajax@redhat.com> 7.10-0.26
|
|
|
b0b617a |
- BuildRequires: libdrm >= 2.4.24-0 (#668363)
|
|
|
b0b617a |
|
|
|
8071d7d |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.10-0.25
|
|
|
8071d7d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
8071d7d |
|
|
Ben Skeggs |
866ef4f |
* Thu Jan 20 2011 Ben Skeggs <bskeggs@redhat.com> 7.10-0.24
|
|
Ben Skeggs |
866ef4f |
- nouveau: move out of -experimental
|
|
Ben Skeggs |
866ef4f |
|
|
Ben Skeggs |
8f82e4b |
* Thu Jan 20 2011 Ben Skeggs <bskeggs@redhat.com> 7.10-0.23
|
|
Ben Skeggs |
8f82e4b |
- nouveau: nvc0 (fermi) backport + nv10/nv20 gnome-shell fixes
|
|
Ben Skeggs |
8f82e4b |
|
|
|
55ddc65 |
* Tue Jan 18 2011 Adam Jackson <ajax@redhat.com> 7.10-0.22
|
|
|
55ddc65 |
- Add -dri-filesystem common subpackage for directory and COPYING
|
|
|
55ddc65 |
- Add -dri-llvmcore subpackage and buildsystem hack
|
|
|
55ddc65 |
|
|
|
c70ee32 |
* Tue Jan 18 2011 Adam Jackson <ajax@redhat.com> 7.10-0.21
|
|
|
c70ee32 |
- Fix the s390 case a different way
|
|
|
c70ee32 |
- s/i686/%%{ix86}
|
|
|
c70ee32 |
- Add libudev support for wayland (Casey Dahlin)
|
|
|
c6b63f5 |
|
|
|
36a7074 |
* Tue Jan 18 2011 Dan Horák <dan[at]danny.cz> 7.10-0.20
|
|
|
36a7074 |
- updated for s390(x), r300 is really built even when with_hardware == 0
|
|
|
36a7074 |
|
|
|
45b72ca |
* Tue Jan 18 2011 Dave Airlie <airlied@redhat.com> 7.10-0.19
|
|
|
45b72ca |
- split out DRI1 drivers to reduce package size.
|
|
|
45b72ca |
|
|
|
89c020a |
* Fri Jan 07 2011 Dave Airlie <airlied@redhat.com> 7.10-0.18
|
|
|
89c020a |
- new snapshot from 7.10 branch (include Radeon HD6xxx support)
|
|
|
89c020a |
|
|
|
6e66f4c |
* Thu Dec 16 2010 Dave Airlie <airlied@redhat.com> 7.10-0.17
|
|
|
6e66f4c |
- new snapshot from 7.10 branch
|
|
|
6e66f4c |
|
|
|
bbe0602 |
* Wed Dec 15 2010 Adam Jackson <ajax@redhat.com> 7.10-0.16
|
|
|
bbe0602 |
- Today's (yesterday's) git snap.
|
|
|
bbe0602 |
- Switch the sourceball to xz.
|
|
|
bbe0602 |
|
|
|
31225f1 |
* Mon Dec 06 2010 Adam Jackson <ajax@redhat.com> 7.10-0.15
|
|
|
31225f1 |
- Really disable gallium EGL. Requires disabling OpenVG due to buildsystem
|
|
|
31225f1 |
nonsense. Someone fix that someday. (Patch from krh)
|
|
|
31225f1 |
|
|
|
bbf660e |
* Thu Dec 02 2010 Adam Jackson <ajax@redhat.com> 7.10-0.14
|
|
|
bbf660e |
- --disable-gallium-egl
|
|
|
bbf660e |
|
|
|
c32b170 |
* Wed Dec 01 2010 Dan Horák <dan[at]danny.cz> 7.10-0.13
|
|
|
c32b170 |
- workaround failing build on s390(x)
|
|
|
c32b170 |
|
|
|
6a8c348 |
* Mon Nov 29 2010 Adam Jackson <ajax@redhat.com> 7.10-0.12
|
|
|
6a8c348 |
- Today's git snap.
|
|
|
6a8c348 |
|
|
|
f906792 |
* Thu Nov 18 2010 Adam Jackson <ajax@redhat.com> 7.10-0.11
|
|
|
f906792 |
- Today's git snap.
|
|
|
f906792 |
- Build with -fno-omit-frame-pointer for profiling.
|
|
|
f906792 |
- Install swrastg as the swrast driver.
|
|
|
f906792 |
- legacy-drivers.patch: Disable swrast classic.
|
|
|
f906792 |
|
|
|
239ccbb |
* Mon Nov 15 2010 Adam Jackson <ajax@redhat.com>
|
|
|
239ccbb |
- Drop Requires: mesa-dri-drivers from -experimental, not needed in a non-
|
|
|
239ccbb |
dricore build.
|
|
|
239ccbb |
- Drop Requires: mesa-dri-drivers from -libGL, let comps do that.
|
|
|
239ccbb |
|
|
|
e8cb8d9 |
* Thu Nov 11 2010 Adam Jackson <ajax@redhat.com> 7.10-0.10
|
|
|
e8cb8d9 |
- Build libOpenVG too
|
|
|
e8cb8d9 |
- Add X driver ABI magic for vmwgfx
|
|
|
e8cb8d9 |
- Linker script hack for swrastg to make it slightly less offensively huge
|
|
|
e8cb8d9 |
|
|
|
a8555b4 |
* Mon Nov 08 2010 Dave Airlie <airlied@redhat.com> 7.10-0.9
|
|
|
a8555b4 |
- update to latest git snap + enable r600g by default
|
|
|
a8555b4 |
|
|
|
7402854 |
* Sat Nov 06 2010 Dave Airlie <airlied@redhat.com> 7.10-0.8
|
|
|
7402854 |
- enable EGL/GLES
|
|
|
7402854 |
|
|
Dave Airlie |
63f3aa2 |
* Wed Nov 03 2010 Dave Airlie <airlied@redhat.com> 7.10-0.7
|
|
Dave Airlie |
63f3aa2 |
- fix r300g selection
|
|
Dave Airlie |
63f3aa2 |
|
|
|
65e41ee |
* Tue Nov 02 2010 Adam Jackson <ajax@redhat.com> 7.10-0.6
|
|
|
65e41ee |
- Use standard CFLAGS
|
|
|
65e41ee |
- Move swrastg_dri to -experimental
|
|
|
65e41ee |
|
|
|
86dc0b7 |
* Mon Nov 01 2010 Adam Jackson <ajax@redhat.com> 7.10-0.5
|
|
|
86dc0b7 |
- BR: llvm-static not llvm-devel (#627965)
|
|
|
86dc0b7 |
|
|
|
465efeb |
* Thu Oct 28 2010 Adam Jackson <ajax@redhat.com> 7.10-0.4
|
|
|
465efeb |
- -dri-drivers-experimental Requires dri-drivers (#556789)
|
|
|
465efeb |
|
|
|
6e48b09 |
* Thu Oct 28 2010 Adam Jackson <ajax@redhat.com> 7.10-0.3
|
|
|
6e48b09 |
- Drop demos and glx-utils subpackages, they have their own source package
|
|
|
6e48b09 |
now. (#605719)
|
|
|
6e48b09 |
|
|
|
24f1493 |
* Wed Oct 20 2010 Adam Jackson <ajax@redhat.com> 7.10-0.2
|
|
|
24f1493 |
- git snapshot, fixes osmesa linking issues
|
|
|
24f1493 |
|
|
|
4f4b4ad |
* Wed Oct 20 2010 Adam Jackson <ajax@redhat.com> 7.10-0.1
|
|
|
4f4b4ad |
- git snapshot
|
|
|
4f4b4ad |
- Drop osmesa16 and osmesa32, nothing's using them
|
|
|
4f4b4ad |
|
|
|
2cfd8f5 |
* Tue Aug 24 2010 Dave Airlie <airlied@redhat.com> 7.9-0.7
|
|
|
2cfd8f5 |
- latest git snapshot - enable talloc/llvm links
|
|
|
2cfd8f5 |
|
|
|
fd8fab9 |
* Tue Jul 20 2010 Dave Airlie <airlied@redhat.com> 7.9-0.6
|
|
|
fd8fab9 |
- snapshot latest git
|
|
|
fd8fab9 |
|
|
|
4b079d3 |
* Fri Jul 09 2010 Dave Airlie <airlied@redhat.com> 7.9-0.5
|
|
|
4b079d3 |
- resnapshot latest git
|
|
|
4b079d3 |
|
|
|
9b83756 |
* Thu Jul 08 2010 Adam Jackson <ajax@redhat.com> 7.9-0.4
|
|
|
9b83756 |
- Install COPYING like we ought to.
|
|
|
9b83756 |
|
|
|
24a42a4 |
* Thu Jun 24 2010 Dan Horák <dan[at]danny.cz> 7.9-0.3
|
|
|
24a42a4 |
- add libtool (needed by mesa-demos) to BR: - normally it's brought via
|
|
|
24a42a4 |
xorg-x11-util-macros and xorg-x11-server-devel, but not on platforms
|
|
|
24a42a4 |
without hardware drivers
|
|
|
24a42a4 |
- build gallium drivers and the dri-drivers-experimental subpackage only
|
|
|
24a42a4 |
when hardware drivers are requested
|
|
|
24a42a4 |
|
|
|
7c7c5f5 |
* Sat Jun 12 2010 Dave Airlie <airlied@redhat.com> 7.9-0.2
|
|
|
7c7c5f5 |
- rebase to git snapshot with TFP fixes for r300 + gallium - enable r300g
|
|
|
7c7c5f5 |
|
|
|
df0934e |
* Sun May 30 2010 Dave Airlie <airlied@redhat.com> 7.9-0.1
|
|
|
df0934e |
- rebase to a git snapshot - disable vmwgfx
|
|
|
df0934e |
|
|
|
d45f95f |
* Mon Feb 08 2010 Ben Skeggs <bskeggs@redhat.com> 7.8-0.16
|
|
|
d45f95f |
- patch mesa to enable legacy nouveau driver build on i386
|
|
|
d45f95f |
|
|
|
da91948 |
* Mon Feb 08 2010 Ben Skeggs <bskeggs@redhat.com> 7.8-0.15
|
|
|
da91948 |
- rebase for legacy nouveau drivers
|
|
|
da91948 |
|
|
|
edf31d0 |
* Thu Feb 04 2010 Dave Airlie <airlied@redhat.com> 7.8-0.14
|
|
|
edf31d0 |
- rebase again to fix r300
|
|
|
edf31d0 |
|
|
|
1308929 |
* Wed Feb 03 2010 Dave Airlie <airlied@redhat.com> 7.8-0.13
|
|
|
1308929 |
- update dri2proto requirement
|
|
|
1308929 |
- add nouveau to experimental drivers set
|
|
|
1308929 |
|
|
|
1396538 |
* Wed Jan 27 2010 Dave Airlie <airlied@redhat.com> 7.8-0.12
|
|
|
1396538 |
- Fix radeon colors for rawhide
|
|
|
1396538 |
|
|
|
57084a3 |
* Thu Jan 21 2010 Dave Airlie <airlied@redhat.com> 7.8-0.11
|
|
|
57084a3 |
- rebase for new DRI2 API
|
|
|
57084a3 |
|
|
|
90d101d |
* Fri Jan 08 2010 Dave Airlie <airlied@redhat.com> 7.8-0.10
|
|
|
90d101d |
- rebase to new snapshot with fix for radeon in it
|
|
|
90d101d |
|
|
|
1e93fee |
* Thu Jan 07 2010 Dave Airlie <airlied@redhat.com> 7.8-0.9
|
|
|
1e93fee |
- Disable dricore for now as it conflicts with upstream vis changes
|
|
|
1e93fee |
|
|
|
1e93fee |
* Wed Jan 06 2010 Dave Airlie <airlied@redhat.com> 7.8-0.8
|
|
|
1e93fee |
- update to latest snapshot and fixup build
|