Debian Patches

Status for appstream/0.16.1-2

Patch Description Author Forwarded Bugs Origin Last update
01_add-missing-is-hidden-attribute.patch [PATCH] Add missing standard::is-hidden attribute to file search enumerator Matthias Klumpp <matthias@tenstral.net> no 2023-03-12
02_spdx-accept-brackets-in-expression-check.patch [PATCH] spdx: Accept brackets in spdx license expression check (#469)
something like: "CC0-1.0 AND (BSD-3-Clause OR LGPL-2.1-only)"
is reported by appstreamcli check-license as "invalid" and not "Free and
Open Source"

$ appstreamcli check-license "CC0-1.0 AND (BSD-3-Clause OR LGPL-2.1-only)"
License Type: invalid
Suitable for AppStream metadata: no
Free and Open Source: no

Trying to debug I find that "as_license_is_free_license" accepts this
string as valid, but that "as_is_spdx_license_expression" considers
it invalid due to the presence of "(" and ")" so it is rejected there
and so ascli_check_license goes on to use as_license_to_spdx_id which
turns it into "CC0-1.0-1.0 AND (BSD-3-Clause-3-Clause OR LGPL-2.1-only)"
ascli_check_license is ok with brackets, but at this point its mangled
and understandably fails.

In fedora in practice I see gnome-software designate libreoffice
langpacks as "Proprietary Code" when a similar license tag is extracted
from the rpm and propogated into appstream.

https://bugs.documentfoundation.org/show_bug.cgi?id=154056
=?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolan@skynet.ie> no 2023-04-11
03_compose-lowercase-cids.patch [PATCH] compose: Set lower-cased cid for synthesized components again
This is a regression from previous appstream-generator behavior that
caused GCIDs and CIDs to no longer match, yielding all kinds of weird
behavior.
It also broke the Ratings & Reviews associations.
Matthias Klumpp <mak@debian.org> no 2023-05-28
04_fix-crash-on-invalid-yaml-input.patch [PATCH] Don't crash when non-YAML documents are read as YAML Matthias Klumpp <matthias@tenstral.net> no 2023-04-24
05_compose-fix-qt-l10n-search-crash.patch [PATCH] Fix crash in asc_l10n_search_translations_qt()
We can't change value of the pointer that is marked `g_autofree`.

Fixes #483
Gleb Popov <6yearold@gmail.com> no 2023-04-13

All known versions for source package 'appstream'

Links