| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Markdown underlines are with `=` or `-`, not `~`. This fixes the
Markdown rendering of appdata-to-news-ed files in GitLab.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
|
|
|
|
|
| |
The command validates that an AppData or MetaInfo file includes a release
for the specified version. For forgetful maintainers (hi!), this can be
a useful test during distcheck.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This fixes, among other things, appdata validation when the version goes
from 9.5 to 10, or 0.9 to 1.
This partially fixes https://github.com/hughsie/appstream-glib/issues/270
We're still failing to correctly compare "Build 9.5" to "Build 10".
|
| |
|
| |
|
|
|
|
| |
See https://github.com/flathub/com.adobe.Flash-Player-Projector/issues/2
|
|
|
|
|
| |
When "looking for" a file, mention which type of file we're looking for,
making it easier to find the debug message this corresponds to.
|
| |
|
|
|
|
| |
Firmware should now be distributed using the LVFS and consumed by fwupd.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If the app has an AppData file with org.gnome.Gimp.appdata.xml that contains
<id>org.gnome.Gimp</id> and also a org.gnome.Gimp.desktop then the second gets
added as a new component as the .desktop suffix is optional, but allowed for
compatibility.
Just rename the .desktop component ID in this case to force the app to be
subsumed rather than added.
|
|
|
|
|
| |
This allows us to have an appdata file with <id>org.gnome.Gimp</id> without
being forced to rename the gimp.desktop file.
|
|
|
|
|
| |
This enables a lot of software to comply with the GDPR and also allows us to
show translated warning and EULA text to unsuspecting users.
|
|
|
|
|
| |
Padding is no longer being used as it makes the software center look bad.
Lets make the application author look bad instead so they can fix the icon.
|
| |
|
|
|
|
|
|
| |
The .desktop suffix is now optional in the AppStream component <id>.
Fixes: https://github.com/hughsie/appstream-glib/issues/209
|
|
|
|
|
|
|
|
| |
This makes asglib align with the AppStream spec, which sees
/usr/share/metainfo as the canonical location for storing metadata, and
/usr/share/appdata as legacy (but still must-be-supported) location.
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
| |
|
| |
|
|
|
|
|
| |
This is better done client side. Add a build flag so we can still build metadata
for old versions of Fedora.
|
|
|
|
| |
Without the CacheID it's no longer useful.
|
|
|
|
| |
This leads to just too many crashes; librpm is just not thread safe enough to do this.
|
|
|
|
|
|
|
|
|
| |
The results when using the partial update were not always the same as doing a
fresh run (some components depend on other components) and even I'm not using
this functionality anymore when running appstream-builder on the whole Fedora,
achive, even across on all branches.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1426166
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to sanity check installed applications to find out why they are
not showing in software centers like GNOME Software.
$ appstream-util check-component firefox.desktop google-chrome.desktop
Using system/*/*/desktop/firefox.desktop/* for firefox.desktop
Checking source: /usr/share/applications/firefox.desktop
Checking source: /usr/share/appdata/firefox.appdata.xml
Using system/*/*/desktop/google-chrome.desktop/* for google-chrome.desktop
Checking source: /usr/share/applications/google-chrome.desktop
• google-chrome.desktop has no AppData file
Failed to check component, 1 problems detected
|
| |
|
|
|
|
|
| |
Fall back to strcmp when both sections are non-numeric. Also add a 'vercmp'
command to appstream-util to allow us to use this on the command line.
|
| |
|
|
|
|
|
| |
Do not remove the desktop-provided 'Name' and 'Comment' if there is no
AppData-provided version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement these in terms of AsFormat objects to maintain API compatibility.
This allows us to have multiple 'formats' that make up an AsApp, for instance,
an application might be referenced in:
* The .desktop file (for the icon)
* The AppData file (for the installed long description)
* The AppStream XML file (for the origin information)
Doing this allows us to keep track of all formats that make up an AsApp,
and this allows us to update the state as each type is removed and added.
This allows us to remove the need to "promote" apps to different types, which
was unreliable and was the source of several bugs where the AsApp was removed
from the AsStore before all the sources had been removed.
With this commit, GNOME Software again works reliably.
|
|
|
|
| |
No code changes, and ensure we don't break API/ABI by using #define's.
|
| |
|
|
|
|
| |
For instance, this happens for the runtimes
|
| |
|
| |
|
| |
|
|
|
|
| |
We could be handling untrusted content, so this seems like a good idea.
|
|
|
|
| |
This allows us to debug the reference counted string functionality.
|