adequate should check that the Exec/Icon references in .desktop files resolve to executable, script or icon files that exist on the system.
hi Paul, lintian already implements 20 .desktop file related tags, among which: - desktop-command-not-in-package - desktop-entry-lacks-icon-entry (which also triggers when an icon file cannot be found) do you see value in adequate duplicating these checks? see also relevant discussion, about where the boundary between lintian and adequate should be drawn, at D563NIWIQDZ2.3TDK6BTT7U22T@debian.org thanks, serafi
lintian only has access to a single binary package, or only binary packages from a single source package, so it fundamentally cannot detect the situation that a desktop references a file that is not present in any of the packages in Debian. Same as for shared libs etc. These tests are useful, but not adequate for archive-wide tests. I do not think that the proposed check duplicates the lintian check. Checks that need to happen after install such as cross-package checks should go to adequate and checks that can be done statically for a single binary package or all binary packages from the same source should go to lintian.