snapshot mesa 9.1 branch
This commit is contained in:
parent
10fd3a4ad1
commit
43bd7e5b7d
1
.gitignore
vendored
1
.gitignore
vendored
@ -44,3 +44,4 @@ mesa-20100720.tar.bz2
|
|||||||
/glu-9.0.0.tar.bz2
|
/glu-9.0.0.tar.bz2
|
||||||
/MesaLib-9.0.tar.bz2
|
/MesaLib-9.0.tar.bz2
|
||||||
/MesaLib-9.0.1.tar.bz2
|
/MesaLib-9.0.1.tar.bz2
|
||||||
|
/mesa-20130213.tar.xz
|
||||||
|
@ -13,7 +13,7 @@ echo HEAD ${1:-HEAD}
|
|||||||
|
|
||||||
rm -rf $DIRNAME
|
rm -rf $DIRNAME
|
||||||
|
|
||||||
git clone --depth 1 -b 9.0 ${REF:+--reference $REF} \
|
git clone --depth 1 -b 9.1 ${REF:+--reference $REF} \
|
||||||
git://git.freedesktop.org/git/mesa/mesa $DIRNAME
|
git://git.freedesktop.org/git/mesa/mesa $DIRNAME
|
||||||
|
|
||||||
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
|
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
|
||||||
|
34
mesa.spec
34
mesa.spec
@ -11,7 +11,7 @@
|
|||||||
%define min_wayland_version 0.85
|
%define min_wayland_version 0.85
|
||||||
%else
|
%else
|
||||||
%define min_wayland_version 1.0
|
%define min_wayland_version 1.0
|
||||||
%define with_radeonsi 1
|
#define with_radeonsi 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# S390 doesn't have video cards, but we need swrast for xserver's GLX
|
# S390 doesn't have video cards, but we need swrast for xserver's GLX
|
||||||
@ -43,21 +43,21 @@
|
|||||||
|
|
||||||
%define _default_patch_fuzz 2
|
%define _default_patch_fuzz 2
|
||||||
|
|
||||||
#define gitdate 20120924
|
%define gitdate 20130213
|
||||||
#% define snapshot
|
#% define snapshot
|
||||||
|
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 9.0.1
|
Version: 9.1
|
||||||
Release: 4%{?dist}
|
Release: 0.1%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
|
||||||
#Source0: http://downloads.sf.net/mesa3d/MesaLib-%{version}.tar.bz2
|
#Source0: http://downloads.sf.net/mesa3d/MesaLib-%{version}.tar.bz2
|
||||||
#Source0: http://www.mesa3d.org/beta/MesaLib-%{version}%{?snapshot}.tar.bz2
|
#Source0: http://www.mesa3d.org/beta/MesaLib-%{version}%{?snapshot}.tar.bz2
|
||||||
Source0: ftp://ftp.freedesktop.org/pub/%{name}/%{version}/MesaLib-%{version}.tar.bz2
|
#Source0: ftp://ftp.freedesktop.org/pub/%{name}/%{version}/MesaLib-%{version}.tar.bz2
|
||||||
#Source0: %{name}-%{gitdate}.tar.xz
|
Source0: %{name}-%{gitdate}.tar.xz
|
||||||
Source3: make-git-snapshot.sh
|
Source3: make-git-snapshot.sh
|
||||||
|
|
||||||
# src/gallium/auxiliary/postprocess/pp_mlaa* have an ... interestingly worded license.
|
# src/gallium/auxiliary/postprocess/pp_mlaa* have an ... interestingly worded license.
|
||||||
@ -65,21 +65,18 @@ Source3: make-git-snapshot.sh
|
|||||||
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
||||||
Source4: Mesa-MLAA-License-Clarification-Email.txt
|
Source4: Mesa-MLAA-License-Clarification-Email.txt
|
||||||
|
|
||||||
# $ git diff-tree -p mesa-9.0.1..origin/9.0 > `git describe origin/9.0`.patch
|
|
||||||
Patch0: mesa-9.0.1-22-gd0a9ab2.patch
|
|
||||||
|
|
||||||
#Patch7: mesa-7.1-link-shared.patch
|
#Patch7: mesa-7.1-link-shared.patch
|
||||||
Patch9: mesa-8.0-llvmpipe-shmget.patch
|
Patch9: mesa-8.0-llvmpipe-shmget.patch
|
||||||
Patch11: mesa-8.0-nouveau-tfp-blacklist.patch
|
#Patch11: mesa-8.0-nouveau-tfp-blacklist.patch
|
||||||
Patch12: mesa-8.0.1-fix-16bpp.patch
|
Patch12: mesa-8.0.1-fix-16bpp.patch
|
||||||
Patch13: mesa-9.0.1-less-cxx-please.patch
|
#Patch13: mesa-9.0.1-less-cxx-please.patch
|
||||||
|
|
||||||
BuildRequires: pkgconfig autoconf automake libtool
|
BuildRequires: pkgconfig autoconf automake libtool
|
||||||
%if %{with_hardware}
|
%if %{with_hardware}
|
||||||
BuildRequires: kernel-headers
|
BuildRequires: kernel-headers
|
||||||
BuildRequires: xorg-x11-server-devel
|
BuildRequires: xorg-x11-server-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libdrm-devel >= 2.4.38
|
BuildRequires: libdrm-devel >= 2.4.42
|
||||||
BuildRequires: libXxf86vm-devel
|
BuildRequires: libXxf86vm-devel
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
BuildRequires: xorg-x11-proto-devel
|
BuildRequires: xorg-x11-proto-devel
|
||||||
@ -279,10 +276,9 @@ Group: System Environment/Libraries
|
|||||||
Mesa shared glapi
|
Mesa shared glapi
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Mesa-%{version}%{?snapshot}
|
#%setup -q -n Mesa-%{version}%{?snapshot}
|
||||||
#setup -q -n mesa-%{gitdate}
|
%setup -q -n mesa-%{gitdate}
|
||||||
%patch0 -p1 -b .git
|
#%patch11 -p1 -b .nouveau
|
||||||
%patch11 -p1 -b .nouveau
|
|
||||||
|
|
||||||
# this fastpath is:
|
# this fastpath is:
|
||||||
# - broken with swrast classic
|
# - broken with swrast classic
|
||||||
@ -295,7 +291,7 @@ Mesa shared glapi
|
|||||||
#patch9 -p1 -b .shmget
|
#patch9 -p1 -b .shmget
|
||||||
#patch12 -p1 -b .16bpp
|
#patch12 -p1 -b .16bpp
|
||||||
|
|
||||||
%patch13 -p1 -b .less-cpp
|
#%patch13 -p1 -b .less-cpp
|
||||||
|
|
||||||
# default to dri (not xlib) for libGL on all arches
|
# default to dri (not xlib) for libGL on all arches
|
||||||
# XXX please fix upstream
|
# XXX please fix upstream
|
||||||
@ -345,6 +341,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions"
|
|||||||
--with-egl-platforms=x11,drm%{?with_wayland:,wayland} \
|
--with-egl-platforms=x11,drm%{?with_wayland:,wayland} \
|
||||||
--enable-shared-glapi \
|
--enable-shared-glapi \
|
||||||
--enable-gbm \
|
--enable-gbm \
|
||||||
|
--disable-opencl \
|
||||||
%if %{with_hardware}
|
%if %{with_hardware}
|
||||||
%{?with_vmware:--enable-xa} \
|
%{?with_vmware:--enable-xa} \
|
||||||
%if 0%{?with_llvm}
|
%if 0%{?with_llvm}
|
||||||
@ -581,6 +578,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 13 2013 Dave Airlie <airlied@redhat.com> 9.1-0.1
|
||||||
|
- snapshot mesa 9.1 branch
|
||||||
|
|
||||||
* Tue Jan 15 2013 Tom Callaway <spot@fedoraproject.org> 9.0.1-4
|
* Tue Jan 15 2013 Tom Callaway <spot@fedoraproject.org> 9.0.1-4
|
||||||
- clarify license on pp_mlaa* files
|
- clarify license on pp_mlaa* files
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user