From 68fe38b0fe02591c663cf7f7af6007e87498bad8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 7 Sep 2013 20:59:35 +0300 Subject: [PATCH] fix .desktop categories (add Audio); patch from fedora --- clementine-dt_categories.patch | 12 ++++++++++++ clementine.spec | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 clementine-dt_categories.patch diff --git a/clementine-dt_categories.patch b/clementine-dt_categories.patch new file mode 100644 index 0000000..9cfc4b5 --- /dev/null +++ b/clementine-dt_categories.patch @@ -0,0 +1,12 @@ +diff -up clementine-1.1.1/dist/clementine.desktop.dt_categories clementine-1.1.1/dist/clementine.desktop +--- clementine-1.1.1/dist/clementine.desktop.dt_categories 2013-09-04 09:22:46.473387810 -0500 ++++ clementine-1.1.1/dist/clementine.desktop 2013-09-04 09:36:29.172687094 -0500 +@@ -10,7 +10,7 @@ Exec=clementine %U + TryExec=clementine + Icon=application-x-clementine + Terminal=false +-Categories=AudioVideo;Player;Qt; ++Categories=AudioVideo;Audio;Player;Qt; + StartupNotify=false + MimeType=application/ogg;application/x-ogg;application/x-ogm-audio;audio/aac;audio/mp4;audio/mpeg;audio/mpegurl;audio/ogg;audio/vnd.rn-realaudio;audio/vorbis;audio/x-flac;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-wma;audio/x-musepack;audio/x-oggflac;audio/x-pn-realaudio;audio/x-scpls;audio/x-speex;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-wav;video/x-ms-asf;x-content/audio-player;x-scheme-handler/zune;x-scheme-handler/itpc;x-scheme-handler/itms;x-scheme-handler/feed; + X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Previous;Next; diff --git a/clementine.spec b/clementine.spec index 17376ce..d913633 100644 --- a/clementine.spec +++ b/clementine.spec @@ -28,6 +28,7 @@ Source0: http://clementine-player.googlecode.com/files/%{name}-%{version}.tar.gz Patch0: desktop-install.patch Patch1: unbundle-po.patch Patch2: %{name}-1.1.1-libimobiledevice-fix.patch +Patch3: %{name}-dt_categories.patch BuildRequires: QtCore-devel >= %{qtver} BuildRequires: QtDBus-devel >= %{qtver} BuildRequires: QtGui-devel >= %{qtver} @@ -100,6 +101,7 @@ a Qt4 előnyeit. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 # We already don't use these but just to make sure rm -rf 3rdparty/gmock -- 2.44.0