[audacious-plugins/f17] Drop sndstretch plug-in, which is unstable and has been discontinued

Michael Schwendt mschwendt at fedoraproject.org
Sat Jan 12 20:47:27 UTC 2013


commit 70e9de516d408b818f33d3cfd5880c4885bf5fd0
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Sat Jan 12 21:47:20 2013 +0100

    Drop sndstretch plug-in, which is unstable and has been discontinued
    
      and removed upstream.
    - Drop added .desktop files in favour of advertizing all MimeTypes in
      Audacious' own .desktop file. This is supposed to fix the assignment
      of Default Applications (GNOME bz #690119).

 audacious-amidi.desktop |   10 ----------
 audacious-plugins.spec  |   46 ++++++++++------------------------------------
 audacious-sid.desktop   |   10 ----------
 3 files changed, 10 insertions(+), 56 deletions(-)
---
diff --git a/audacious-plugins.spec b/audacious-plugins.spec
index 039d590..9bea5dd 100644
--- a/audacious-plugins.spec
+++ b/audacious-plugins.spec
@@ -11,7 +11,7 @@
 
 Name: audacious-plugins
 Version: 3.2.4
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Plugins for the Audacious audio player
 Group: Applications/Multimedia
 URL: http://audacious-media-player.org/
@@ -22,8 +22,6 @@ URL: http://audacious-media-player.org/
 License: GPLv2 and GPLv2+ and LGPLv2+ and MIT and GPLv3
 
 Source0: http://distfiles.audacious-media-player.org/audacious-plugins-%{tar_ver}.tar.bz2
-Source1: audacious-sid.desktop
-Source2: audacious-amidi.desktop
 
 # Fedora customization
 Patch0: audacious-plugins-3.0-alpha1-xmms-skindir.patch
@@ -37,7 +35,6 @@ Patch3: audacious-plugins-3.2.4-ui_slider-button.patch
 
 BuildRequires: audacious-devel >= %{aud_ver}
 BuildRequires: gettext-devel
-BuildRequires: desktop-file-utils
 BuildRequires: jack-audio-connection-kit-devel
 BuildRequires: libsamplerate-devel
 BuildRequires: alsa-lib-devel
@@ -110,8 +107,6 @@ Summary: Audacious input plugin for MIDI
 Group: Applications/Multimedia
 %{?aud_plugin_dep}
 Requires: audacious-plugins%{?_isa} >= %{aud_ver}
-Requires(post): desktop-file-utils
-Requires(postun): desktop-file-utils
 
 %description amidi
 This package provides AMIDI-Plug, a modular MIDI music player, as an
@@ -124,8 +119,6 @@ Summary: Audacious input plugin for SID music files
 Group: Applications/Multimedia
 %{?aud_plugin_dep}
 Requires: audacious-plugins%{?_isa} >= %{aud_ver}
-Requires(post): desktop-file-utils
-Requires(postun): desktop-file-utils
 
 %description sid
 This package provides an Audacious input plugin for SID music files.
@@ -169,16 +162,8 @@ make %{?_smp_mflags}
 %install
 make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
 %find_lang %{name}
-%if 0%{?fedora} <= 17
-# audacious-sid.desktop
-desktop-file-install --vendor "" \
-    --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
-    %{SOURCE1}
-%endif
-# audacious-amidi.desktop
-desktop-file-install --vendor "" \
-    --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
-    %{SOURCE2}
+# unstable and has been discontinued upstream
+rm ${RPM_BUILD_ROOT}%{_libdir}/audacious/Effect/sndstretch.so
 
 
 %check
@@ -190,22 +175,6 @@ desktop-file-install --vendor "" \
 [ -f ${RPM_BUILD_ROOT}%{_libdir}/audacious/Output/pulse_audio.so ]
 
 
-%if 0%{?fedora} <= 17
-%post sid
-update-desktop-database &> /dev/null || :
-
-%postun sid
-update-desktop-database &> /dev/null || :
-%endif
-
-
-%post amidi
-update-desktop-database &> /dev/null || :
-
-%postun amidi
-update-desktop-database &> /dev/null || :
-
-
 %files -f %{name}.lang
 %doc AUTHORS COPYING
 %dir %{_libdir}/audacious
@@ -242,16 +211,21 @@ update-desktop-database &> /dev/null || :
 %files amidi
 %{_libdir}/audacious/Input/amidi-plug.so
 %{_libdir}/audacious/Input/amidi-plug/
-%{_datadir}/applications/audacious-amidi.desktop
 
 %if 0%{?fedora} <= 17
 %files sid
 %{_libdir}/audacious/Input/sid.so
-%{_datadir}/applications/audacious-sid.desktop
 %endif
 
 
 %changelog
+* Sat Jan 12 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 3.2.4-3
+- Drop sndstretch plug-in, which is unstable and has been discontinued
+  and removed upstream.
+- Drop added .desktop files in favour of advertizing all MimeTypes in
+  Audacious' own .desktop file. This is supposed to fix the assignment
+  of Default Applications (GNOME bz #690119).
+
 * Mon Jul  9 2012 Michael Schwendt <mschwendt at fedoraproject.org> - 3.2.4-2
 - Put back the hack for GTK+ < 3.5 to make trackpos slider work with
   left button. The patch would need to be removed if gtk3 were upgraded


More information about the scm-commits mailing list