Received: by mail.netbsd.org (Postfix, from userid 605) id 9011F84EAA; Sun, 11 Sep 2022 12:29:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C825F84EA6 for ; Sun, 11 Sep 2022 12:29:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ufOkPvEyETYV for ; Sun, 11 Sep 2022 12:29:54 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 7D5A284CFE for ; Sun, 11 Sep 2022 12:29:54 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 76849FA90; Sun, 11 Sep 2022 12:29:54 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1662899394213560" MIME-Version: 1.0 Date: Sun, 11 Sep 2022 12:29:54 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/audio/flac To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20220911122954.76849FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1662899394213560 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Sun Sep 11 12:29:54 UTC 2022 Modified Files: pkgsrc/audio/flac: Makefile PLIST buildlink3.mk distinfo Removed Files: pkgsrc/audio/flac/patches: patch-configure.ac patch-src_libFLAC_cpu.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 pkgsrc/audio/flac/Makefile cvs rdiff -u -r1.15 -r1.16 pkgsrc/audio/flac/PLIST cvs rdiff -u -r1.13 -r1.14 pkgsrc/audio/flac/buildlink3.mk cvs rdiff -u -r1.32 -r1.33 pkgsrc/audio/flac/distinfo cvs rdiff -u -r1.1 -r0 pkgsrc/audio/flac/patches/patch-configure.ac cvs rdiff -u -r1.2 -r0 pkgsrc/audio/flac/patches/patch-src_libFLAC_cpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1662899394213560 Content-Disposition: inline Content-Length: 4215 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/audio/flac/Makefile diff -u pkgsrc/audio/flac/Makefile:1.57 pkgsrc/audio/flac/Makefile:1.58 --- pkgsrc/audio/flac/Makefile:1.57 Mon Feb 21 08:19:41 2022 +++ pkgsrc/audio/flac/Makefile Sun Sep 11 12:29:54 2022 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.57 2022/02/21 08:19:41 adam Exp $ +# $NetBSD: Makefile,v 1.58 2022/09/11 12:29:54 wiz Exp $ -DISTNAME= flac-1.3.4 +DISTNAME= flac-1.4.0 CATEGORIES= audio archivers MASTER_SITES= http://downloads.xiph.org/releases/flac/ EXTRACT_SUFX= .tar.xz @@ -11,7 +11,7 @@ COMMENT= Free lossless audio codec LICENSE= modified-bsd AND gnu-gpl-v2 AND gnu-lgpl-v2.1 USE_LIBTOOL= yes -USE_TOOLS+= aclocal autoconf autoheader automake gmake +USE_TOOLS+= gmake USE_LANGUAGES= c c++ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-doxygen-docs @@ -54,8 +54,5 @@ CFLAGS+= -D__inline=inline BUILDLINK_TRANSFORM+= rm:-fgnu89-inline .endif -pre-configure: - cd ${WRKSRC} && autoreconf - .include "../../multimedia/libogg/buildlink3.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/audio/flac/PLIST diff -u pkgsrc/audio/flac/PLIST:1.15 pkgsrc/audio/flac/PLIST:1.16 --- pkgsrc/audio/flac/PLIST:1.15 Mon Aug 5 15:35:12 2019 +++ pkgsrc/audio/flac/PLIST Sun Sep 11 12:29:54 2022 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.15 2019/08/05 15:35:12 adam Exp $ +@comment $NetBSD: PLIST,v 1.16 2022/09/11 12:29:54 wiz Exp $ bin/flac bin/metaflac include/FLAC++/all.h @@ -24,23 +24,5 @@ man/man1/metaflac.1 share/aclocal/libFLAC++.m4 share/aclocal/libFLAC.m4 share/doc/flac/FLAC.tag -share/doc/flac/changelog.html -share/doc/flac/developers.html -share/doc/flac/documentation.html -share/doc/flac/documentation_bugs.html -share/doc/flac/documentation_example_code.html -share/doc/flac/documentation_format_overview.html -share/doc/flac/documentation_tools.html -share/doc/flac/documentation_tools_flac.html -share/doc/flac/documentation_tools_metaflac.html -share/doc/flac/faq.html -share/doc/flac/favicon.ico -share/doc/flac/features.html -share/doc/flac/flac.css -share/doc/flac/format.html -share/doc/flac/id.html share/doc/flac/images/logo.svg share/doc/flac/images/logo130.gif -share/doc/flac/index.html -share/doc/flac/license.html -share/doc/flac/ogg_mapping.html Index: pkgsrc/audio/flac/buildlink3.mk diff -u pkgsrc/audio/flac/buildlink3.mk:1.13 pkgsrc/audio/flac/buildlink3.mk:1.14 --- pkgsrc/audio/flac/buildlink3.mk:1.13 Fri Mar 20 19:23:53 2009 +++ pkgsrc/audio/flac/buildlink3.mk Sun Sep 11 12:29:54 2022 @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.13 2009/03/20 19:23:53 joerg Exp $ +# $NetBSD: buildlink3.mk,v 1.14 2022/09/11 12:29:54 wiz Exp $ BUILDLINK_TREE+= flac @@ -6,7 +6,7 @@ BUILDLINK_TREE+= flac FLAC_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.flac+= flac>=1.1.0nb1 -BUILDLINK_ABI_DEPENDS.flac+= flac>=1.1.3nb1 +BUILDLINK_ABI_DEPENDS.flac+= flac>=1.4.0 BUILDLINK_PKGSRCDIR.flac?= ../../audio/flac .include "../../multimedia/libogg/buildlink3.mk" Index: pkgsrc/audio/flac/distinfo diff -u pkgsrc/audio/flac/distinfo:1.32 pkgsrc/audio/flac/distinfo:1.33 --- pkgsrc/audio/flac/distinfo:1.32 Mon Feb 21 08:19:41 2022 +++ pkgsrc/audio/flac/distinfo Sun Sep 11 12:29:54 2022 @@ -1,9 +1,7 @@ -$NetBSD: distinfo,v 1.32 2022/02/21 08:19:41 adam Exp $ +$NetBSD: distinfo,v 1.33 2022/09/11 12:29:54 wiz Exp $ -BLAKE2s (flac-1.3.4.tar.xz) = 468b76470ad135725e8effaadcf1de1963863ee5486d5693793f613f93618430 -SHA512 (flac-1.3.4.tar.xz) = 4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9 -Size (flac-1.3.4.tar.xz) = 1038356 bytes -SHA1 (patch-configure.ac) = 6a6635a37bdbfe7bc2a4e2531f27935f9d545368 +BLAKE2s (flac-1.4.0.tar.xz) = 67c1bca0a723a7ba645ddfdf3b6c73f82ef8c5e81118b49ad3eedde47eab7959 +SHA512 (flac-1.4.0.tar.xz) = b7310de7bcf49584c0a1fdc6d5ee7216a8ab3e2b1af85366fa0905752da13e1cbb9638e0d92f3b756568a69848abf4d5c2fe0d21a86c6fdb4840f2678daf0f8d +Size (flac-1.4.0.tar.xz) = 783372 bytes SHA1 (patch-microbench_util.c) = f03bfbef537d10ceb9742451ec3509be886e15ed -SHA1 (patch-src_libFLAC_cpu.c) = f1a3021bb93ba1abfd24a84988f627a5817bec5a SHA1 (patch-strip_non_asm_libtool_args.sh) = f90f09fbf6a0fa938693a9d52316d3a4105129e5 --_----------=_1662899394213560--