Up to [cvs.NetBSD.org] / pkgsrc / multimedia / libtheora
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
libtheora: Avoid UB with ctype functions. Patch was upstreamed. bump PKGREVISION.
Fix build on 32 bit ARM.
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 <codec.h> 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
Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.
libtheora{enc,dec}.so use symbols from libtheora.so, so make sure the
former are linked against the latter
bump PKGREV
Do not link against -lcompat, it breaks DSO support. Bump revision.
Update libtheora* to 1.1.1: libtheora 1.1.1 (2009 October 1) - Fix problems with MSVC inline assembly - Add the missing encoder_disabled.c to the distribution - build updates: autogen.sh should work better after switching systems and the MSVC project now defaults to the dynamic runtime library - Namespace some variables to avoid conflicts on wince. libtheora 1.1.0 (2009 September 24) - Fix various small issues with the example and telemetry code - Fix handing a zero-byte packet as the first frame - Documentation cleanup - Two minor build fixes libtheora 1.1beta3 (2009 August 22) - Rate control fixes to smooth quality - MSVC build now exports all of the 1.0 api - Assorted small bug fixes libtheora 1.1beta2 (2009 August 12) - Fix a rate control problem with difficult input - Build fixes for OpenBSD and Apple Xcode - Examples now all use the 1.0 api - TH_ENCCTL_SET_SPLEVEL works again - Various bug fixes and source tree rearrangement libtheora 1.1beta1 (2009 August 5) - Support for two-pass encoding - Performance optimization of both encoder and decoder - Encoder supports dynamic adjustment of quality and bitrate targets - Encoder is generally more configurable, and all rate control modes perform better - Encoder now accepts 4:2:2 and 4:4:4 chroma sampling - Decoder telemetry output shows quantization choice and a breakdown of bitrate usage in the frame - MSVC assembly optimizations up to date and functional libtheora 1.1alpha2 (2009 May 26) - Reduce lambda for small quantizers. - New encoder fDCT does better on smooth gradients - Use SATD for mode decisions (1-2% bitrate reduction) - Assembly rewrite for new features and general speed up - Share code between the encoder and decoder for performance - Fix 4:2:2 decoding and telemetry - MSVC project files updated, but assembly is disabled. - New configure option --disable-spec to work around toolchain detection failures. - Limit symbol exports on MacOS X. - Port remaining unit tests from the 1.0 release. libtheora 1.1alpha1 (2009 March 27) - Encoder rewrite with much improved vbr quality/bitrate and better tracking of the target rate in cbr mode. - MSVC project files do not work in this release.
Disable assembler code under Mac OS X Leopard to fix build failure.
Enable assembler support under Mac OS X Intel again. It can still break the build, not sure why it doesn't on all of the systems I tested.
Convert to user-destdir.
Pass --disable-asm when using Sun Studio.
Pullup ticket #2651 - requested by is libtheora: build fix Revisions pulled up: - multimedia/libtheora/Makefile 1.23 --- Module Name: pkgsrc Committed By: is Date: Thu Jan 22 15:14:23 UTC 2009 Modified Files: pkgsrc/multimedia/libtheora: Makefile Log Message: If transfig is installed during the build, but gs is not, building fails. As we don't want to install the docs but from a seperate package, just disable all doc-building tools to be on the safe side. PR 40452
If transfig is installed during the build, but gs is not, building fails. As we don't want to install the docs but from a seperate package, just disable all doc-building tools to be on the safe side. PR 40452
Remove unneeded inclusion of bsd.prefs.mk and commented out code.
Don't disable assembler code under Mac OS X Intel anymore. It is no longer necessary to do this to make this package build.
Remove documentation from this package to avoid doxygen dependency. Requested by tron.
Update to 1.0. Changes since last beta (not rc1, previous pkgsrc version): libtheora 1.0 (2008 November 3) - Merge x86 assembly for forward DCT from Thusnelda branch. - Update 32 bit MMX with loop filter fix. - Check for an uninitialized state before dereferencing in propagating decode calls. - Remove all TH_DEBUG statements. - Rename the bitpacker source files copied from libogg to avoid confusing simple build systems using both libraries. - Declare bitfield entries to be explicitly signed for Solaris cc. - Set quantization parameters to default values when an empty buffer is passed with TH_ENCCTL_SET_QUANT_PARAMS. - Split encoder and decoder tests depending on configure settings. - Return lstylex.sty to the distribution. - Disable inline assembly on gcc versions prior to 3.1. - Remove extern references for OC_*_QUANT_MIN. - Make various data tables static const so they can be read-only. - Remove ENCCTL codes from the old encoder API. - Implement TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE ctl. - Fix segfault when exactly one of the width or height is not a multiple of 16, but the other is. - Compute the correct vertical offset for chroma. - cpuid assembly fix for MSVC. - Add VS2008 project files. - Build updates for 64-bit platforms, Mingw32, VS and XCode. - Do not clobber the cropping rectangle. - Declare ourselves 1.0final to pkg-config to sort after beta releases. - Fix the scons build to include asm in libtheoradec/enc.
Update to 1.0rc1: libtheora 1.0rc1 - Merge x86 assembly for forward DCT from Thusnelda branch. - Update 32 bit MMX with loop filter fix. - Check for an uninitialized state before dereferencing in propagating decode calls. - Remove all TH_DEBUG statements. - Rename the bitpacker source files imported from libogg to avoid confusing simple build systems using both libraries. - Add VS2008 project files. - Add explicit casts as a work-around for Solaris's cc ignoring the signedness of bitfield types. - Set quantization parameters to default values when an empty buffer is passed with TH_ENCCTL_SET_QUANT_PARAMS. - Split encoder and decoder tests depending on configure settings. - Return lstylex.sty to the distribution. - Disable inline assembly on gcc versions prior to 3.1. - Remove extern references for OC_*_QUANT_MIN. - Make various data tables static const so they can be read-only. - cpuid assembly fix for MSVC. - Remove ENCCTL codes from the old encoder API. - Implement TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE ctl.
Stop the "configure" script from picking up "doxygen" or "pdflatex" which will break the build later (and would cause package list inconsistencies if the build succeeded).
Update to 1.0beta3: libtheora 1.0beta3 (2008 April 16) - Build new libtheoradec and libtheoraenc libraries supporting the new API from theora-exp. This API should not be considered stable yet. - Change granule_frame() to return an index as documented. This is a change of behaviour from 1.0beta1. - Document that granule_time() returns the end of the presentation interval. - Use a custom copy of the libogg bitpacker in the decoder to avoid function call overhead. - MMX code improved and ported to MSVC. - Fix a problem with the MMX code on SELinux - Fix a problem with decoder quantizer initialization. - Fix a page queue problem with png2theora. - Improved robustness. - Updated VS2005 project files. - Dropped build support for Microsoft VS2003. - Dropped build support for the unreleased libogg2. - Added the specification to the autotools build. - Specification corrections.
Log Message: Disable assembler code under Mac OS X Leopard i386 to fix build failure.
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
DESTDIR support.
Explicitly disable doxygen to avoid installing an extra, unregistered file (FreeSans.ttf, which gets copied into the work directory when running this tool).
update to 1.0alpha7 changes: - Enable mmx assembly by default - Other build fixes - time testing mode (-f) for the dump_video example
Take maintainership.
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.
Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
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.
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Use tar.bz2 file. Closes PR 29288 by Antoine Reilles.
Update to 1.0alpha4:
Changes since the alpha3 release:
* first draft of the Theora I Format Specification
* API documentation generated from theora.h with Doxygen
* fix a double-update bug in the motion analysis
* apply the loop filter before filling motion vector border in the reference frame
* new utility functions: theora_packet_isheader(), theora_packet_iskeyframe(), and
theora_granule_frame()
* optional support for building without floating point
* optional support for building without encode support
* various build and packaging fixes
* pkg-config support
* SymbianOS build support
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
Follow libogg into multimedia/.
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.
Initial revision