pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libopenmpt libopenmpt: update to 0.3.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ae22ceb39ef6
branches: trunk
changeset: 369573:ae22ceb39ef6
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Oct 01 09:37:00 2017 +0000
description:
libopenmpt: update to 0.3.1.
libopenmpt 0.3.1 (2017-09-28)
Changelog since libopenmpt 0.2.6774-beta20.
libopenmpt 0.3.1
[Bug] Windows: libopenmpt resource did not compile for release versions.
libopenmpt 0.3.0 (2017-09-27, not released)
[New] New error handling functionality in the C API, which in particular allows distinguishing potentially transient out-of-memory errors from parse errors during module loading.
[New] New API openmpt::module::get_selected_subsong() (C++) and openmpt_module_get_selected_subsong() (C).
[New] Faster file header probing API openmpt::probe_file_header() and openmpt::probe_file_header_get_recommended_size (C++), and openmpt_probe_file_header(),
openmpt_probe_file_header_without_filesize(), openmpt_probe_file_header_from_stream() and openmpt_probe_file_header_get_recommended_size() (C).
[New] New API openmpt::could_open_probability() (C++) and openmpt_could_open_probability() (C). This fixes a spelling error in the old 0.2 API.
[New] openmpt123: openmpt123 can now open M3U, M3U8, M3UEXT, M3U8EXT and PLSv2 playlists via the --playlist option.
[New] openmpt123: openmpt123 now supports very fast file header probing via the --probe option.
[New] Libopenmpt now supports building for Windows 10 Universal (Windows Store 8.2) APIs with MSVC, and also for the older Windows Runtime APIs with MinGW-w64.
[New] New API header libopenmpt_ext.h which implements the libopenmpt extension APIs also for the C interface.
[New] The Reverb effect (S99 in S3M/IT/MPTM, and X99 in XM) is now implemented in libopenmpt.
[New] For Amiga modules, a new resampler based on the Amiga?s sound characteristics has been added. It can be activated by passing the render.resampler.emulate_amiga ctl with a value of 1.
Non-Amiga modules are not affected by this, and setting the ctl overrides the resampler choice specified by OPENMPT_MODULE_RENDER_INTERPOLATIONFILTER_LENGTH or
openmpt::module::RENDER_INTERPOLATIONFILTER_LENGTH. Support for the MOD command E0x (Set LED Filter) is also available when the Amiga resampler is enabled.
[Change] libopenmpt versioning changed and follows the more conventional major.minor.patch as well as the recommendations of the SemVer scheme now. In addition to the SemVer requirements,
pre-1.0.0 versions will also honor API and ABI stability in libopenmpt (i.e. libopenmpt ignores SemVer Clause 4).
[Change] The output directories of the MSVC build system were changed to bin/vs2015-shared/x86-64-win7/ (and similar) layout which allows building in the same tree with different compiler
versions without overwriting other outputs.
[Change] The emscripten build now exports libopenmpt as ?libopenmpt? instead of the default ?Module?.
[Change] Android: The build system changed. The various Android.mk files have been merged into a single one which can be controlled using command line options.
[Change] The Makefile build system now passes std=c++11 to the compiler by default. Older compilers may still work if you pass STDCXX=c++0x to the make invocation.
[Change] The Makefile option ANCIENT=1 is gone.
[Change] The optional dependencies on libltdl or libdl are gone. They are no longer needed for any functionality.
[Regression] Compiling client code using the C++ API now requires a compiler running in C++11 mode.
[Regression] Support for GCC 4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7 has been removed.
[Regression] Support for Clang 3.0, 3.1, 3.2, 3.3 has been removed.
[Regression] Support for Emscripten versions older than 1.31.0 has been removed.
[Regression] Support for Android NDK versions older than 11 has been removed.
[Regression] Visual Studio 2008, 2010, 2012, 2013 support has been removed.
[Regression] Dynamic run-time loading of libmpg123 is no longer supported. Libmpg123 must be linked at link-time now.
[Regression] xmp-openmpt: xmp-openmpt now requires XMPlay 3.8 or later and compiling xmp-openmpt requires an appropriate XMPlay SDK with XMPIN_FACE >= 4.
[Regression] Support for libmpg123 older than 1.13.0 has been removed.
[Regression] Un4seen unmo3 support has been removed.
[Bug] C++ API: openmpt::exception did not define copy and move constructors or copy and move assignment operators in libopenmpt 0.2. The compiler-generated ones were not adequate though.
libopenmpt 0.3 adds the appropriate special member functions. This adds the respective symbol names to the exported ABI, which, depending on the compiler, might or might not have been there in
libopenmpt 0.2. The possibly resulting possible ODR violation only affects cases that did crash in the libopenmpt 0.2 API anyway due to memory double-free, and does not cause any further problems in
practice for all known platforms and compilers.
[Bug] The C API could crash instead of failing gracefully in out-of-memory situations.
[Bug] The test suite could fail on MacOSX or FreeBSD in non-fatal ways when no locale was active.
[Bug] libopenmpt_stream_callbacks_fd.h and libopenmpt_stream_callbacks_file.h were missing in Windows development packages.
[Bug] libopenmpt on Windows did not properly guard against current working directory DLL injection attacks.
[Bug] localtime() was used to determine the version of Schism Tracker used to save IT and S3M files. This function is not guaranteed to be thread-safe by the standard and is now no longer used.
[Bug] Possible crashes with malformed IT, ITP, AMS, MDL, MED, MPTM, PSM and Startrekker files.
[Bug] Possible hangs with malformed DBM, MPTM and PSM files.
[Bug] Possible hangs with malformed files containing cyclic plugin routings.
[Bug] Excessive loading times with malformed ITP / truncated AMS files.
[Bug] Plugins did not work correctly when changing the sample rate between two render calls.
[Bug] Possible NULL-pointer dereference read during obscure out-of-memory situations while handling exceptions in the C API.
[Bug] libmodplug: libmodplug.pc was wrong.
[Bug] Cross-compiling libopenmpt with autotools for Windows now properly sets -municode and -mconsole as well as all required Windows system libraries.
[Bug] foo_openmpt: Interpolation filter and volume ramping settings were confused in previous versions. This version resets both to the defaults.
[Bug] libmodplug: The CSoundFile::Read function in the emulated libmodplug C++ API returned the wrong value, causing qmmp (and possibly other software) to crash.
Support for SoundTracker Pro II (STP) and Digital Tracker (DTM) modules.
Increased accuracy of the sample position and sample rate to drift less when playing very long samples.
Various playback improvements for IT and XM files.
Channel frequency could wrap around after some excessive portamento / down in some formats since libopenmpt 0.2-beta17.
Playback improvements for S3M files made with Impulse Tracker and Schism Tracker.
ParamEq plugin emulation didn?t do anything at full gain (+15dB).
All standard DMO effects are now also emulated on non-Windows and non-MSVC systems.
Added libopenmpt_stream_callbacks_buffer.h which adds openmpt_stream_callbacks support for in-memory buffers, possibly even only using a truncated prefix view into a bigger file which is useful
for probing.
Avoid enabling some ProTracker-specific quirks for MOD files most likely created with ScreamTracker 3.
Tremolo effect only had half the intended strength in MOD files.
Pattern loops ending on the last row a pattern were not executed correctly in S3M files.
Work-around for reading MIDI macros and plugin settings in some malformed IT files written by old UNMO3 versions.
Improve tracker detection in IT format.
Playback fixes for 8-channel MED files
Do not set note volume to 0 on out-of-range offset in XM files.
Better import of some slide commands in SFX files.
Sample 15 in ?Crew Generation? by Necros requires short loops at the beginning of the sample to not be ignored. Since we need to ignore them in some (non-ProTracker) modules, we heuristically
disable the old loop sanitization behaviour based on the module channel count.
Both normal and percentage offset in PLM files were handled as percentage offset.
MT2 files with instruments that had both sample and plugin assignments were not read correctly.
Some valid FAR files were rejected erroneously.
Support for VBlank timing flag and comment field in PT36 files.
Improved accuracy of vibrato command in DIGI / DBM files.
STM: Add support for ?WUZAMOD!? magic bytes and allow some slightly malformed STM files to load which were previously rejected.
Detect whether ?hidden? patterns in the order list of SoundTracker modules should be taken into account or not.
Tighten heuristics for rejecting invalid 669, M15, MOD and ICE files and loosen them in other places to allow some valid MOD files to load.
Improvements to seeking: Channel panning was not always updated from instruments / samples when seeking, and out-of-range global volume was not applied correctly in some formats.
seek.sync_samples=1 did not apply PTM reverse offset effect and the volume slide part of combined volume slide + vibrato commands.
If the order list was longer than 256 items and there was a pattern break effect without a position jump on the last pattern of the sequence, it did not jump to the correct restart order.
Makefile has now explicit support for FreeBSD with no special option or configuration required.
openmpt123: Improved section layout in man page.
libmodplug: Added all missing C++ API symbols that are accessible via the public libmodplug header file.
Autotools build system now has options --disable-openmpt123, --disable-tests and --disable-examples which may be desireable when cross-compiling.
Windows binary packages now ship with libmpg123 included.
diffstat:
audio/libopenmpt/Makefile | 9 +++------
audio/libopenmpt/PLIST | 5 +++--
audio/libopenmpt/distinfo | 10 +++++-----
3 files changed, 11 insertions(+), 13 deletions(-)
diffs (63 lines):
diff -r 9763acf6deec -r ae22ceb39ef6 audio/libopenmpt/Makefile
--- a/audio/libopenmpt/Makefile Sun Oct 01 09:34:53 2017 +0000
+++ b/audio/libopenmpt/Makefile Sun Oct 01 09:37:00 2017 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2017/09/08 02:38:36 ryoon Exp $
+# $NetBSD: Makefile,v 1.26 2017/10/01 09:37:00 wiz Exp $
-DISTNAME= libopenmpt-0.2.8760-beta27-autotools
-PKGNAME= ${DISTNAME:C/-beta.*//}
-PKGREVISION= 1
+DISTNAME= libopenmpt-0.3.1+release.autotools
+PKGNAME= ${DISTNAME:C/\+.*//}
CATEGORIES= audio
MASTER_SITES= http://lib.openmpt.org/files/libopenmpt/src/
@@ -13,8 +12,6 @@
BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
-WRKSRC= ${WRKDIR}/${DISTNAME:C/-beta.*-/-/}
-WRKSRC= ${WRKDIR}/${DISTNAME:C/0-beta.*-/2-/}
USE_LANGUAGES= c c++
USE_TOOLS= gmake pkg-config
diff -r 9763acf6deec -r ae22ceb39ef6 audio/libopenmpt/PLIST
--- a/audio/libopenmpt/PLIST Sun Oct 01 09:34:53 2017 +0000
+++ b/audio/libopenmpt/PLIST Sun Oct 01 09:37:00 2017 +0000
@@ -1,9 +1,11 @@
-@comment $NetBSD: PLIST,v 1.5 2016/07/21 12:49:41 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2017/10/01 09:37:00 wiz Exp $
bin/openmpt123
include/libopenmpt/libopenmpt.h
include/libopenmpt/libopenmpt.hpp
include/libopenmpt/libopenmpt_config.h
+include/libopenmpt/libopenmpt_ext.h
include/libopenmpt/libopenmpt_ext.hpp
+include/libopenmpt/libopenmpt_stream_callbacks_buffer.h
include/libopenmpt/libopenmpt_stream_callbacks_fd.h
include/libopenmpt/libopenmpt_stream_callbacks_file.h
include/libopenmpt/libopenmpt_version.h
@@ -12,7 +14,6 @@
man/man1/openmpt123.1
share/doc/libopenmpt/LICENSE
share/doc/libopenmpt/README.md
-share/doc/libopenmpt/TODO
share/doc/libopenmpt/examples/libopenmpt_example_c.c
share/doc/libopenmpt/examples/libopenmpt_example_c_mem.c
share/doc/libopenmpt/examples/libopenmpt_example_c_probe.c
diff -r 9763acf6deec -r ae22ceb39ef6 audio/libopenmpt/distinfo
--- a/audio/libopenmpt/distinfo Sun Oct 01 09:34:53 2017 +0000
+++ b/audio/libopenmpt/distinfo Sun Oct 01 09:37:00 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.22 2017/08/14 20:26:36 wiz Exp $
+$NetBSD: distinfo,v 1.23 2017/10/01 09:37:00 wiz Exp $
-SHA1 (libopenmpt-0.2.8760-beta27-autotools.tar.gz) = 5b2ac9aafb1085443cf723514e45cf764c76efb3
-RMD160 (libopenmpt-0.2.8760-beta27-autotools.tar.gz) = d654c437cb90556d4c7eec57a193c183fcf71af7
-SHA512 (libopenmpt-0.2.8760-beta27-autotools.tar.gz) = 666d3d50def9f49eea70b0e9ac3d2b380e92f8db04fbc86fcfc3aea5dde1098535a82acbf749766066a5213b5deb96c11f742d4e05fe05f1fa4ef821c52faf72
-Size (libopenmpt-0.2.8760-beta27-autotools.tar.gz) = 1287276 bytes
+SHA1 (libopenmpt-0.3.1+release.autotools.tar.gz) = bb76233648def6d8b61ccbd32296ec3fa1d636a2
+RMD160 (libopenmpt-0.3.1+release.autotools.tar.gz) = 11efcc52b1752d69c1feeedf9f6bab7c8e88dc3b
+SHA512 (libopenmpt-0.3.1+release.autotools.tar.gz) = ff57ae9aa68e322840939dbfd4ee04dc9449387da9514dce66c1995414cd3010c80aedcfb6f7c70d839f6e6588802d7be24e5c9601a7f393450eb10e454b50a8
+Size (libopenmpt-0.3.1+release.autotools.tar.gz) = 1372292 bytes
Home |
Main Index |
Thread Index |
Old Index