On Monday, May 12, 2025 11:31:26 AM Mountain Standard Time Peter Blackman 
wrote:
> On 12/05/2025 17:13, Soren Stoutner wrote:
> > In my experiences, this particular error has to do with inconsistencies
> > between the appstream metadata file name, the appstream ID name, and the
> > desktop file name.
> > 
> > In my experience, the following always resolves the issue.
> 
> <snip>
> 
> > 3.  Use reverse DNS naming for the desktop file appended by .desktop.
> 
> Hi Soren,
> 
> Right.
> It looks possible that my failure to rDNS the .desktop name
> may be the issue with the package.
> 
> What is tedious,
> is that I cannot reproduce the problem locally, to check.
> 
> UDD claims a lintian warning against the package
> https://udd.debian.org/lintian/?packages=cevomapgen
> 
> But if I run either ..validate-tree or lintian itself
> against the .deb, no errors are shown.

I also don’t see any lintian tags when I run the following command with 
lintian from testing:

lintian -iIE --pedantic

My guess is that the factors for determining this tag have changed and that 
UDD is running either a newer or an older version of either lintian or 
"appstreamcli validate”.

In the past, when I have dealt with this error I was able to reproduce it 
locally with lintian.  If you want to make UDD happy you could upload a 
version with a corrected .desktop entry (it is recommended it use reverse DNS 
naming anyway).

"The name of the desktop entry should follow the "reverse DNS" convention: it 
should start with a reversed DNS domain name controlled by the author of the 
application, in lower case.”

https://specifications.freedesktop.org/desktop-entry-spec/latest-single/#file-naming

Similar language also exists for the AppStream file name and ID tag.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html

I think in the past the recommendation to use reverse DNS naming wasn’t as 
strong, which is why you see a lot of .desktop files that follow other 
patterns, especially for programs that have been around for a long time.

-- 
Soren Stoutner
so...@debian.org

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

Reply via email to