Bug 135504 - *.appdata.xml should be installed in /usr/share/metainfo
Summary: *.appdata.xml should be installed in /usr/share/metainfo
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
7.0.0.0.beta1+
Hardware: All Linux (All)
: medium trivial
Assignee: Chris Mayo
URL:
Whiteboard: target:7.2.0 target:7.1.0.2
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-06 16:26 UTC by Guo Yunhe
Modified: 2021-03-31 18:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guo Yunhe 2020-08-06 16:26:03 UTC
Description:
Currently, all *.appdata.xml are installed in /usr/share/appdata directory.

But according to latest AppStream standard, they should be installed in /usr/share/metainfo directory.

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

Steps to Reproduce:
1. Install Libreoffice on Linux
2. Check the /usr/share/appdata directory


Actual Results:
You can find writer.appdata.xml here.

Expected Results:
It should be in /usr/share/metainfo directory.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.beta2
Comment 1 Chris Mayo 2020-11-17 19:34:33 UTC
Suggested patch here:
https://gerrit.libreoffice.org/c/core/+/106025
Comment 2 Commit Notification 2020-12-23 15:22:39 UTC
Chris Mayo committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/4cd4726e9d97e9785140c809d2154357d5d15837

tdf#135504: Install application metadata in /usr/share/metainfo

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2020-12-23 17:20:55 UTC
Chris Mayo committed a patch related to this issue.
It has been pushed to "libreoffice-7-1":

https://git.libreoffice.org/core/commit/e98c4be2c87ba5b3f4aedc31388014b320588d4b

tdf#135504: Install application metadata in /usr/share/metainfo

It will be available in 7.1.0.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Xisco Faulí 2021-03-31 13:59:53 UTC
A polite ping to Chris Mayo:
Is this bug fixed? if so, could you please close it as RESOLVED FIXED ?
Otherwise, Could you please explain what's missing?
Thanks
Comment 5 Chris Mayo 2021-03-31 18:23:23 UTC
No problem. This is fixed and shipping in current 7.1 releases.