[audacious] Untested commit, because I'm in a hurry and snow is falling atm:

Michael Schwendt mschwendt at fedoraproject.org
Fri Jan 11 15:58:29 UTC 2013


commit 475b5f30a3b5b97a338fd32bae8d71a898e44627
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Fri Jan 11 16:58:23 2013 +0100

    Untested commit, because I'm in a hurry and snow is falling atm:
    
    Keep all MimeType definitions in the single .desktop file, even if the
    corresponding plug-ins may be missing. This is supposed to fix the
    assignment of Default Applications (GNOME bz #690119).

 audacious.spec |   22 +++++++++-------------
 1 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/audacious.spec b/audacious.spec
index ff79385..bfe85fb 100644
--- a/audacious.spec
+++ b/audacious.spec
@@ -8,7 +8,7 @@
 
 Name: audacious
 Version: 3.3.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 License: BSD
 Summary: Advanced audio player
@@ -19,8 +19,9 @@ Source0: http://distfiles.audacious-media-player.org/audacious-%{tar_ver}.tar.bz
 
 BuildRequires: gettext
 BuildRequires: gtk3-devel
-BuildRequires: libguess-devel >= 1.1
-BuildRequires: dbus-devel dbus-glib-devel
+BuildRequires: libguess-devel
+BuildRequires: dbus-devel
+BuildRequires: dbus-glib-devel
 BuildRequires: desktop-file-utils
 BuildRequires: doxygen
 
@@ -108,16 +109,6 @@ find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
 
 desktop-file-install  \
     --dir ${RPM_BUILD_ROOT}%{_datadir}/applications  \
-    --remove-mime-type audio/mp3  \
-    --remove-mime-type audio/mpeg  \
-    --remove-mime-type audio/mpegurl  \
-    --remove-mime-type audio/x-mp3  \
-    --remove-mime-type audio/x-mpeg  \
-    --remove-mime-type audio/x-mpegurl  \
-    --remove-mime-type audio/x-ms-wma  \
-    --remove-mime-type audio/x-musepack  \
-    --remove-mime-type audio/prs.sid  \
-    --remove-mime-type audio/midi  \
     ${RPM_BUILD_ROOT}%{_datadir}/applications/audacious.desktop
 
 
@@ -165,6 +156,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Fri Jan 11 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 3.3.3-2
+- Keep all MimeType definitions in the single .desktop file, even if the
+  corresponding plug-ins may be missing. This is supposed to fix the
+  assignment of Default Applications (GNOME bz #690119).
+
 * Tue Dec 11 2012 Michael Schwendt <mschwendt at fedoraproject.org> - 3.3.3-1
 - Update to 3.3.3 (a few bug-fixes and translation updates).
 


More information about the scm-commits mailing list