Bug 339989 - desktop-mime-but-no-exec-code lintian error when packaging.
Summary: desktop-mime-but-no-exec-code lintian error when packaging.
Status: RESOLVED FIXED
Alias: None
Product: kspaceduel
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Dirk Rathlev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 13:00 UTC by Scarlett Moore
Modified: 2017-04-14 21:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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