2008-07-29 23:41:57 -07:00
|
|
|
# Usage: cp $1/update.sh <liboggz_src_directory>
|
|
|
|
#
|
|
|
|
# Copies the needed files from a directory containing the original
|
|
|
|
# liboggz source that we need for the Mozilla HTML5 media support.
|
2009-07-20 07:01:52 -07:00
|
|
|
cp $1/config.h ./include/oggz/config_gcc.h
|
2008-07-29 23:41:57 -07:00
|
|
|
cp $1/win32/config.h ./include/oggz/config_win32.h
|
2009-07-20 07:01:52 -07:00
|
|
|
cat >./include/oggz/config.h <<EOF
|
|
|
|
#if defined(WIN32) && !defined(__GNUC__)
|
|
|
|
#include "config_win32.h"
|
|
|
|
#else
|
|
|
|
#include "config_gcc.h"
|
|
|
|
#endif
|
|
|
|
#undef DEBUG
|
|
|
|
EOF
|
2008-07-29 23:41:57 -07:00
|
|
|
cp $1/include/oggz/oggz_write.h ./include/oggz/oggz_write.h
|
|
|
|
cp $1/include/oggz/oggz_io.h ./include/oggz/oggz_io.h
|
|
|
|
cp $1/include/oggz/oggz_seek.h ./include/oggz/oggz_seek.h
|
|
|
|
cp $1/include/oggz/oggz_comments.h ./include/oggz/oggz_comments.h
|
|
|
|
cp $1/include/oggz/oggz_read.h ./include/oggz/oggz_read.h
|
|
|
|
cp $1/include/oggz/oggz_off_t.h ./include/oggz/oggz_off_t.h
|
|
|
|
cp $1/include/oggz/oggz_table.h ./include/oggz/oggz_table.h
|
|
|
|
cp $1/include/oggz/oggz.h ./include/oggz/oggz.h
|
|
|
|
cp $1/include/oggz/oggz_constants.h ./include/oggz/oggz_constants.h
|
|
|
|
cp $1/include/oggz/oggz_deprecated.h ./include/oggz/oggz_deprecated.h
|
|
|
|
cp $1/include/oggz/oggz_stream.h ./include/oggz/oggz_stream.h
|
|
|
|
cp $1/COPYING ./COPYING
|
|
|
|
cp $1/README ./README
|
|
|
|
cp $1/ChangeLog ./ChangeLog
|
2009-07-20 07:01:52 -07:00
|
|
|
cp $1/src/liboggz/oggz_write.c ./src/liboggz/oggz_write.c
|
|
|
|
cp $1/src/liboggz/oggz_table.c ./src/liboggz/oggz_table.c
|
|
|
|
cp $1/src/liboggz/oggz_dlist.c ./src/liboggz/oggz_dlist.c
|
|
|
|
cp $1/src/liboggz/oggz_auto.c ./src/liboggz/oggz_auto.c
|
2008-07-29 23:41:57 -07:00
|
|
|
cp $1/src/liboggz/oggz_private.h ./src/liboggz/oggz_private.h
|
2009-07-20 07:01:52 -07:00
|
|
|
cp $1/src/liboggz/oggz.c ./src/liboggz/oggz.c
|
|
|
|
cp $1/src/liboggz/oggz_compat.h ./src/liboggz/oggz_compat.h
|
|
|
|
cp $1/src/liboggz/oggz_read.c ./src/liboggz/oggz_read.c
|
2008-07-29 23:41:57 -07:00
|
|
|
cp $1/src/liboggz/oggz_macros.h ./src/liboggz/oggz_macros.h
|
2009-07-20 07:01:52 -07:00
|
|
|
cp $1/src/liboggz/oggz_comments.c ./src/liboggz/oggz_comments.c
|
|
|
|
cp $1/src/liboggz/oggz_byteorder.h ./src/liboggz/oggz_byteorder.h
|
|
|
|
cp $1/src/liboggz/oggz_stream.c ./src/liboggz/oggz_stream.c
|
2008-07-29 23:41:57 -07:00
|
|
|
cp $1/src/liboggz/oggz_stream_private.h ./src/liboggz/oggz_stream_private.h
|
|
|
|
cp $1/src/liboggz/oggz_vector.h ./src/liboggz/oggz_vector.h
|
|
|
|
cp $1/src/liboggz/oggz_auto.h ./src/liboggz/oggz_auto.h
|
2009-07-20 07:01:52 -07:00
|
|
|
cp $1/src/liboggz/oggz_io.c ./src/liboggz/oggz_io.c
|
|
|
|
cp $1/src/liboggz/oggz_vector.c ./src/liboggz/oggz_vector.c
|
|
|
|
cp $1/src/liboggz/oggz_seek.c ./src/liboggz/oggz_seek.c
|
2008-07-29 23:41:57 -07:00
|
|
|
cp $1/src/liboggz/oggz_dlist.h ./src/liboggz/oggz_dlist.h
|
2009-07-20 07:01:52 -07:00
|
|
|
cp $1/src/liboggz/metric_internal.c ./src/liboggz/metric_internal.c
|
2009-03-03 02:23:54 -08:00
|
|
|
cp $1/src/liboggz/dirac.h ./src/liboggz/dirac.h
|
2009-07-20 07:01:52 -07:00
|
|
|
cp $1/src/liboggz/dirac.c ./src/liboggz/dirac.c
|
2008-07-29 23:41:57 -07:00
|
|
|
cp $1/AUTHORS ./AUTHORS
|
2009-03-03 01:01:06 -08:00
|
|
|
patch -p3 <wince.patch
|
2009-03-03 02:23:54 -08:00
|
|
|
patch -p3 <endian.patch
|
2009-05-19 20:49:01 -07:00
|
|
|
patch -p3 <key_frame_seek.patch
|
2009-05-28 21:13:23 -07:00
|
|
|
patch -p3 <offset_next.patch
|
2009-06-01 14:20:51 -07:00
|
|
|
patch -p3 <bug487519.patch
|
2009-06-03 19:06:03 -07:00
|
|
|
patch -p3 <bug496063.patch
|
2009-09-07 14:41:56 -07:00
|
|
|
patch -p3 <faster_seek.patch
|
2009-09-21 17:00:52 -07:00
|
|
|
patch -p3 <bug516847.patch
|
2009-09-23 18:42:18 -07:00
|
|
|
patch -p3 <bug518169.patch
|
2009-10-02 21:08:12 -07:00
|
|
|
patch -p3 <bug504843.patch
|
2009-10-02 21:08:12 -07:00
|
|
|
patch -p3 <bug519155.patch
|
2009-10-11 17:07:51 -07:00
|
|
|
patch -p3 <bug498380.patch
|
2009-10-13 20:35:59 -07:00
|
|
|
patch -p3 <bug520493.patch
|
2009-10-20 20:24:21 -07:00
|
|
|
patch -p3 <bug523335.patch
|
2010-01-07 20:55:39 -08:00
|
|
|
patch -p3 <bug533822.patch
|