diff --git a/1.1.12.tar.gz b/1.1.12.tar.gz deleted file mode 100644 index a1d82a3..0000000 --- a/1.1.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da818594b395aa9174561a36362332b0ab8e7906d2e556ec47669326e67613d4 -size 2275316 diff --git a/1.1.13.tar.gz b/1.1.13.tar.gz new file mode 100644 index 0000000..006f517 --- /dev/null +++ b/1.1.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:564e210837b653013e01d67f04d0d906a9f0a923521e0c305463ec4f4a139ed4 +size 2164852 diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..84c56aa --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1724806297 +commit: be4fc0882a76d1a58bde1bf718e29cd9f87a0ec015502d2aed5e4c2dfe490d1c +url: https://src.opensuse.org/jengelh/zmusic +revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..7a7b097 --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c21849576aadc06d90b47d6101be258a2156c8c85226b25fc9a52257e9164042 +size 256 diff --git a/system-zlib.patch b/system-zlib.patch new file mode 100644 index 0000000..f7a0092 --- /dev/null +++ b/system-zlib.patch @@ -0,0 +1,51 @@ +From fb399bbf345f41e385f9d864875cb0f4967ff213 Mon Sep 17 00:00:00 2001 +From: Jan Engelhardt +Date: Wed, 28 Aug 2024 02:48:15 +0200 +Subject: [PATCH] Revert to zlib + +--- + source/CMakeLists.txt | 2 +- + source/zmusic/zmusic.cpp | 2 +- + thirdparty/CMakeLists.txt | 6 +++++- + 3 files changed, 7 insertions(+), 3 deletions(-) + +Index: source/CMakeLists.txt +=================================================================== +--- source/CMakeLists.txt.orig ++++ source/CMakeLists.txt +@@ -127,7 +127,7 @@ if(WIN32) + ) + endif() + +-target_link_libraries(zmusic-obj INTERFACE dumb gme miniz ${CMAKE_DL_LIBS}) ++target_link_libraries(zmusic-obj INTERFACE dumb gme ZLIB::ZLIB ${CMAKE_DL_LIBS}) + + target_include_directories(zmusic-obj + INTERFACE +Index: source/zmusic/zmusic.cpp +=================================================================== +--- source/zmusic/zmusic.cpp.orig ++++ source/zmusic/zmusic.cpp +@@ -36,7 +36,7 @@ + #include + #include + #include +-#include ++#include + #include "m_swap.h" + #include "zmusic_internal.h" + #include "midiconfig.h" +Index: thirdparty/CMakeLists.txt +=================================================================== +--- thirdparty/CMakeLists.txt.orig ++++ thirdparty/CMakeLists.txt +@@ -1,4 +1,8 @@ +-add_subdirectory(miniz) ++find_package(ZLIB QUIET) ++message(STATUS "Using system zlib, includes found at ${ZLIB_INCLUDE_DIRS}") ++set_property(TARGET ZLIB::ZLIB PROPERTY IMPORTED_GLOBAL TRUE) ++determine_package_config_dependency(ZMUSIC_PACKAGE_DEPENDENCIES TARGET ZLIB::ZLIB MODULE ZLIB) ++ + # GME is not currently released in a way that's conducive to using as a system + # library. Nevertheless at least one person tried, and so the ability to use a + # system copy exists soley to placate people following distro guidelines to the diff --git a/zmusic.changes b/zmusic.changes index 31fb7ce..2cae2ea 100644 --- a/zmusic.changes +++ b/zmusic.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Aug 28 00:51:23 UTC 2024 - Jan Engelhardt + +- Add system-zlib.patch + +------------------------------------------------------------------- +Tue Aug 27 08:16:10 UTC 2024 - ming li + +- update to 1.1.13: + * Fixed incorrect number of bytes being reported to FluidSynth + when relaying a SysEx message + * Added a GS DT1 MODE SET SysEx message after GM System Enable + SysEx message to instruct the synth to switch to GS mode, + if one is supported. + * Updated fluidsynth chorus and reverb setting limits. + ------------------------------------------------------------------- Mon Jan 15 10:54:40 UTC 2024 - Dirk Müller diff --git a/zmusic.spec b/zmusic.spec index b6c0a43..8d61d27 100644 --- a/zmusic.spec +++ b/zmusic.spec @@ -17,7 +17,7 @@ Name: zmusic -Version: 1.1.12 +Version: 1.1.13 Release: 0 Summary: ZDoom component library for music handling License: GPL-3.0-only @@ -28,7 +28,8 @@ URL: https://zdoom.org/ Source: https://github.com/ZDoom/ZMusic/archive/%version.tar.gz Patch1: system-fluidsynth.patch Patch2: system-gme.patch -Patch3: dumb-dumb.patch +Patch3: system-zlib.patch +Patch4: dumb-dumb.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkg-config