#854208 adequate: check that Exec/Icon references in .desktop files resolve to existing files

Package:
adequate
Source:
adequate
Description:
Debian package quality testing tool
Submitter:
Paul Wise
Date:
2024-12-07 03:33:01 UTC
Severity:
wishlist
#854208#5
Date:
2017-02-05 03:29:58 UTC
From:
To:
adequate should check that the Exec/Icon references in .desktop files
resolve to executable, script or icon files that exist on the system.

#854208#10
Date:
2024-11-03 21:26:40 UTC
From:
To:
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

#854208#15
Date:
2024-12-07 03:29:12 UTC
From:
To:
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.