3 echo "Usage: /bin/sh update.sh <vorbis_src_directory>"
7 # Copies the needed files from a directory containing the original
8 # libvorbis source that we need for the Mozilla HTML5 media support.
10 mkdir
-p .
/include
/vorbis
11 cp $1/lib
/envelope.h .
/lib
/envelope.h
12 cp $1/lib
/lpc.h .
/lib
/lpc.h
13 cp $1/lib
/highlevel.h .
/lib
/highlevel.h
14 cp $1/lib
/floor0.c .
/lib
/vorbis_floor0.c
15 cp $1/lib
/lookup_data.h .
/lib
/lookup_data.h
16 cp $1/lib
/psy.c .
/lib
/vorbis_psy.c
17 cp $1/lib
/window.c .
/lib
/vorbis_window.c
18 cp $1/lib
/info.c .
/lib
/vorbis_info.c
19 cp $1/lib
/res0.c .
/lib
/vorbis_res0.c
20 cp $1/lib
/lookup.h .
/lib
/lookup.h
21 cp $1/lib
/lookup.c .
/lib
/vorbis_lookup.c
22 sed s
/lookup\.c
/vorbis_lookup\.c
/g
$1/lib
/lsp.c
>.
/lib
/vorbis_lsp.c
23 cp $1/lib
/codebook.h .
/lib
/codebook.h
24 cp $1/lib
/registry.c .
/lib
/vorbis_registry.c
25 cp $1/lib
/smallft.h .
/lib
/smallft.h
26 cp $1/lib
/synthesis.c .
/lib
/vorbis_synthesis.c
27 cp $1/lib
/masking.h .
/lib
/masking.h
28 cp $1/lib
/window.h .
/lib
/window.h
29 cp $1/lib
/scales.h .
/lib
/scales.h
30 cp $1/lib
/lsp.h .
/lib
/lsp.h
31 cp $1/lib
/analysis.c .
/lib
/vorbis_analysis.c
32 cp $1/lib
/misc.h .
/lib
/misc.h
33 cp $1/lib
/floor1.c .
/lib
/vorbis_floor1.c
34 cp $1/lib
/lpc.c .
/lib
/vorbis_lpc.c
35 cp $1/lib
/backends.h .
/lib
/backends.h
36 cp $1/lib
/sharedbook.c .
/lib
/vorbis_sharedbook.c
37 cp $1/lib
/mapping0.c .
/lib
/vorbis_mapping0.c
38 cp $1/lib
/smallft.c .
/lib
/vorbis_smallft.c
39 cp $1/lib
/psy.h .
/lib
/psy.h
40 cp $1/lib
/bitrate.h .
/lib
/bitrate.h
41 cp $1/lib
/envelope.c .
/lib
/vorbis_envelope.c
42 cp $1/lib
/os.h .
/lib
/os.h
43 cp $1/lib
/mdct.c .
/lib
/vorbis_mdct.c
44 cp $1/lib
/codec_internal.h .
/lib
/codec_internal.h
45 cp $1/lib
/mdct.h .
/lib
/mdct.h
46 cp $1/lib
/registry.h .
/lib
/registry.h
47 cp $1/lib
/codebook.c .
/lib
/vorbis_codebook.c
48 cp $1/lib
/bitrate.c .
/lib
/vorbis_bitrate.c
49 cp $1/lib
/block.c .
/lib
/vorbis_block.c
50 cp $1/include
/vorbis
/codec.h .
/include
/vorbis
/codec.h
51 cp $1/COPYING .
/COPYING
52 cp $1/README.md .
/README.md
53 cp $1/AUTHORS .
/AUTHORS
56 cp $1/lib
/vorbisenc.c .
/lib
/vorbisenc.c
57 cp $1/include
/vorbis
/vorbisenc.h .
/include
/vorbis
/vorbisenc.h
59 cp $1/lib
/modes
/setup_44.h .
/lib
/modes
/setup_44.h
60 cp $1/lib
/modes
/setup_44u.h .
/lib
/modes
/setup_44u.h
61 cp $1/lib
/modes
/setup_44p51.h .
/lib
/modes
/setup_44p51.h
62 cp $1/lib
/modes
/setup_32.h .
/lib
/modes
/setup_32.h
63 cp $1/lib
/modes
/setup_8.h .
/lib
/modes
/setup_8.h
64 cp $1/lib
/modes
/setup_11.h .
/lib
/modes
/setup_11.h
65 cp $1/lib
/modes
/setup_16.h .
/lib
/modes
/setup_16.h
66 cp $1/lib
/modes
/setup_22.h .
/lib
/modes
/setup_22.h
67 cp $1/lib
/modes
/setup_X.h .
/lib
/modes
/setup_X.h
68 cp $1/lib
/modes
/floor_all.h .
/lib
/modes
/floor_all.h
69 cp $1/lib
/modes
/residue_44.h .
/lib
/modes
/residue_44.h
70 cp $1/lib
/modes
/residue_44u.h .
/lib
/modes
/residue_44u.h
71 cp $1/lib
/modes
/residue_44p51.h .
/lib
/modes
/residue_44p51.h
72 cp $1/lib
/modes
/residue_8.h .
/lib
/modes
/residue_8.h
73 cp $1/lib
/modes
/residue_16.h .
/lib
/modes
/residue_16.h
74 cp $1/lib
/modes
/psych_44.h .
/lib
/modes
/psych_44.h
75 cp $1/lib
/modes
/psych_8.h .
/lib
/modes
/psych_8.h
76 cp $1/lib
/modes
/psych_11.h .
/lib
/modes
/psych_11.h
77 cp $1/lib
/modes
/psych_16.h .
/lib
/modes
/psych_16.h
78 mkdir
-p .
/lib
/books
/coupled
79 mkdir
-p .
/lib
/books
/floor
80 mkdir
-p .
/lib
/books
/uncoupled
81 cp $1/lib
/books
/coupled
/res_books_stereo.h .
/lib
/books
/coupled
/
82 cp $1/lib
/books
/coupled
/res_books_51.h .
/lib
/books
/coupled
/
83 cp $1/lib
/books
/floor
/floor_books.h .
/lib
/books
/floor
/
84 cp $1/lib
/books
/uncoupled
/res_books_uncoupled.h .
/lib
/books
/uncoupled
/
86 # Add any patches against upstream here.