On Sun, 2024-11-03 at 22:26 +0100, Serafeim (Serafi) Zanikolas wrote:

> > adequate should check that the Exec/Icon references in .desktop files
> > resolve to executable, script or icon files that exist on the system.

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.

> 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)

These tests are useful, but not adequate for archive-wide tests.

> do you see value in adequate duplicating these checks?

I do not think that the proposed check duplicates the lintian check.

> see also relevant discussion, about where the boundary between lintian and
> adequate should be drawn, at d563niwiqdz2.3tdk6btt7u...@debian.org

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.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to