diff --git a/.gitignore b/.gitignore index 378e862..c8d2da9 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,4 @@ mesa-20100720.tar.bz2 /mesa-20131113.tar.xz /mesa-20131114.tar.xz /mesa-20131128.tar.xz +/mesa-20131205.tar.xz diff --git a/make-git-snapshot.sh b/make-git-snapshot.sh index e393eb3..57c3db3 100755 --- a/make-git-snapshot.sh +++ b/make-git-snapshot.sh @@ -15,11 +15,11 @@ DIRNAME=mesa-$( date +%Y%m%d ) echo REF ${REF:+--reference $REF} echo DIRNAME $DIRNAME -echo HEAD ${1:-9.2} +echo HEAD ${1:-10.0} rm -rf $DIRNAME -git clone --depth 1 ${REF:+--reference $REF} --branch 9.2 \ +git clone --depth 1 ${REF:+--reference $REF} --branch 10.0 \ git://git.freedesktop.org/git/mesa/mesa $DIRNAME GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \ diff --git a/mesa.spec b/mesa.spec index e941de1..6134f3f 100644 --- a/mesa.spec +++ b/mesa.spec @@ -48,12 +48,12 @@ %define _default_patch_fuzz 2 -%define gitdate 20131128 +%define gitdate 20131205 #% define snapshot Summary: Mesa graphics libraries Name: mesa -Version: 9.2.4 +Version: 10.0 Release: 1.%{gitdate}%{?dist} License: MIT Group: System Environment/Libraries @@ -299,7 +299,7 @@ grep -q ^/ src/gallium/auxiliary/vl/vl_decoder.c && exit 1 #patch12 -p1 -b .16bpp %patch15 -p1 -b .hwfloat -%patch16 -p1 -b .vdpau +#patch16 -p1 -b .vdpau %patch20 -p1 -b .egbe %if 0%{with_private_llvm} @@ -480,15 +480,11 @@ rm -rf $RPM_BUILD_ROOT %if 0%{?with_vmware} %{_libdir}/dri/vmwgfx_dri.so %endif -%{_libdir}/libdricore*.so* %endif # this is funky; it doesn't get built for gallium drivers, so it doesn't # exist on s390x where swrast is llvmpipe, but does exist on s390 where # swrast is classic mesa. this seems like a bug? in that it probably # means the gallium drivers are linking dricore statically? fixme. -%ifarch s390 -%{_libdir}/libdricore*.so* -%endif %{_libdir}/dri/swrast_dri.so %if %{with_hardware} @@ -600,6 +596,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Dec 05 2013 Dave Airlie 10.0-1.20131205 +- mesa 10.0 release branch git snapshot + * Thu Nov 28 2013 Igor Gnatenko - 9.2.4-1.20131128 - 9.2.4 upstream release diff --git a/nv50-fix-build.patch b/nv50-fix-build.patch index 81862f3..0ff424b 100644 --- a/nv50-fix-build.patch +++ b/nv50-fix-build.patch @@ -1,6 +1,6 @@ -diff -up mesa-20130213/src/gallium/drivers/nv50/codegen/nv50_ir.cpp.rtti mesa-20130213/src/gallium/drivers/nv50/codegen/nv50_ir.cpp ---- mesa-20130213/src/gallium/drivers/nv50/codegen/nv50_ir.cpp.rtti 2013-02-13 18:08:17.533677028 +1000 -+++ mesa-20130213/src/gallium/drivers/nv50/codegen/nv50_ir.cpp 2013-02-13 18:08:20.496752128 +1000 +diff -up mesa-20130213/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp.rtti mesa-20130213/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp +--- mesa-20130213/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp.rtti 2013-02-13 18:08:17.533677028 +1000 ++++ mesa-20130213/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp 2013-02-13 18:08:20.496752128 +1000 @@ -716,7 +716,7 @@ Instruction::clone(ClonePolicy if (!i) i = new_Instruction(pol.context(), op, dType); diff --git a/sanitize-tarball.sh b/sanitize-tarball.sh index 54b2d0c..ecaa861 100755 --- a/sanitize-tarball.sh +++ b/sanitize-tarball.sh @@ -20,14 +20,9 @@ pushd $dirname cat > src/gallium/auxiliary/vl/vl_mpeg12_decoder.c << EOF #include "vl_mpeg12_decoder.h" -struct pipe_video_decoder * -vl_create_mpeg12_decoder(struct pipe_context *context, - enum pipe_video_profile profile, - enum pipe_video_entrypoint entrypoint, - enum pipe_video_chroma_format chroma_format, - unsigned width, unsigned height, - unsigned max_references, - bool expect_chunked_decode) +struct pipe_video_codec * +vl_create_mpeg12_decoder(struct pipe_context *pipe, + const struct pipe_video_codec *templat) { return NULL; } @@ -36,17 +31,14 @@ EOF cat > src/gallium/auxiliary/vl/vl_decoder.c << EOF #include "vl_decoder.h" bool vl_profile_supported(struct pipe_screen *screen, - enum pipe_video_profile profile) + enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint) { return false; } -struct pipe_video_decoder * +struct pipe_video_codec * vl_create_decoder(struct pipe_context *pipe, - enum pipe_video_profile profile, - enum pipe_video_entrypoint entrypoint, - enum pipe_video_chroma_format chroma_format, - unsigned width, unsigned height, unsigned max_references, - bool expect_chunked_decode) + const struct pipe_video_codec *templat) { return NULL; } diff --git a/sources b/sources index f4bcce4..f3dbe2e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0f501dfd50b6094774b0d564d745a285 mesa-20131128.tar.xz +40ff491ed19685af8d5974e7ac7b81ca mesa-20131205.tar.xz