[packages/zynaddsubfx-fusion] Rel 2

arekm arekm at pld-linux.org
Tue Mar 10 23:53:04 CET 2026


commit 30e9bb0cd43e1d4aaa98fa6ef9fde5ceea98e82d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 10 23:52:55 2026 +0100

    Rel 2

 misc-cstdint-build.patch       | 10 ++++++++++
 mruby-nvg-context-extern.patch | 11 +++++++++++
 nio-cstdint-build.patch        | 10 ++++++++++
 zynaddsubfx-fusion.spec        | 13 ++++++++++---
 4 files changed, 41 insertions(+), 3 deletions(-)
---
diff --git a/zynaddsubfx-fusion.spec b/zynaddsubfx-fusion.spec
index fb2b745..7d53604 100644
--- a/zynaddsubfx-fusion.spec
+++ b/zynaddsubfx-fusion.spec
@@ -17,7 +17,7 @@ Summary:	Realtime software synthesizer
 Summary(pl.UTF-8):	Syntezator programowy działający w czasie rzeczywistym
 Name:		zynaddsubfx-fusion
 Version:	3.0.4
-Release:	1
+Release:	2
 License:	GPL
 Group:		X11/Applications/Sound
 Source0:	http://downloads.sourceforge.net/zynaddsubfx/zynaddsubfx-%{version}.tar.bz2
@@ -37,6 +37,9 @@ Source6:	https://github.com/iij/mruby-dir/archive/%{mruby_dir_version}/mruby-dir
 Patch0:		cxx_flags.patch
 Patch1:		system_libuv.patch
 Patch2:		external_mruby_gems.patch
+Patch3:		nio-cstdint-build.patch
+Patch4:		misc-cstdint-build.patch
+Patch5:		mruby-nvg-context-extern.patch
 URL:		http://zynaddsubfx.sourceforge.net/
 BuildRequires:	Mesa-libGL-devel
 BuildRequires:	Mesa-libGLU-devel
@@ -130,6 +133,9 @@ done
 %patch -P0 -p1
 %patch -P1 -p1
 %patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
+%patch -P5 -p1
 
 sed -i -e's@/opt/zyn-fusion@%{_libdir}/zyn-fusion at g' \
 	mruby-zest-build/test-libversion.c \
@@ -171,7 +177,7 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_libdir}/zyn-fusion}
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}
 
 cp -a mruby-zest-build/package/* $RPM_BUILD_ROOT%{_libdir}/zyn-fusion
-ln -s %{_libdir}/zyn-fusion/zest $RPM_BUILD_ROOT%{_bindir}/zyn-fusion
+ln -s ../%{_lib}/zyn-fusion/zest $RPM_BUILD_ROOT%{_bindir}/zyn-fusion
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/zyn-fusion/mruby
 
 %clean
@@ -181,7 +187,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS.txt HISTORY.txt README.adoc
 %attr(755,root,root) %{_bindir}/zynaddsubfx
-%attr(755,root,root) %{_bindir}/zyn-fusion
+%{_bindir}/zyn-fusion
 %{_datadir}/zynaddsubfx
 %{_pixmapsdir}/zynaddsubfx.svg
 %{_desktopdir}/zynaddsubfx-*.desktop
@@ -192,6 +198,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/zyn-fusion/font
 %{_libdir}/zyn-fusion/qml
 %{_libdir}/zyn-fusion/schema
+%{_libdir}/zyn-fusion/completions/zyn-fusion
 
 %files dssi
 %defattr(644,root,root,755)
diff --git a/misc-cstdint-build.patch b/misc-cstdint-build.patch
new file mode 100644
index 0000000..b868ea1
--- /dev/null
+++ b/misc-cstdint-build.patch
@@ -0,0 +1,10 @@
+--- zynaddsubfx-3.0.4/src/Misc/Bank.h.orig	2017-10-31 02:40:45.000000000 +0100
++++ zynaddsubfx-3.0.4/src/Misc/Bank.h	2026-03-10 22:26:00.000000000 +0100
+@@ -16,6 +16,7 @@
+ 
+ #include <string>
+ #include <vector>
++#include <cstdint>
+ #include "../globals.h"
+ #include "Config.h"
+ 
diff --git a/mruby-nvg-context-extern.patch b/mruby-nvg-context-extern.patch
new file mode 100644
index 0000000..66861dd
--- /dev/null
+++ b/mruby-nvg-context-extern.patch
@@ -0,0 +1,11 @@
+--- zynaddsubfx-3.0.4/mruby-zest-build/src/mruby-widget-lib/src/gem.c.orig	2020-05-17 03:18:50.000000000 +0200
++++ zynaddsubfx-3.0.4/mruby-zest-build/src/mruby-widget-lib/src/gem.c	2026-03-10 22:33:00.000000000 +0100
+@@ -290,7 +290,7 @@
+     return self;
+ }
+ 
+-const struct mrb_data_type mrb_nvg_context_type;
++extern const struct mrb_data_type mrb_nvg_context_type;
+ typedef void NVGcontext;
+ int nvglCreateImageFromHandleGL2(NVGcontext* ctx, GLuint textureId, int w, int h, int imageFlags);
+ 
diff --git a/nio-cstdint-build.patch b/nio-cstdint-build.patch
new file mode 100644
index 0000000..f6b322e
--- /dev/null
+++ b/nio-cstdint-build.patch
@@ -0,0 +1,10 @@
+--- zynaddsubfx-3.0.4/src/Nio/MidiIn.h.orig	2017-10-31 02:40:45.000000000 +0100
++++ zynaddsubfx-3.0.4/src/Nio/MidiIn.h	2026-03-10 22:20:00.000000000 +0100
+@@ -16,6 +16,7 @@
+ #define MIDI_IN_H
+ 
+ #include "Engine.h"
++#include <cstdint>
+ 
+ namespace zyn {
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zynaddsubfx-fusion.git/commitdiff/30e9bb0cd43e1d4aaa98fa6ef9fde5ceea98e82d



More information about the pld-cvs-commit mailing list