FS#61154 - [archlinux-appstream-data] Applications with 48x48 icons are missing

Attached to Project: Arch Linux
Opened by Balló György (City-busz) - Saturday, 22 December 2018, 15:19 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 22 December 2018, 18:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Currently, applications with only have 48x48px icons are missing from the AppStream database. By default[1], appstream-generator upscale these icons to 64x64px.

Please either not set the 'allowIconUpscaling' option, or set it to 'true' in order to include these applications.

[1] https://github.com/ximion/appstream-generator/blob/master/docs/asgen-config.md
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 22 December 2018, 18:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  archlinux-appstream-data 20181222
Comment by Antonio Rojas (arojas) - Saturday, 22 December 2018, 15:50 GMT
I'm not setting that option. Can you name some affected packages?
Comment by Balló György (City-busz) - Saturday, 22 December 2018, 16:13 GMT
Your version: https://pkgbuild.com/~arojas/appstream/arch/community/issues/tvtime.html
My version: https://pkgbuild.com/~bgyorgy/appstream/export/html/arch/community/issues/tvtime.html

Your version: https://pkgbuild.com/~arojas/appstream/arch/community/issues/zeitgeist-explorer.html
My version: https://pkgbuild.com/~bgyorgy/appstream/export/html/arch/community/issues/zeitgeist-explorer.html

Both applications have 48x48px icons in their packages:
/usr/share/icons/hicolor/48x48/apps/tvtime.png
/usr/share/icons/hicolor/48x48/apps/zeitgeist-explorer.png

I used this configuration file to generate AppStream database for the [community] repository:
https://pkgbuild.com/~bgyorgy/appstream/asgen-config.json
Comment by Antonio Rojas (arojas) - Saturday, 22 December 2018, 17:32 GMT
Those are the exact same options I'm using. Is this with the repo versions of appstream and appstream-generator?
Comment by Balló György (City-busz) - Saturday, 22 December 2018, 17:40 GMT
Yes. I used this command on soyuz (d-containers was a missing dependency, but I fixed it in appstream-generator 0.7.4-7):
$ appstream-generator process arch
Comment by Antonio Rojas (arojas) - Saturday, 22 December 2018, 18:04 GMT
OK I think I know what happens - the upscaling feature was introduced in appstream-generator 0.7. I generate the metadata incrementally, and those two packages haven't been updated since Jan 2018, so they haven't been reindexed with an asgen version that supports upscaling.

Loading...