New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meta-packages and missing-desktop-file #70
Comments
|
You need a .desktop file present to complete missing information from the metainfo file, e.g. name and summary. So, you could move the metainfo file to |
Not necessarily, e.g. freedink-engine depends on freedink-data which is from another source package and has its own release process. Beware of hasty "should" :) I already have a Recommend so I'll go with that and possibly look into add-ons, thanks for the pointer. I see you didn't answer about an easy/quick way to fully test appdata integration before uploading, I guess there's none, especially with different distros doing things with their own variants and with different pieces of software. This makes it quite time consuming and stressful for upstream to test and properly integrate the application - well, such is life :/ |
|
Thanks for the fast answer, too, appreciated :) |
|
@Beuc You can run basic validation with appstreamcli: As for the full packaging test, there is no way around running appstream-generator locally, as those tests simply require a full Debian repository to produce any useful results. There is a (purposefully) undocumented |
|
Thanks for the pointers. |
|
@Beuc That's why I suggested the |
|
Hi, I did see I am not saying we can do much given the architecture design of appstream, I'm just giving upstream feedback. I tend to think a FreeDesktop service to register and update the metainfo, as a post-release process, offering pointers to the supporting distros logs, possibly with a manual refresh trigger, may have been better, but that's probably not the time and space to discuss this :) |
|
Additing tests for icons is maybe something we could have in Maybe it makes sense to publish the databases asgen uses in Debian, so people can relatively easily test their packages locally (those databases are huge though, and architecture-dependent). |
Hi,
From https://wiki.debian.org/AppStream/Guidelines
In my case I have a freedink-engine package which is the game itself and the editor, and a freedink-dfarc package that allows launching the games with different options and managing game extensions.
I move the .appdata.xml file in the "freedink" meta-package, so users install these 2 recommended components (freedink-engine and freedink-dfarc), but now it cannot find the .desktop file(s) in the dependent packages.
https://appstream.debian.org/sid/main/issues/freedink.html
It does not make sense to move the .desktop files in the meta-package, since the packages are independent and can be installed separately - in which case they do need their .desktop files, they can't depend on the meta-package for that.
Note: I didn't add a
<launchable>tag yet, I didn't know about it, but from the wiki page and the hint it doesn't sound like this would make a difference.I thought the generator would be able to locate the desktop files in different packages (just like I expect it to find the game translations in another package).
What do you think?
(by the way, is there a way to test the distro processing of my .appdata.xml without uploading and waiting for a few days?)
The text was updated successfully, but these errors were encountered: