Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / media / libtheora / update.sh
blobc60c4e1b106a039c99963f778908991790b246d2
1 # Usage: ./update.sh <theora_src_directory>
3 # Copies the needed files from a directory containing the original
4 # libtheora source that we need for the Mozilla HTML5 media support.
5 sed s/\#define\ OC_X86ASM//g $1/config.h >./lib/config.h
6 sed s/\#define\ USE_ASM//g ./lib/config.h >./lib/config.h2
7 sed s/\#define\ THEORA_DISABLE_ENCODE//g ./lib/config.h2 >./lib/config.h
8 rm ./lib/config.h2
9 cp ./lib/config.h ./include/theora/config.h
10 cp $1/LICENSE ./LICENSE
11 cp $1/CHANGES ./CHANGES
12 cp $1/COPYING ./COPYING
13 cp $1/README ./README
14 cp $1/AUTHORS ./AUTHORS
15 cp $1/lib/cpu.c ./lib/cpu.c
16 cp $1/lib/cpu.h ./lib/cpu.h
17 cp $1/lib/dec/ocintrin.h ./lib/dec/ocintrin.h
18 cp $1/lib/dec/huffdec.c ./lib/dec/huffdec.c
19 cp $1/lib/dec/apiwrapper.h ./lib/dec/apiwrapper.h
20 cp $1/lib/dec/x86/mmxfrag.c ./lib/dec/x86/mmxfrag.c
21 cp $1/lib/dec/x86/x86state.c ./lib/dec/x86/x86state.c
22 cp $1/lib/dec/x86/x86int.h ./lib/dec/x86/x86int.h
23 cp $1/lib/dec/x86/mmxstate.c ./lib/dec/x86/mmxstate.c
24 cp $1/lib/dec/x86/mmxidct.c ./lib/dec/x86/mmxidct.c
25 cp $1/lib/dec/bitwise.h ./lib/dec/bitwise.h
26 cp $1/lib/dec/quant.c ./lib/dec/quant.c
27 cp $1/lib/dec/bitwise.c ./lib/dec/bitwise.c
28 cp $1/lib/dec/enquant.h ./lib/dec/enquant.h
29 cp $1/lib/dec/internal.c ./lib/dec/internal.c
30 cp $1/lib/dec/huffdec.h ./lib/dec/huffdec.h
31 cp $1/lib/dec/dct.h ./lib/dec/dct.h
32 cp $1/lib/dec/idct.h ./lib/dec/idct.h
33 cp $1/lib/dec/decinfo.c ./lib/dec/decinfo.c
34 cp $1/lib/dec/decapiwrapper.c ./lib/dec/decapiwrapper.c
35 cp $1/lib/dec/idct.c ./lib/dec/idct.c
36 cp $1/lib/dec/state.c ./lib/dec/state.c
37 cp $1/lib/dec/info.c ./lib/dec/info.c
38 cp $1/lib/dec/huffman.h ./lib/dec/huffman.h
39 cp $1/lib/dec/decint.h ./lib/dec/decint.h
40 cp $1/lib/dec/fragment.c ./lib/dec/fragment.c
41 cp $1/lib/dec/apiwrapper.c ./lib/dec/apiwrapper.c
42 cp $1/lib/dec/decode.c ./lib/dec/decode.c
43 cp $1/lib/dec/dequant.c ./lib/dec/dequant.c
44 cp $1/lib/dec/quant.h ./lib/dec/quant.h
45 cp $1/lib/dec/dequant.h ./lib/dec/dequant.h
46 cp $1/lib/internal.h ./lib/internal.h
47 cp $1/include/theora/theora.h ./include/theora/theora.h
48 cp $1/include/theora/theoradec.h ./include/theora/theoradec.h
49 cp $1/include/theora/codec.h ./include/theora/codec.h
50 patch -p3 <changeset_r15144.diff