Skip to content

Commit

Permalink
Desktop integration: Use "Name" and "GenericName" in the way defined …
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-steghoefer committed May 10, 2014
1 parent d51a01f commit 2ed0811
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 4 additions & 1 deletion changelog
Expand Up @@ -23,6 +23,9 @@ karlyriceditor (1.11-1) unstable; urgency=low
* debian/patches/desktop.patch
- Added "Keywords" entry to get rid of lintian warning
desktop-entry-lacks-keywords-entry
- Use "Name" and "GenericName" in a way complying to freedesktop.org
standards:
http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
* Added opaque background to icons in png and xpm format for better
visual clarity
* debian/patches/ffmpeg-vs-libav-avframe-allocation.patch
Expand All @@ -33,7 +36,7 @@ karlyriceditor (1.11-1) unstable; urgency=low
AVStream (has to be the same as the one of the codec in Libav,
upstream uses FFmpeg)

-- Martin Steghöfer <martin@steghoefer.eu> Sat, 10 May 2014 13:52:19 +0200
-- Martin Steghöfer <martin@steghoefer.eu> Sat, 10 May 2014 14:43:54 +0200

karlyriceditor (1.3-1) unstable; urgency=low

Expand Down
11 changes: 8 additions & 3 deletions patches/desktop.patch
Expand Up @@ -4,20 +4,25 @@ Description: Improve freedesktop.org configuration file
2. Icons should better be given without full path. This way the desktop
manager can support icon themes.
3. Removed no longer necessary encoding specification (now it's always UTF-8).
4. Added categories
5. Use "Name" and "GenericName" in the way defined by freedesktop.org:
http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
Author: Martin Steghöfer <martin@steghoefer.eu>
Forwarded: not-needed

--- a/packages/karlyriceditor.desktop
+++ b/packages/karlyriceditor.desktop
@@ -1,8 +1,8 @@
@@ -1,8 +1,9 @@
[Desktop Entry]
Type=Application
Terminal=false
-Categories=Multimedia;Karaoke
+Categories=AudioVideo;Video
Name=Karaoke Lyric Editor
-Name=Karaoke Lyric Editor
-Encoding=UTF-8
-Icon=/usr/share/pixmaps/karlyriceditor.png
+Categories=AudioVideo;Video
+Name=karlyriceditor
+GenericName=Karaoke Lyric Editor
+Icon=karlyriceditor
Exec=karlyriceditor
+Keywords=Lyrics;Subtitles;Music

0 comments on commit 2ed0811

Please sign in to comment.