Hello community,

here is the log from the commit of package timidity for openSUSE:Factory 
checked in at 2014-08-14 14:58:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/timidity (Old)
 and      /work/SRC/openSUSE:Factory/.timidity.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "timidity"

Changes:
--------
--- /work/SRC/openSUSE:Factory/timidity/timidity.changes        2012-12-10 
11:09:02.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.timidity.new/timidity.changes   2014-08-14 
14:58:20.000000000 +0200
@@ -1,0 +2,38 @@
+Mon Jul 21 16:21:43 UTC 2014 - [email protected]
+
+- Update to version 2.14.0 (final)
+  + Add --reverb option for Freeverb parameter.
+  + Add --preserve-silence option.
+  + Add a "trysource" config file directive, which allows to try and
+    source other config files, while continuing without error if the
+    specified file is missing.
+  + Support for GM2 Master Fine/Coarse Tuning, GS Master Tune and XG
+    Master Tuning (4C not 27) SysEx.
+  + Allow Device Numbers other than 0x10 for XG SYSTEM ON SYSEX 
+    events.
+  + Fix multiple vulnerabilities found in GNU gzip also apply to lha,
+    namely: CVE-2006-4335, CVE-2006-4337 and CVE-2006-4338.
+  + Support for lzma decompression.
+  + Support for ipv6.
+  + Support for libpng 1.5 and newer.
+  + Support for Tcl/Tk 8.5.
+  + Make compatible with xaw3d v1.5, style changes.
+  + Various improvements in XAW interface (see README.xaw).
+  + Support for Windows Named Pipe interface.
+  + ...and many other bug fixes.
+- Use systemd instead of sysvinit
+- Remove obsolete patches
+  + 0001-Fix-possible-invalid-access-below-the-array-range.patch
+  + 0003-Fix-the-faulty-check-of-parameters-in-server_c.c-con.patch
+  + 0004-Add-missing-void-argument-for-function-declarations.patch
+  + 0005-Add-missing-quotes-in-autoconf-utils.m4.patch
+  + 0006-Add-the-lzma-decompression-support.patch
+  + 0007-Fix-the-missing-return-value-in-emacs_c.c.patch
+  + 0008-Fix-type-punning-in-smplfile.c.patch
+  + 0009-Use-AS_HELP_STRING-to-make-the-help-output-more-read.patch
+- Remove obsolete macros hacks
+- Fix default parameters for server mode
+- Fix wrong SUSE capitalization
+- Use download Url as source
+
+-------------------------------------------------------------------

Old:
----
  0001-Fix-possible-invalid-access-below-the-array-range.patch
  0003-Fix-the-faulty-check-of-parameters-in-server_c.c-con.patch
  0004-Add-missing-void-argument-for-function-declarations.patch
  0005-Add-missing-quotes-in-autoconf-utils.m4.patch
  0006-Add-the-lzma-decompression-support.patch
  0007-Fix-the-missing-return-value-in-emacs_c.c.patch
  0008-Fix-type-punning-in-smplfile.c.patch
  0009-Use-AS_HELP_STRING-to-make-the-help-output-more-read.patch
  README.SuSE
  timidity-2.14.0-pre.tar.bz2
  timidity.init

New:
----
  README.SUSE
  TiMidity++-2.14.0.tar.xz
  timidity.service

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ timidity.spec ++++++
--- /var/tmp/diff_new_pack.czLyf4/_old  2014-08-14 14:58:21.000000000 +0200
+++ /var/tmp/diff_new_pack.czLyf4/_new  2014-08-14 14:58:21.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package timidity
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,13 @@
 #
 
 
-#
-%if 0%{?suse_version} < 1140
-%define have_arts      1
-%else
-%define have_arts      0
-%endif
-
 Name:           timidity
 Summary:        Software Synthesizer and MIDI Player
 License:        GPL-2.0+
 Group:          Productivity/Multimedia/Sound/Midi
-Version:        2.13.99
+Version:        2.14.0
 Release:        0
 Url:            http://timidity.sourceforge.net/
-%define package_version 2.13.2
-%define _use_internal_dependency_generator 0
 %define my_provides /tmp/my-provides
 BuildRequires:  alsa-devel
 BuildRequires:  automake
@@ -50,32 +41,20 @@
 BuildRequires:  xaw3d
 BuildRequires:  xorg-x11
 Recommends:     fluid-soundfont-gm fluid-soundfont-gs
-%if %{have_arts}
-BuildRequires:  arts-devel
-%endif
-%if 0%{?suse_version} > 1020
 BuildRequires:  fdupes
 BuildRequires:  xaw3d-devel
-%endif
-PreReq:         %insserv_prereq  %fillup_prereq
-# Source:         TiMidity++-%{package_version}.tar.bz2
-Source:         timidity-2.14.0-pre.tar.bz2
+BuildRequires:  systemd
+%{?systemd_requires}
+PreReq:        %fillup_prereq
+Source:         TiMidity++-%{version}.tar.xz
 Source1:        timidity-patches.tar.bz2
 Source2:        %name.desktop
 Source3:        timidity.png
 Source4:        timidity.cfg
-Source5:        %{name}.init
+Source5:        %{name}.service
 Source6:        %{name}.sysconf
-Source7:        README.SuSE
-Patch1:         0001-Fix-possible-invalid-access-below-the-array-range.patch
+Source7:        README.SUSE
 Patch2:         0002-Fix-alsaseq-polling-at-idle-time.patch
-Patch3:         0003-Fix-the-faulty-check-of-parameters-in-server_c.c-con.patch
-Patch4:         0004-Add-missing-void-argument-for-function-declarations.patch
-Patch5:         0005-Add-missing-quotes-in-autoconf-utils.m4.patch
-Patch6:         0006-Add-the-lzma-decompression-support.patch
-Patch7:         0007-Fix-the-missing-return-value-in-emacs_c.c.patch
-Patch8:         0008-Fix-type-punning-in-smplfile.c.patch
-Patch9:         0009-Use-AS_HELP_STRING-to-make-the-help-output-more-read.patch
 Patch100:       timidity-no_date.patch
 Patch101:       timidity-add_fluid_cfgs.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -87,17 +66,8 @@
 
 
 %prep
-# setup -q -n TiMidity++-%{package_version} -a 1
-%setup -q -n timidity -a 1
-%patch1 -p1
+%setup -q -n TiMidity++-%{version} -a 1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
 %patch100
 %patch101
 for f in ./utils/bitset.c ./utils/bitset.h ./utils/nkflib.c; do
@@ -109,11 +79,7 @@
 autoreconf --force --install
 %configure \
        
--enable-dynamic=ncurses,emacs,slang,vt100,xskin,gtk,tcltk,alsaseq,server \
-%if %{have_arts}
-       --enable-audio=alsa,arts,oss,esd,vorbis,jack,ao,flac,speex \
-%else
        --enable-audio=alsa,oss,esd,vorbis,jack,ao,flac,speex \
-%endif
        --with-default-output=alsa \
        --enable-network \
        --enable-spectrogram \
@@ -181,13 +147,10 @@
 
 # boot scripts
 #
-%__install -D %{S:5} %{buildroot}/etc/init.d/%{name}
-%__install -d %{buildroot}/usr/sbin
-ln -s ../../etc/init.d/%{name} %{buildroot}/usr/sbin/rc%{name}
-#
-# fillup sysconfig.timidity
-#
 %__install -m 644 -D %{S:6} 
%{buildroot}/var/adm/fillup-templates/sysconfig.timidity
+%__install -Dm 644 %{S:5} %{buildroot}%{_unitdir}/%{name}.service
+%__install -d %{buildroot}%{_sbindir}
+ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
 
 # exclude plugins from the provide-list
 cat << EOF > %{my_provides}
@@ -195,22 +158,25 @@
 EOF
 chmod 755 %{my_provides}
 %define __find_provides %{my_provides}
-%if 0%{?suse_version} > 1020
-%fdupes -s $RPM_BUILD_ROOT
-%endif
+%fdupes -s %{buildroot}
+
+%pre
+%service_add_pre %{name}.service
 
 %post
 %fillup_only
+%service_add_post %{name}.service
 
 %preun
-%stop_on_removal timidity
+%service_del_preun %{name}.service
 
 %postun
-%restart_on_update %name
-%{insserv_cleanup}
+%service_del_postun %{name}.service
+
 
 %files
 %defattr(-,root,root)
+%{_docdir}
 %{_libdir}/timidity
 %{_datadir}/timidity
 %config(noreplace) %{_datadir}/timidity/timidity.cfg
@@ -221,10 +187,9 @@
 %doc %{_mandir}/man*/*
 %{_datadir}/X11/app-defaults/TiMidity
 %{_datadir}/X11/ja*
-%doc %{_docdir}/%{name}
 %{_datadir}/emacs
 %{_datadir}/xemacs
-%{_sysconfdir}/init.d/timidity
+%{_unitdir}/timidity.service
 %{_sbindir}/rctimidity
 /var/adm/fillup-templates/sysconfig.timidity
 

++++++ README.SUSE ++++++
To use either of the FLUID soundfonts (gm or gs), comment out the default
paths and uncomment either of the fluid lines in 
/usr/share/timidity/timidity.cfg.

When using pulseaudio the use of timidity as a system wide daemon is 
discouraged,
because both pulseaudio and timidity need the same device exclusively.
However timidity can be started as a daemon for the user to provide the midi
ports he/she needs for i.e. canorus. On the console of the user give the 
command:

timidity -iAq -Oe -s 44100
++++++ timidity.service ++++++
[Unit]
Description=TiMidity++ Daemon
After=sound.target

[Service]
EnvironmentFile=-/etc/sysconfig/timidity
ExecStart=/usr/bin/timidity $TIM_ALSASEQPARAMS $TIM_STARTUP

[Install]
WantedBy=multi-user.target
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to