Bug 339989

Summary: desktop-mime-but-no-exec-code lintian error when packaging.
Product: [Applications] kspaceduel Reporter: Scarlett Moore <sgmoore>
Component: generalAssignee: Dirk Rathlev <dirkrathlev>
Status: RESOLVED FIXED    
Severity: normal CC: kde-games-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Scarlett Moore 2014-10-15 13:00:58 UTC
Debian policy: The desktop entry lists support for at least one mime type, but does not provide codes like %f, %F, %u or %U for the Exec key.

If the application can indeed handle files of the listed mime types, it should specify a way to pass the filenames as parameters.

In this case MimeType=
is empty so either remove MimType or fix the exec line.

Reproducible: Always

Steps to Reproduce:
1. package
2. lintian error
3.


Expected Results:  
no lintian error
Comment 1 Luigi Toscano 2017-04-14 21:56:28 UTC
Git commit 08e0179a5e65c3632b2f4bd05294ab77b5b31fac by Luigi Toscano.
Committed on 14/04/2017 at 21:55.
Pushed by ltoscano into branch 'Applications/17.04'.

Remove empty MimeType entry from the desktop file

No need for it, and it leads to a lintian warning:
desktop-mime-but-no-exec-code

M  +0    -1    kspaceduel.desktop

https://commits.kde.org/kspaceduel/08e0179a5e65c3632b2f4bd05294ab77b5b31fac