Accepting request 1045718 from home:derselbst:branches:multimedia:libs

- Update to 2.3.1
  * Prevent MIDI player from finishing prematurely
  * Fix a crash when enumerating rawmidi ALSA devices
  * Restore systemd sandboxing options and make it work with user units
  * Handle conflict with pipewire systemd daemon
- Fix bsc#1204236 by turning systemd service into user service

OBS-URL: https://build.opensuse.org/request/show/1045718
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fluidsynth?expand=0&rev=110
This commit is contained in:
Takashi Iwai 2022-12-29 11:54:41 +00:00 committed by Git OBS Bridge
parent 4781a4ba0a
commit 12d6fc9a8e
4 changed files with 21 additions and 16 deletions

View File

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

3
fluidsynth-2.3.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Dec 29 11:01:45 UTC 2022 - Tom Mbrt <tom.mbrt@googlemail.com>
- Update to 2.3.1
* Prevent MIDI player from finishing prematurely
* Fix a crash when enumerating rawmidi ALSA devices
* Restore systemd sandboxing options and make it work with user units
* Handle conflict with pipewire systemd daemon
- Fix bsc#1204236 by turning systemd service into user service
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 24 16:39:05 UTC 2022 - Tom Mbrt <tom.mbrt@googlemail.com> Sat Sep 24 16:39:05 UTC 2022 - Tom Mbrt <tom.mbrt@googlemail.com>

View File

@ -18,7 +18,7 @@
%define sover 3 %define sover 3
Name: fluidsynth Name: fluidsynth
Version: 2.3.0 Version: 2.3.1
Release: 0 Release: 0
Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm) Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm)
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -40,10 +40,7 @@ BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(sndfile)
Recommends: fluid-soundfont-gm Recommends: fluid-soundfont-gm
Requires(pre): %fillup_prereq %{?systemd_ordering}
Requires(pre): group(audio)
Requires(pre): shadow
%{?systemd_requires}
%description %description
FluidSynth (formerly IIWU Synth) is a real-time software synthesizer FluidSynth (formerly IIWU Synth) is a real-time software synthesizer
@ -90,23 +87,21 @@ This package contains the shared library for Fluidsynth.
%cmake_install %cmake_install
mkdir -p %{buildroot}%{_localstatedir}/lib/%{name} mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}
install -Dpm0644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.%{name} install -Dpm0644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.%{name}
install -Dpm0644 build/fluidsynth.service %{buildroot}%{_unitdir}/%{name}.service install -Dpm0644 build/fluidsynth.service %{buildroot}%{_userunitdir}/%{name}.service
mkdir %{buildroot}%{_sbindir} mkdir %{buildroot}%{_sbindir}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
%pre %pre
getent passwd %{name} >/dev/null || useradd -rc 'FluidSynth GM daemon' -s /bin/false -d %{_localstatedir}/lib/%{name} -g audio %{name} %systemd_user_pre %{name}.service
%service_add_pre %{name}.service
%post %post
%fillup_only %systemd_user_post %{name}.service
%service_add_post %{name}.service
%preun %preun
%service_del_preun %{name}.service %systemd_user_preun %{name}.service
%postun %postun
%service_del_postun %{name}.service %systemd_user_postun %{name}.service
%post -n libfluidsynth%{sover} -p /sbin/ldconfig %post -n libfluidsynth%{sover} -p /sbin/ldconfig
%postun -n libfluidsynth%{sover} -p /sbin/ldconfig %postun -n libfluidsynth%{sover} -p /sbin/ldconfig
@ -119,7 +114,7 @@ getent passwd %{name} >/dev/null || useradd -rc 'FluidSynth GM daemon' -s /bin/f
%{_fillupdir}/sysconfig.%{name} %{_fillupdir}/sysconfig.%{name}
%{_mandir}/man1/%{name}.1%{?ext_man} %{_mandir}/man1/%{name}.1%{?ext_man}
%{_sbindir}/rc%{name} %{_sbindir}/rc%{name}
%{_unitdir}/%{name}.service %{_userunitdir}/%{name}.service
%files devel %files devel
%{_includedir}/%{name} %{_includedir}/%{name}