pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libwildmidi libwildmidi: update to 0.4.4.
details: https://anonhg.NetBSD.org/pkgsrc/rev/087d86cb6eb8
branches: trunk
changeset: 449805:087d86cb6eb8
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Apr 06 07:53:56 2021 +0000
description:
libwildmidi: update to 0.4.4.
Bug-fix and maintenance update after the previous version 0.4.3.
All users of wildmidi-0.4.x are strongly encouraged to upgrade.
What's new in 0.4.4:
Fixed integer overflow in midi parser sample count calculation (bug #200).
Fixed 8 bit ping pong GUS patch loaders (bug #207).
Fixed wrong variable use in reverb code (bug #210).
Reset block status of tty after playback (bug #211).
Fixed broken file name handling for 'save as midi' command during playback.
Clamp MUS volume commands (PR #226).
CMake project improvements (bugs: #214, #216, #217, #218) - cmake version 3.1 or newer is now required.
diffstat:
audio/libwildmidi/Makefile | 10 +-------
audio/libwildmidi/PLIST | 6 ++++-
audio/libwildmidi/distinfo | 13 +++++------
audio/libwildmidi/patches/patch-CMakeLists.txt | 21 +++++-------------
audio/libwildmidi/patches/patch-src_CMakeLists.txt | 24 ----------------------
5 files changed, 19 insertions(+), 55 deletions(-)
diffs (137 lines):
diff -r 4568e1109bfc -r 087d86cb6eb8 audio/libwildmidi/Makefile
--- a/audio/libwildmidi/Makefile Tue Apr 06 07:47:10 2021 +0000
+++ b/audio/libwildmidi/Makefile Tue Apr 06 07:53:56 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2020/08/08 21:18:30 schmonz Exp $
+# $NetBSD: Makefile,v 1.11 2021/04/06 07:53:56 wiz Exp $
-DISTNAME= wildmidi-0.4.3
+DISTNAME= wildmidi-0.4.4
PKGNAME= lib${DISTNAME}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=Mindwerks/}
@@ -16,12 +16,6 @@
USE_LANGUAGES= c99
USE_CMAKE= yes
-SUBST_CLASSES+= man
-SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
-SUBST_FILES.man+= src/CMakeLists.txt
-SUBST_STAGE.man= post-extract
-SUBST_MESSAGE.man= Fixing man page installation path.
-
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
diff -r 4568e1109bfc -r 087d86cb6eb8 audio/libwildmidi/PLIST
--- a/audio/libwildmidi/PLIST Tue Apr 06 07:47:10 2021 +0000
+++ b/audio/libwildmidi/PLIST Tue Apr 06 07:53:56 2021 +0000
@@ -1,6 +1,10 @@
-@comment $NetBSD: PLIST,v 1.4 2019/07/15 14:39:54 nia Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/04/06 07:53:56 wiz Exp $
bin/wildmidi
include/wildmidi_lib.h
+lib/cmake/WildMidi/WildMidiConfig.cmake
+lib/cmake/WildMidi/WildMidiConfigVersion.cmake
+lib/cmake/WildMidi/WildMidiTargets-debug.cmake
+lib/cmake/WildMidi/WildMidiTargets.cmake
lib/libWildMidi.so
lib/libWildMidi.so.2
lib/libWildMidi.so.2.1.0
diff -r 4568e1109bfc -r 087d86cb6eb8 audio/libwildmidi/distinfo
--- a/audio/libwildmidi/distinfo Tue Apr 06 07:47:10 2021 +0000
+++ b/audio/libwildmidi/distinfo Tue Apr 06 07:53:56 2021 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.8 2020/08/08 21:18:30 schmonz Exp $
+$NetBSD: distinfo,v 1.9 2021/04/06 07:53:56 wiz Exp $
-SHA1 (wildmidi-0.4.3.tar.gz) = 0a2294106690709263f9bf2b5604edb5ad8f5920
-RMD160 (wildmidi-0.4.3.tar.gz) = 366715c08a344e07bdf783c21b2f00c078feea8f
-SHA512 (wildmidi-0.4.3.tar.gz) = 7e86e998ee97cdf57328e4cf5ef52a64926fd01999879c0eae5b6c823be4e6d116f7026230bd15d209e6616fbc7ba1c29ebd1f3be04735e341ce5c83298f956f
-Size (wildmidi-0.4.3.tar.gz) = 196750 bytes
-SHA1 (patch-CMakeLists.txt) = fc91d32db65d9b33b74e96ce5cc9254d93e73dcd
-SHA1 (patch-src_CMakeLists.txt) = e5d391fc3a341f0e1d7a4523f51e96b6cfa921a4
+SHA1 (wildmidi-0.4.4.tar.gz) = 3c95c8ff211aa8b114d0ae70c5e812cbfa641b7a
+RMD160 (wildmidi-0.4.4.tar.gz) = af6573feeee6f443c51d42ebf9e76963c88bdbcf
+SHA512 (wildmidi-0.4.4.tar.gz) = 5b74ee83f1d7ce3b45d2f996aaa30ec6e7d7808eab294a3eaf6fcef77443523df1f54bb0fb1b3105edd0d72d75885fda1a2e97c68defb5bbd687bda5077d3454
+Size (wildmidi-0.4.4.tar.gz) = 197597 bytes
+SHA1 (patch-CMakeLists.txt) = 62675c407b01fd49d81089f75f4da43fadd2fcf2
diff -r 4568e1109bfc -r 087d86cb6eb8 audio/libwildmidi/patches/patch-CMakeLists.txt
--- a/audio/libwildmidi/patches/patch-CMakeLists.txt Tue Apr 06 07:47:10 2021 +0000
+++ b/audio/libwildmidi/patches/patch-CMakeLists.txt Tue Apr 06 07:53:56 2021 +0000
@@ -1,19 +1,10 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2020/08/08 21:18:30 schmonz Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2021/04/06 07:53:56 wiz Exp $
Don't build so specially for macOS.
---- CMakeLists.txt.orig 2018-11-24 08:55:50.000000000 +0000
+--- CMakeLists.txt.orig 2021-03-21 08:55:50.000000000 +0000
+++ CMakeLists.txt
-@@ -13,7 +13,7 @@ SET(SOVERSION 2)
- SET(VERSION 2.1.0)
-
- # Find Macros
--SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
-+SET (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
-
- INCLUDE(CMakeDependentOption)
- INCLUDE(CheckCCompilerFlag)
-@@ -44,7 +44,7 @@ OPTION(WANT_OSX_DEPLOYMENT "OSX Deployme
+@@ -42,7 +42,7 @@ OPTION(WANT_OSX_DEPLOYMENT "OSX Deployme
IF (WIN32 AND MSVC)
OPTION(WANT_MP_BUILD "Build with Multiple Processes (/MP)" OFF)
ENDIF ()
@@ -22,7 +13,7 @@
SET(WILDMIDI_CFG "/etc/wildmidi/wildmidi.cfg" CACHE STRING "default config location")
ELSE ()
SET(WILDMIDI_CFG "wildmidi.cfg" CACHE STRING "default config location")
-@@ -152,6 +152,7 @@ CHECK_C_SOURCE_COMPILES("static __inline
+@@ -144,6 +144,7 @@ CHECK_C_SOURCE_COMPILES("static __inline
# we must not have any unresolved symbols:
if (APPLE)
SET(EXTRA_LDFLAGS "-Wl,-undefined,error")
@@ -30,7 +21,7 @@
ELSE()
SET(OLD_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}")
SET(CMAKE_REQUIRED_FLAGS "${OLD_REQUIRED_FLAGS} -Wl,--no-undefined")
-@@ -284,19 +285,11 @@ IF (AMIGA OR AROS)
+@@ -261,19 +262,11 @@ IF (AMIGA OR AROS)
ENDIF ()
IF (APPLE)
@@ -48,5 +39,5 @@
-ENDIF (APPLE)
-
# Setup up our config file
- CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/include/config.h.cmake" "${CMAKE_BINARY_DIR}/include/config.h")
+ CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/include/config.h.cmake" "${PROJECT_BINARY_DIR}/include/config.h")
diff -r 4568e1109bfc -r 087d86cb6eb8 audio/libwildmidi/patches/patch-src_CMakeLists.txt
--- a/audio/libwildmidi/patches/patch-src_CMakeLists.txt Tue Apr 06 07:47:10 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-src_CMakeLists.txt,v 1.1 2020/08/08 21:18:30 schmonz Exp $
-
-Don't build so specially for macOS.
-
---- src/CMakeLists.txt.orig 2020-08-08 14:29:25.000000000 +0000
-+++ src/CMakeLists.txt
-@@ -247,7 +247,7 @@ SET(WILDMIDILIB_LIBDIR "${WILDMIDILIB_IN
- CONFIGURE_FILE("wildmidi.pc.in" "${CMAKE_BINARY_DIR}/wildmidi.pc" @ONLY)
-
- # install target (*nix OSes)
--IF (UNIX AND NOT APPLE)
-+IF (UNIX)
- # install our libraries
- IF (WANT_STATIC)
- INSTALL(TARGETS libwildmidi_static DESTINATION ${WILDMIDILIB_INSTALLDIR})
-@@ -274,7 +274,7 @@ IF (UNIX AND NOT APPLE)
- # install supporting man pages and headers
- INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/wildmidi_lib.h DESTINATION include)
- INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/docs/man/ DESTINATION man)
--ENDIF (UNIX AND NOT APPLE)
-+ENDIF (UNIX)
-
- # install target (Windows: MinGW or MinGW-w64)
- IF (WIN32 AND CMAKE_COMPILER_IS_MINGW)
Home |
Main Index |
Thread Index |
Old Index