From d303727e082521d954b819eb64110bddf7257e867f15bdfdb8b4f184e999a805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Tue, 28 Feb 2023 09:04:25 +0000 Subject: [PATCH] Accepting request 1068018 from GNOME:Next New stable release OBS-URL: https://build.opensuse.org/request/show/1068018 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/flatpak?expand=0&rev=180 --- flatpak-1.14.2.tar.xz | 3 --- flatpak-1.14.3.tar.xz | 3 +++ flatpak-fix-gpg-agent-double-free.patch | 28 ------------------------- flatpak.changes | 28 +++++++++++++++++++++++++ flatpak.spec | 6 +++--- 5 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 flatpak-1.14.2.tar.xz create mode 100644 flatpak-1.14.3.tar.xz delete mode 100644 flatpak-fix-gpg-agent-double-free.patch diff --git a/flatpak-1.14.2.tar.xz b/flatpak-1.14.2.tar.xz deleted file mode 100644 index ab37bd3..0000000 --- a/flatpak-1.14.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c80711eacf42a99078f6396aa65555dd6bf73eec631776b79e9d7b7262b6f774 -size 1626832 diff --git a/flatpak-1.14.3.tar.xz b/flatpak-1.14.3.tar.xz new file mode 100644 index 0000000..46050c8 --- /dev/null +++ b/flatpak-1.14.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59f0470ccb894d852e4c6fbc1043d8bcc95e38033c5c36f2aa90dd295257eebe +size 1630824 diff --git a/flatpak-fix-gpg-agent-double-free.patch b/flatpak-fix-gpg-agent-double-free.patch deleted file mode 100644 index fedc59a..0000000 --- a/flatpak-fix-gpg-agent-double-free.patch +++ /dev/null @@ -1,28 +0,0 @@ -From d7fb31b54077c676be50a6903090d4627b02b994 Mon Sep 17 00:00:00 2001 -From: Simon McVittie -Date: Mon, 6 Feb 2023 16:09:29 +0000 -Subject: [PATCH] run: Avoid double-free of gpgconf stdout stream - -g_subprocess_get_stdout_pipe() does not transfer ownership, so the -stream still belongs to the GSubprocess and we must not unref it. - -Fixes: 764e5a4d "Add --socket=gpg-agent" -Resolves: https://github.com/flatpak/flatpak/issues/5095 -Signed-off-by: Simon McVittie ---- - common/flatpak-run.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/common/flatpak-run.c b/common/flatpak-run.c -index 8d613165e1..3c85f9223f 100644 ---- a/common/flatpak-run.c -+++ b/common/flatpak-run.c -@@ -608,7 +608,7 @@ flatpak_run_add_gpg_agent_args (FlatpakBwrap *bwrap) - g_autofree char * sandbox_agent_socket = NULL; - g_autoptr(GError) gpgconf_error = NULL; - g_autoptr(GSubprocess) process = NULL; -- g_autoptr(GInputStream) base_stream = NULL; -+ GInputStream *base_stream = NULL; - g_autoptr(GDataInputStream) data_stream = NULL; - - process = g_subprocess_new (G_SUBPROCESS_FLAGS_STDOUT_PIPE, diff --git a/flatpak.changes b/flatpak.changes index f829200..907687a 100644 --- a/flatpak.changes +++ b/flatpak.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Mon Feb 27 14:07:03 UTC 2023 - Bjørn Lie + +- Update to version 1.14.3: + + When splitting an upgrade into two steps (download without + installing, and then upgrade without allowing further + downloads) like GNOME Software does, if an app is marked EOL + and superseded by a replacement, don't remove the superseded + app in the first step, which would result in the replacement + incorrectly not being installed. + + Fix a crash when --socket=gpg-agent is used. + + Fix a crash when listing apps if one of them is broken or + misconfigured. + + If an app has invalid syntax in its overrides or metadata, + mention the filename in the error message. + + Unset $GDK_BACKEND for apps, ensuring GTK apps with + --socket=fallback-x11 can work. + + Never try to export a parent of reserved directories as a + --filesystem, for example /run, which would prevent the app + from starting. + + Never try to export a --filesystem below /run/flatpak or + /run/host, which could similarly prevent the app from starting. + + The above change also fixes apps not starting if a --filesystem + is a symlink to the root directory. + + Show a warning when the --filesystem exists but cannot be + shared with the sandbox. +- Drop flatpak-fix-gpg-agent-double-free.patch: Fixed upstream. + ------------------------------------------------------------------- Thu Feb 23 08:41:51 UTC 2023 - Alynx Zhou diff --git a/flatpak.spec b/flatpak.spec index 1192c66..51c4cb7 100644 --- a/flatpak.spec +++ b/flatpak.spec @@ -34,7 +34,7 @@ %define support_environment_generators 1 %endif Name: flatpak -Version: 1.14.2 +Version: 1.14.3 Release: 0 Summary: OSTree based application bundles management License: LGPL-2.1-or-later @@ -44,9 +44,9 @@ Source0: https://github.com/flatpak/flatpak/releases/download/%{version}/ Source1: update-system-flatpaks.service Source2: update-system-flatpaks.timer Source3: https://flathub.org/repo/flathub.flatpakrepo +# PATCH-FEATURE-OPENSUSE polkit_rules_usability.patch -- Make the rules comply with openSUSE expectations Patch0: polkit_rules_usability.patch -# PATCH-FIX-UPSTREAM flatpak-fix-gpg-agent-double-free.patch bsc#1207434 alynx.zhou@suse.com -- Fix double free in in handling gpg-agent sockets -Patch1: flatpak-fix-gpg-agent-double-free.patch + BuildRequires: bison BuildRequires: bubblewrap >= %{bubblewrap_version} BuildRequires: docbook-xsl-stylesheets