1
0
forked from rpms/mesa

Revert "Mesa 10.0 release branch git snapshot"

This reverts commit fee912ca11.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2013-12-05 10:24:55 +04:00
parent fee912ca11
commit f5c756cfd1
6 changed files with 28 additions and 20 deletions

1
.gitignore vendored
View File

@ -59,4 +59,3 @@ mesa-20100720.tar.bz2
/mesa-20131113.tar.xz
/mesa-20131114.tar.xz
/mesa-20131128.tar.xz
/mesa-20131205.tar.xz

View File

@ -15,11 +15,11 @@ DIRNAME=mesa-$( date +%Y%m%d )
echo REF ${REF:+--reference $REF}
echo DIRNAME $DIRNAME
echo HEAD ${1:-10.0}
echo HEAD ${1:-9.2}
rm -rf $DIRNAME
git clone --depth 1 ${REF:+--reference $REF} --branch 10.0 \
git clone --depth 1 ${REF:+--reference $REF} --branch 9.2 \
git://git.freedesktop.org/git/mesa/mesa $DIRNAME
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \

View File

@ -48,12 +48,12 @@
%define _default_patch_fuzz 2
%define gitdate 20131205
%define gitdate 20131128
#% define snapshot
Summary: Mesa graphics libraries
Name: mesa
Version: 10.0
Version: 9.2.4
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,11 +480,15 @@ 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}
@ -596,9 +600,6 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Thu Dec 05 2013 Dave Airlie <airlied@redhat.com> 10.0-1.20131205
- mesa 10.0 release branch git snapshot
* Thu Nov 28 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 9.2.4-1.20131128
- 9.2.4 upstream release

View File

@ -1,6 +1,6 @@
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
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
@@ -716,7 +716,7 @@ Instruction::clone(ClonePolicy<Function>
if (!i)
i = new_Instruction(pol.context(), op, dType);

View File

@ -20,9 +20,14 @@ pushd $dirname
cat > src/gallium/auxiliary/vl/vl_mpeg12_decoder.c << EOF
#include "vl_mpeg12_decoder.h"
struct pipe_video_codec *
vl_create_mpeg12_decoder(struct pipe_context *pipe,
const struct pipe_video_codec *templat)
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)
{
return NULL;
}
@ -31,14 +36,17 @@ 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_entrypoint entrypoint)
enum pipe_video_profile profile)
{
return false;
}
struct pipe_video_codec *
struct pipe_video_decoder *
vl_create_decoder(struct pipe_context *pipe,
const struct pipe_video_codec *templat)
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)
{
return NULL;
}

View File

@ -1 +1 @@
40ff491ed19685af8d5974e7ac7b81ca mesa-20131205.tar.xz
0f501dfd50b6094774b0d564d745a285 mesa-20131128.tar.xz