| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This prevents erroring out when processing packages that ship metainfo.xml
files in odd places.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Consumers of the appdata file are perfectly capable of adding their own
default icons, and the specification doesn’t require icons to be present
for any of these component types.
If appstream-builder provides a default icon, software centres cannot
work out whether it’s provided by the component authors or by
appstream-builder. This means software centres cannot override it with
their own desktop-specific default icons.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
See: https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1483
Fixes: #419
|
|
|
|
|
| |
- This is a followup on https://github.com/hughsie/appstream-glib/pull/460
- This is issue https://github.com/flathub/org.flatpak.Builder/issues/112
|
|
|
|
|
| |
- This is issue https://github.com/flathub/org.flatpak.Builder/issues/108
and https://github.com/flathub/org.flatpak.Builder/issues/112
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Oops, trying to use it would just result in criticals.
Fixes #449
|
|
|
|
|
|
|
|
|
|
| |
This is still not great code but at least somewhat an improvement. Tests
were expanded to showcase the new behavior.
I think, ideally, we would append opening/closing tags to the ancestor
`p` or `li` node's cdata as soon as we encounter the start/end of an
`em` or `code` element. This would then also handle empty elements
correctly.
|
| |
|
|
|
|
| |
Fixes: https://github.com/hughsie/appstream-glib/issues/445
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The former bumped ABI, and all sorts of crazy happens when you link in
libappstream-glib into a process with the 'other' ABI.
It seems the universe has settled on curl as a dep; do the same.
|
|
|
|
| |
Based on a patch by Fabian Vogt <fvogt@suse.de>, many thanks.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
ebdefa2745 tried to fix handling of relative symlinks in archives, but that
only addressed targets starting with ".."/. Fix it properly by using
asb_utils_sanitise_path only for absolute paths, keep relative paths as-is.
Simplify code for handling absolute symlinks by just prepending the root
instead of converting it to a relative link.
Hardlink targets are returned as paths relative to the archive root, so the
sanitization code is correct there.
|
|
|
|
|
|
|
|
|
| |
dbd62f6e05 removed the WxH directory from the icon filenames, which were also
used as-is for the paths in the icons tarball. However, if width and height
are set on the icon, then it has to be inside a size-specific directory.
With HiDPI enabled, it did even overwrite the non-HiDPI icon it saved just
before because the filenames were the same.
Add the subdirectory back in the resource handling code.
|
|
|
|
| |
Signed-off-by: Rafael Fontenelle <rffontenelle@gmail.com>
|
|
|
|
|
|
|
| |
According to the specification, there is no difference between both kinds
of upstream metainfo files.
Fixes #381
|
|
|
|
| |
Fixes https://github.com/hughsie/appstream-glib/issues/422
|
|
|
|
| |
This reverts commit 3fa624026f608ef8465fb339f86725aaf648e09f.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Integrates these commits:
https://github.com/ximion/appstream/commit/e42dd0d071f27d74419b04a52a8388e00777cd88
https://github.com/ximion/appstream/commit/71d134e82752be6f8851c65ba0ce8c312a72214c
https://github.com/ximion/appstream/commit/8c939f999ebf82c3bbf5ad179b24fd7478a0f1d0
https://github.com/ximion/appstream/commit/51ab4f32c56f5cdc293ba0512f003542b83713fc
|
| |
|
| |
|
|
|
|
|
|
| |
Always store the AppStream metadata version as a string and compare it
like any other version.
This allows to have 0.10 > 0.8 for instance.
|
|
|
|
| |
mingw clang does not support --version-script linker option.
|
|
|
|
|
|
| |
We are now in version 0.14
Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
|
|
|
|
| |
Translation by Henrique Machado, Proofread by Enrico
|
|
|
|
| |
Some appstream-data packages add <em> and </em> or <code> and </code> to the files. Not all package manager can handle that. An example would be pamac from Manjaro
|