From ba7221883ccfad795b6afb09fb15ceb62485ecbf Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 2 May 2018 14:16:11 +0200 Subject: [PATCH] Update to 0.11.6 --- .gitignore | 1 + ...try-to-use-a-NULL-FlatpakRemoteState.patch | 36 ------------------- flatpak.spec | 9 ++--- sources | 2 +- 4 files changed, 7 insertions(+), 41 deletions(-) delete mode 100644 0001-lib-Don-t-try-to-use-a-NULL-FlatpakRemoteState.patch diff --git a/.gitignore b/.gitignore index 1189ef8..2a7ce1b 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ /flatpak-0.11.3.tar.xz /flatpak-0.11.4.tar.xz /flatpak-0.11.5.tar.xz +/flatpak-0.11.6.tar.xz diff --git a/0001-lib-Don-t-try-to-use-a-NULL-FlatpakRemoteState.patch b/0001-lib-Don-t-try-to-use-a-NULL-FlatpakRemoteState.patch deleted file mode 100644 index 68876c0..0000000 --- a/0001-lib-Don-t-try-to-use-a-NULL-FlatpakRemoteState.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 72cad276323914503c3271aa0670d309c1124125 Mon Sep 17 00:00:00 2001 -From: Matthew Leeds -Date: Tue, 1 May 2018 09:18:03 -0700 -Subject: [PATCH] lib: Don't try to use a NULL FlatpakRemoteState - -In flatpak_remote_ref_new(), the state parameter is optional, so check -if it's NULL before trying to use it in -flatpak_remote_state_lookup_sparse_cache(). This prevents a seg fault -when GNOME Software is installing a .flatpakref file. - -Fixes https://github.com/flatpak/flatpak/issues/1632 - -Closes: #1635 -Approved by: pwithnall ---- - lib/flatpak-remote-ref.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/lib/flatpak-remote-ref.c b/lib/flatpak-remote-ref.c -index 0a4c1e4d..3573fa6d 100644 ---- a/lib/flatpak-remote-ref.c -+++ b/lib/flatpak-remote-ref.c -@@ -350,7 +350,9 @@ flatpak_remote_ref_new (FlatpakCollectionRef *coll_ref, - if (metadata) - metadata_bytes = g_bytes_new (metadata, strlen (metadata)); - -- sparse = flatpak_remote_state_lookup_sparse_cache (state, full_ref, NULL); -+ if (state) -+ sparse = flatpak_remote_state_lookup_sparse_cache (state, full_ref, NULL); -+ - if (sparse) - { - g_variant_lookup (sparse, "eol", "&s", &eol); --- -2.17.0 - diff --git a/flatpak.spec b/flatpak.spec index d43f971..0ea29aa 100644 --- a/flatpak.spec +++ b/flatpak.spec @@ -2,16 +2,14 @@ %global ostree_version 2017.14 Name: flatpak -Version: 0.11.5 -Release: 2%{?dist} +Version: 0.11.6 +Release: 1%{?dist} Summary: Application deployment framework for desktop apps License: LGPLv2+ URL: http://flatpak.org/ Source0: https://github.com/flatpak/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz -Patch0: 0001-lib-Don-t-try-to-use-a-NULL-FlatpakRemoteState.patch - BuildRequires: pkgconfig(appstream-glib) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.40.0 @@ -150,6 +148,9 @@ flatpak remote-list --system &> /dev/null || : %changelog +* Wed May 02 2018 Kalev Lember - 0.11.6-1 +- Update to 0.11.6 + * Wed May 02 2018 Kalev Lember - 0.11.5-2 - Backport a fix for a gnome-software crash installing .flatpakref files diff --git a/sources b/sources index 0ee2f2d..6f318ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (flatpak-0.11.5.tar.xz) = 807f948fb79b54398f15ebf9b5c8676aaedcd509163fed294ce2e396715f69a117e9a813cfe5e56ff9c709a11f45f653e71f3e83b5901bf319506a6b647a4c09 +SHA512 (flatpak-0.11.6.tar.xz) = a63d3a0af27412b196b87aaffd4cd4cdfa2af1d854a1f8b2d8d669eaf32dfb65534610dbc63f0df1ad2d8234d1d29b7cc9c51cc2cc849c81b49f80c9659f5569