[packages/fluidsynth] - updated to 1.1.8 - added soname patch (fix broken lt versioning)

qboosh qboosh at pld-linux.org
Sun Dec 17 13:58:20 CET 2017


commit c2d1ce44dbe5d8749205823d4a12c9977e558232
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 17 13:59:29 2017 +0100

    - updated to 1.1.8
    - added soname patch (fix broken lt versioning)

 fluidsynth-soname.patch | 11 +++++++++++
 fluidsynth.spec         | 16 +++++++++++-----
 2 files changed, 22 insertions(+), 5 deletions(-)
---
diff --git a/fluidsynth.spec b/fluidsynth.spec
index 604fec8..92f6189 100644
--- a/fluidsynth.spec
+++ b/fluidsynth.spec
@@ -14,17 +14,19 @@
 Summary:	FluidSynth - a software, real-time synthesizer
 Summary(pl.UTF-8):	FluidSynth - programowy syntezator działający w czasie rzeczywistym
 Name:		fluidsynth
-Version:	1.1.6
-Release:	2
+Version:	1.1.8
+Release:	1
 %if %{with ladcca} || %{with lash} || %{with readline}
 License:	GPL v2+ (enforced by ladcca/lash/readline), LGPL v2+ (fluidsynth itself)
 %else
 License:	LGPL v2+
 %endif
 Group:		Applications/Sound
-Source0:	http://downloads.sourceforge.net/fluidsynth/%{name}-%{version}.tar.bz2
-# Source0-md5:	f6e696690e989098f70641364fdffad7
+#Source0Download: https://github.com/FluidSynth/fluidsynth/releases
+Source0:	https://github.com/FluidSynth/fluidsynth/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	623bb3b8d3a3ef3c4dc0d4cdbfc311a5
 Patch0:		%{name}-midishare.patch
+Patch1:		%{name}-soname.patch
 URL:		http://www.fluidsynth.org/
 BuildRequires:	alsa-lib-devel >= 0.9.1
 BuildRequires:	autoconf >= 2.52
@@ -98,6 +100,7 @@ Ten pakiet zawiera bibliotekę statyczną FluidSynth.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -117,6 +120,9 @@ Ten pakiet zawiera bibliotekę statyczną FluidSynth.
 	--enable-profiling \
 	%{!?with_readline:--without-readline}
 
+# define missing in autotools suite
+echo '#define DEFAULT_SOUNDFONT "%{_datadir}/soundfonts/default.sf2"' >> src/config.h
+
 %{__make}
 
 %install
@@ -135,7 +141,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README
+%doc AUTHORS NEWS README.md THANKS TODO
 %attr(755,root,root) %{_bindir}/fluidsynth
 %attr(755,root,root) %{_libdir}/libfluidsynth.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libfluidsynth.so.1
diff --git a/fluidsynth-soname.patch b/fluidsynth-soname.patch
new file mode 100644
index 0000000..ccf4b4d
--- /dev/null
+++ b/fluidsynth-soname.patch
@@ -0,0 +1,11 @@
+--- fluidsynth-1.1.8/configure.ac.orig	2017-10-12 17:32:26.000000000 +0200
++++ fluidsynth-1.1.8/configure.ac	2017-12-17 12:31:42.766731300 +0100
+@@ -28,7 +28,7 @@
+ dnl if any interfaces have been added: lt_age++
+ dnl if any interfaces have been removed/changed (compatibility broken): lt_age=0
+ 
+-m4_define([lt_current], [6])
++m4_define([lt_current], [7])
+ m4_define([lt_revision], [1])
+ m4_define([lt_age], [6])
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fluidsynth.git/commitdiff/c2d1ce44dbe5d8749205823d4a12c9977e558232



More information about the pld-cvs-commit mailing list