summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt11
-rw-r--r--data/desktop/rosegarden.desktop18
-rw-r--r--data/desktop/x-rosegarden-device.desktop8
-rw-r--r--data/desktop/x-rosegarden.desktop8
-rw-r--r--data/desktop/x-rosegarden21.desktop8
-rw-r--r--data/desktop/x-soundfont.desktop8
6 files changed, 33 insertions, 28 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index df30c23..41d02ef 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -10,15 +10,18 @@ FILE(GLOB CHORD_FILES chords/*.xml)
INSTALL(FILES ${CHORD_FILES} DESTINATION ${DATADIR}/chords)
# Desktop file
-INSTALL(FILES desktop/rosegarden.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
+tde_create_translated_desktop( desktop/rosegarden.desktop )
# MIME files
-SET(MIME_FILES
+tde_create_translated_desktop(
+ SOURCE
desktop/x-rosegarden21.desktop
desktop/x-rosegarden.desktop
desktop/x-rosegarden-device.desktop
- desktop/x-soundfont.desktop)
-INSTALL(FILES ${MIME_FILES} DESTINATION ${MIMEDIR})
+ desktop/x-soundfont.desktop
+
+ DESTINATION ${MIMEDIR}
+)
# Icons
INSTALL(FILES pixmaps/icons/cc-hi16-rosegarden.xpm DESTINATION ${ICONDIR}/locolor/16x16/apps RENAME rosegarden.xpm)
diff --git a/data/desktop/rosegarden.desktop b/data/desktop/rosegarden.desktop
index 47877d6..320bd80 100644
--- a/data/desktop/rosegarden.desktop
+++ b/data/desktop/rosegarden.desktop
@@ -1,14 +1,16 @@
[Desktop Entry]
+Name=Rosegarden
+
+GenericName=MIDI and Audio Sequencer and Editor
+
+Comment=MIDI and audio sequencer and musical notation editor
+
Encoding=UTF-8
Type=Application
-Categories=AudioVideo;Audio;Midi;Sequencer;X-SuSE-Sequencer;X-Red-Hat-Base;
Exec=rosegarden
-MimeType=audio/x-rosegarden;audio/x-rosegarden-device;audio/midi
-X-TDE-NativeMimeType=audio/x-rosegarden
Icon=rosegarden
-X-DocPath=rosegarden/index.html
-Comment=MIDI and Audio Sequencer and Editor
Terminal=false
-Name=Rosegarden
-Name[de]=Rosegarden
-GenericName=MIDI and Audio Sequencer and Editor
+Categories=AudioVideo;Audio;Midi;Sequencer;X-SuSE-Sequencer;X-Red-Hat-Base;
+MimeType=audio/x-rosegarden;audio/x-rosegarden-device;audio/midi
+X-DocPath=rosegarden/index.html
+X-TDE-NativeMimeType=audio/x-rosegarden
diff --git a/data/desktop/x-rosegarden-device.desktop b/data/desktop/x-rosegarden-device.desktop
index a131ed0..483aaf2 100644
--- a/data/desktop/x-rosegarden-device.desktop
+++ b/data/desktop/x-rosegarden-device.desktop
@@ -1,8 +1,8 @@
[Desktop Entry]
Comment=Rosegarden device file
-Comment[fr]=Fichier de description de peripherique Rosegarden
-Hidden=false
-Icon=audio-midi
+
+Type=MimeType
MimeType=audio/x-rosegarden-device
+Icon=audio-midi
Patterns=*.rgd;*.RGD
-Type=MimeType
+Hidden=false
diff --git a/data/desktop/x-rosegarden.desktop b/data/desktop/x-rosegarden.desktop
index 97c9b04..1a75ce9 100644
--- a/data/desktop/x-rosegarden.desktop
+++ b/data/desktop/x-rosegarden.desktop
@@ -1,9 +1,9 @@
[Desktop Entry]
Comment=Rosegarden file
-Comment[fr]=Fichier Rosegarden
-Hidden=false
-Icon=x-rosegarden
+
+Type=MimeType
MimeType=audio/x-rosegarden
+Icon=x-rosegarden
Patterns=*.rg;*.RG
-Type=MimeType
+Hidden=false
X-TDE-AutoEmbed=false
diff --git a/data/desktop/x-rosegarden21.desktop b/data/desktop/x-rosegarden21.desktop
index 4d6f321..8ae597d 100644
--- a/data/desktop/x-rosegarden21.desktop
+++ b/data/desktop/x-rosegarden21.desktop
@@ -1,8 +1,8 @@
[Desktop Entry]
Comment=Rosegarden 2.1 file
-Comment[fr]=Fichier Rosegarden 2.1
-Hidden=false
-Icon=audio-midi
+
+Type=MimeType
MimeType=audio/x-rosegarden21
+Icon=audio-midi
Patterns=*.rose
-Type=MimeType
+Hidden=false
diff --git a/data/desktop/x-soundfont.desktop b/data/desktop/x-soundfont.desktop
index b39ad25..8aafc30 100644
--- a/data/desktop/x-soundfont.desktop
+++ b/data/desktop/x-soundfont.desktop
@@ -1,8 +1,8 @@
[Desktop Entry]
Comment=Soundfont
-Comment[fr]=Echantillons
-Hidden=false
-Icon=audio-x-generic
+
+Type=MimeType
MimeType=audio/x-soundfont
+Icon=audio-x-generic
Patterns=*.sf2;*.SF2
-Type=MimeType
+Hidden=false