media/libogg/update.sh

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial