Chris@1
|
1 ********************************************************************
|
Chris@1
|
2 * *
|
Chris@1
|
3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
|
Chris@1
|
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
|
Chris@1
|
5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
|
Chris@1
|
6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
|
Chris@1
|
7 * *
|
Chris@1
|
8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2011 *
|
Chris@1
|
9 * by the Xiph.Org Foundation http://www.xiph.org/ *
|
Chris@1
|
10 * *
|
Chris@1
|
11 ********************************************************************
|
Chris@1
|
12
|
Chris@1
|
13 = WHAT'S HERE =
|
Chris@1
|
14
|
Chris@1
|
15 This source distribution includes libogg and nothing else. Other modules
|
Chris@1
|
16 (eg, the modules libvorbis, vorbis-tools for the Vorbis music codec,
|
Chris@1
|
17 libtheora for the Theora video codec) contain the codec libraries for
|
Chris@1
|
18 use with Ogg bitstreams.
|
Chris@1
|
19
|
Chris@1
|
20 Directory:
|
Chris@1
|
21
|
Chris@1
|
22 ./src The source for libogg, a BSD-license inplementation of
|
Chris@1
|
23 the public domain Ogg bitstream format
|
Chris@1
|
24
|
Chris@1
|
25 ./include Library API headers
|
Chris@1
|
26
|
Chris@1
|
27 ./doc Ogg specification and libogg API documents
|
Chris@1
|
28
|
Chris@1
|
29 ./win32 Win32 projects and build automation
|
Chris@1
|
30
|
Chris@1
|
31 ./macosx Mac OS X project and build files
|
Chris@1
|
32
|
Chris@1
|
33 = WHAT IS OGG? =
|
Chris@1
|
34
|
Chris@1
|
35 Ogg project codecs use the Ogg bitstream format to arrange the raw,
|
Chris@1
|
36 compressed bitstream into a more robust, useful form. For example,
|
Chris@1
|
37 the Ogg bitstream makes seeking, time stamping and error recovery
|
Chris@1
|
38 possible, as well as mixing several sepearate, concurrent media
|
Chris@1
|
39 streams into a single physical bitstream.
|
Chris@1
|
40
|
Chris@1
|
41 = CONTACT =
|
Chris@1
|
42
|
Chris@1
|
43 The Ogg homepage is located at 'https://www.xiph.org/ogg/'.
|
Chris@1
|
44 Up to date technical documents, contact information, source code and
|
Chris@1
|
45 pre-built utilities may be found there.
|
Chris@1
|
46
|
Chris@1
|
47 BUILDING FROM TARBALL DISTRIBUTIONS:
|
Chris@1
|
48
|
Chris@1
|
49 ./configure
|
Chris@1
|
50 make
|
Chris@1
|
51
|
Chris@1
|
52 and optionally (as root):
|
Chris@1
|
53 make install
|
Chris@1
|
54
|
Chris@1
|
55 This will install the Ogg libraries (static and shared) into
|
Chris@1
|
56 /usr/local/lib, includes into /usr/local/include and API
|
Chris@1
|
57 documentation into /usr/local/share/doc.
|
Chris@1
|
58
|
Chris@1
|
59 BUILDING FROM REPOSITORY SOURCE:
|
Chris@1
|
60
|
Chris@1
|
61 A standard svn build should consist of nothing more than:
|
Chris@1
|
62
|
Chris@1
|
63 ./autogen.sh
|
Chris@1
|
64 make
|
Chris@1
|
65
|
Chris@1
|
66 and as root if desired :
|
Chris@1
|
67
|
Chris@1
|
68 make install
|
Chris@1
|
69
|
Chris@1
|
70 BUILDING ON WIN32:
|
Chris@1
|
71
|
Chris@1
|
72 Use the project file in the win32 directory. It should compile out of the box.
|
Chris@1
|
73
|
Chris@1
|
74 CROSS COMPILING FROM LINUX TO WIN32:
|
Chris@1
|
75
|
Chris@1
|
76 It is also possible to cross compile from Linux to windows using the MinGW
|
Chris@1
|
77 cross tools and even to run the test suite under Wine, the Linux/*nix
|
Chris@1
|
78 windows emulator.
|
Chris@1
|
79
|
Chris@1
|
80 On Debian and Ubuntu systems, these cross compiler tools can be installed
|
Chris@1
|
81 by doing:
|
Chris@1
|
82
|
Chris@1
|
83 sudo apt-get mingw32 mingw32-binutils mingw32-runtime wine
|
Chris@1
|
84
|
Chris@1
|
85 Once these tools are installed its possible to compile and test by
|
Chris@1
|
86 executing the following commands, or something similar depending on
|
Chris@1
|
87 your system:
|
Chris@1
|
88
|
Chris@1
|
89 ./configure --host=i586-mingw32msvc --target=i586-mingw32msvc \
|
Chris@1
|
90 --build=i586-linux
|
Chris@1
|
91 make
|
Chris@1
|
92 make check
|
Chris@1
|
93
|
Chris@1
|
94 (Build instructions for Ogg codecs such as vorbis are similar and may
|
Chris@1
|
95 be found in those source modules' README files)
|
Chris@1
|
96
|
Chris@1
|
97 $Id: README 18048 2011-08-04 17:36:32Z giles $
|