find_package_desktopfile() needs more smarts
Bug #1147528 reported by
James Hunt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
apport/
(1) A package contains multiple .desktop files.
(2) A package contains a single desktop file that does not relate to the package itself.
The current Upstart PPA currently satisfies (2) above since it provides /usr/share/
The simplest change would probably be to make find_package_
Related branches
To post a comment you must log in.
> (1) A package contains multiple .desktop files.
This is already covered, in that case find_package_ desktopfile( ) returns None.
> only look for .desktop files in /usr/share/ applications/ within the package
But that would exclude autostart desktop files, which we specifically want to include as those kinds of packages are also "user-visible" in most cases, so we don't want to describe them as "system service". But we can certainly filter for only those and /usr/share/ applications/ .