rebase to latest upstream 9.0 pre-release branch

- add back glu from new upstream (split for f18 later)
This commit is contained in:
Dave Airlie 2012-09-24 10:49:28 +10:00
parent 88fdcd8e84
commit ff3f075790
3 changed files with 15 additions and 1 deletions

1
.gitignore vendored
View File

@ -41,3 +41,4 @@ mesa-20100720.tar.bz2
/mesa-20120816.tar.xz /mesa-20120816.tar.xz
/mesa-20120827.tar.xz /mesa-20120827.tar.xz
/mesa-20120924.tar.xz /mesa-20120924.tar.xz
/glu-9.0.0.tar.bz2

View File

@ -45,6 +45,7 @@ URL: http://www.mesa3d.org
#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
Source1: ftp://ftp.freedesktop.org/pub/mesa/glu/glu-9.0.0.tar.bz2
Source2: %{manpages}.tar.bz2 Source2: %{manpages}.tar.bz2
Source3: make-git-snapshot.sh Source3: make-git-snapshot.sh
@ -278,7 +279,7 @@ Mesa shared glapi
%prep %prep
#% setup -q -n Mesa-%{version}%{?snapshot} -b2 #% setup -q -n Mesa-%{version}%{?snapshot} -b2
%setup -q -n mesa-%{gitdate} -b2 %setup -q -n mesa-%{gitdate} -b1 -b2
#patch7 -p1 -b .dricore #patch7 -p1 -b .dricore
%patch9 -p1 -b .shmget %patch9 -p1 -b .shmget
%patch11 -p1 -b .nouveau %patch11 -p1 -b .nouveau
@ -333,6 +334,11 @@ export CXXFLAGS="$RPM_OPT_FLAGS"
#%{?_smp_mflags} - broke parallel make in glsl #%{?_smp_mflags} - broke parallel make in glsl
make MKDEP=/bin/true make MKDEP=/bin/true
pushd ../glu-9.0.0
%configure --disable-static
make %{?_smp_mflags}
popd
pushd ../%{manpages} pushd ../%{manpages}
autoreconf -v --install autoreconf -v --install
%configure %configure
@ -359,6 +365,11 @@ pushd $RPM_BUILD_ROOT%{_includedir}/GL
rm -f [vw]*.h rm -f [vw]*.h
popd popd
# glu
pushd ../glu-9.0.0
make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT
popd
# remove .la files # remove .la files
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
@ -581,6 +592,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Sep 24 2012 Dave Airlie <airlied@redhat.com> 9.0-0.1 * Mon Sep 24 2012 Dave Airlie <airlied@redhat.com> 9.0-0.1
- rebase to latest upstream 9.0 pre-release branch - rebase to latest upstream 9.0 pre-release branch
- add back glu from new upstream (split for f18 later)
* Fri Sep 14 2012 Dave Airlie <airlied@redhat.com> 8.1-0.21 * Fri Sep 14 2012 Dave Airlie <airlied@redhat.com> 8.1-0.21
- why fix one yylex when you can fix two - why fix one yylex when you can fix two

View File

@ -1,2 +1,3 @@
6ae05158e678f4594343f32c2ca50515 gl-manpages-1.0.1.tar.bz2 6ae05158e678f4594343f32c2ca50515 gl-manpages-1.0.1.tar.bz2
9f4b33ba3e41185966d333ff4b4594f4 mesa-20120924.tar.xz 9f4b33ba3e41185966d333ff4b4594f4 mesa-20120924.tar.xz
be9249132ff49275461cf92039083030 glu-9.0.0.tar.bz2