-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5082de
commit 93a27d2
Showing
628 changed files
with
129,755 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
aclocal.m4 | ||
autom4te.cache | ||
ChangeLog | ||
compile | ||
config.guess | ||
config.h | ||
config.h.in | ||
config.h.in~ | ||
config.log | ||
config.status | ||
config.sub | ||
configure | ||
depcomp | ||
install-sh | ||
libogg.spec | ||
libtool | ||
ltmain.sh | ||
Makefile | ||
Makefile.in | ||
missing | ||
mkinstalldirs | ||
ogg.pc | ||
ogg-uninstalled.pc | ||
stamp-h1 | ||
.project | ||
include/ogg/config_types.h | ||
src/*.o | ||
src/*.lo | ||
src/lib*.la | ||
src/.libs | ||
src/.deps | ||
src/test_* | ||
macosx/build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Monty <[email protected]> | ||
Greg Maxwell <[email protected]> | ||
Ralph Giles <[email protected]> | ||
Cristian Adam <[email protected]> | ||
Tim Terriberry <[email protected]> | ||
|
||
and the rest of the Xiph.Org Foundation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
Version 1.3.2 (2014 May 27) | ||
|
||
* Fix an bug in oggpack_writecopy(). | ||
|
||
Version 1.3.1 (2013 May 12) | ||
|
||
* Guard against very large packets. | ||
* Respect the configure --docdir override. | ||
* Documentation fixes. | ||
* More Windows build fixes. | ||
|
||
Version 1.3.0 (2011 August 4) | ||
|
||
* Add ogg_stream_flush_fill() call | ||
This produces longer packets on flush, similar to | ||
what ogg_stream_pageout_fill() does for single pages. | ||
* Windows build fixes | ||
|
||
Version 1.2.2 (2010 December 07) | ||
|
||
* Build fix (types correction) for Mac OS X | ||
* Update win32 project files to Visual Studio 2008 | ||
* ogg_stream_pageout_fill documentation fix | ||
|
||
Version 1.2.1 (2010 November 01) | ||
|
||
* Various build updates (see SVN) | ||
* Add ogg_stream_pageout_fill() to API to allow applications | ||
greater explicit flexibility in page sizing. | ||
* Documentation updates including multiplexing description, | ||
terminology and API (incl. ogg_packet_clear(), | ||
ogg_stream_pageout_fill()) | ||
* Correct possible buffer overwrite in stream encoding on 32 bit | ||
when a single packet exceed 250MB. | ||
* Correct read-buffer overrun [without side effects] under | ||
similar circumstances. | ||
* Update unit testing to work properly with new page spill | ||
heuristic. | ||
|
||
Version 1.2.0 (2010 March 25) | ||
|
||
* Alter default flushing behavior to span less often and use larger page | ||
sizes when packet sizes are large. | ||
* Build fixes for additional compilers | ||
* Documentation updates | ||
|
||
Version 1.1.4 (2009 June 24) | ||
|
||
* New async error reporting mechanism. Calls made after a fatal error are | ||
now safely handled in the event an error code is ignored | ||
* Added allocation checks useful to some embedded applications | ||
* fix possible read past end of buffer when reading 0 bits | ||
* Updates to API documentation | ||
* Build fixes | ||
|
||
Version 1.1.3 (2005 November 27) | ||
|
||
* Correct a bug in the granulepos field of pages where no packet ends | ||
* New VS2003 and XCode builds, minor fixes to other builds | ||
* documentation fixes and cleanup | ||
|
||
Version 1.1.2 (2004 September 23) | ||
|
||
* fix a bug with multipage packet assembly after seek | ||
|
||
Version 1.1.1 (2004 September 12) | ||
|
||
* various bugfixes | ||
* important bugfix for 64-bit platforms | ||
* various portability fixes | ||
* autotools cleanup from Thomas Vander Stichele | ||
* Symbian OS build support from Colin Ward at CSIRO | ||
* new multiplexed Ogg stream documentation | ||
|
||
Version 1.1 (2003 November 17) | ||
|
||
* big-endian bitpacker routines for Theora | ||
* various portability fixes | ||
* improved API documenation | ||
* RFC 3533 documentation of the format by Silvia Pfeiffer at CSIRO | ||
* RFC 3534 documentation of the application/ogg mime-type by Linus Walleij | ||
|
||
Version 1.0 (2002 July 19) | ||
|
||
* First stable release | ||
* little-endian bitpacker routines for Vorbis | ||
* basic Ogg bitstream sync and coding support | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
cmake_minimum_required(VERSION 2.8.7) | ||
project(libogg) | ||
|
||
# Required modules | ||
include(GNUInstallDirs) | ||
include(CheckIncludeFiles) | ||
|
||
# Build options | ||
option(BUILD_SHARED_LIBS "Build shared library" OFF) | ||
if(APPLE) | ||
option(BUILD_FRAMEWORK "Build Framework bundle for OSX" OFF) | ||
endif() | ||
|
||
# Extract project version from configure.ac | ||
file(READ configure.ac CONFIGURE_AC_CONTENTS) | ||
string(REGEX MATCH "AC_INIT\\(\\[libogg\\],\\[([0-9]*).([0-9]*).([0-9]*)" DUMMY ${CONFIGURE_AC_CONTENTS}) | ||
set(PROJECT_VERSION_MAJOR ${CMAKE_MATCH_1}) | ||
set(PROJECT_VERSION_MINOR ${CMAKE_MATCH_2}) | ||
set(PROJECT_VERSION_PATCH ${CMAKE_MATCH_3}) | ||
set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}) | ||
|
||
# Helper function to get version-info | ||
function(get_version_info result current_var_name age_var_name revision_var_name) | ||
string(REGEX MATCH "${current_var_name}=([0-9]*)" DUMMY ${CONFIGURE_AC_CONTENTS}) | ||
set(VERSION_INFO_CURRENT ${CMAKE_MATCH_1}) | ||
|
||
string(REGEX MATCH "${age_var_name}=([0-9]*)" DUMMY ${CONFIGURE_AC_CONTENTS}) | ||
set(VERSION_INFO_AGE ${CMAKE_MATCH_1}) | ||
|
||
string(REGEX MATCH "${revision_var_name}=([0-9]*)" DUMMY ${CONFIGURE_AC_CONTENTS}) | ||
set(VERSION_INFO_REVISION ${CMAKE_MATCH_1}) | ||
|
||
math(EXPR VERSION_INFO_CURRENT_MINUS_AGE "${VERSION_INFO_CURRENT} - ${VERSION_INFO_AGE}") | ||
|
||
set(${result} "${VERSION_INFO_CURRENT_MINUS_AGE}.${VERSION_INFO_AGE}.${VERSION_INFO_REVISION}" PARENT_SCOPE) | ||
endfunction() | ||
|
||
# Helper function to configure pkg-config files | ||
function(configure_pkg_config_file pkg_config_file_in) | ||
set(prefix ${CMAKE_INSTALL_PREFIX}) | ||
set(exec_prefix ${CMAKE_INSTALL_FULL_BINDIR}) | ||
set(libdir ${CMAKE_INSTALL_FULL_LIBDIR}) | ||
set(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR}) | ||
set(VERSION ${PROJECT_VERSION}) | ||
string(REPLACE ".in" "" pkg_config_file ${pkg_config_file_in}) | ||
configure_file(${pkg_config_file_in} ${CMAKE_CURRENT_SOURCE_DIR}/${pkg_config_file} @ONLY) | ||
endfunction() | ||
|
||
message(STATUS "Configuring ${PROJECT_NAME} ${PROJECT_VERSION}") | ||
|
||
# Configure config_type.h | ||
check_include_files(inttypes.h INCLUDE_INTTYPES_H) | ||
check_include_files(stdint.h INCLUDE_STDINT_H) | ||
check_include_files(sys/types.h INCLUDE_SYS_TYPES_H) | ||
|
||
set(SIZE16 int16_t) | ||
set(USIZE16 uint16_t) | ||
set(SIZE32 int32_t) | ||
set(USIZE32 uint32_t) | ||
set(SIZE64 int64_t) | ||
|
||
configure_file(include/ogg/config_types.h.in ${CMAKE_CURRENT_SOURCE_DIR}/include/ogg/config_types.h @ONLY) | ||
|
||
set(OGG_HEADERS | ||
include/ogg/config_types.h | ||
include/ogg/ogg.h | ||
include/ogg/os_types.h | ||
) | ||
|
||
set(OGG_SOURCES | ||
src/bitwise.c | ||
src/framing.c | ||
) | ||
|
||
if(MSVC) | ||
list(APPEND OGG_SOURCES win32/ogg.def) | ||
endif() | ||
|
||
if(BUILD_FRAMEWORK) | ||
set(BUILD_SHARED_LIBS TRUE) | ||
endif() | ||
|
||
include_directories(include) | ||
add_library(ogg ${OGG_HEADERS} ${OGG_SOURCES}) | ||
|
||
get_version_info(OGG_VERSION_INFO "LIB_CURRENT" "LIB_AGE" "LIB_REVISION") | ||
set_target_properties( | ||
ogg PROPERTIES | ||
SOVERSION ${OGG_VERSION_INFO} | ||
PUBLIC_HEADER "${OGG_HEADERS}" | ||
) | ||
|
||
if(BUILD_FRAMEWORK) | ||
set_target_properties(ogg PROPERTIES | ||
FRAMEWORK TRUE | ||
FRAMEWORK_VERSION ${PROJECT_VERSION} | ||
MACOSX_FRAMEWORK_IDENTIFIER org.xiph.ogg | ||
MACOSX_FRAMEWORK_SHORT_VERSION_STRING ${PROJECT_VERSION} | ||
MACOSX_FRAMEWORK_BUNDLE_VERSION ${PROJECT_VERSION} | ||
XCODE_ATTRIBUTE_INSTALL_PATH "@rpath" | ||
OUTPUT_NAME Ogg | ||
) | ||
endif() | ||
|
||
configure_pkg_config_file(ogg.pc.in) | ||
|
||
install(TARGETS ogg | ||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} | ||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
FRAMEWORK DESTINATION ${CMAKE_INSTALL_PREFIX} | ||
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ogg | ||
) | ||
install(FILES ogg.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Copyright (c) 2002, Xiph.org Foundation | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
|
||
- Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
- Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
|
||
- Neither the name of the Xiph.org Foundation nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION | ||
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
## Process this file with automake to produce Makefile.in | ||
|
||
|
||
#AUTOMAKE_OPTIONS = foreign 1.6 dist-zip | ||
AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz | ||
|
||
SUBDIRS = src include doc | ||
|
||
m4datadir = $(datadir)/aclocal | ||
m4data_DATA = ogg.m4 | ||
|
||
pkgconfigdir = $(libdir)/pkgconfig | ||
pkgconfig_DATA = ogg.pc | ||
|
||
EXTRA_DIST = README.md AUTHORS CHANGES COPYING \ | ||
libogg.spec libogg.spec.in \ | ||
ogg.m4 ogg.pc.in ogg-uninstalled.pc.in \ | ||
macosx win32 | ||
|
||
dist-hook: | ||
for item in $(EXTRA_DIST); do \ | ||
if test -d $$item; then \ | ||
echo -n "cleaning dir $$item for distribution..."; \ | ||
rm -rf `find $(distdir)/$$item -name .svn`; \ | ||
echo "OK"; \ | ||
fi; \ | ||
done | ||
debug: | ||
$(MAKE) all CFLAGS="@DEBUG@" | ||
|
||
profile: | ||
$(MAKE) all CFLAGS="@PROFILE@" |
Oops, something went wrong.