|
1 # Usage: ./update.sh <ogg_src_directory> |
|
2 # |
|
3 # Copies the needed files from a directory containing the original |
|
4 # libogg source that we need for the Mozilla HTML5 media support. |
|
5 cp $1/include/ogg/config_types.h ./include/ogg/config_types.h |
|
6 cp $1/include/ogg/ogg.h ./include/ogg/ogg.h |
|
7 cp $1/include/ogg/os_types.h ./include/ogg/os_types.h |
|
8 cp $1/CHANGES ./CHANGES |
|
9 cp $1/COPYING ./COPYING |
|
10 cp $1/README ./README |
|
11 cp $1/src/bitwise.c ./src/ogg_bitwise.c |
|
12 cp $1/src/framing.c ./src/ogg_framing.c |
|
13 cp $1/AUTHORS ./AUTHORS |
|
14 patch -p0 < solaris-types.patch |
|
15 # memory-reporting.patch adds ogg_alloc.c, make sure it doesn't exist to avoid |
|
16 # unpleasantries. |
|
17 rm -f ./src/ogg_alloc.c |
|
18 patch -p0 < memory-reporting.patch |