! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
replace appdata with metainfo
Status:
RESOLVED: INVALID

Comments

Description olaf 2019-04-30 18:32:34 CEST
I think everything has settled on /usr/share/appdata by now.
thunar.git#master:Makefile.am still uses "appdatadir = $(datadir)/metainfo", which should be replaced with "$(datadir)/appdata".
Comment 1 alexxcons editbugs 2019-04-30 21:17:47 CEST
Correct me if I am wrong .. if I read the related do on freedesktop.org, it more looks like appdata is the deprecated one and got replaced by metainfo:
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent
Comment 2 olaf 2019-04-30 21:31:22 CEST
Might be true. xfce as a whole should only support one of the paths.
If metainfo is the new thing, just use it everywhere.
Comment 3 alexxcons editbugs 2019-04-30 21:45:21 CEST
Sounds like a good idea.
Might I ask you to open bugs for all componnts which still use appdata, and add a link to the freedesktop.org specification ?
Comment 4 olaf 2019-05-02 08:30:52 CEST
A new bug for each of the following pkgs?

xfce4-power-manager/data/appdata/Makefile.am:5:appdatadir = $(datadir)/appdata
parole/data/appdata/Makefile.am:5:appdatadir = $(datadir)/appdata
ristretto/Makefile.am:14:appdatadir = $(datadir)/appdata
xfce4-clipman-plugin/data/appdata/Makefile.am:1:appdatadir = $(datadir)/appdata
xfce4-screenshooter/Makefile.am:198:appdatadir = $(datadir)/appdat
Comment 5 alexxcons editbugs 2019-05-02 09:53:40 CEST
Yes, please!
- Best drop the links to the other bugs into each package-bug.
- Caution: It makes sense to still load the "appdata" folder for bw compatibility. So the transition to metainfo will look like that:
-- 1. e.g. xfce4.14: Load stuff from MetaInfo folder, fallback to Appdata folder if nothing found in metainfo folder. Save stuff to Metainfo folder.
-- 2. One or two major versions later, e.g. xfce4.16: Load save/ stuff only from MetaInfo folder.
Comment 6 alexxcons editbugs 2019-05-02 09:54:39 CEST
Since Thunar already seems to use metainfo, I will close this bug

Bug #15341

Reported by:
olaf
Reported on: 2019-04-30
Last modified on: 2019-05-02

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

Additional information