Re: libbappstream-glib icon type=stock not supported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 25, 2020 at 9:31 PM Vascom <vascom2@xxxxxxxxx> wrote:
>
> Hi all.
>
> Some packages has string
> <icon type="stock">...
> And appstream-util validate-relax show error
> ? tag-invalid           : stock icon is not valid
>
> There exist bugreport one year old!
> https://bugzilla.redhat.com/show_bug.cgi?id=1584944
>
>
> Please pay attention to it.
>
> No I don't know what to do:
> 1. Remove this string from xml file.
> 2. Disable validation at all. But guidelines say that I MUST run it
> https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_app_data_validate_usage
>
> And I see that some packages not run validation like
> plasma-systemsettings bit still contain metainfo .xml with <icon
> type="stock">systemsettings</icon>

Hi!

I opened an issue with appstream-glib upstream project about this.
Turns out, it's not that icons of type "stock" are considered invalid,
but there's only a short whitelist of *stock icon names* that's
considered valid:

https://github.com/hughsie/appstream-glib/issues/360

Fabio

> --
> Best Regards,
> Vasiliy Glazov
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux