diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2021-03-16 13:18:32 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2021-03-17 17:02:16 +0000 |
commit | dbd62f6e054aab8ad8fd36a81023a247fdd543d8 (patch) | |
tree | 4d40c5893b686447da4e622503705aaf5aba154b /NEWS | |
parent | 8316f50f1bb39609a2f625dfefa600e08c5cd8d7 (diff) | |
download | appstream-glib-dbd62f6e054aab8ad8fd36a81023a247fdd543d8.tar.gz |
libappstream-builder: Fix paths for cached icons
As per
https://www.freedesktop.org/software/appstream/docs/sect-AppStream-IconCache.html#spec-iconcache-location,
the size of an icon should be specified in its `width` and `height`
attributes, rather than as part of its name.
This was resulting in icons like this in the rpmfusion-free-33 appdata:
```
<icon type="cached" height="128" width="128">128x128/chromium-browser-privacy.png</icon>
```
which were then being resolved to the path:
```
/usr/share/app-info/icons/rpmfusion-free-33/128x128/128x128/chromium-browser-privacy.png
```
which contains a duplicate size subdirectory.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions