head 1.14; access; symbols pkgsrc-2023Q4:1.14.0.12 pkgsrc-2023Q4-base:1.14 pkgsrc-2023Q3:1.14.0.10 pkgsrc-2023Q3-base:1.14 pkgsrc-2023Q2:1.14.0.8 pkgsrc-2023Q2-base:1.14 pkgsrc-2023Q1:1.14.0.6 pkgsrc-2023Q1-base:1.14 pkgsrc-2022Q4:1.14.0.4 pkgsrc-2022Q4-base:1.14 pkgsrc-2022Q3:1.14.0.2 pkgsrc-2022Q3-base:1.14 pkgsrc-2022Q2:1.13.0.108 pkgsrc-2022Q2-base:1.13 pkgsrc-2022Q1:1.13.0.106 pkgsrc-2022Q1-base:1.13 pkgsrc-2021Q4:1.13.0.104 pkgsrc-2021Q4-base:1.13 pkgsrc-2021Q3:1.13.0.102 pkgsrc-2021Q3-base:1.13 pkgsrc-2021Q2:1.13.0.100 pkgsrc-2021Q2-base:1.13 pkgsrc-2021Q1:1.13.0.98 pkgsrc-2021Q1-base:1.13 pkgsrc-2020Q4:1.13.0.96 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.13.0.94 pkgsrc-2020Q3-base:1.13 pkgsrc-2020Q2:1.13.0.90 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.13.0.70 pkgsrc-2020Q1-base:1.13 pkgsrc-2019Q4:1.13.0.92 pkgsrc-2019Q4-base:1.13 pkgsrc-2019Q3:1.13.0.88 pkgsrc-2019Q3-base:1.13 pkgsrc-2019Q2:1.13.0.86 pkgsrc-2019Q2-base:1.13 pkgsrc-2019Q1:1.13.0.84 pkgsrc-2019Q1-base:1.13 pkgsrc-2018Q4:1.13.0.82 pkgsrc-2018Q4-base:1.13 pkgsrc-2018Q3:1.13.0.80 pkgsrc-2018Q3-base:1.13 pkgsrc-2018Q2:1.13.0.78 pkgsrc-2018Q2-base:1.13 pkgsrc-2018Q1:1.13.0.76 pkgsrc-2018Q1-base:1.13 pkgsrc-2017Q4:1.13.0.74 pkgsrc-2017Q4-base:1.13 pkgsrc-2017Q3:1.13.0.72 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.68 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.13.0.66 pkgsrc-2017Q1-base:1.13 pkgsrc-2016Q4:1.13.0.64 pkgsrc-2016Q4-base:1.13 pkgsrc-2016Q3:1.13.0.62 pkgsrc-2016Q3-base:1.13 pkgsrc-2016Q2:1.13.0.60 pkgsrc-2016Q2-base:1.13 pkgsrc-2016Q1:1.13.0.58 pkgsrc-2016Q1-base:1.13 pkgsrc-2015Q4:1.13.0.56 pkgsrc-2015Q4-base:1.13 pkgsrc-2015Q3:1.13.0.54 pkgsrc-2015Q3-base:1.13 pkgsrc-2015Q2:1.13.0.52 pkgsrc-2015Q2-base:1.13 pkgsrc-2015Q1:1.13.0.50 pkgsrc-2015Q1-base:1.13 pkgsrc-2014Q4:1.13.0.48 pkgsrc-2014Q4-base:1.13 pkgsrc-2014Q3:1.13.0.46 pkgsrc-2014Q3-base:1.13 pkgsrc-2014Q2:1.13.0.44 pkgsrc-2014Q2-base:1.13 pkgsrc-2014Q1:1.13.0.42 pkgsrc-2014Q1-base:1.13 pkgsrc-2013Q4:1.13.0.40 pkgsrc-2013Q4-base:1.13 pkgsrc-2013Q3:1.13.0.38 pkgsrc-2013Q3-base:1.13 pkgsrc-2013Q2:1.13.0.36 pkgsrc-2013Q2-base:1.13 pkgsrc-2013Q1:1.13.0.34 pkgsrc-2013Q1-base:1.13 pkgsrc-2012Q4:1.13.0.32 pkgsrc-2012Q4-base:1.13 pkgsrc-2012Q3:1.13.0.30 pkgsrc-2012Q3-base:1.13 pkgsrc-2012Q2:1.13.0.28 pkgsrc-2012Q2-base:1.13 pkgsrc-2012Q1:1.13.0.26 pkgsrc-2012Q1-base:1.13 pkgsrc-2011Q4:1.13.0.24 pkgsrc-2011Q4-base:1.13 pkgsrc-2011Q3:1.13.0.22 pkgsrc-2011Q3-base:1.13 pkgsrc-2011Q2:1.13.0.20 pkgsrc-2011Q2-base:1.13 pkgsrc-2011Q1:1.13.0.18 pkgsrc-2011Q1-base:1.13 pkgsrc-2010Q4:1.13.0.16 pkgsrc-2010Q4-base:1.13 pkgsrc-2010Q3:1.13.0.14 pkgsrc-2010Q3-base:1.13 pkgsrc-2010Q2:1.13.0.12 pkgsrc-2010Q2-base:1.13 pkgsrc-2010Q1:1.13.0.10 pkgsrc-2010Q1-base:1.13 pkgsrc-2009Q4:1.13.0.8 pkgsrc-2009Q4-base:1.13 pkgsrc-2009Q3:1.13.0.6 pkgsrc-2009Q3-base:1.13 pkgsrc-2009Q2:1.13.0.4 pkgsrc-2009Q2-base:1.13 pkgsrc-2009Q1:1.13.0.2 pkgsrc-2009Q1-base:1.13 pkgsrc-2008Q4:1.12.0.20 pkgsrc-2008Q4-base:1.12 pkgsrc-2008Q3:1.12.0.18 pkgsrc-2008Q3-base:1.12 cube-native-xorg:1.12.0.16 cube-native-xorg-base:1.12 pkgsrc-2008Q2:1.12.0.14 pkgsrc-2008Q2-base:1.12 cwrapper:1.12.0.12 pkgsrc-2008Q1:1.12.0.10 pkgsrc-2008Q1-base:1.12 pkgsrc-2007Q4:1.12.0.8 pkgsrc-2007Q4-base:1.12 pkgsrc-2007Q3:1.12.0.6 pkgsrc-2007Q3-base:1.12 pkgsrc-2007Q2:1.12.0.4 pkgsrc-2007Q2-base:1.12 pkgsrc-2007Q1:1.12.0.2 pkgsrc-2007Q1-base:1.12 pkgsrc-2006Q4:1.10.0.4 pkgsrc-2006Q4-base:1.10 pkgsrc-2006Q3:1.10.0.2 pkgsrc-2006Q3-base:1.10 pkgsrc-2006Q2:1.8.0.2 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.6.0.2 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.5.0.10 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.8 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.6 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.4 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.2 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.4.0.4 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.2 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3; locks; strict; comment @# @; 1.14 date 2022.09.11.12.29.54; author wiz; state Exp; branches; next 1.13; commitid 00RXKDdp4xiRvrTD; 1.13 date 2009.03.20.19.23.53; author joerg; state Exp; branches; next 1.12; 1.12 date 2007.01.07.15.01.52; author wiz; state Exp; branches; next 1.11; 1.11 date 2007.01.07.12.25.05; author wiz; state Exp; branches; next 1.10; 1.10 date 2006.07.08.23.10.35; author jlam; state Exp; branches; next 1.9; 1.9 date 2006.07.08.22.38.59; author jlam; state Exp; branches; next 1.8; 1.8 date 2006.04.12.10.27.00; author rillig; state Exp; branches; next 1.7; 1.7 date 2006.04.06.06.21.34; author reed; state Exp; branches; next 1.6; 1.6 date 2006.02.05.23.08.08; author joerg; state Exp; branches; next 1.5; 1.5 date 2004.10.03.00.13.05; author tv; state Exp; branches; next 1.4; 1.4 date 2004.04.12.23.15.01; author salo; state Exp; branches; next 1.3; 1.3 date 2004.03.18.09.12.08; author jlam; state Exp; branches; next 1.2; 1.2 date 2004.03.05.19.25.07; author jlam; state Exp; branches; next 1.1; 1.1 date 2004.01.24.03.26.46; author jlam; state Exp; branches; next ; desc @@ 1.14 log @flac: update to 1.4.0. ## FLAC 1.4.0 As there have been changes to the library interfaces, the libFLAC version number is incremented to 12, the libFLAC++ version number is incremented to 10. As some changes were breaking, the version age numbers (see [libtool versioning](https://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning)) have been reset to 0. For more details on the changes to the API, see the [porting guide](https://xiph.org/flac/api/group__porting__1__3__4__to__1__4__0.html). The XMMS plugin and 'common' plugin code (used only by the XMMS plugin) are deprecated, they will be removed in a future release. * General: * It is now possible to limit the minimum bitrate of a FLAC file generated by libFLAC and with the `flac` tool to 1 bit/sample. This function can be used to aid live streaming, for example for internet radio * Encoding files with sample rates up to 1'048'575Hz is now possible. (Con Kolivas) * Compression of preset -3 through -8 was slightly improved at the cost of a small decrease in encoding speed by increasing the precision with which autocorrelation was calculated (Martijn van Beurden) * Encoding speed of preset -0, -1 and -2 was slightly improved * Compression of presets -1 and -4 was slighly improved on certain material by changing the adaptive mid-side heuristics * Speedups specifically targeting 64-bit ARMv8 devices using NEON were integrated (Ronen Gvili, Martijn van Beurden) * Speedups for x86_64 CPUs having the FMA instruction set extention are added * Encoding and decoding of 32-bit PCM is now possible * (Ogg) FLAC format: * The FLAC format document is being rewritten by the IETF CELLAR working group. The latest draft can be found on [https://datatracker.ietf.org/doc/draft-ietf-cellar-flac/](https://datatracker.ietf.org/doc/draft-ietf-cellar-flac/) * The FLAC format document specifies no bounds for the residual. In other to match current decoder implementations, it is proposed to bound the residual to the range provided by a 32-bit int signed two's complement. This limit must be checked by FLAC encoders as to keep FLAC decoders free from the complexity of being to decode a residual exceeding a 32-bit int. * There is now a set of files available to test whether a FLAC decoder implements the format correctly. This FLAC decoder testbench can be found at [https://github.com/ietf-wg-cellar/flac-test-files](https://github.com/ietf-wg-cellar/flac-test-files). Also, results of testing hard- and software can be found here at [https://wiki.hydrogenaud.io/index.php?title=FLAC_decoder_testbench](https://wiki.hydrogenaud.io/index.php?title=FLAC_decoder_testbench). * flac: * The option --limit-min-bitrate was added to aid streaming, see [github #264](https://github.com/xiph/flac/pull/264) * The option --keep-foreign-metadata-if-present is added. This option works the same as --keep-foreign-metadata, but does return a warning instead of an error if no foreign metadata was found to store or restore * The warning returned by the foreign metadata handling is now clearer in case a user tries to restore foreign metadata of the wrong type, for example decoding a FLAC file containing AIFF foreign metadata to a WAV file * A problem when using the analyse function causing the first frame to have a wrong size and offset was fixed * Fix bug where channel mask of a file is unintentionally reused when several files are processed with one command * The order of compression-related commands is no longer important, i.e. -8ep gives the same result as -ep8. Previously, a compression level (like -8) would override a more specific setting (like -e or -p). This is no longer the case * flac now checks the block-align property of WAV files to ensure non-standard WAV files (for which flac has no handling) are not mangled * metaflac: * (none) * build system: * MSVC and Makefile.lite build system files have been removed. Building with MSVC (Visual Studio) can be done by using CMake * Various CMake improvements, especially for creating MSVC build files (Martijn van Beurden, martinRenou, CookiePLMonster, David Callu, Tyler Dunn, Cameron Cawley) * Various fixes for MinGW (Martijn van Beurden, Cameron Cawley) * Removed obsolete autotools macro's to silence warnings * Fixes for FreeBSD PowerPC (pkubaj) * Fixed some compiler warnings (Martijn van Beurden, Tyler Dunn) * Fix building with uclibc (Fabrice Fontaine) * testing/validation: * Addition of new encoder fuzzer, adding fuzzing for 8, 24 and 32-bit inputs * Addition of new decoder fuzzer, adding coverage of seeking code * Addition of metadata fuzzer, adding coverage of metadata APIs * Various improvements to fuzzers to improve code coverage, fuzzing speed and stability * Many changes to test suite to improve cross-platform compatibility (Rosen Penev) * Windows CI now also builds the whole test suite * Clang-format file added (Rosen Penev) * Add warning on using v141_xp platform toolset with /MT (Martijn van Beurden, Paul Sanders) * libraries: * Various seeking fixes (Martijn van Beurden, Robert Kausch) * Various bugs fixed found by fuzzing * On decoding, it is now checked whether residuals can be contained by a 32-bit int, preventing integer overflow * Add check that samples supplied to libFLAC actually fall within the bps set * Add checks when parsing metadata blocks to not allocate excessive amounts of memory and not overread * Undocumented Windows-only utf8 functions are no longer exported to the DLL interface * Removed all assembler and intrinsics code from the decoder to improve fuzzing, as they provided only a small speed benefit * The bitwriter buffer is limited in size to 2^24 bytes, so it cannot write excessively large files. This is a backup in case another bug in this area creeps (back) in. * The metadata iterations should now never return a vorbiscomment entry with NULL as an entry, now always at least an empty string is returned * documentation: * Removed html documentation and generate man pages from markdown * Interface changes: * libFLAC: * Addition of FLAC__stream_encoder_set_limit_min_bitrate() and FLAC__stream_encoder_get_limit_min_bitrate(), see [github #264](https://github.com/xiph/flac/pull/264) * get_client_data_from_decoder is renamed FLAC__get_decoder_client_data(), see [github #124](https://github.com/xiph/flac/pull/124) * All API functions taking a filename as an argument now take UTF-8 filenames on Windows, and no longer accept filenames using the current codepage * FLAC__Frame struct has changed: warmup samples are now stored in FLAC__int64 instead of FLAC__int32 types, and verbatim samples can now be stored in either FLAC__int32 or FLAC__int64 depending on whether samples fix the former or latter * The FLAC__StreamMetadata struct now has a tag, so it can be forward declared * libFLAC++: * Addition of ::set_limit_min_bitrate() and ::get_limit_min_bitrate(), see [github #264](https://github.com/xiph/flac/pull/264) * All API functions taking a filename as an argument now take UTF-8 filenames on Windows, and no longer accept filenames using the current codepage * The ::FLAC__Frame struct has changed, see the libFLAC interface change. @ text @# $NetBSD: buildlink3.mk,v 1.13 2009/03/20 19:23:53 joerg Exp $ BUILDLINK_TREE+= flac .if !defined(FLAC_BUILDLINK3_MK) FLAC_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.flac+= flac>=1.1.0nb1 BUILDLINK_ABI_DEPENDS.flac+= flac>=1.4.0 BUILDLINK_PKGSRCDIR.flac?= ../../audio/flac .include "../../multimedia/libogg/buildlink3.mk" .endif # FLAC_BUILDLINK3_MK BUILDLINK_TREE+= -flac @ 1.13 log @Simply and speed up buildlink3.mk files and processing. This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.12 2007/01/07 15:01:52 wiz Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.flac+= flac>=1.1.3nb1 @ 1.12 log @Link libFLAC against libogg, since libFLAC references symbols from there. Bump PKGREVISION and ABI depends (dependencies probably wouldn't have built anyway). @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.11 2007/01/07 12:25:05 wiz Exp $ d3 1 a3 2 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ FLAC_BUILDLINK3_MK:= ${FLAC_BUILDLINK3_MK}+ d5 2 a6 3 .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= flac .endif a7 5 BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nflac} BUILDLINK_PACKAGES+= flac BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}flac .if !empty(FLAC_BUILDLINK3_MK:M+) a10 1 .endif # FLAC_BUILDLINK3_MK d13 1 d15 1 a15 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} @ 1.11 log @Update to 1.1.3: * General: o Improved compression with no impact on format or decoding speed. o Much better recovery for corrupted files o Better multichannel support o Large file (>2GB) support everywhere o flac now supports FLAC and Ogg FLAC as input to the encoder (e.g. can re-encode FLAC to FLAC) and preserve all the metadata like tags, etc. o New PICTURE metadata block for storing things like cover art, new --picture option to flac and --import-picture-from option to metaflac for importing pictures, new --export-picture-to option to metaflac for exporting pictures, and metadata API additions for searching for suitable pictures based on type, size and color constraints. o Support for new REPLAYGAIN_REFERENCE_LOUDNESS tag. o Fixed a bug in Ogg FLAC encoding where metadata was not being updated properly. Existing Ogg FLAC files should be recoded to fix up the metadata, e.g. flac -Vf -S 10s --ogg file.ogg o In the developer libraries, the interface has been simplfied by merging the three decoding layers into a single class; ditto for the encoders. Also, libOggFLAC has been merged into libFLAC and libOggFLAC++ has been merged into libFLAC++ so there is a single API supporting both native FLAC and Ogg FLAC. * FLAC format: o New PICTURE metadata block for storing things like cover art. o Speaker assignments and channel orders for 3-6 channels (see frame header). o Further restrictions on the FLAC subset when the sample rate is <=48kHz; in this case the maximum LPC order is now 12 and maximum blocksize is 4608. This is to further limit the processing and memory requirements for hardware implementations while not measurably affecting compression. * Ogg FLAC format: o (none) * flac: o Improved the -F option to allow decoding of FLAC files whose metadata is corrupted, and other kinds of severe corruption. o Encoder can now take FLAC and Ogg FLAC as input. The output FLAC file will have all the same metadata as the original unless overridden with options on the command line. o Encoder can now take WAVEFORMATEXTENSIBLE WAVE files as input; decoder will output WAVEFORMATEXTENSIBLE WAVE files when necessary to conform to the latest Microsoft specifications. o Now properly supports AIFF and WAVEFORMATEXTENSIBLE multichannel input, performing necessary channel reordering both for encoding and decoding. WAVEFORMATEXTENSIBLE channel mask is also saved to a tag on encoding and restored on decoding for situations when there is no natural mapping to FLAC channel assignments. o Expanded support for "odd" sample resolutions to WAVE and AIFF input; all resolutions from 4 to 24 bits-per-sample now supported for all input types. o Added a new option --tag-from-file for setting a tag from file (e.g. for importing a cuesheet as a tag). o Added a new option --picture for adding pictures. o Added a new option --apodization for specifying the window function(s) to be used in LPC analysis. o Added support for encoding from non-compressed AIFF-C (SF #1090933). o Importing of non-CDDA-compliant cuesheets now only issues a warning, not an error (see here). o MD5 comparison failures on decoding are now an error instead of a warning and will also return a non-zero exit code (SF #1493725). o The default padding size is now 8K, or 64K if the input audio stream is more than 20 minutes long. o Fixed a bug in cuesheet parsing where it would return an error if the last line of the cuesheet did not end with a newline. o Fixed a bug that caused a crash when -a and -t were used together (SF #1229481). o Fixed a bug with --sector-align where appended samples were not always totally silent (SF #1237707). o Fixed bugs with --sector-align and raw input files. o Fixed a bug printing out unknown AIFF subchunk names (SF #1267476). o Fixed a bug where WAVE files with "data" subchunks of size 0 where accepted (SF #1293830). o Fixed a bug where sync error at end-of-stream of truncated files was not being caught (SF #1244071). o Fixed a problem with filename parsing if file does not have extension but also has a . in the path (SF #1161916). o Fixed a problem with fractional-second parsing for --skip/--until in some locales (SF #1031043). o Increase progress report rate when -p and -e are used together (SF #1580122). * metaflac: o Added support for read-only operations on Ogg FLAC files. o Added a new option --set-tag-from-file for setting a tag from file (e.g. for importing a cuesheet as a tag). o Added a new option --import-picture-from for importing pictures. o Added a new option --export-picture-to for exporting pictures. o Added shorthand operation --remove-replay-gain for removing ReplayGain tags. o --export-cuesheet-to now properly specifies the FLAC file name (SF #1272825). o Importing of non-CDDA-compliant cuesheets now issues a warning. o Removed the following deprecated tag editing options; you should use the new option names shown instead: + Removed --show-vc-vendor; use --show-vendor-tag + Removed --show-vc-field; use --show-tag + Removed --remove-vc-all; use --remove-all-tags + Removed --remove-vc-field; use --remove-tag + Removed --remove-vc-firstfield; use --remove-first-tag + Removed --set-vc-field; use --set-tag + Removed --import-vc-from; use --import-tags-from + Removed --export-vc-to; use --export-tags-to o Disallow multiple input FLAC files when --import-tags-from=- is used (SF #1082577). * plugins: o When ReplayGain is on, if tags for the preferred kind of gain (album/track) are not in a stream, the other kind will be used. o Added ReplayGain info to file info box in XMMS plugin o Fixed UTF-8 decoder to disallow non-shortest-form and surrogate sequences (see here). * build system: o Added support for building on OS/2 with EMX (SF #1229495) o Added support for building with Borland C++ (SF #1599018) o Added a --disable-xmms-plugin option to configure to prevent building the XMMS plugin (SF #930494). o Added a --disable-doxygen-docs option to configure for disabling Doxygen-based API doc generation (SF #1365935). o Added a --disable-thorough-tests option to configure to do the basic library, stream, and tool tests in a reasonable time (SF #1077948). o Added large file support with AC_SYS_LARGEFILE; use --disable-largefile with configure to disable. * libraries: o Merged libOggFLAC into libFLAC; both formats are now supporte through the same API. o Merged libOggFLAC++ into libFLAC++; both formats are now supporte through the same API. o libFLAC and libFLAC++: Simplified encoder setup with new FLAC__stream_encoder_set_compression_level() function. o libFLAC: Improved compression with no impact on FLAC format or decoding time by adding a windowing stage before LPC analysis. o libFLAC: Fixed a bug where missing STREAMINFO fields (min/max framesize, total samples, MD5 sum) and seek point offsets were not getting rewritten back to Ogg FLAC file (SF #1338969). o libFLAC: Fixed a bug in cuesheet parsing where it would return an error if the last line of the cuesheet did not end with a newline. o libFLAC: Fixed UTF-8 decoder to disallow non-shortest-form and surrogate sequences (see here). o libFLAC: Fixed a bug in the return value for FLAC__stream_decoder_set_metadata_respond_application() and FLAC__stream_decoder_set_metadata_ignore_application() when there was a memory allocation error (SF #1235005). * Interface changes (see also the porting guide for specific instructions on porting to FLAC 1.1.3): o all libraries; + Merged libOggFLAC into libFLAC; both formats are now supporte through the same API. + Merged libOggFLAC++ into libFLAC++; both formats are now supporte through the same API. + Merged seekable stream decoder and file decoder into the stream decoder. + Merged seekable stream encoder and file encoder into the stream encoder. + Added #defines for the API version number to make porting easier; see include/lib*FLAC*/export.h. o libFLAC: + Added FLAC__stream_encoder_set_apodization() + Added FLAC__stream_encoder_set_compression_level() + Added FLAC__metadata_object_cuesheet_calculate_cddb_id() + Added FLAC__metadata_get_cuesheet() + Added FLAC__metadata_get_picture() + Added FLAC__metadata_chain_read_ogg() and FLAC__metadata_chain_read_ogg_with_callbacks() + Changed FLAC__stream_encoder_finish() now returns a FLAC__bool to signal a verify failure, or error processing last frame or updating metadata. + Changed FLAC__StreamDecoderState: removed state FLAC__STREAM_DECODER_UNPARSEABLE_STREAM + Changed FLAC__StreamDecoderErrorStatus: new error code FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM + The above two changes mean that when the decoder encounters what it thinks are unparseable frames from a future decoder, instead of returning a fatal error with the FLAC__STREAM_DECODER_UNPARSEABLE_STREAM state, it just calls the error callback with FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM and leaves the behavior up to the application. o libFLAC++: + Added FLAC::Metadata::Picture + Added FLAC::Encoder::Stream::set_apodization() + Added FLAC::Encoder::Stream::set_compression_level() + Added FLAC::Metadata::CueSheet::calculate_cddb_id() + Added FLAC::Metadata::get_cuesheet() + Added FLAC::Metadata::get_picture() + Changed FLAC::Metadata::Chain::read() to accept a flag denoting Ogg FLAC input + Changed FLAC::Decoder::Stream::finish() now returns a bool to signal an MD5 failure like FLAC__stream_decoder_finish() does. + Changed FLAC::Encoder::Stream::finish() now returns a bool to signal a verify failure, or error processing last frame or updating metadata. o libOggFLAC: + Merged into libFLAC. o libOggFLAC++: + Merged into libFLAC++. Shlib major bump -> bump ABI depends. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:35 jlam Exp $ d16 1 a16 1 BUILDLINK_ABI_DEPENDS.flac+= flac>=1.1.3 @ 1.10 log @Change the format of BUILDLINK_ORDER to contain depth information as well, and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:38:59 jlam Exp $ d16 1 a16 1 BUILDLINK_ABI_DEPENDS.flac+= flac>=1.1.2nb1 @ 1.9 log @Track information in a new variable BUILDLINK_ORDER that informs us of the order in which buildlink3.mk files are (recursively) included by a package Makefile. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.8 2006/04/12 10:27:00 rillig Exp $ d12 1 a12 1 BUILDLINK_ORDER+= flac @ 1.8 log @Aligned the last line of the buildlink3.mk files with the first line, so that they look nicer. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.7 2006/04/06 06:21:34 reed Exp $ d12 1 @ 1.7 log @Over 1200 files touched but no revisions bumped :) RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day). @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.6 2006/02/05 23:08:08 joerg Exp $ d21 1 a21 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} @ 1.6 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.5 2004/10/03 00:13:05 tv Exp $ d14 2 a15 2 BUILDLINK_DEPENDS.flac+= flac>=1.1.0nb1 BUILDLINK_RECOMMENDED.flac+= flac>=1.1.2nb1 @ 1.5 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.4 2004/04/12 23:15:01 salo Exp $ d15 1 a15 1 BUILDLINK_RECOMMENDED.flac+= flac>=1.1.1nb1 @ 1.4 log @Follow libogg into multimedia/. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.3 2004/03/18 09:12:08 jlam Exp $ d15 1 @ 1.3 log @Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for correctly ensured that was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.2 2004/03/05 19:25:07 jlam Exp $ d18 1 a18 1 .include "../../audio/libogg/buildlink3.mk" @ 1.2 log @Reorder location and setting of BUILDLINK_PACKAGES to match template buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.1 2004/01/24 03:26:46 jlam Exp $ d16 1 a19 2 .endif # FLAC_BUILDLINK3_MK @ 1.1 log @Append to BUILDLINK_DEPENDS. instead of setting a default value. In the normal case when BUILDLINK_DEPENDS. isn't specified, it receives a value only once due to the multiple inclusion protection in the bulldlink3.mk files. In the case where a package includes several buildlink3.mk files that each want a slightly different version of another dependency, having BUILDLINK_DEPENDS. be a list allows for the strictest dependency to be matched. @ text @d1 1 a1 1 # $NetBSD$ d10 3 a13 1 BUILDLINK_PACKAGES+= flac d17 3 a19 2 . include "../../audio/libogg/buildlink3.mk" .endif # FLAC_BUILDLINK3_MK @