Repository navigation
Description
Problem
GNOME Software (and KDE Discover) show the installed Lagebuch .deb as Unknown License, with the warning "may be proprietary". They also show no age rating, no screenshots and no bug tracker link. Lagebuch is MIT, but these software centres read the licence and the rest of their app page from AppStream metainfo, and packaging/linux/build-deb.sh ships none.
The icon side is already done: the hicolor icons, Icon=, StartupWMClass and the hicolor-icon-theme dependency are all in place. Only the metainfo is missing.
Proposal
Have build-deb.sh generate /usr/share/metainfo/de.codeforfire.lagebuch.metainfo.xml, the way CodeForFire/freizeichen#18 does for Freizeichen:
<id>de.codeforfire.lagebuch</id>, the id the macOS bundle already uses, with<launchable type="desktop-id">lagebuch.desktop</launchable>tying it to the existing entry<project_license>MIT</project_license>,<metadata_license>CC0-1.0</metadata_license>- German
<summary>and<description>(the entry'sCommentis a good start) <developer>, plus homepage and bug tracker URLs<provides><mediatype>application/x-lagebuch</mediatype></provides>, so the Einsatzdatei type is advertised<content_rating type="oars-1.1"/><releases>with the packaged version<screenshots>fromdocs/screenshots/(1920×1032 desktop shots, a good size for software centres), referenced throughraw.githubusercontent.comat the release tag so each version shows its own
Then validate it in the release workflow: appstreamcli validate --no-net (package appstream) on the installed file, next to the existing desktop-file-validate.
Things to know
- Testing: GNOME Software runs as a background service and keeps its data until restarted. Run
gnome-software --quitafter installing, then check the installed app's page.appstreamcli get de.codeforfire.lagebuchconfirms the metadata without the GUI. - Known limitation: a
.debopened in GNOME Software before installing still shows an unknown licence and size. That comes from PackageKit's apt backend, which hard-codes"unknown"as the licence for every package (backends/apt/apt-job.cpp,emitPackageDetail). No package content can change it.
🤖 Generated with Claude Code
Activity