Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61157 - [appstream-generator] Reduce icon-not-found errors

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

Details

Currently a lot of packages fail with "icon-not-found" error in the [community] repository, because they are referencing icons from packages in the [extra] repository, including all of them which uses stock icons, because the searched icon themes (Adwaita, Breeze)[1] are also in [extra].

There is a hard-coded setting[2] in the appstream-generator, which specifies, what repositories searched for the icon data. The hard-coded values are "main", "universe", which apply for Debian, but not suitable for Arch Linux. I would like to apply the attached patch, which sets these values to "core", "extra". This reduces the "icon-not-found" errors from 181 to 69 for the packages in [community] repository.

After the patch applied, the AppStream database needs to be regenerated.

[1] https://github.com/ximion/appstream-generator/blob/2b0241a529e2174434b81eef62204711a78a30c4/src/asgen/handlers/iconhandler.d#L263
[2] https://github.com/ximion/appstream-generator/blob/78bfe323a272c6c099d7fba90aaa769a6e758124/src/asgen/engine.d#L472
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 22 December 2018, 23:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  archlinux-appstream-data 20181222-2
Comment by Antonio Rojas (arojas) - Saturday, 22 December 2018, 21:19 GMT
Thanks - I'm OK with the patch, but please submit a pull request upstream (adding core and extra to the current array instead of replacing it) so we don't have to ship a distro specific patch forever - Arch is supported upstream.
Comment by Balló György (City-busz) - Saturday, 22 December 2018, 21:56 GMT Comment by Balló György (City-busz) - Saturday, 22 December 2018, 22:29 GMT
I applied the patch for appstream-generator 0.7.4-8. You can rebuild the AppStream database with this version.

Loading...