Bug 339975 - Lintian error while packaging.
Summary: Lintian error while packaging.
Status: RESOLVED NOT A BUG
Alias: None
Product: cantor
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Rieder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 10:52 UTC by Scarlett Moore
Modified: 2017-04-28 19:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch using %u (351 bytes, patch)
2014-10-15 10:54 UTC, Scarlett Moore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scarlett Moore 2014-10-15 10:52:39 UTC
Debian specification desktop-mime-but-no-exec-code entails:
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.

Reproducible: Always

Steps to Reproduce:
1. Package cantor with debuild/lintian
2. lintian error
3.


Expected Results:  
No lintian error
Comment 1 Scarlett Moore 2014-10-15 10:54:24 UTC
Created attachment 89136 [details]
Patch using %u

This patch uses
%u	A single URL. Local files may either be passed as file: URLs or as file path.
Comment 2 Scarlett Moore 2014-10-15 11:06:48 UTC
Comment on attachment 89136 [details]
Patch using %u

%u	A single URL. Local files may either be passed as file: URLs or as file path.
Comment 3 Filipe Saraiva 2016-05-08 14:34:58 UTC
Hi Scarlett, do you know if this bug is valid yet?

Currently Cantor has the follow line in .desktop file:
Exec=cantor %i -qwindowtitle %c %U

Is it enough?
Thanks!
Comment 4 Scarlett Moore 2016-12-12 21:39:06 UTC
Yes it looks like this is now fixed. feel free to close. Thanks,
Scarlett
Comment 5 Filipe Saraiva 2017-04-28 19:02:56 UTC
Thanks Scarlett!