Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

Update appstream-glib to 0.7.8 #96

Merged
merged 1 commit into from Apr 24, 2018
Merged

Update appstream-glib to 0.7.8 #96

merged 1 commit into from Apr 24, 2018

Conversation

bochecha
Copy link
Contributor

New Features:

  • Add as_store_get_app_by_launchable() (Richard Hughes)
  • Add as_utils_unique_id_match() (Richard Hughes)
  • Add as_version_string() for fwupd (Richard Hughes)
  • Add support for component agreements (Richard Hughes)

Bugfixes:

  • Correctly compare version numbers like '1.2.3' and '1.2.3a' (Richard Hughes)
  • Don't include the path component in the name when parsing the package filename (Richard Hughes)
  • If the launchable is specified don't guess it when composing (Richard Hughes)
  • Never add more than one component to the AppStream store when composing (Richard Hughes)
  • Veto apps that have empty OnlyShowIn= (Kalev Lember)

@bochecha
Copy link
Contributor Author

bochecha commented Apr 20, 2018

I'm especially interested in these two changes:

  • Correctly compare version numbers like '1.2.3' and '1.2.3a'

    I need this to use the correct versions in Blender in Flathub

  • Never add more than one component to the AppStream store when composing

    This is problematic for apps using <id>foo.bar.Baz</id> in their appdata file, with a desktop file called foo.bar.Baz.desktop, which is going to be most apps in the future (as that's the recommended way to do it)

    That creates two <component> instead of one in the resulting appstream, and among other things it confuses clients (like GNOME Software), making them select/display the wrong screenshot by default. (I originally saw the problem with Dino, which I'm working on flatpaking)

Of course, the other bug fixes are good to take, I'm only speaking for what interests me here. 🙂

bochecha pushed a commit to bochecha/dino that referenced this pull request Apr 21, 2018
The appstream-util in the Sdk has a bug, we need the latest version
until the Sdk is updated:

flatpak/freedesktop-sdk-images#96
New Features:
 - Add as_store_get_app_by_launchable() (Richard Hughes)
 - Add as_utils_unique_id_match() (Richard Hughes)
 - Add as_version_string() for fwupd (Richard Hughes)
 - Add support for component agreements (Richard Hughes)

Bugfixes:
 - Correctly compare version numbers like '1.2.3' and '1.2.3a' (Richard Hughes)
 - Don't include the path component in the name when parsing the package filename (Richard Hughes)
 - If the launchable is specified don't guess it when composing (Richard Hughes)
 - Never add more than one component to the AppStream store when composing (Richard Hughes)
 - Veto apps that have empty OnlyShowIn= (Kalev Lember)
@alexlarsson alexlarsson merged commit 6bda6b5 into flatpak:1.6 Apr 24, 2018
Manumerique added a commit to Manumerique/org.blender.Blender that referenced this pull request Apr 24, 2018
Due to a bug in appstream-glib, we had to mangle the versions a bit:

hughsie/appstream-glib#231

The Freedesktop Sdk was recently updated with a fixed version of
appstream-glib :

flatpak/freedesktop-sdk-images#96

As a result, we can now use the correct upstream versions.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants