SHA256
1
0
forked from pool/zmusic

9 Commits

Author SHA256 Message Date
c9f8e74e4d Accepting request 1219490 from games
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zmusic?expand=0&rev=12
2024-10-30 16:39:58 +00:00
OBS User unknown
4862fdd0d6 [info=7648612419ea37f0be06a9ef89cf0a9ad923da886859813a7c09ff9ece4b9ef5]
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=28
2024-10-12 08:33:35 +00:00
OBS User unknown
ca31d46414 [info=33260869e1a90c9245b62ef8cb93011cc0d3a509a18ebd077b4a3aa9901c1efe]
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=27
2024-10-12 07:50:55 +00:00
OBS User unknown
bab94d1424 [info=175275fd9e23b1715ca40a6d2fd83bf621fff6381160146c361b145247d35453]
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=26
2024-10-12 07:50:43 +00:00
OBS User unknown
695c62e513 [info=fbb4b04fc211b75040ad69ddfb92f68cb61529013042d2e8510a5e63110807df]
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=25
2024-10-12 07:47:24 +00:00
c458247b54 Accepting request 1196367 from games
- update to 1.1.13:

OBS-URL: https://build.opensuse.org/request/show/1196367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zmusic?expand=0&rev=11
2024-08-28 19:30:20 +00:00
OBS User unknown
0ba480a43d [info=be4fc0882a76d1a58bde1bf718e29cd9f87a0ec015502d2aed5e4c2dfe490d1c]
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=24
2024-08-28 00:49:53 +00:00
625c19e301 [info=ce0ee70405d17eb44fa2f5edb60fee8c6c0e18910e2a62b17429126dc65ee12d]
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=23
2024-08-27 11:55:06 +00:00
ebfe906a8a Update to version 1.1.13
OBS-URL: https://build.opensuse.org/package/show/games/zmusic?expand=0&rev=22
2024-08-27 11:52:07 +00:00
9 changed files with 140 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da818594b395aa9174561a36362332b0ab8e7906d2e556ec47669326e67613d4
size 2275316

BIN
1.1.14.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1728722001
commit: 7648612419ea37f0be06a9ef89cf0a9ad923da886859813a7c09ff9ece4b9ef5
url: https://src.opensuse.org/jengelh/zmusic
revision: master

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:149e4db47aca28e7f417077cca328a6214c989d5254a7ab08041ff375be00d77
size 256

View File

@@ -29,7 +29,7 @@ Index: source/CMakeLists.txt
===================================================================
--- source/CMakeLists.txt.orig
+++ source/CMakeLists.txt
@@ -142,8 +142,11 @@ use_fast_math(zmusiclite)
@@ -152,8 +152,11 @@ use_fast_math(zmusiclite)
target_include_directories(zmusic INTERFACE $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${ZMusic_SOURCE_DIR}/include>)
target_include_directories(zmusiclite INTERFACE $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${ZMusic_SOURCE_DIR}/include>)
@@ -47,7 +47,7 @@ Index: source/mididevices/music_fluidsynth_mididevice.cpp
===================================================================
--- source/mididevices/music_fluidsynth_mididevice.cpp.orig
+++ source/mididevices/music_fluidsynth_mididevice.cpp
@@ -46,7 +46,7 @@
@@ -47,7 +47,7 @@
FluidConfig fluidConfig;
@@ -60,8 +60,8 @@ Index: thirdparty/CMakeLists.txt
===================================================================
--- thirdparty/CMakeLists.txt.orig
+++ thirdparty/CMakeLists.txt
@@ -45,4 +45,3 @@ add_subdirectory(timidity)
add_subdirectory(timidityplus)
@@ -28,4 +28,3 @@ add_subdirectory(timidityplus)
add_subdirectory(wildmidi)
add_subdirectory(oplsynth)
add_subdirectory(libxmp)
-add_subdirectory(fluidsynth/src)

45
system-libxmp.patch Normal file
View File

@@ -0,0 +1,45 @@
From: Jan Engelhardt <ej@inai.de>
Date: 2024-10-12 09:44:49.402360010 +0200
---
source/CMakeLists.txt | 2 +-
source/streamsources/music_libxmp.cpp | 3 +--
thirdparty/CMakeLists.txt | 1 -
3 files changed, 2 insertions(+), 4 deletions(-)
Index: source/CMakeLists.txt
===================================================================
--- source/CMakeLists.txt.orig
+++ source/CMakeLists.txt
@@ -128,7 +128,7 @@ if(WIN32)
)
endif()
-target_link_libraries(zmusic-obj INTERFACE dumb gme libxmp ZLIB::ZLIB ${CMAKE_DL_LIBS})
+target_link_libraries(zmusic-obj INTERFACE dumb gme -lxmp ZLIB::ZLIB ${CMAKE_DL_LIBS})
target_include_directories(zmusic-obj
INTERFACE
Index: source/streamsources/music_libxmp.cpp
===================================================================
--- source/streamsources/music_libxmp.cpp.orig
+++ source/streamsources/music_libxmp.cpp
@@ -39,8 +39,7 @@
#include <limits.h>
#include "streamsource.h"
-#define LIBXMP_STATIC 1
-#include "../libxmp/include/xmp.h"
+#include <xmp.h>
#include "zmusic/m_swap.h"
#include "zmusic/mididefs.h"
#include "zmusic/midiconfig.h"
Index: thirdparty/CMakeLists.txt
===================================================================
--- thirdparty/CMakeLists.txt.orig
+++ thirdparty/CMakeLists.txt
@@ -37,4 +37,3 @@ add_subdirectory(timidity)
add_subdirectory(timidityplus)
add_subdirectory(wildmidi)
add_subdirectory(oplsynth)
-add_subdirectory(libxmp)

51
system-zlib.patch Normal file
View File

@@ -0,0 +1,51 @@
From fb399bbf345f41e385f9d864875cb0f4967ff213 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
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
@@ -128,7 +128,7 @@ if(WIN32)
)
endif()
-target_link_libraries(zmusic-obj INTERFACE dumb gme libxmp miniz ${CMAKE_DL_LIBS})
+target_link_libraries(zmusic-obj INTERFACE dumb gme libxmp 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 <stdint.h>
#include <vector>
#include <string>
-#include <miniz.h>
+#include <zlib.h>
#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

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sat Oct 12 07:46:25 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.1.14
* Switch to libxmp for most tracker formats
* Switch to float output
- Add system-libxmp.patch
-------------------------------------------------------------------
Wed Aug 28 00:51:23 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Add system-zlib.patch
-------------------------------------------------------------------
Tue Aug 27 08:16:10 UTC 2024 - ming li <mli@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -17,7 +17,7 @@
Name: zmusic
Version: 1.1.12
Version: 1.1.14
Release: 0
Summary: ZDoom component library for music handling
License: GPL-3.0-only
@@ -28,7 +28,9 @@ 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
Patch5: system-libxmp.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkg-config
@@ -36,6 +38,7 @@ BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(fluidsynth)
BuildRequires: pkgconfig(libgme)
BuildRequires: pkgconfig(libmpg123)
BuildRequires: pkgconfig(libxmp)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(zlib)
Suggests: fluid-soundfont-gm
@@ -43,6 +46,7 @@ Suggests: fluid-soundfont-gs
Suggests: timidity
Suggests: timidity-eawpats
# DUMB is modified to read OggVorbis samples
# Though everything else has been moved to libxmp, DSIK format still uses foo_DUMB
Provides: bundled(dumb) = 0.9.3
%description