[SCM] rosegarden/master: Update desktop file to new format

stuart at users.alioth.debian.org stuart at users.alioth.debian.org
Sat Nov 11 07:41:41 UTC 2017


The following commit has been merged in the master branch:
commit 0e2f8593713cc231ae18a5dbf10cd9ce83d32a7b
Author: Stuart Prescott <stuart at debian.org>
Date:   Sat Nov 11 17:23:53 2017 +1100

    Update desktop file to new format

diff --git a/debian/patches/desktop-file.patch b/debian/patches/desktop-file.patch
new file mode 100644
index 0000000..022b5dd
--- /dev/null
+++ b/debian/patches/desktop-file.patch
@@ -0,0 +1,64 @@
+Description: Update desktop file
+ Several updates including:
+ - change name to be the unique entry name as per spec
+    https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#desktop-file-id
+ - add a keywords item
+ - drop the encoding item (file must be UTF-8)
+Author: Stuart Prescott <stuart at debian.org>
+--- /dev/null
++++ b/data/desktop/com.rosegardenmusic.rosegarden.desktop
+@@ -0,0 +1,20 @@
++[Desktop Entry]
++Type=Application
++Categories=AudioVideo;Audio;Midi;Sequencer;X-SuSE-Sequencer;X-Red-Hat-Base;
++Exec=rosegarden %f
++MimeType=audio/x-rosegarden-composition;audio/x-rosegarden-device;audio/x-rosegarden-project;audio/x-rosegarden-template;audio/midi;
++Keywords=midi audio sequencer music notation score
++X-KDE-NativeMimeType=audio/x-rosegarden-composition
++Icon=rosegarden
++Comment=MIDI and Audio Sequencer and Notation Editor
++Comment[de]=MIDI- und Audio-Sequencer und Notensatzprogramm
++Comment[es]=Secuenciador de MIDI y de audio y editor de partitura
++Comment[fr]=Séquenceur MIDI/audio et éditeur de partitions
++Comment[ru]=MIDI-секвенсер и нотный редактор
++Terminal=false
++Name=Rosegarden
++GenericName=Sequencer and Notation Editor
++GenericName[de]=Sequencer und Notensatzprogramm
++GenericName[es]=Secuenciador y editor de partitura
++GenericName[fr]=Séquenceur et éditeur de partitions
++GenericName[ru]=секвенсер и нотный редактор
+--- a/data/desktop/rosegarden.desktop
++++ /dev/null
+@@ -1,20 +0,0 @@
+-[Desktop Entry]
+-Encoding=UTF-8
+-Type=Application
+-Categories=AudioVideo;Audio;Midi;Sequencer;X-SuSE-Sequencer;X-Red-Hat-Base;
+-Exec=rosegarden %f
+-MimeType=audio/x-rosegarden-composition;audio/x-rosegarden-device;audio/x-rosegarden-project;audio/x-rosegarden-template;audio/midi;
+-X-KDE-NativeMimeType=audio/x-rosegarden-composition
+-Icon=rosegarden
+-Comment=MIDI and Audio Sequencer and Notation Editor
+-Comment[de]=MIDI- und Audio-Sequencer und Notensatzprogramm
+-Comment[es]=Secuenciador de MIDI y de audio y editor de partitura
+-Comment[fr]=Séquenceur MIDI/audio et éditeur de partitions
+-Comment[ru]=MIDI-секвенсер и нотный редактор
+-Terminal=false
+-Name=Rosegarden
+-GenericName=Sequencer and Notation Editor
+-GenericName[de]=Sequencer und Notensatzprogramm
+-GenericName[es]=Secuenciador y editor de partitura
+-GenericName[fr]=Séquenceur et éditeur de partitions
+-GenericName[ru]=секвенсер и нотный редактор
+--- a/data/CMakeLists.txt
++++ b/data/CMakeLists.txt
+@@ -36,7 +36,7 @@
+ 
+ 
+ # Install desktop file
+-install(FILES desktop/rosegarden.desktop DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")
++install(FILES desktop/com.rosegardenmusic.rosegarden.desktop DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")
+ 
+ # Install appdata file
+ install(FILES appdata/rosegarden.appdata.xml DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/appdata")
diff --git a/debian/patches/series b/debian/patches/series
index 5423ac8..347be38 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+fix-mime-types.patch
+desktop-file.patch
 appdata-format.patch
 svnheader.patch
-fix-mime-types.patch

-- 
rosegarden packaging



More information about the pkg-multimedia-commits mailing list