| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This allows us to support desktop-less components that specify a cached icon.
The icon search code has been split into a new plugin that is run after the
appdata and desktop plugins have added the AsbApp to the list of available apps.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
If the guessing fails, we fall back to the arch/rpm/deb-derived name but we
don't want to show weird things in the logs.
Fixes https://github.com/hughsie/appstream-glib/issues/228, many thanks to
Andrew Gunnerson for the initial patch.
|
|
|
|
|
| |
... to match with what the shell extensions plugin in gnome-software
does.
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Sometimes it returns a return code 25088 (which is 0x6200) which isn't an error
code in rwpng.h -- we can't really trust pngquant so just log the warning.
|
|
|
|
|
| |
... and convert the appstream ID to be compatible with what gnome-tweaks
uses (@'s replaced with _ and no .shell-extension at the end).
|
|
|
|
| |
Fixes https://github.com/hughsie/appstream-glib/issues/223
|
| |
|
|
|
|
| |
Languages may have been pre-added based on the information in `metainfo.xml` files, so just because we didn’t auto-detect a language doesn’t mean that none are present. Fixes #207.
|
| |
|
|
|
|
| |
Fixes https://github.com/hughsie/appstream-glib/issues/203
|
|
|
|
| |
Fixes an extraction issue when using OpenSUSE.
|
| |
|
|
|
|
| |
Fixes a build error with the mcomix package in openSUSE.
|
| |
|
|
|
|
| |
Fixes https://github.com/hughsie/appstream-glib/issues/190
|
|
|
|
|
|
|
|
|
| |
Any XML parser should ignore the extra tags or attributes, and so it serves no
purpose to artificailly hide these when building metadata for older versions of
the specification.
This also fixes a bug on i386 where 0.6 != 0.6 and I didn't want to use fabs()
all over the place for basically no reason.
|
|
|
|
|
|
|
|
|
| |
There’s a precondition check for (search != NULL), so the function will
hit an assertion failure before this branch.
Coverity CID: 1454189
Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Calling g-ir-scanner when cross-compiling with bitbake/OpenEmbedded
fails because it calls the wrong ld (the one from the host). More work
will be needed in meson.bbclass and/or gobject-introspection.bbclass
to make it work.
In the meantime, having an option to turn of introspection is useful
perhaps also in other cases where the extra work is not needed. For
example, fwupd works fine also when it is off.
The name of the new meson option matches the --disable-introspection
that is used by some autotools-based projects.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
|
|
|
|
| |
This fixes the build for appstream-glib on Mageia.
|
|
|
|
| |
These components are allowed to have no icon since b5b4a855.
|
|
|
|
|
|
|
|
|
|
| |
In 0.41.0 meson introduced it's own 'dist' target and so we don't need to
define this ourselves anymore. Use a version compare to avoid depending on a
very new meson.
Also, fix up some underlinking which was somehow allowed before.
Fixes: https://github.com/hughsie/appstream-glib/issues/170
|
|
|
|
|
| |
This is better done client side. Add a build flag so we can still build metadata
for old versions of Fedora.
|
|
|
|
| |
I guess this was missed in the move to meson.
|
|
|
|
| |
Now that we're not threaded we can provide a sane error.
|
| |
|
|
|
|
| |
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 would have helped some head scratching this morning...
|
| |
|
|
|
|
|
| |
Otherwise we may end up inadvertently marking an app as ModernToolkit
when all it does is require zenity.
|
|
|
|
|
|
|
| |
Commit 49749de0bd597e5e9fe5e4b92875d6730a7b6968 fixed this in a more general
way.
This reverts commit b04fb193dad0e6e977d9bda2487bd50075f8f61c.
|
|
|
|
|
|
|
| |
This led to ModernToolkit kudos being skipped for apps where a
subpackage links with a modern toolkit library (gtk+ 3 or Qt 5).
This reverts commit e7f14579d1f9ab6f0f016caf81c34bb576c9ea92.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit cefcad4027ada131d322ec578a8e32f3f5652240.
Revert "trivial: Fix a critical warning in the self tests"
This reverts commit 3e353879b9e24d3aa9a21d5ef0d295d26febafcd.
Revert "Write log files in a better way"
This reverts commit 342d570825ed01f11bef0d722baec1fa2801964b.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Appending to a giant string and then flushing it at the end means we waste
memory and also don't get any logs if the builder crashes.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This fixes appstream data generation for packages that have long dep
chains and icons are at a deeper level than in the immediate child
package. e.g. in Fedora, 'marble' package depends on 'marble-widget-qt5'
which depends on 'marble-astro' which depends on 'marble-common' where
we can finally find the app's icon.
|