chore: add missing appstream metainfo - #1014
Conversation
|
Looks good so far. You renamed the in file but the installed file name is still correct? |
|
@TheOneRing the resulting filename after cmake configure matches the app id which is correct, but I am not sure about the CMAKE_CURRENT_BINARY_DIR output folder. Any specific reason this was changed from KDE_INSTALL_METAINFODIR? |
| <release version="3.0.3" date="2025-12-08"> | ||
| <url type="details">https://github.com/opencloud-eu/desktop/releases/tag/v3.0.3</url> | ||
| </release> |
There was a problem hiding this comment.
It would be recommended to add an description for releases as well.
This description will be shown in software managers such as GNOME Software, Bazaar or KDE Discover.
There was a problem hiding this comment.
Honestly I don't like the idea of adding multiple lines of XML per release when the release details are linked already
The files are now generated at build time, the resulting file is now placed in CMAKE_CURRENT_BINARY_DIR before it is installed one line later. |
a1c2cf0 to
13fc381
Compare
|
|
||
| <icon>@APPLICATION_ICON_NAME@</icon> | ||
| <branding> | ||
| <color type="primary" scheme_preference="light">#20434F</color> |
There was a problem hiding this comment.
The branding in the desktop app is rather conservative.
Our official colours are:
Petrol:#20434F
Lilac: #E2BAFF
There was a problem hiding this comment.
One for a dark and a light theme, what colour is to be used here depends on whether its a highlight or a background or whatever.
There was a problem hiding this comment.
thanks, I wasn't aware. The example shows #ff00ff for dark theme and #993d3d for light theme, hence I chose Lilac for light and petrol for dark correspondingly
|
Besides the branding colour, what is the state of this pr? |
13fc381 to
79acb88
Compare
|
@TheOneRing I just updated the branding colors and rebased this PR. From my point of view, we are ready to merge ^^ |
|
Thanks! |
|
@p-fruck the kde appstream metadata test fails. |
Head branch was pushed to by a user without write access
79acb88 to
70216c7
Compare
|
@TheOneRing interesting, |
|
Failed again, I assume the new ecm release made it more strict. |
|
I'm confused.
Local is the correct icon type if I am not mistaken? https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-icon Also, developer is a valid tag, but this is not an error: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer |
|
For the developer tag, the version of appstreamcli might be too old. For the image type, my ai says while its in the spec, you're not supposed to use it.... |
|
Sure, switched to remote in 1a2c895. Hopefully it works now |
|
I guess we should use a specific revision for the url. Else stuff will break one day so one moves the file around. |
1a2c895 to
dfeee95
Compare
|
good point, permalinked to current main |
|
yay, thx |
Continues the work of #1011 (comment)
Questions of @TheOneRing:
I used the header color from here:
desktop/src/libsync/opencloudtheme.cpp
Line 31 in 5656a4b
Honestly I don't know, I just used the oars website and chose "Application that can connect to the internet", which I suspect is true here (even though we only connect to some opencloud instance and don't support webbrowsing etc). Do you suggest some other rating?
I would also like to get an approval from @CodedOre here before merging so we can continue on flathub/flathub#9623.
As the app id is defined via cmake, I would propose to change the name to opencloud.metainfo.xml as well