head 1.8; access; symbols pkgsrc-2025Q1:1.7.0.92 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.90 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.88 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.86 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.84 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.82 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.80 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.78 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.76 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.74 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.72 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.70 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.68 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.66 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.64 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.62 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.60 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.58 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.56 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.52 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.32 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.54 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.50 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.48 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.46 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.44 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.42 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.40 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.38 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.36 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.34 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.30 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.28 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.26 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.24 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.22 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.20 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.18 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.16 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.14 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.12 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.10 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.8 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.6 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.4 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.2 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.6.0.32 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.30 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.28 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.26 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.24 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.22 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.20 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.18 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.16 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.14 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.12 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.10 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.8 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.6 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.4 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.2 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.5.0.12 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.10 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.8 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.6 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.4 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.2 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.4.0.12 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.10 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.8 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.6 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.4 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.2 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.3.0.2 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.2.0.2 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.1.1.1.0.12 pkgsrc-2005Q3-base:1.1.1.1 pkgsrc-2005Q2:1.1.1.1.0.10 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-2005Q1:1.1.1.1.0.8 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-2004Q4:1.1.1.1.0.6 pkgsrc-2004Q4-base:1.1.1.1 pkgsrc-2004Q3:1.1.1.1.0.4 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-2004Q2:1.1.1.1.0.2 pkgsrc-2004Q2-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.8 date 2025.04.12.06.52.23; author wiz; state dead; branches; next 1.7; commitid eQWQqOSMw7cNiJQF; 1.7 date 2013.10.25.21.48.16; author joerg; state Exp; branches; next 1.6; commitid Gp18KuDgFZ6pQIax; 1.6 date 2009.11.09.12.56.00; author joerg; state Exp; branches; next 1.5; 1.5 date 2007.10.17.20.46.55; author wiz; state dead; branches; next 1.4; 1.4 date 2006.06.11.14.21.47; author wiz; state Exp; branches; next 1.3; 1.3 date 2006.01.21.14.14.53; author rillig; state Exp; branches; next 1.2; 1.2 date 2005.10.12.21.59.42; author wiz; state Exp; branches; next 1.1; 1.1 date 2004.04.06.13.47.43; author jmmv; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.04.06.13.47.43; author jmmv; state Exp; branches; next ; desc @@ 1.8 log @libtheora: update to 1.2.0. libtheora 1.2.0 (2025 March 29) * Bumped minor SONAME versions as oc_comment_unpack() implementation changed. * Added example wrapper script encoder_example_ffmpeg (#1601 #2336). * Improve comment handling on platforms where malloc(0) return NULL (#2304). * Added pragma in example code to quiet clang op precedenca warnings. * Adjusted encoder_example help text. * Adjusted README, CHANGES, pkg-config and spec files to better reflect current release (#2331 #2328). * Corrected english typos in source and build system. * Switched http links to https in doc and comments where relevant. Did not touch RFC drafts. libtheora 1.2.0beta1 (2025 March 15) * Bumped minor SONAME versions as methods changed constness of arguments. * Updated libogg dependency to version 1.3.4 for ogg_uint64_t. * Updated doxygen setup. * Updated autotools setup and support scripts (#1467 #1800 #1987 #2318 #2320). * Added support for RISC OS. * Fixed mingw build (#2141). * Improved ARM support. * Converted SCons setup to work with Python 3. * Introduced new configure options --enable-mem-constraint and --enable-gcc-sanitizers. * Fixed all known compiler warnings and errors from gcc and clang. * Improved examples for stability and correctness. * Various speed, bug fixes and code quality improvements. - Fixed build problem with Visual Studio (#2317). - Avoids undefined bit shift of signed numbers (#2321, #2322). - Avoids example encoder crash on bogus audio input (#2305). - Fixed musl linking issue with asm enabled (#2287). - Fixed some broken clamping in rate control (#2229). - Added NULL check _tc and _setup even for data packets (#2279). - Fixed mismatched oc_mb_fill_cmapping11 signature (#2068). - Updated the documentation for theora_encode_comment() (#726). - Adjusted build to only link libcompat with dump_video (#1587). - Corrected an operator precedence error in the visualization code (#1751). - Fixed two spelling errors in the comments (#1804). - Avoid negative bit shift operation in huffdec.c (CVE-2024-56431). * Improved library documentation and specification text. * Adjusted library dependencies so libtheoraenc do not depend on libtheoradec. * Handle fallout from CVE-2017-14633 in libvorbis, check return value in encoder_example and transcoder_example. libtheora 1.2.0alpha1 (2010 September 23) * New 'ptalarbvorm' encoder with better rate/distortion optimization * New th_encode_ctl option for copying configuration from an existing setup header, useful for splicing streams. * Returns TH_DUPFRAME in more cases. * Add ARM optimizations * Add TI C64x+ DSP optimizations * Other performance improvements * Rename speedlevel 2 to 3 and provide a new speedlevel 2 * Various minor bug fixes libtheora 1.1.2 (unreleased snapshot) * Fix Huffman table decoding with OC_HUFF_SLUSH is set to 0 * Fix a frame size bug in player_example * Add support for passing a buffer the size of the picture region, rather than a full padded frame to th_encode_ycbcr_in() as was possible with the legacy pre-1.0 API. * 4:4:4 support in player_example using software yuv->rgb * Better rgb->yuv conversion in png2theora * Clean up warnings and local variables * Build and documentation fixes @ text @$NetBSD: patch-aa,v 1.7 2013/10/25 21:48:16 joerg Exp $ Never add -lcompat for ftime. If someone cares about the example, it should use gettimeofday. --- configure.orig 2009-10-01 18:04:08.000000000 +0000 +++ configure @@@@ -11863,7 +11863,7 @@@@ else case $host in *) DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES" - CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops" + CFLAGS="-Wall -Wno-parentheses -O3 -fomit-frame-pointer -finline-functions -funroll-loops" PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";; esac fi @@@@ -13734,99 +13734,6 @@@@ else fi - - - - - -{ $as_echo "$as_me:$LINENO: checking for library containing ftime" >&5 -$as_echo_n "checking for library containing ftime... " >&6; } -if test "${ac_cv_search_ftime+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ftime (); -int -main () -{ -return ftime (); - ; - return 0; -} -_ACEOF -for ac_lib in '' compat; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_search_ftime=$ac_res -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext - if test "${ac_cv_search_ftime+set}" = set; then - break -fi -done -if test "${ac_cv_search_ftime+set}" = set; then - : -else - ac_cv_search_ftime=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_ftime" >&5 -$as_echo "$ac_cv_search_ftime" >&6; } -ac_res=$ac_cv_search_ftime -if test "$ac_res" != no; then - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - - { $as_echo "$as_me:$LINENO: checking for getopt_long" >&5 $as_echo_n "checking for getopt_long... " >&6; } if test "${ac_cv_func_getopt_long+set}" = set; then @ 1.7 log @Don't use -fforce-addr. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2009/11/09 12:56:00 joerg Exp $ @ 1.6 log @Do not link against -lcompat, it breaks DSO support. Bump revision. @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- configure.orig 2009-11-09 13:52:17.000000000 +0100 d8 9 @ 1.5 log @Update to 1.0beta2: libtheora 1.0beta2 (2007 October 12) - Fix a crash bug on char-is-unsigned architectures (PowerPC) - Fix a buffer sizing issue that caused rare encoder crashes - Fix a buffer alignment issue - Build fixes for MingW32, MSVC - Improved format documentation. libtheora 1.0beta1 (2007 September 22) - Granulepos scheme modified to match other codecs. This bumps the bitstream revision to 3.2.1. Bitstreams marked 3.2.0 are handled correctly by this decoder. Older decoders will show a one frame sync error in the less noticable direction. It also includes the changes done for alpha8, which was short lived and is only interesting for historical reasons: libtheora 1.0alpha8 (2007 September 18) - Switch to new spec compliant decoder from theora-exp branch. Written by Dr. Timothy Terriberry. - Add support to the encoder for using quantization settings provided by the application. - more assembly optimizations @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2006/06/11 14:21:47 wiz Exp $ d3 4 a6 1 --- configure.orig 2006-05-30 22:47:15.000000000 +0000 d8 2 a9 2 @@@@ -18891,7 +18891,7 @@@@ if test "x$lt_cv_prog_gnu_ld" = "xyes"; SHLIB_VERSION_ARG="Wl,--version-script=Version_script" a10 8 case "$target_os" in - linux* | solaris* ) + linux*) SHLIB_VERSION_ARG="-Wl,--version-script=Version_script" ;; *) @@@@ -19673,6 +19673,8 @@@@ fi HAVE_SDL=no a11 27 +# SDL is only used for the sample player; disable it +if false; then # Check whether --with-sdl-prefix or --without-sdl-prefix was given. if test "${with_sdl_prefix+set}" = set; then withval="$with_sdl_prefix" @@@@ -19970,6 +19972,7 @@@@ echo "$as_me: WARNING: *** Unable to fin rm -f conf.sdltest +fi HAVE_OSS=no @@@@ -19977,6 +19980,8 @@@@ HAVE_OSS=no +# OSS is only used by the sample player; disable it. +if false; then for ac_header in sys/soundcard.h soundcard.h machine/soundcard.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` @@@@ -20132,7 +20137,7 @@@@ if test x$HAVE_OSS != xyes; then { echo "$as_me:$LINENO: WARNING: OSS audio support not found -- not compiling player_example" >&5 echo "$as_me: WARNING: OSS audio support not found -- not compiling player_example" >&2;} fi d13 95 a107 4 +fi ac_enable_float=yes @ 1.4 log @Update to 1.0alpha6: libtheora 1.0alph6 (2006 May 30) * Merge theora-mmx simd acceleration (x86_32 and x86_64) * Major RTP payload specification update * Minor format specification updates * Fix some spurious calls to free() instead of _ogg_free() * Fix invalid array indexing in PixelLineSearch() * Improve robustness against invalid input * General warning cleanup * The offset_y member now means what every application thought it meant (offset from the top). This will mean some old files (those with a non-centered image created with a buggy encoder) will display differently. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2006/01/21 14:14:53 rillig Exp $ @ 1.3 log @The Solaris linker doesn't know the --version-script option. Patch by Gilles Dauphin in PR 32557. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2005/10/12 21:59:42 wiz Exp $ d3 4 a6 4 --- configure.orig 2005-08-20 20:44:13.000000000 +0200 +++ configure 2006-01-21 15:13:32.000000000 +0100 @@@@ -19322,7 +19322,7 @@@@ CFLAGS="$CFLAGS $cflags_save" LDFLAGS="$LDFLAGS $ldflags_save" d8 1 a8 1 case "$target_os" in d14 1 a14 1 @@@@ -20102,6 +20102,8 @@@@ fi d23 1 a23 1 @@@@ -20394,6 +20396,7 @@@@ echo "$as_me: WARNING: *** Unable to fin d31 1 a31 1 @@@@ -20401,6 +20404,8 @@@@ HAVE_OSS=no d40 1 a40 1 @@@@ -20556,7 +20561,7 @@@@ if test x$HAVE_OSS != xyes; then @ 1.2 log @Update to 1.0alpha5: [ 2005 August 20 - libtheora 1.0 alpha 5 release ] We're pleased to announce a new release of the libtheora reference implemenation. This is an incremental update over alpha 4, to draw a line under recent work before we start adding optimization work. There are two important bugfixes as well, so we recommend upgrading to everyone. This release is source and binary compatible with 1.0 alpha 4. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1.1.1 2004/04/06 13:47:43 jmmv Exp $ d4 10 a13 1 +++ configure @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.orig 2004-03-20 06:43:31.000000000 +0100 d5 2 a6 1 @@@@ -19426,6 +19426,8 @@@@ fi d9 1 a9 2 +# SDL is only used for the sample player; disable it. d14 1 a14 1 @@@@ -19718,11 +19720,14 @@@@ echo "$as_me: WARNING: *** Unable to fin d21 2 d31 3 a33 1 @@@@ -19876,6 +19881,7 @@@@ echo "$as_me: WARNING: OSS audio support d35 1 a35 2 done d39 1 a39 1 if test x$HAVE_SDL = xyes -a x$HAVE_OSS = xyes; then @ 1.1.1.1 log @Initial import of libtheora, version 1.0alpha3: Theora is Xiph.Org's first publicly released video codec, intended for use within the Ogg's project's Ogg multimedia streaming system. Theora is derived directly from On2's VP3 codec; currently the two are nearly identical, varying only in encapsulating decoder tables in the bitstream headers, but Theora will make use of this extra freedom in the future to improve over what is possible with VP3. @ text @@