[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#864028: unblock (pre-approval): flatpak/0.8.5-3



On Sat, 03 Jun 2017 at 12:47:30 +0100, Simon McVittie wrote:
> The upstream developer is planning to release 0.8.6 at some point in the
> near future, but for now here is an unblock request for the patchset that
> would be in 0.8.6 if it was released today.

Sorry, I forgot to attach the proposed debdiff. Here it is.

    S
diffstat for flatpak-0.8.5 flatpak-0.8.5

 changelog                                                                     |   31 
 patches/0.8.6/Add-a-marker-to-rewritten-desktop-files.patch                   |   30 
 patches/0.8.6/Expose-host-etc-hosts-and-etc-host.conf.patch                   |   79 
 patches/0.8.6/Minimal-backport-of-rewrite-url-and-gpg-keys-remote-metad.patch |   85 
 patches/0.8.6/Unset-TMPDIR-in-the-sandbox.patch                               |   67 
 patches/0.8.6/Updated-Hungarian-translation.patch                             | 1247 ++++++++++
 patches/0.8.6/dbus-portal-Fix-return-value-type-of-filtered-NameHasOwne.patch |   26 
 patches/0.8.6/install-Limit-the-exported-file-to-a-whitelist.patch            |   77 
 patches/0.8.6/run-Allow-filesystem-xdg-subdir-ro.patch                        |   60 
 patches/0.8.6/run-Allow-regular-files-for-filesystem-xdg-config-path.patch    |   30 
 patches/0.8.6/run-Fix-race-condition-in-app-identification.patch              |  103 
 patches/0.8.6/run-Handle-non-default-WAYLAND_DISPLAY.patch                    |   41 
 patches/0.8.6/run-Handle-the-case-where-tmp-on-the-host-is-a-symlink.patch    |   52 
 patches/flatpak-dir-Check-for-variant-containing-string-correctly.patch       |   27 
 patches/series                                                                |   13 
 15 files changed, 1968 insertions(+)

diff -Nru flatpak-0.8.5/debian/changelog flatpak-0.8.5/debian/changelog
--- flatpak-0.8.5/debian/changelog	2017-04-24 12:59:09.000000000 +0100
+++ flatpak-0.8.5/debian/changelog	2017-06-03 12:21:38.000000000 +0100
@@ -1,3 +1,34 @@
+flatpak (0.8.5-3) unstable; urgency=medium
+
+  * d/p/0.8.6/*.patch: Update from upstream flatpak-0.8.x branch,
+    bringing in what would be in 0.8.6 if it was released today
+    - Fix the return value type for filtered NameHasOwner() D-Bus calls
+      (upstream issue 817)
+    - Security hardening: Only export .desktop files, D-Bus session
+      services and icons, but not other files that an app might try to
+      export
+    - Allow remote repositories to specify a new GPG key (for key rollover)
+      or a new URL (for location migration) in their signed metadata
+    - Let KDE apps bind-mount ~/.config/kdeglobals into the sandbox:
+      + Allow bind-mounting regular files in the XDG cache, config or data
+        directories, not just directories
+      + Allow bind-mounting files in the XDG directories read-only, not
+        just read/write
+    - Close a race condition in app identification by portals
+    - Cope with a non-default WAYLAND_DISPLAY
+    - Cope with /tmp on the host being a symlink
+    - Clear TMPDIR in the sandbox, fixing sandboxed Spotify
+    - Add X-Flatpak=$app_id to exported .desktop files
+      so that the desktop environment can identify what will be launched
+    - Make the host's /etc/hosts and /etc/host.conf available in the sandbox,
+      fixing sandboxed Spotify
+    - Update Hungarian translation
+  * d/p/flatpak-dir-Check-for-variant-containing-string-correctly.patch:
+    Fix an incorrect type-check in the backported support for key rollover
+    and location migration
+
+ -- Simon McVittie <smcv@debian.org>  Sat, 03 Jun 2017 12:21:38 +0100
+
 flatpak (0.8.5-2) unstable; urgency=medium
 
   * flatpak Recommends xdg-desktop-portal-gtk | xdg-desktop-portal-backend,
diff -Nru flatpak-0.8.5/debian/patches/0.8.6/Add-a-marker-to-rewritten-desktop-files.patch flatpak-0.8.5/debian/patches/0.8.6/Add-a-marker-to-rewritten-desktop-files.patch
--- flatpak-0.8.5/debian/patches/0.8.6/Add-a-marker-to-rewritten-desktop-files.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/0.8.6/Add-a-marker-to-rewritten-desktop-files.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,30 @@
+From: Matthias Clasen <mclasen@redhat.com>
+Date: Mon, 8 May 2017 08:23:01 -0400
+Subject: Add a marker to rewritten desktop files
+
+Add X-Flatpak=$app to rewritten desktop files.
+Desktop files have multiple consumers, and this
+makes it easier for them to know what to do.
+
+(cherry picked from commit 66e91f55e87034208f33d10101009425a12207f6
+ and e75cff6bb517badcb5c93177b4e9fe944c1e9e8d)
+
+Origin: upstream, 0.8.6
+---
+ common/flatpak-dir.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c
+index 924e491..557c544 100644
+--- a/common/flatpak-dir.c
++++ b/common/flatpak-dir.c
+@@ -3113,6 +3113,9 @@ export_desktop_file (const char   *app,
+                                       "X-Flatpak-Tags",
+                                       (const char * const *) tags, length);
+         }
++
++      /* Add a marker so consumers can easily find out that this launches a sandbox */
++      g_key_file_set_string (keyfile, "Desktop Entry", "X-Flatpak", app);
+     }
+ 
+   groups = g_key_file_get_groups (keyfile, NULL);
diff -Nru flatpak-0.8.5/debian/patches/0.8.6/dbus-portal-Fix-return-value-type-of-filtered-NameHasOwne.patch flatpak-0.8.5/debian/patches/0.8.6/dbus-portal-Fix-return-value-type-of-filtered-NameHasOwne.patch
--- flatpak-0.8.5/debian/patches/0.8.6/dbus-portal-Fix-return-value-type-of-filtered-NameHasOwne.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/0.8.6/dbus-portal-Fix-return-value-type-of-filtered-NameHasOwne.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,26 @@
+From: Alexander Larsson <alexl@redhat.com>
+Date: Wed, 31 May 2017 08:58:08 +0200
+Subject: dbus-portal: Fix return value type of filtered NameHasOwner
+
+Fixes https://github.com/flatpak/flatpak/issues/817
+
+(cherry picked from commit bd22ff8d429e7e0d0ef60cbe08d8f5a0d0c127c6)
+
+Origin: upstream, 0.8.6
+---
+ dbus-proxy/flatpak-proxy.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dbus-proxy/flatpak-proxy.c b/dbus-proxy/flatpak-proxy.c
+index d2b74b6..7100ed3 100644
+--- a/dbus-proxy/flatpak-proxy.c
++++ b/dbus-proxy/flatpak-proxy.c
+@@ -1304,7 +1304,7 @@ get_bool_reply_for_header (FlatpakProxyClient *client, Header *header, gboolean
+   g_dbus_message_set_message_type (reply, G_DBUS_MESSAGE_TYPE_METHOD_RETURN);
+   g_dbus_message_set_flags (reply, G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED);
+   g_dbus_message_set_reply_serial (reply, header->serial - client->serial_offset);
+-  g_dbus_message_set_body (reply, g_variant_new_boolean (val));
++  g_dbus_message_set_body (reply, g_variant_new ("(b)", val));
+ 
+   return reply;
+ }
diff -Nru flatpak-0.8.5/debian/patches/0.8.6/Expose-host-etc-hosts-and-etc-host.conf.patch flatpak-0.8.5/debian/patches/0.8.6/Expose-host-etc-hosts-and-etc-host.conf.patch
--- flatpak-0.8.5/debian/patches/0.8.6/Expose-host-etc-hosts-and-etc-host.conf.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/0.8.6/Expose-host-etc-hosts-and-etc-host.conf.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,79 @@
+From: Alexander Larsson <alexl@redhat.com>
+Date: Thu, 4 May 2017 13:07:43 +0200
+Subject: Expose host /etc/hosts and /etc/host.conf
+
+These are local network configuration, very much similar to
+resolv.conf, so should also be exposed.
+
+Fixes https://github.com/alexlarsson/spotify-app/issues/42
+
+Origin: upstream, 0.8.6
+---
+ common/flatpak-run.c                    | 24 +++++++++++++++---------
+ session-helper/flatpak-session-helper.c |  2 ++
+ 2 files changed, 17 insertions(+), 9 deletions(-)
+
+diff --git a/common/flatpak-run.c b/common/flatpak-run.c
+index f4f66f8..b3b29b6 100644
+--- a/common/flatpak-run.c
++++ b/common/flatpak-run.c
+@@ -3352,12 +3352,10 @@ add_monitor_path_args (gboolean use_session_helper,
+     {
+       add_args (argv_array,
+                 "--ro-bind", monitor_path, "/run/host/monitor",
+-                NULL);
+-      add_args (argv_array,
+                 "--symlink", "/run/host/monitor/localtime", "/etc/localtime",
+-                NULL);
+-      add_args (argv_array,
+                 "--symlink", "/run/host/monitor/resolv.conf", "/etc/resolv.conf",
++                "--symlink", "/run/host/monitor/host.conf", "/etc/host.conf",
++                "--symlink", "/run/host/monitor/hosts", "/etc/hosts",
+                 NULL);
+     }
+   else
+@@ -3388,11 +3386,17 @@ add_monitor_path_args (gboolean use_session_helper,
+         }
+ 
+       if (g_file_test ("/etc/resolv.conf", G_FILE_TEST_EXISTS))
+-        {
+-          add_args (argv_array,
+-                    "--ro-bind", "/etc/resolv.conf", "/etc/resolv.conf",
+-                    NULL);
+-        }
++        add_args (argv_array,
++                  "--ro-bind", "/etc/resolv.conf", "/etc/resolv.conf",
++                  NULL);
++      if (g_file_test ("/etc/host.conf", G_FILE_TEST_EXISTS))
++        add_args (argv_array,
++                  "--ro-bind", "/etc/host.conf", "/etc/host.conf",
++                  NULL);
++      if (g_file_test ("/etc/hosts", G_FILE_TEST_EXISTS))
++        add_args (argv_array,
++                  "--ro-bind", "/etc/hosts", "/etc/hosts",
++                  NULL);
+     }
+ }
+ 
+@@ -4012,6 +4016,8 @@ flatpak_run_setup_base_argv (GPtrArray      *argv_array,
+               strcmp (dent->d_name, "group") == 0 ||
+               strcmp (dent->d_name, "machine-id") == 0 ||
+               strcmp (dent->d_name, "resolv.conf") == 0 ||
++              strcmp (dent->d_name, "host.conf") == 0 ||
++              strcmp (dent->d_name, "hosts") == 0 ||
+               strcmp (dent->d_name, "localtime") == 0)
+             continue;
+ 
+diff --git a/session-helper/flatpak-session-helper.c b/session-helper/flatpak-session-helper.c
+index f372cd5..3b57dbb 100644
+--- a/session-helper/flatpak-session-helper.c
++++ b/session-helper/flatpak-session-helper.c
+@@ -529,6 +529,8 @@ main (int    argc,
+     }
+ 
+   setup_file_monitor ("/etc/resolv.conf");
++  setup_file_monitor ("/etc/host.conf");
++  setup_file_monitor ("/etc/hosts");
+   setup_file_monitor ("/etc/localtime");
+ 
+   flags = G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT;
diff -Nru flatpak-0.8.5/debian/patches/0.8.6/install-Limit-the-exported-file-to-a-whitelist.patch flatpak-0.8.5/debian/patches/0.8.6/install-Limit-the-exported-file-to-a-whitelist.patch
--- flatpak-0.8.5/debian/patches/0.8.6/install-Limit-the-exported-file-to-a-whitelist.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/0.8.6/install-Limit-the-exported-file-to-a-whitelist.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,77 @@
+From: Alexander Larsson <alexl@redhat.com>
+Date: Thu, 11 May 2017 15:28:19 +0200
+Subject: install: Limit the exported file to a whitelist
+
+Instead of exporting any files we add a whilelist
+of directories that get exported:
+
+ share/applications
+ share/icons
+ share/dbus-1/services
+
+This avoids potentially installing some kind of file that the
+host system reads and interprets in a risky way.
+
+Applications and dbus services are safe because we rewrite them.
+Icons are safe as long as the image loaders are, and if they are
+not we have worse problems.
+
+This is based on what we do in master (commit
+e8369a69efcaba9022647c93f807c83d8a109c09), but that also
+allows mimetypes and gnome shell provider files. These were made safe
+using by rewriting during exports, but that code is not backported.
+
+Origin: upstream, 0.8.6
+---
+ common/flatpak-dir.c | 34 +++++++++++++++++++++++-----------
+ 1 file changed, 23 insertions(+), 11 deletions(-)
+
+diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c
+index 557c544..9334fdd 100644
+--- a/common/flatpak-dir.c
++++ b/common/flatpak-dir.c
+@@ -3411,21 +3411,33 @@ flatpak_export_dir (GFile        *source,
+                     GCancellable *cancellable,
+                     GError      **error)
+ {
+-  gboolean ret = FALSE;
++  const char *exported_subdirs[] = {
++    "share/applications",                  "../..",
++    "share/icons",                         "../..",
++    "share/dbus-1/services",               "../../.."
++  };
++  int i;
+ 
+-  if (!flatpak_mkdir_p (destination, cancellable, error))
+-    goto out;
++  for (i = 0; i < G_N_ELEMENTS(exported_subdirs); i = i + 2)
++    {
++      /* The fds are closed by this call */
++      g_autoptr(GFile) sub_source = g_file_resolve_relative_path (source, exported_subdirs[i]);
++      g_autoptr(GFile) sub_destination = g_file_resolve_relative_path (destination, exported_subdirs[i]);
++      g_autofree char *sub_symlink_prefix = g_build_filename (exported_subdirs[i+1], symlink_prefix, exported_subdirs[i], NULL);
+ 
+-  /* The fds are closed by this call */
+-  if (!export_dir (AT_FDCWD, flatpak_file_get_path_cached (source), symlink_prefix, "",
+-                   AT_FDCWD, flatpak_file_get_path_cached (destination),
+-                   cancellable, error))
+-    goto out;
++      if (!g_file_query_exists (sub_source, cancellable))
++        continue;
+ 
+-  ret = TRUE;
++      if (!flatpak_mkdir_p (sub_destination, cancellable, error))
++        return FALSE;
+ 
+-out:
+-  return ret;
++      if (!export_dir (AT_FDCWD, flatpak_file_get_path_cached (sub_source), sub_symlink_prefix, "",
++                       AT_FDCWD, flatpak_file_get_path_cached (sub_destination),
++                       cancellable, error))
++        return FALSE;
++    }
++
++  return TRUE;
+ }
+ 
+ gboolean
diff -Nru flatpak-0.8.5/debian/patches/0.8.6/Minimal-backport-of-rewrite-url-and-gpg-keys-remote-metad.patch flatpak-0.8.5/debian/patches/0.8.6/Minimal-backport-of-rewrite-url-and-gpg-keys-remote-metad.patch
--- flatpak-0.8.5/debian/patches/0.8.6/Minimal-backport-of-rewrite-url-and-gpg-keys-remote-metad.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/0.8.6/Minimal-backport-of-rewrite-url-and-gpg-keys-remote-metad.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,85 @@
+From: Alexander Larsson <alexl@redhat.com>
+Date: Wed, 31 May 2017 10:35:06 +0200
+Subject: Minimal backport of rewrite-url and gpg-keys remote metadata support
+
+This backports the minimal support for migrating a remote to
+a new url/gpg-key from master (see commit 21778f1075e5ea834aeed4469cbfea723ef9ef8c
+and 7a4c82529ec42c961fce341adcc0d8ec9687058a).
+
+The support is manual (you must run flatpak remote-modify --update-metadata) and
+only supports the client-side consuming parts. You have to use the 0.9.x
+series to update the server-side repository.
+
+Origin: upstream, 0.8.6
+---
+ common/flatpak-dir.c | 33 +++++++++++++++++++++++++++------
+ 1 file changed, 27 insertions(+), 6 deletions(-)
+
+diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c
+index 9334fdd..1e3912c 100644
+--- a/common/flatpak-dir.c
++++ b/common/flatpak-dir.c
+@@ -7307,13 +7307,17 @@ flatpak_dir_update_remote_configuration (FlatpakDir   *self,
+      flatpak_repo_set_* () family of functions) */
+   static const char *const supported_params[] = {
+     "xa.title",
+-    "xa.default-branch", NULL
++    "xa.default-branch",
++    "xa.gpg-keys",
++    "xa.redirect-url",
++    NULL
+   };
+ 
+   g_autoptr(GVariant) summary = NULL;
+   g_autoptr(GVariant) extensions = NULL;
+   g_autoptr(GPtrArray) updated_params = NULL;
+   GVariantIter iter;
++  g_autoptr(GBytes) gpg_keys = NULL;
+ 
+   updated_params = g_ptr_array_new_with_free_func (g_free);
+   summary = fetch_remote_summary_file (self, remote, cancellable, error);
+@@ -7330,14 +7334,31 @@ flatpak_dir_update_remote_configuration (FlatpakDir   *self,
+ 
+       while (g_variant_iter_next (&iter, "{sv}", &key, &value_var))
+         {
+-          /* At the moment, every supported parameter are strings */
+-          if (g_strv_contains (supported_params, key) &&
+-              g_variant_get_type_string (value_var))
++          /* At the moment, every supported parameter except gpg-keys are strings */
++          if (strcmp (key, "xa.gpg-keys") == 0 &&
++              g_variant_is_of_type (value_var, G_VARIANT_TYPE_BYTESTRING))
++            {
++              const guchar *gpg_data = g_variant_get_data (value_var);
++              gsize gpg_size = g_variant_get_size (value_var);
++              g_autofree gchar *gpg_data_checksum = g_compute_checksum_for_data (G_CHECKSUM_SHA256, gpg_data, gpg_size);
++
++              gpg_keys = g_bytes_new (gpg_data, gpg_size);
++
++              /* We store the hash so that we can detect when things changed or not
++                 instead of re-importing the key over-and-over */
++              g_ptr_array_add (updated_params, g_strdup ("xa.gpg-keys-hash"));
++              g_ptr_array_add (updated_params, g_steal_pointer (&gpg_data_checksum));
++            }
++          else if (g_strv_contains (supported_params, key) &&
++                   g_variant_get_type_string (value_var))
+             {
+               const char *value = g_variant_get_string(value_var, NULL);
+               if (value != NULL && *value != 0)
+                 {
+-                  g_ptr_array_add (updated_params, g_strdup (key));
++                  if (strcmp (key, "xa.redirect-url") == 0)
++                    g_ptr_array_add (updated_params, g_strdup ("url"));
++                  else
++                    g_ptr_array_add (updated_params, g_strdup (key));
+                   g_ptr_array_add (updated_params, g_strdup (value));
+                 }
+             }
+@@ -7404,7 +7425,7 @@ flatpak_dir_update_remote_configuration (FlatpakDir   *self,
+       }
+ 
+     /* Update the local remote configuration with the updated info. */
+-    if (!flatpak_dir_modify_remote (self, remote, config, NULL, cancellable, error))
++    if (!flatpak_dir_modify_remote (self, remote, config, gpg_keys, cancellable, error))
+       return FALSE;
+   }
+ 
diff -Nru flatpak-0.8.5/debian/patches/0.8.6/run-Allow-filesystem-xdg-subdir-ro.patch flatpak-0.8.5/debian/patches/0.8.6/run-Allow-filesystem-xdg-subdir-ro.patch
--- flatpak-0.8.5/debian/patches/0.8.6/run-Allow-filesystem-xdg-subdir-ro.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/0.8.6/run-Allow-filesystem-xdg-subdir-ro.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,60 @@
+From: Alexander Larsson <alexl@redhat.com>
+Date: Thu, 1 Jun 2017 11:03:20 +0200
+Subject: run: Allow --filesystem=xdg-*/subdir:ro
+
+We previously required the directory to be writable to expose
+it in the app-specific directory. However, the file was already
+made visible in the regular location, and it was explicitly requested
+by the app, so not allowing it to be there read-only makes no sense.
+
+In particular, this allows KDE apps to use
+--filesystem=xdg-config/kdeglobals:ro to allow apps to pick up global
+configurations such as theme, etc, in a safe way.
+
+(cherry picked from commit 1d9fe6fbf3397ac09e1ccbf655aad2d5a8f1989f)
+
+Origin: upstream, 0.8.6
+---
+ common/flatpak-run.c | 15 ++++++++-------
+ 1 file changed, 8 insertions(+), 7 deletions(-)
+
+diff --git a/common/flatpak-run.c b/common/flatpak-run.c
+index 842e074..81d2af9 100644
+--- a/common/flatpak-run.c
++++ b/common/flatpak-run.c
+@@ -2767,11 +2767,11 @@ flatpak_run_add_environment_args (GPtrArray      *argv_array,
+             "--dir", g_get_home_dir (),
+             NULL);
+ 
+-  /* Special case subdirectories of the cache, config and data xdg dirs.
+-   * If these are accessible explicilty, in a read-write fashion, then
+-   * we bind-mount these in the app-id dir. This allows applications to
+-   * explicitly opt out of keeping some config/cache/data in the
+-   * app-specific directory.
++  /* Special case subdirectories of the cache, config and data xdg
++   * dirs.  If these are accessible explicilty, then we bind-mount
++   * these in the app-id dir. This allows applications to explicitly
++   * opt out of keeping some config/cache/data in the app-specific
++   * directory.
+    */
+   if (app_id_dir)
+     {
+@@ -2786,7 +2786,7 @@ flatpak_run_add_environment_args (GPtrArray      *argv_array,
+           xdg_path = get_xdg_dir_from_string (filesystem, &rest, &where);
+ 
+           if (xdg_path != NULL && *rest != 0 &&
+-              mode >= FLATPAK_FILESYSTEM_MODE_READ_WRITE)
++              mode >= FLATPAK_FILESYSTEM_MODE_READ_ONLY)
+             {
+               g_autoptr(GFile) app_version = g_file_get_child (app_id_dir, where);
+               g_autoptr(GFile) app_version_subdir = g_file_resolve_relative_path (app_version, rest);
+@@ -2796,7 +2796,8 @@ flatpak_run_add_environment_args (GPtrArray      *argv_array,
+                 {
+                   g_autofree char *xdg_path_in_app = g_file_get_path (app_version_subdir);
+                   add_args (argv_array,
+-                            "--bind", xdg_path, xdg_path_in_app,
++                            mode == FLATPAK_FILESYSTEM_MODE_READ_ONLY ? "--ro-bind" : "--bind",
++                            xdg_path, xdg_path_in_app,
+                             NULL);
+                 }
+             }
diff -Nru flatpak-0.8.5/debian/patches/0.8.6/run-Allow-regular-files-for-filesystem-xdg-config-path.patch flatpak-0.8.5/debian/patches/0.8.6/run-Allow-regular-files-for-filesystem-xdg-config-path.patch
--- flatpak-0.8.5/debian/patches/0.8.6/run-Allow-regular-files-for-filesystem-xdg-config-path.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/0.8.6/run-Allow-regular-files-for-filesystem-xdg-config-path.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,30 @@
+From: Alexander Larsson <alexl@redhat.com>
+Date: Thu, 1 Jun 2017 10:50:22 +0200
+Subject: run: Allow regular files for --filesystem=xdg-config/path
+
+KDE needs this to put ~/.config/kdeglobals into the sandbox
+
+(cherry picked from commit 75d884046dfa41a828d149f7daca1adaf334e85a)
+
+Origin: upstream, 0.8.6
+---
+ common/flatpak-run.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/common/flatpak-run.c b/common/flatpak-run.c
+index 85a4ef3..842e074 100644
+--- a/common/flatpak-run.c
++++ b/common/flatpak-run.c
+@@ -2791,10 +2791,10 @@ flatpak_run_add_environment_args (GPtrArray      *argv_array,
+               g_autoptr(GFile) app_version = g_file_get_child (app_id_dir, where);
+               g_autoptr(GFile) app_version_subdir = g_file_resolve_relative_path (app_version, rest);
+ 
+-              if (g_file_test (xdg_path, G_FILE_TEST_IS_DIR))
++              if (g_file_test (xdg_path, G_FILE_TEST_IS_DIR) ||
++                  g_file_test (xdg_path, G_FILE_TEST_IS_REGULAR))
+                 {
+                   g_autofree char *xdg_path_in_app = g_file_get_path (app_version_subdir);
+-                  g_mkdir_with_parents (xdg_path_in_app, 0755);
+                   add_args (argv_array,
+                             "--bind", xdg_path, xdg_path_in_app,
+                             NULL);
diff -Nru flatpak-0.8.5/debian/patches/0.8.6/run-Fix-race-condition-in-app-identification.patch flatpak-0.8.5/debian/patches/0.8.6/run-Fix-race-condition-in-app-identification.patch
--- flatpak-0.8.5/debian/patches/0.8.6/run-Fix-race-condition-in-app-identification.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/0.8.6/run-Fix-race-condition-in-app-identification.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,103 @@
+From: Alexander Larsson <alexl@redhat.com>
+Date: Wed, 17 May 2017 14:28:52 +0200
+Subject: run: Fix race condition in app identification
+
+There is a race condition in how the portals detects the peer app-id.
+If we manager to open /proc/$pid/root, and then openat(fd,
+".flatpak-info"), but the process dies inbetween the two, then the
+.flatpak-info read-only bind mount (and all other mounts in the
+namespace except the root one) is unmounted, so we will find
+and empty .flatpakinfo file.
+
+We fix this race by storing the contents in a regular file, but
+also as a readonly bind mount on top of it.
+
+For typical dbus portals the pid is the dbus proxy though, and in
+that case the app can't modify the file, so we make it just
+a file there instead of file + bind-mount.
+
+(cherry picked from commit e7ad74c3983828efa5aa5dccf95bb639616693e9)
+
+Origin: upstream, 0.8.6
+---
+ common/flatpak-run.c | 37 +++++++++++++++++++++++++++++++++----
+ 1 file changed, 33 insertions(+), 4 deletions(-)
+
+diff --git a/common/flatpak-run.c b/common/flatpak-run.c
+index b3b29b6..c1c3788 100644
+--- a/common/flatpak-run.c
++++ b/common/flatpak-run.c
+@@ -3251,10 +3251,11 @@ flatpak_run_add_app_info_args (GPtrArray      *argv_array,
+                                GError        **error)
+ {
+   g_autofree char *tmp_path = NULL;
+-  int fd;
++  int fd, fd2;
+   g_autoptr(GKeyFile) keyfile = NULL;
+   g_autofree char *runtime_path = NULL;
+   g_autofree char *fd_str = NULL;
++  g_autofree char *fd2_str = NULL;
+   g_autofree char *old_dest = g_strdup_printf ("/run/user/%d/flatpak-info", getuid ());
+   const char *group;
+ 
+@@ -3302,6 +3303,17 @@ flatpak_run_add_app_info_args (GPtrArray      *argv_array,
+   if (!g_key_file_save_to_file (keyfile, tmp_path, error))
+     return FALSE;
+ 
++  /* We want to create a file on /.flatpak-info that the app cannot modify, which
++     we do by creating a read-only bind mount. This way one can openat()
++     /proc/$pid/root, and if that succeeds use openat via that to find the
++     unfakable .flatpak-info file. However, there is a tiny race in that if
++     you manage to open /proc/$pid/root, but then the pid dies, then
++     every mount but the root is unmounted in the namespace, so the
++     .flatpak-info will be empty. We fix this by first creating a real file
++     with the real info in, then bind-mounting on top of that, the same info.
++     This way even if the bind-mount is unmounted we can find the real data.
++  */
++
+   fd = open (tmp_path, O_RDONLY);
+   if (fd == -1)
+     {
+@@ -3311,14 +3323,29 @@ flatpak_run_add_app_info_args (GPtrArray      *argv_array,
+       return FALSE;
+     }
+ 
++  fd2 = open (tmp_path, O_RDONLY);
++  if (fd2 == -1)
++    {
++      close (fd);
++      int errsv = errno;
++      g_set_error (error, G_IO_ERROR, g_io_error_from_errno (errsv),
++                   _("Failed to open temp file: %s"), g_strerror (errsv));
++      return FALSE;
++    }
++
+   unlink (tmp_path);
+ 
+   fd_str = g_strdup_printf ("%d", fd);
++  fd2_str = g_strdup_printf ("%d", fd2);
+   if (fd_array)
+-    g_array_append_val (fd_array, fd);
++    {
++      g_array_append_val (fd_array, fd);
++      g_array_append_val (fd_array, fd2);
++    }
+ 
+   add_args (argv_array,
+-            "--ro-bind-data", fd_str, "/.flatpak-info",
++            "--file", fd_str, "/.flatpak-info",
++            "--ro-bind-data", fd2_str, "/.flatpak-info",
+             "--symlink", "../../../.flatpak-info", old_dest,
+             NULL);
+ 
+@@ -3551,7 +3578,9 @@ prepend_bwrap_argv_wrapper (GPtrArray *argv,
+   g_ptr_array_add (bwrap_args, g_strdup (proxy_socket_dir));
+   g_ptr_array_add (bwrap_args, g_strdup (proxy_socket_dir));
+ 
+-  g_ptr_array_add (bwrap_args, g_strdup ("--ro-bind-data"));
++  /* This is a file rather than a bind mount, because it will then
++     not be unmounted from the namespace when the namespace dies. */
++  g_ptr_array_add (bwrap_args, g_strdup ("--file"));
+   g_ptr_array_add (bwrap_args, g_strdup_printf ("%d", app_info_fd));
+   g_ptr_array_add (bwrap_args, g_strdup ("/.flatpak-info"));
+ 
diff -Nru flatpak-0.8.5/debian/patches/0.8.6/run-Handle-non-default-WAYLAND_DISPLAY.patch flatpak-0.8.5/debian/patches/0.8.6/run-Handle-non-default-WAYLAND_DISPLAY.patch
--- flatpak-0.8.5/debian/patches/0.8.6/run-Handle-non-default-WAYLAND_DISPLAY.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/0.8.6/run-Handle-non-default-WAYLAND_DISPLAY.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,41 @@
+From: =?utf-8?q?Jonas_=C3=85dahl?= <jadahl@gmail.com>
+Date: Mon, 17 Apr 2017 13:45:53 +0800
+Subject: run: Handle non-default WAYLAND_DISPLAY
+
+WAYLAND_DISPLAY can be other than "wayland-0" for various reasons, such
+as using a custom Wayland display server or the session display server
+using a custom display name.
+
+Note that for xdg-desktop-portal to support showing portal windows, the
+xdg-desktop-portal service MUST use the same WAYLAND_DISPLAY.
+
+(cherry picked from commit a1ff20ca0ebbf1cebd13c03d4fcd712e6e6a0fe3)
+
+Origin: upstream, 0.8.6
+---
+ common/flatpak-run.c | 12 ++++++++++--
+ 1 file changed, 10 insertions(+), 2 deletions(-)
+
+diff --git a/common/flatpak-run.c b/common/flatpak-run.c
+index c1c3788..85a4ef3 100644
+--- a/common/flatpak-run.c
++++ b/common/flatpak-run.c
+@@ -1969,8 +1969,16 @@ static void
+ flatpak_run_add_wayland_args (GPtrArray *argv_array,
+                               char    ***envp_p)
+ {
+-  g_autofree char *wayland_socket = g_build_filename (g_get_user_runtime_dir (), "wayland-0", NULL);
+-  g_autofree char *sandbox_wayland_socket = g_strdup_printf ("/run/user/%d/wayland-0", getuid ());
++  const char *wayland_display;
++  g_autofree char *wayland_socket = NULL;
++  g_autofree char *sandbox_wayland_socket = NULL;
++
++  wayland_display = g_getenv ("WAYLAND_DISPLAY");
++  if (!wayland_display)
++    wayland_display = "wayland-0";
++
++  wayland_socket = g_build_filename (g_get_user_runtime_dir (), wayland_display, NULL);
++  sandbox_wayland_socket = g_strdup_printf ("/run/user/%d/%s", getuid (), wayland_display);
+ 
+   if (g_file_test (wayland_socket, G_FILE_TEST_EXISTS))
+     {
diff -Nru flatpak-0.8.5/debian/patches/0.8.6/run-Handle-the-case-where-tmp-on-the-host-is-a-symlink.patch flatpak-0.8.5/debian/patches/0.8.6/run-Handle-the-case-where-tmp-on-the-host-is-a-symlink.patch
--- flatpak-0.8.5/debian/patches/0.8.6/run-Handle-the-case-where-tmp-on-the-host-is-a-symlink.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/0.8.6/run-Handle-the-case-where-tmp-on-the-host-is-a-symlink.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,52 @@
+From: Alexander Larsson <alexl@redhat.com>
+Date: Thu, 4 May 2017 10:34:40 +0200
+Subject: run: Handle the case where /tmp on the host is a symlink
+
+If the app explicitly grants access to the host /tmp (for
+instance telegram) then when this is being exposed as a symlink
+in the sandbox we get an error because /tmp already exists
+as a dir, which we create very early on.
+
+It doesn't really make sense to keep /tmp as a symlink in
+the sandbox anyway, so we just special case this and mount
+the symlink target as /tmp.
+
+(cherry picked from commit f28d318cc9029f28901b47e03e9ef2e144660c74)
+
+Origin: upstream, 0.8.6
+---
+ common/flatpak-run.c | 14 +++++++++++++-
+ 1 file changed, 13 insertions(+), 1 deletion(-)
+
+diff --git a/common/flatpak-run.c b/common/flatpak-run.c
+index 4c6655b..f4f66f8 100644
+--- a/common/flatpak-run.c
++++ b/common/flatpak-run.c
+@@ -2423,6 +2423,18 @@ add_hide_path (GHashTable *hash_table,
+   g_hash_table_insert (hash_table, ep->path, ep);
+ }
+ 
++static gboolean
++never_export_as_symlink (const char *path)
++{
++  /* Don't export /tmp as a symlink even if it is on the host, because
++     that will fail with the pre-existing directory we created for /tmp,
++     and anyway, it being a symlink is not useful in the sandbox */
++  if (strcmp (path, "/tmp") == 0)
++    return TRUE;
++
++  return FALSE;
++}
++
+ /* We use the level to make sure we get the ordering somewhat right.
+  * For instance if /symlink -> /z_dir is exported, then we want to create
+  * /z_dir before /symlink, because otherwise an export like /symlink/foo
+@@ -2472,7 +2484,7 @@ _add_expose_path (GHashTable *hash_table,
+       if (old_ep != NULL)
+         old_mode = old_ep->mode;
+ 
+-      if (S_ISLNK (st.st_mode))
++      if (S_ISLNK (st.st_mode) && !never_export_as_symlink (path))
+         {
+           g_autofree char *resolved = flatpak_resolve_link (path, NULL);
+ 
diff -Nru flatpak-0.8.5/debian/patches/0.8.6/Unset-TMPDIR-in-the-sandbox.patch flatpak-0.8.5/debian/patches/0.8.6/Unset-TMPDIR-in-the-sandbox.patch
--- flatpak-0.8.5/debian/patches/0.8.6/Unset-TMPDIR-in-the-sandbox.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/0.8.6/Unset-TMPDIR-in-the-sandbox.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,67 @@
+From: Alexander Larsson <alexl@redhat.com>
+Date: Wed, 3 May 2017 13:23:55 +0200
+Subject: Unset TMPDIR in the sandbox
+
+Its quite possible that a custom TMPDIR is not mapped
+in the sandbox, and /tmp is per-app anyway, so it doesn't
+really make sense to use the custom one.
+
+Fixes https://github.com/alexlarsson/spotify-app/issues/41
+
+(cherry picked from commit 6711b56794294a9627696ff08a3f2c4ecdeb164a
+ and 7f7387ce5e45664eefc3322a0ea1b9a8abbf9fdb)
+
+Origin: upstream, 0.8.6
+---
+ common/flatpak-run.c | 20 +++++++++++++++++---
+ 1 file changed, 17 insertions(+), 3 deletions(-)
+
+diff --git a/common/flatpak-run.c b/common/flatpak-run.c
+index 12eb669..4c6655b 100644
+--- a/common/flatpak-run.c
++++ b/common/flatpak-run.c
+@@ -2872,6 +2872,7 @@ static const struct {const char *env;
+   {"XDG_CONFIG_DIRS", "/app/etc/xdg:/etc/xdg"},
+   {"XDG_DATA_DIRS", "/app/share:/usr/share"},
+   {"SHELL", "/bin/sh"},
++  {"TMPDIR", NULL}, /* Unset TMPDIR as it may not exist in the sandbox */
+ };
+ 
+ static const struct {const char *env;
+@@ -2926,12 +2927,18 @@ flatpak_run_get_minimal_env (gboolean devel)
+   env_array = g_ptr_array_new_with_free_func (g_free);
+ 
+   for (i = 0; i < G_N_ELEMENTS (default_exports); i++)
+-    g_ptr_array_add (env_array, g_strdup_printf ("%s=%s", default_exports[i].env, default_exports[i].val));
++    {
++      if (default_exports[i].val)
++        g_ptr_array_add (env_array, g_strdup_printf ("%s=%s", default_exports[i].env, default_exports[i].val));
++    }
+ 
+   if (devel)
+     {
+       for (i = 0; i < G_N_ELEMENTS(devel_exports); i++)
+-        g_ptr_array_add (env_array, g_strdup_printf ("%s=%s", devel_exports[i].env, devel_exports[i].val));
++        {
++          if (devel_exports[i].val)
++            g_ptr_array_add (env_array, g_strdup_printf ("%s=%s", devel_exports[i].env, devel_exports[i].val));
++        }
+     }
+ 
+   for (i = 0; i < G_N_ELEMENTS (copy); i++)
+@@ -2961,7 +2968,14 @@ flatpak_run_apply_env_default (char **envp)
+   int i;
+ 
+   for (i = 0; i < G_N_ELEMENTS (default_exports); i++)
+-    envp = g_environ_setenv (envp, default_exports[i].env, default_exports[i].val, TRUE);
++    {
++      const char *value = default_exports[i].val;
++
++      if (value)
++        envp = g_environ_setenv (envp, default_exports[i].env, value, TRUE);
++      else
++        envp = g_environ_unsetenv (envp, default_exports[i].env);
++    }
+ 
+   return envp;
+ }
diff -Nru flatpak-0.8.5/debian/patches/0.8.6/Updated-Hungarian-translation.patch flatpak-0.8.5/debian/patches/0.8.6/Updated-Hungarian-translation.patch
--- flatpak-0.8.5/debian/patches/0.8.6/Updated-Hungarian-translation.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/0.8.6/Updated-Hungarian-translation.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,1247 @@
+From: =?utf-8?q?Bal=C3=A1zs_=C3=9Ar?= <urbalazs@gmail.com>
+Date: Sun, 14 May 2017 20:05:09 +0200
+Subject: Updated Hungarian translation
+
+Origin: upstream, 0.8.6
+---
+ po/hu.po | 539 +++++++++++++++++++++++++++++++--------------------------------
+ 1 file changed, 267 insertions(+), 272 deletions(-)
+
+diff --git a/po/hu.po b/po/hu.po
+index 2dea9ed..48a0a5d 100644
+--- a/po/hu.po
++++ b/po/hu.po
+@@ -1,23 +1,23 @@
+ # Hungarian translation for flatpak.
+-# Copyright (C) 2016. Free Software Foundation, Inc.
++# Copyright (C) 2016, 2017 Free Software Foundation, Inc.
+ # This file is distributed under the same license as the flatpak package.
+ #
+-# Balázs Úr <urbalazs@gmail.com>, 2016.
++# Balázs Úr <urbalazs@gmail.com>, 2016, 2017.
+ # Gabor Kelemen <kelemeng at ubuntu dot com>, 2016.
+ msgid ""
+ msgstr ""
+-"Project-Id-Version: flatpak master\n"
++"Project-Id-Version: flatpak 0.8.x\n"
+ "Report-Msgid-Bugs-To: https://github.com/flatpak/flatpak/issues\n";
+-"POT-Creation-Date: 2017-04-03 14:09+0200\n"
+-"PO-Revision-Date: 2016-08-24 19:27+0200\n"
+-"Last-Translator: Gabor Kelemen <kelemeng at ubuntu dot com>\n"
++"POT-Creation-Date: 2017-05-14 15:24+0000\n"
++"PO-Revision-Date: 2017-05-14 20:02+0100\n"
++"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+ "Language-Team: Hungarian <openscope at googlegroups dot com>\n"
+ "Language: hu\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=UTF-8\n"
+ "Content-Transfer-Encoding: 8bit\n"
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
+-"X-Generator: Lokalize 1.5\n"
++"X-Generator: Lokalize 2.0\n"
+ 
+ #: app/flatpak-builtins-add-remote.c:58
+ msgid "Do nothing if the provided remote exists"
+@@ -25,7 +25,7 @@ msgstr "Ne tegyen semmit, ha a megadott távoli létezik"
+ 
+ #: app/flatpak-builtins-add-remote.c:59
+ msgid "LOCATION specifies a configuration file, not the repo location"
+-msgstr ""
++msgstr "A HELY egy beállítófájlt határoz meg, nem a tároló helyét"
+ 
+ #: app/flatpak-builtins-add-remote.c:64
+ msgid "Enable GPG verification"
+@@ -36,9 +36,8 @@ msgid "Mark the remote as enumerate"
+ msgstr "A távoli megjelölése felsorolásként"
+ 
+ #: app/flatpak-builtins-add-remote.c:66
+-#, fuzzy
+ msgid "Mark the remote as used for dependencies"
+-msgstr "A távoli megjelölése nem felsorolandóként"
++msgstr "A távoli megjelölése függőségekhez használtként"
+ 
+ #: app/flatpak-builtins-add-remote.c:67
+ msgid "Set a new url"
+@@ -55,7 +54,7 @@ msgstr "A távoli engedélyezése"
+ 
+ #: app/flatpak-builtins-add-remote.c:69
+ msgid "Update extra metadata from the summary file"
+-msgstr ""
++msgstr "További metaadatok frissítése az összegzőfájlból"
+ 
+ #: app/flatpak-builtins-add-remote.c:74
+ msgid "Disable GPG verification"
+@@ -66,9 +65,8 @@ msgid "Mark the remote as don't enumerate"
+ msgstr "A távoli megjelölése nem felsorolandóként"
+ 
+ #: app/flatpak-builtins-add-remote.c:76
+-#, fuzzy
+ msgid "Mark the remote as don't use for deps"
+-msgstr "A távoli megjelölése nem felsorolandóként"
++msgstr "A távoli megjelölése függőségekhez nem használtként"
+ 
+ #: app/flatpak-builtins-add-remote.c:77
+ msgid "Set priority (default 1, higher is more prioritized)"
+@@ -88,9 +86,8 @@ msgid "TITLE"
+ msgstr "CÍM"
+ 
+ #: app/flatpak-builtins-add-remote.c:79
+-#, fuzzy
+ msgid "Default branch to use for this remote"
+-msgstr "Egy szép, ehhez a távolihoz használandó név"
++msgstr "Ehhez a tárolóhoz használandó alapértelmezett ág"
+ 
+ #: app/flatpak-builtins-add-remote.c:79 app/flatpak-builtins-repo-update.c:45
+ #: app/flatpak-builtins-run.c:52
+@@ -111,9 +108,8 @@ msgid "Disable the remote"
+ msgstr "A távoli letiltása"
+ 
+ #: app/flatpak-builtins-add-remote.c:368
+-#, fuzzy
+ msgid "NAME LOCATION - Add a remote repository"
+-msgstr "NÉV [HELY] - Egy távoli tároló hozzáadása"
++msgstr "NÉV HELY - Egy távoli tároló hozzáadása"
+ 
+ #: app/flatpak-builtins-add-remote.c:377
+ #: app/flatpak-builtins-delete-remote.c:58 app/flatpak-builtins-info.c:98
+@@ -140,7 +136,7 @@ msgstr "A HELY megadása kötelező"
+ #: app/flatpak-builtins-ls-remote.c:80 app/flatpak-builtins-make-current.c:67
+ #: app/flatpak-builtins-override.c:66
+ msgid "Too many arguments"
+-msgstr ""
++msgstr "Túl sok argumentum"
+ 
+ #. Do nothing
+ #: app/flatpak-builtins-add-remote.c:397
+@@ -149,9 +145,8 @@ msgid "Remote %s already exists"
+ msgstr "A távoli %s már létezik"
+ 
+ #: app/flatpak-builtins-add-remote.c:405
+-#, fuzzy
+ msgid "No url specified in flatpakrepo file"
+-msgstr "Nincs név megadva a metaadatokban"
++msgstr "Nincs URL megadva a flatpaktároló fájlban"
+ 
+ #: app/flatpak-builtins-add-remote.c:477
+ msgid "NAME - Modify a remote repository"
+@@ -167,19 +162,19 @@ msgid "No remote %s"
+ msgstr "Nincs távoli %s"
+ 
+ #: app/flatpak-builtins-add-remote.c:497
+-#, fuzzy, c-format
++#, c-format
+ msgid "Updating extra metadata from remote summary for %s\n"
+-msgstr "Az AppStream frissítése a távolihoz"
++msgstr "További metaadatok frissítése a(z) %s távoli összegzéséből\n"
+ 
+ #: app/flatpak-builtins-add-remote.c:500
+-#, fuzzy, c-format
++#, c-format
+ msgid "Error updating extra metadata for '%s': %s\n"
+-msgstr "Hiba a frissítéskor: %s\n"
++msgstr "Hiba a(z) „%s” további metaadatainak frissítéskor: %s\n"
+ 
+ #: app/flatpak-builtins-add-remote.c:501
+ #, c-format
+ msgid "Could not update extra metadata for %s"
+-msgstr ""
++msgstr "Nem sikerült frissíteni a(z) %s további metaadatait"
+ 
+ #: app/flatpak-builtins-build-bundle.c:53
+ msgid "Export runtime instead of app"
+@@ -204,9 +199,8 @@ msgid "Url for repo"
+ msgstr "URL a tárolóhoz"
+ 
+ #: app/flatpak-builtins-build-bundle.c:56
+-#, fuzzy
+ msgid "Url for runtime flatpakrepo file"
+-msgstr "Nincs név megadva a metaadatokban"
++msgstr "URL a futtatókörnyezet flatpaktároló fájlhoz"
+ 
+ #: app/flatpak-builtins-build-bundle.c:57
+ msgid "Add GPG key from FILE (- for stdin)"
+@@ -214,7 +208,7 @@ msgstr "GPG kulcs hozzáadása a FÁJLBÓL (- a szabványos bemenethez)"
+ 
+ #: app/flatpak-builtins-build-bundle.c:58
+ msgid "Export oci image instead of flatpak bundle"
+-msgstr "Egy oci lemezkép exportálása flatpak csomag helyett"
++msgstr "Egy OCI-lemezkép exportálása flatpak csomag helyett"
+ 
+ #: app/flatpak-builtins-build-bundle.c:418
+ msgid ""
+@@ -236,16 +230,16 @@ msgid "'%s' is not a valid repository"
+ msgstr "A(z) „%s” nem érvényes tároló"
+ 
+ #: app/flatpak-builtins-build-bundle.c:448 app/flatpak-builtins-build-sign.c:86
+-#, fuzzy, c-format
++#, c-format
+ msgid "'%s' is not a valid name: %s"
+-msgstr "A(z) „%s” nem érvényes név"
++msgstr "A(z) „%s” nem érvényes név: %s"
+ 
+ #: app/flatpak-builtins-build-bundle.c:451
+ #: app/flatpak-builtins-build-export.c:651
+ #: app/flatpak-builtins-build-init.c:187 app/flatpak-builtins-build-sign.c:89
+-#, fuzzy, c-format
++#, c-format
+ msgid "'%s' is not a valid branch name: %s"
+-msgstr "A(z) „%s” nem érvényes ágnév"
++msgstr "A(z) „%s” nem érvényes ágnév: %s"
+ 
+ #: app/flatpak-builtins-build.c:42
+ msgid "Use Platform runtime rather than Sdk"
+@@ -276,9 +270,11 @@ msgid "DIRECTORY must be specified"
+ msgstr "A KÖNYVTÁR megadása kötelező"
+ 
+ #: app/flatpak-builtins-build.c:124 app/flatpak-builtins-build-export.c:673
+-#, fuzzy, c-format
++#, c-format
+ msgid "Build directory %s not initialized, use flatpak build-init"
+-msgstr "A(z) „%s” összeállítási könyvtár nincs előkészítve"
++msgstr ""
++"A(z) „%s” összeállítási könyvtár nincs előkészítve, a flatpak összeállítás-"
++"előkészítő használata"
+ 
+ #: app/flatpak-builtins-build.c:232
+ #, c-format
+@@ -291,19 +287,19 @@ msgstr "Nem indítható el az alkalmazás"
+ 
+ #: app/flatpak-builtins-build-commit-from.c:47
+ msgid "Source repo dir"
+-msgstr ""
++msgstr "Forrástároló könyvtár"
+ 
+ #: app/flatpak-builtins-build-commit-from.c:47
+ msgid "SRC-REPO"
+-msgstr ""
++msgstr "FORRÁS-TÁROLÓ"
+ 
+ #: app/flatpak-builtins-build-commit-from.c:48
+ msgid "Source repo ref"
+-msgstr ""
++msgstr "Forrástároló hivatkozás"
+ 
+ #: app/flatpak-builtins-build-commit-from.c:48
+ msgid "SRC-REF"
+-msgstr ""
++msgstr "FORRÁS-HIVATKOZÁS"
+ 
+ #: app/flatpak-builtins-build-commit-from.c:51
+ #: app/flatpak-builtins-build-export.c:49
+@@ -368,29 +364,31 @@ msgstr "SAJÁTKÖNYVTÁR"
+ #: app/flatpak-builtins-build-commit-from.c:78
+ msgid "DST-REPO [DST-REF]... - Make a new commit based on existing commit(s)"
+ msgstr ""
++"CÉL-TÁROLÓ [CÉL-HIVATKOZÁS]… - Új kommit készítése a meglévő kommitok alapján"
+ 
+ #: app/flatpak-builtins-build-commit-from.c:85
+-#, fuzzy
+ msgid "DST-REPO must be specified"
+-msgstr "A TÁVOLI megadása kötelező"
++msgstr "A CÉL-TÁROLÓ megadása kötelező"
+ 
+ #: app/flatpak-builtins-build-commit-from.c:93
+ msgid ""
+ "If --src-repo is not specified, exactly one destination ref must be specified"
+ msgstr ""
++"Ha a --src-repo nincs megadva, akkor pontosan egy célhivatkozást kell megadni"
+ 
+ #: app/flatpak-builtins-build-commit-from.c:96
+ msgid ""
+ "If --src-ref is specified, exactly one destination ref must be specified"
+ msgstr ""
++"Ha a --src-ref meg van adva, akkor pontosan egy célhivatkozást kell megadni"
+ 
+ #: app/flatpak-builtins-build-commit-from.c:99
+ msgid "Either --src-repo or --src-ref must be specified."
+-msgstr ""
++msgstr "Vagy a --src-repo, vagy a --src-ref megadása kötelező."
+ 
+ #: app/flatpak-builtins-build-commit-from.c:249
+ msgid "Can't commit from partial source commit."
+-msgstr ""
++msgstr "Nem lehet kommitolni részleges forráskommitból."
+ 
+ #: app/flatpak-builtins-build-export.c:51
+ msgid "Architecture to export for (must be host compatible)"
+@@ -428,25 +426,26 @@ msgstr "Felvenni kívánt kizárt fájlok"
+ #: app/flatpak-builtins-build-export.c:517
+ #, c-format
+ msgid "Invalid uri type %s, only http/https supported"
+-msgstr ""
++msgstr "Érvénytelen URI-típus (%s), csak a http/https támogatott"
+ 
+ #: app/flatpak-builtins-build-export.c:535
+ #, c-format
+ msgid "Unable to find basename in %s, specify a name explicitly"
+ msgstr ""
++"Nem sikerült megtalálni az alapnevet ebben: %s, pontosan adja meg a nevet"
+ 
+ #: app/flatpak-builtins-build-export.c:544
+ msgid "No slashes allowed in extra data name"
+-msgstr ""
++msgstr "A perjelek nem engedélyezettek a további adatok névében"
+ 
+ #: app/flatpak-builtins-build-export.c:556
+ #, c-format
+ msgid "Invalid format for sha256 checksum: '%s'"
+-msgstr ""
++msgstr "Érvénytelen formátum az sha256 ellenőrzőösszegnél: „%s”"
+ 
+ #: app/flatpak-builtins-build-export.c:566
+ msgid "Extra data sizes of zero not supported"
+-msgstr ""
++msgstr "Nulla méretű további adatméret nem támogatott"
+ 
+ #: app/flatpak-builtins-build-export.c:623
+ msgid ""
+@@ -467,13 +466,12 @@ msgid "COMMAND"
+ msgstr "PARANCS"
+ 
+ #: app/flatpak-builtins-build-finish.c:44
+-#, fuzzy
+ msgid "Flatpak version to require"
+-msgstr "Használandó futtatókörnyezet-verzió"
++msgstr "A szükséges flatpak-verzió"
+ 
+ #: app/flatpak-builtins-build-finish.c:44
+ msgid "MAJOR.MINOR.MICRO"
+-msgstr ""
++msgstr "FŐ.KISEBB.APRÓ"
+ 
+ #: app/flatpak-builtins-build-finish.c:45
+ msgid "Don't process exports"
+@@ -481,21 +479,20 @@ msgstr "Ne dolgozza fel az exportokat"
+ 
+ #: app/flatpak-builtins-build-finish.c:46
+ msgid "Extra data info"
+-msgstr ""
++msgstr "További adatinformációk"
+ 
+ #: app/flatpak-builtins-build-finish.c:47
+ msgid "NAME:SHA256:DOWNLOAD-SIZE:INSTALL-SIZE:URL"
+-msgstr ""
++msgstr "NÉV:SHA256:LETÖLTÉSI-MÉRET:TELEPÍTÉSI-MÉRET:URL"
+ 
+ #: app/flatpak-builtins-build-finish.c:353
+ #, c-format
+ msgid "To few elements in --extra-data argument %s"
+-msgstr ""
++msgstr "Túl kevés elem a(z) %s --extra-data argumentumban"
+ 
+ #: app/flatpak-builtins-build-finish.c:400
+-#, fuzzy
+ msgid "DIRECTORY - Finalize a build directory"
+-msgstr "KÖNYVTÁR - Könyvtár átalakítása egy csomaggá"
++msgstr "KÖNYVTÁR - Egy összeállítási könyvtár befejezése"
+ 
+ #: app/flatpak-builtins-build-finish.c:422
+ #, c-format
+@@ -525,7 +522,7 @@ msgstr "HIVATKOZÁS"
+ 
+ #: app/flatpak-builtins-build-import-bundle.c:45
+ msgid "Import oci image instead of flatpak bundle"
+-msgstr "Egy oci lemezkép importálása flatpak csomag helyett"
++msgstr "Egy OCI-lemezkép importálása flatpak csomag helyett"
+ 
+ #: app/flatpak-builtins-build-import-bundle.c:142
+ msgid "LOCATION FILENAME - Import a file bundle into a local repository"
+@@ -549,28 +546,24 @@ msgid "RUNTIME"
+ msgstr "FUTTATÓKÖRNYEZET"
+ 
+ #: app/flatpak-builtins-build-init.c:49
+-#, fuzzy
+ msgid "Initialize apps from named app"
+-msgstr "Változó előkészítése egy elnevezett futtatókörnyezetből"
++msgstr "Alkalmazások előkészítése egy elnevezett alkalmazásból"
+ 
+ #: app/flatpak-builtins-build-init.c:49
+-#, fuzzy
+ msgid "APP"
+-msgstr "ALKALMAZÁSAZONOSÍTÓ"
++msgstr "ALKALMAZÁS"
+ 
+ #: app/flatpak-builtins-build-init.c:50
+-#, fuzzy
+ msgid "Specify version for --base"
+-msgstr "Alapértelmezett verzió megadása a futtatáshoz"
++msgstr "Verzió megadása a --base kapcsolóhoz"
+ 
+ #: app/flatpak-builtins-build-init.c:50 app/flatpak-builtins-run.c:55
+ msgid "VERSION"
+ msgstr "VERZIÓ"
+ 
+ #: app/flatpak-builtins-build-init.c:51
+-#, fuzzy
+ msgid "Include this base extension"
+-msgstr "Ezen sdk kiterjesztés felvétele az /usr könyvtárba"
++msgstr "Ezen alapkiterjesztés felvétele"
+ 
+ #: app/flatpak-builtins-build-init.c:51 app/flatpak-builtins-build-init.c:54
+ msgid "EXTENSION"
+@@ -601,9 +594,9 @@ msgid "Re-initialize the sdk/var"
+ msgstr "Az sdk vagy változó újra előkészítése"
+ 
+ #: app/flatpak-builtins-build-init.c:103
+-#, fuzzy, c-format
++#, c-format
+ msgid "Requested extension %s is only partially installed"
+-msgstr "A szükséges %s kiterjesztés nincs telepítve"
++msgstr "A kért %s kiterjesztés csak részlegesen van telepítve"
+ 
+ #: app/flatpak-builtins-build-init.c:125
+ #, c-format
+@@ -622,19 +615,19 @@ msgid "RUNTIME must be specified"
+ msgstr "A FUTTATÓKÖRNYEZET megadása kötelező"
+ 
+ #: app/flatpak-builtins-build-init.c:178 app/flatpak-builtins-override.c:71
+-#, fuzzy, c-format
++#, c-format
+ msgid "'%s' is not a valid application name: %s"
+-msgstr "A(z) „%s” nem érvényes alkalmazásnév"
++msgstr "A(z) „%s” nem érvényes alkalmazásnév: %s"
+ 
+ #: app/flatpak-builtins-build-init.c:181
+-#, fuzzy, c-format
++#, c-format
+ msgid "'%s' is not a valid runtime name: %s"
+-msgstr "A(z) „%s” nem érvényes futtatókörnyezet-név"
++msgstr "A(z) „%s” nem érvényes futtatókörnyezet-név: %s"
+ 
+ #: app/flatpak-builtins-build-init.c:184
+-#, fuzzy, c-format
++#, c-format
+ msgid "'%s' is not a valid sdk name: %s"
+-msgstr "A(z) „%s” nem érvényes sdk név"
++msgstr "A(z) „%s” nem érvényes sdk név: %s"
+ 
+ #: app/flatpak-builtins-build-init.c:209
+ #, c-format
+@@ -651,9 +644,8 @@ msgid "Look for runtime with the specified name"
+ msgstr "A megadott nevű futtatókörnyezet keresése"
+ 
+ #: app/flatpak-builtins-build-sign.c:64
+-#, fuzzy
+ msgid "LOCATION [ID [BRANCH]] - Sign an application or runtime"
+-msgstr "TÁROLÓ NÉV [ÁG] - Egy alkalmazás vagy futtatókörnyezet telepítése"
++msgstr "HELY [AZONOSÍTÓ [ÁG]] - Egy alkalmazás vagy futtatókörnyezet aláírása"
+ 
+ #: app/flatpak-builtins-build-sign.c:92
+ msgid "No gpg key ids specified"
+@@ -748,17 +740,15 @@ msgid "FILE - Unexport a file to apps"
+ msgstr "FÁJL - Fájl alkalmazásokba exportálásának visszavonása"
+ 
+ #: app/flatpak-builtins-enter.c:82
+-#, fuzzy
+ msgid ""
+ "SANDBOXEDPID [COMMAND [args...]] - Run a command inside a running sandbox"
+ msgstr ""
+-"MONITORPID [PARANCS [argumentumok…]] - Parancs futtatása egy futó homokozón "
+-"belül"
++"HOMOKOZÓS-PID [PARANCS [argumentumok…]] - Parancs futtatása egy futó "
++"homokozón belül"
+ 
+ #: app/flatpak-builtins-enter.c:103
+-#, fuzzy
+ msgid "SANDBOXEDPID and COMMAND must be specified"
+-msgstr "A MONITORPID és PARANCS megadása kötelező"
++msgstr "A HOMOKOZÓS-PID és PARANCS megadása kötelező"
+ 
+ #: app/flatpak-builtins-enter.c:111
+ #, c-format
+@@ -768,15 +758,15 @@ msgstr "Érvénytelen %s pid"
+ #: app/flatpak-builtins-enter.c:115
+ #, c-format
+ msgid "No such pid %s"
+-msgstr ""
++msgstr "Nincs ilyen PID: %s"
+ 
+ #: app/flatpak-builtins-enter.c:127
+ msgid "Can't read cwd"
+-msgstr ""
++msgstr "A cwd nem olvasható"
+ 
+ #: app/flatpak-builtins-enter.c:132
+ msgid "Can't read root"
+-msgstr ""
++msgstr "A root nem olvasható"
+ 
+ #: app/flatpak-builtins-enter.c:141
+ #, c-format
+@@ -800,19 +790,19 @@ msgstr "Nem lehet belépni a(z) %s névtérbe: %s"
+ 
+ #: app/flatpak-builtins-enter.c:173
+ msgid "Can't chdir"
+-msgstr ""
++msgstr "A chdir sikertelen"
+ 
+ #: app/flatpak-builtins-enter.c:176
+ msgid "Can't chroot"
+-msgstr ""
++msgstr "A chroot sikertelen"
+ 
+ #: app/flatpak-builtins-enter.c:223
+ msgid "Can't switch gid"
+-msgstr ""
++msgstr "Nem állítható át a GID"
+ 
+ #: app/flatpak-builtins-enter.c:226
+ msgid "Can't switch uid"
+-msgstr ""
++msgstr "Nem állítható át az UID"
+ 
+ #: app/flatpak-builtins-info.c:47 app/flatpak-builtins-list.c:44
+ #: app/flatpak-builtins-list-remotes.c:42
+@@ -826,9 +816,8 @@ msgstr "Rendszerszintű telepítések megjelenítése"
+ 
+ #: app/flatpak-builtins-info.c:49 app/flatpak-builtins-list.c:46
+ #: app/flatpak-builtins-list-remotes.c:44
+-#, fuzzy
+ msgid "Show specific system-wide installations"
+-msgstr "Rendszerszintű telepítések megjelenítése"
++msgstr "Bizonyos rendszerszintű telepítések megjelenítése"
+ 
+ #: app/flatpak-builtins-info.c:50 app/flatpak-builtins-list.c:48
+ msgid "List installed runtimes"
+@@ -848,7 +837,7 @@ msgstr "Kommit megjelenítése"
+ 
+ #: app/flatpak-builtins-info.c:54
+ msgid "Show origin"
+-msgstr "Kezdőpont megjelenítése"
++msgstr "Eredet megjelenítése"
+ 
+ #: app/flatpak-builtins-info.c:91
+ msgid "NAME [BRANCH] - Get info about installed app and/or runtime"
+@@ -870,7 +859,7 @@ msgstr "Ne telepítse a kapcsolódó hivatkozásokat"
+ 
+ #: app/flatpak-builtins-install.c:60 app/flatpak-builtins-update.c:58
+ msgid "Don't verify/install runtime dependencies"
+-msgstr ""
++msgstr "Ne ellenőrizze/telepítse a futtatókörnyezet függőségeit"
+ 
+ #: app/flatpak-builtins-install.c:62 app/flatpak-builtins-uninstall.c:49
+ #: app/flatpak-builtins-update.c:60
+@@ -879,16 +868,15 @@ msgstr "Alkalmazás keresése a megadott névvel"
+ 
+ #: app/flatpak-builtins-install.c:63
+ msgid "Assume LOCATION is a .flatpak single-file bundle"
+-msgstr ""
++msgstr "Feltételezzük, hogy a HELY egy .flatpak önálló fájlból álló csomag"
+ 
+ #: app/flatpak-builtins-install.c:64
+ msgid "Assume LOCATION is a .flatpakref application description"
+-msgstr ""
++msgstr "Feltételezzük, hogy a HELY egy .flatpakref alkalmazás-leírás"
+ 
+ #: app/flatpak-builtins-install.c:65
+-#, fuzzy
+ msgid "Assume LOCATION is an oci registry"
+-msgstr "NÉV [HELY] - Egy távoli tároló hozzáadása"
++msgstr "Feltételezzük, hogy a HELY egy oci regisztrációs-adatbázis"
+ 
+ #: app/flatpak-builtins-install.c:66
+ msgid "Check bundle signatures with GPG key from FILE (- for stdin)"
+@@ -906,7 +894,7 @@ msgstr "ÚTVONAL"
+ 
+ #: app/flatpak-builtins-install.c:68 app/flatpak-builtins-update.c:63
+ msgid "Automatically answer yes for all questions"
+-msgstr ""
++msgstr "Automatikusan válaszoljon igennel minden kérdésre"
+ 
+ #: app/flatpak-builtins-install.c:197
+ #, c-format
+@@ -915,45 +903,44 @@ msgid ""
+ "  %s\n"
+ "Configure this as new remote '%s'"
+ msgstr ""
++"Ez az alkalmazás a következőkből való futtatókörnyezetektől függ:\n"
++"  %s\n"
++"Ennek beállítása mint új távoli „%s”"
+ 
+ #: app/flatpak-builtins-install.c:201
+-#, fuzzy, c-format
++#, c-format
+ msgid "Configuring %s as new remote '%s'"
+-msgstr "A(z) %s nem található a(z) %s távolin"
++msgstr "A(z) %s beállítása mint új távoli „%s”"
+ 
+ #: app/flatpak-builtins-install.c:248
+ msgid "Bundle filename must be specified"
+ msgstr "A csomagfájlnév megadása kötelező"
+ 
+ #: app/flatpak-builtins-install.c:258
+-#, fuzzy
+ msgid "Remote bundles are not supported"
+-msgstr "A távoli cím nincs beállítva"
++msgstr "A távoli csomagok nem támogatottak"
+ 
+ #: app/flatpak-builtins-install.c:326
+-#, fuzzy
+ msgid "Filename or uri must be specified"
+-msgstr "A csomagfájlnév megadása kötelező"
++msgstr "A fájlnév vagy URI megadása kötelező"
+ 
+ #: app/flatpak-builtins-install.c:366
+-#, fuzzy, c-format
++#, c-format
+ msgid "Installing: %s\n"
+-msgstr "Kapcsolódó telepítése: %s\n"
++msgstr "Telepítés: %s\n"
+ 
+ #: app/flatpak-builtins-install.c:396
+-#, fuzzy
+ msgid "OCI repo Filename or uri must be specified"
+-msgstr "A csomagfájlnév megadása kötelező"
++msgstr "Az OCI-tároló fájlnév vagy URI megadása kötelező"
+ 
+ #: app/flatpak-builtins-install.c:435
+-#, fuzzy
+ msgid "LOCATION/REMOTE [REF...] - Install applications or runtimes"
+-msgstr "TÁROLÓ NÉV [ÁG] - Egy alkalmazás vagy futtatókörnyezet telepítése"
++msgstr ""
++"HELY/TÁVOLI [HIVATKOZÁS…] - Alkalmazások vagy futtatókörnyezetek telepítése"
+ 
+ #: app/flatpak-builtins-install.c:459
+-#, fuzzy
+ msgid "REMOTE and REF must be specified"
+-msgstr "A TÁVOLI megadása kötelező"
++msgstr "A TÁVOLI és HIVATKOZÁS megadása kötelező"
+ 
+ #: app/flatpak-builtins-list.c:47 app/flatpak-builtins-ls-remote.c:42
+ msgid "Show arches and branches"
+@@ -1034,9 +1021,8 @@ msgid "A nice name to use for this repository"
+ msgstr "Egy szép, ehhez a tárolóhoz használandó név"
+ 
+ #: app/flatpak-builtins-repo-update.c:45
+-#, fuzzy
+ msgid "Default branch to use for this repository"
+-msgstr "Egy szép, ehhez a távolihoz használandó név"
++msgstr "Ehhez a tárolóhoz használandó alapértelmezett ág"
+ 
+ #: app/flatpak-builtins-repo-update.c:46
+ msgid "GPG Key ID to sign the summary with"
+@@ -1155,13 +1141,12 @@ msgid "Remove files even if running"
+ msgstr "Fájlok eltávolítása akkor is, ha futnak"
+ 
+ #: app/flatpak-builtins-uninstall.c:69
+-#, fuzzy
+ msgid "REF... - Uninstall an application"
+-msgstr "NÉV [ÁG] - Alkalmazás eltávolítása"
++msgstr "HIVATKOZÁS… - Alkalmazás eltávolítása"
+ 
+ #: app/flatpak-builtins-uninstall.c:76
+ msgid "Must specify at least one REF"
+-msgstr ""
++msgstr "Legalább egy HIVATKOZÁS megadása kötelező"
+ 
+ #: app/flatpak-builtins-uninstall.c:129 app/flatpak-transaction.c:337
+ #, c-format
+@@ -1201,14 +1186,13 @@ msgid "Only update this subpath"
+ msgstr "Csak ezen alútvonal frissítése"
+ 
+ #: app/flatpak-builtins-update.c:91
+-#, fuzzy, c-format
++#, c-format
+ msgid "Updating appstream for remote %s\n"
+-msgstr "Az AppStream frissítése a távolihoz"
++msgstr "Az AppStream frissítése a távolihoz: %s\n"
+ 
+ #: app/flatpak-builtins-update.c:121
+-#, fuzzy
+ msgid "[REF...] - Update applications or runtimes"
+-msgstr "[NÉV [ÁG]] - Egy alkalmazás vagy futtatókörnyezet frissítése"
++msgstr "[HIVATKOZÁS…] - Alkalmazások vagy futtatókörnyezetek frissítése"
+ 
+ #. translators: please keep the leading space
+ #: app/flatpak-main.c:59
+@@ -1216,9 +1200,8 @@ msgid " Manage installed apps and runtimes"
+ msgstr " Telepített alkalmazások és futtatókörnyezetek kezelése"
+ 
+ #: app/flatpak-main.c:60
+-#, fuzzy
+ msgid "Install an application or runtime"
+-msgstr "Alkalmazás vagy futtatókörnyezet aláírása"
++msgstr "Egy alkalmazás vagy futtatókörnyezet telepítése"
+ 
+ #: app/flatpak-main.c:61
+ msgid "Update an installed application or runtime"
+@@ -1366,9 +1349,8 @@ msgid "Print debug information during command processing"
+ msgstr "Hibakeresési információk kiírása a parancsfeldolgozás közben"
+ 
+ #: app/flatpak-main.c:105
+-#, fuzzy
+ msgid "Print OSTree debug information during command processing"
+-msgstr "Hibakeresési információk kiírása a parancsfeldolgozás közben"
++msgstr "OSTree hibakeresési információk kiírása a parancsfeldolgozás közben"
+ 
+ #: app/flatpak-main.c:106
+ msgid "Show help options"
+@@ -1387,9 +1369,8 @@ msgid "Print supported arches and exit"
+ msgstr "Támogatott architektúrák kiírása és kilépés"
+ 
+ #: app/flatpak-main.c:114
+-#, fuzzy
+ msgid "Print active gl drivers and exit"
+-msgstr "Támogatott architektúrák kiírása és kilépés"
++msgstr "Aktív gl illesztőprogramok kiírása és kilépés"
+ 
+ #: app/flatpak-main.c:119
+ msgid "Work on user installations"
+@@ -1400,9 +1381,8 @@ msgid "Work on system-wide installations (default)"
+ msgstr "Munkavégzés a rendszerszintű telepítéseken (alapértelmezett)"
+ 
+ #: app/flatpak-main.c:121
+-#, fuzzy
+ msgid "Work on a specific system-wide installation"
+-msgstr "Munkavégzés a rendszerszintű telepítéseken (alapértelmezett)"
++msgstr "Munkavégzés egy bizonyos rendszerszintű telepítésen"
+ 
+ #: app/flatpak-main.c:147
+ msgid "Builtin Commands:"
+@@ -1424,25 +1404,26 @@ msgstr "hiba:"
+ #: app/flatpak-transaction.c:299
+ #, c-format
+ msgid "Found in remote %s, do you want to install it?"
+-msgstr ""
++msgstr "Megtalálható a(z) %s távoliban, szeretné telepíteni?"
+ 
+ #: app/flatpak-transaction.c:304
+ msgid "Found in several remotes:\n"
+-msgstr ""
++msgstr "Megtalálható számos távoliban:\n"
+ 
+ #: app/flatpak-transaction.c:309
+ msgid "Which do you want to install (0 to abort)?"
+-msgstr ""
++msgstr "Melyiket szeretné telepíteni (0 a megszakításhoz)?"
+ 
+ #: app/flatpak-transaction.c:399
+ #, c-format
+ msgid "Required runtime for %s (%s) is not installed, searching...\n"
+-msgstr ""
++msgstr "A(z) %s (%s) szükséges futtatókörnyezete nincs telepítve, keresés…\n"
+ 
+ #: app/flatpak-transaction.c:405
+-#, fuzzy, c-format
++#, c-format
+ msgid "The required runtime %s was not found in a configured remote.\n"
+-msgstr "Beállított távoli tulajdonságainak módosítása"
++msgstr ""
++"A szükséges %s futtatókörnyezet nem található a beállított távoliban.\n"
+ 
+ #: app/flatpak-transaction.c:466 common/flatpak-dir.c:978
+ #: common/flatpak-dir.c:1235 common/flatpak-dir.c:1271
+@@ -1453,43 +1434,41 @@ msgid "%s not installed"
+ msgstr "A(z) %s nincs telepítve"
+ 
+ #: app/flatpak-transaction.c:472
+-#, fuzzy, c-format
++#, c-format
+ msgid "Remote %s disabled, ignoring %s update"
+-msgstr "A(z) %s távoli le van tiltva\n"
++msgstr "A(z) %s távoli le van tiltva, %s frissítésének mellőzése"
+ 
+ #: app/flatpak-transaction.c:483
+-#, fuzzy, c-format
++#, c-format
+ msgid "%s already installed"
+-msgstr "A(z) %s %s ág már telepítve van"
++msgstr "A(z) %s már telepítve van"
+ 
+ #: app/flatpak-transaction.c:527
+ #, c-format
+ msgid "%s needs a later flatpak version (%s)"
+-msgstr ""
++msgstr "A(z) %s egy későbbi flatpak verziót (%s) igényel"
+ 
+ #: app/flatpak-transaction.c:620 common/flatpak-dir.c:2057
+ msgid "OCI image is not a flatpak (missing ref)"
+-msgstr ""
++msgstr "Az OCI-lemezkép nem flatpak (hiányzó hivatkozás)"
+ 
+ #: app/flatpak-transaction.c:705
+-#, fuzzy
+ msgid "install"
+-msgstr "A(z) %s nincs telepítve"
++msgstr "telepítés"
+ 
+ #: app/flatpak-transaction.c:706
+-#, fuzzy, c-format
++#, c-format
+ msgid "Installing: %s from %s\n"
+-msgstr "Kapcsolódó telepítése: %s\n"
++msgstr "Telepítés: %s innen: %s\n"
+ 
+ #: app/flatpak-transaction.c:717
+-#, fuzzy
+ msgid "update"
+-msgstr "Nincsenek frissítések.\n"
++msgstr "frissítés"
+ 
+ #: app/flatpak-transaction.c:718
+-#, fuzzy, c-format
++#, c-format
+ msgid "Updating: %s from %s\n"
+-msgstr "Kapcsolódó frissítése: %s\n"
++msgstr "Frissítés: %s innen: %s\n"
+ 
+ #: app/flatpak-transaction.c:733
+ #, c-format
+@@ -1501,29 +1480,27 @@ msgid "No updates.\n"
+ msgstr "Nincsenek frissítések.\n"
+ 
+ #: app/flatpak-transaction.c:747
+-#, fuzzy
+ msgid "install bundle"
+-msgstr "A(z) %s nincs telepítve"
++msgstr "csomag telepítése"
+ 
+ #: app/flatpak-transaction.c:748
+-#, fuzzy, c-format
++#, c-format
+ msgid "Installing: %s from bundle %s\n"
+-msgstr "Kapcsolódó telepítése: %s\n"
++msgstr "Telepítés: %s ebből a csomagból: %s\n"
+ 
+ #: app/flatpak-transaction.c:760
+-#, fuzzy, c-format
++#, c-format
+ msgid "Warning: Failed to %s %s: %s\n"
+-msgstr "Figyelmeztetés: a kapcsolódó hivatkozás telepítése sikertelen: %s\n"
++msgstr "Figyelmeztetés: %s %s sikertelen: %s\n"
+ 
+ #: app/flatpak-transaction.c:765
+ #, c-format
+ msgid "Error: Failed to %s %s: %s\n"
+-msgstr ""
++msgstr "Hiba: %s %s sikertelen: %s\n"
+ 
+ #: app/flatpak-transaction.c:770
+-#, fuzzy
+ msgid "One or more operations failed"
+-msgstr "Egy vagy több frissítés sikertelen"
++msgstr "Egy vagy több művelet sikertelen"
+ 
+ #: common/flatpak-dir.c:871
+ #, c-format
+@@ -1542,36 +1519,36 @@ msgstr "Nem lehet létrehozni a telepítési könyvtárat"
+ #: common/flatpak-dir.c:1932
+ #, c-format
+ msgid "Invalid sha256 for extra data uri %s"
+-msgstr ""
++msgstr "Érvénytelen sha256 a további adat URI-nál: %s"
+ 
+ #: common/flatpak-dir.c:1937
+ #, c-format
+ msgid "Empty name for extra data uri %s"
+-msgstr ""
++msgstr "Üres név a további adat URI-nál: %s"
+ 
+ #: common/flatpak-dir.c:1942
+ #, c-format
+ msgid "Unsupported extra data uri %s"
+-msgstr ""
++msgstr "Nem támogatott további adat URI: %s"
+ 
+ #: common/flatpak-dir.c:1952
+-#, fuzzy, c-format
++#, c-format
+ msgid "While downloading %s: "
+-msgstr "A(z) %s tároló megnyitása közben: "
++msgstr "A(z) %s letöltése közben: "
+ 
+ #: common/flatpak-dir.c:1957
+ #, c-format
+ msgid "Wrong size for extra data %s"
+-msgstr ""
++msgstr "Hibás méret a(z) %s további adatnál"
+ 
+ #: common/flatpak-dir.c:1965
+-#, fuzzy, c-format
++#, c-format
+ msgid "Invalid checksum for extra data %s"
+-msgstr "Érvénytelen %s env formátum"
++msgstr "Érvénytelen ellenőrzőösszeg a(z) %s további adatnál"
+ 
+ #: common/flatpak-dir.c:2060
+ msgid "OCI image specifies the wrong app id"
+-msgstr ""
++msgstr "Az OCI-lemezkép hibás alkalmazás-azonosítót határoz meg"
+ 
+ #: common/flatpak-dir.c:2190 common/flatpak-dir.c:2417
+ #, c-format
+@@ -1581,7 +1558,7 @@ msgstr "A(z) %s lekérése közben a(z) %s távoliról: "
+ #: common/flatpak-dir.c:2365
+ #, c-format
+ msgid "Can't find %s in remote %s"
+-msgstr "A(z) %s nem található a(z) %s távolin"
++msgstr "A(z) %s nem található a(z) %s távoliban"
+ 
+ #: common/flatpak-dir.c:2977
+ msgid "Not enough memory"
+@@ -1592,34 +1569,33 @@ msgid "Failed to read from exported file"
+ msgstr "Nem sikerült olvasni az exportált fájlból"
+ 
+ #: common/flatpak-dir.c:3520
+-#, fuzzy
+ msgid "While getting detached metadata: "
+-msgstr "A metaadatok alútvonalának átváltására tett kísérlet közben: "
++msgstr "A különálló metaadatok lekérése közben: "
+ 
+ #: common/flatpak-dir.c:3538
+ msgid "While creating extradir: "
+-msgstr ""
++msgstr "A további könyvtár létrehozása közben: "
+ 
+ #: common/flatpak-dir.c:3559
+ msgid "Invalid sha256 for extra data"
+-msgstr ""
++msgstr "Érvénytelen sha256 a további adatnál"
+ 
+ #: common/flatpak-dir.c:3588
+ msgid "Wrong size for extra data"
+-msgstr ""
++msgstr "Hibás méret a további adatnál"
+ 
+ #: common/flatpak-dir.c:3592
+ msgid "Invalid checksum for extra data"
+-msgstr ""
++msgstr "Érvénytelen ellenőrzőösszeg a további adatnál"
+ 
+ #: common/flatpak-dir.c:3601
+ #, c-format
+ msgid "While writing extra data file '%s': "
+-msgstr ""
++msgstr "A(z) „%s” további adatfájl írása közben: "
+ 
+ #: common/flatpak-dir.c:3776
+ msgid "apply_extra script failed"
+-msgstr ""
++msgstr "Az apply_extra parancsfájl sikertelen"
+ 
+ #: common/flatpak-dir.c:3843
+ #, c-format
+@@ -1652,23 +1628,21 @@ msgid "While trying to checkout metadata subpath: "
+ msgstr "A metaadatok alútvonalának átváltására tett kísérlet közben: "
+ 
+ #: common/flatpak-dir.c:3975
+-#, fuzzy
+ msgid "While trying to remove existing extra dir: "
+-msgstr "A(z) %s hivatkozás feloldására tett kísérlet közben: "
++msgstr "A meglévő további könyvtár eltávolítására tett kísérlet közben: "
+ 
+ #: common/flatpak-dir.c:3986
+-#, fuzzy
+ msgid "While trying to apply extra data: "
+-msgstr "A metaadatok alútvonalának átváltására tett kísérlet közben: "
++msgstr "A további adatok alkalmazására tett kísérlet közben: "
+ 
+ #: common/flatpak-dir.c:4570
+-#, fuzzy, c-format
++#, c-format
+ msgid "This version of %s is already installed"
+-msgstr "A(z) %s alkalmazás, %s ág már telepítve van"
++msgstr "A(z) %s ezen verziója már telepítve van"
+ 
+ #: common/flatpak-dir.c:4577
+ msgid "Can't change remote during bundle install"
+-msgstr ""
++msgstr "Nem lehet megváltoztatni a távolit csomagtelepítés közben"
+ 
+ #: common/flatpak-dir.c:5013
+ #, c-format
+@@ -1686,9 +1660,9 @@ msgid "Nothing matches %s"
+ msgstr "Semmi sem egyezik: %s"
+ 
+ #: common/flatpak-dir.c:6110
+-#, fuzzy, c-format
++#, c-format
+ msgid "Can't find %s%s%s%s%s in remote %s"
+-msgstr "A(z) %s nem található a(z) %s távolin"
++msgstr "A(z) %s%s%s%s%s nem található a(z) %s távoliban"
+ 
+ #: common/flatpak-dir.c:6227
+ #, c-format
+@@ -1696,9 +1670,9 @@ msgid "%s %s not installed"
+ msgstr "A(z) %s %s nincs telepítve"
+ 
+ #: common/flatpak-dir.c:6300
+-#, fuzzy, c-format
++#, c-format
+ msgid "Could not find installation %s"
+-msgstr "Munkavégzés a felhasználói telepítéseken"
++msgstr "Nem található a telepítési %s"
+ 
+ #: common/flatpak-dir.c:6798
+ #, c-format
+@@ -1715,18 +1689,18 @@ msgid "Remote title not set"
+ msgstr "A távoli cím nincs beállítva"
+ 
+ #: common/flatpak-dir.c:7277
+-#, fuzzy
+ msgid "Remote default-branch not set"
+-msgstr "A távoli cím nincs beállítva"
++msgstr "A távoli alapértelmezett ág nincs beállítva"
+ 
+ #: common/flatpak-dir.c:7420
+ msgid "No flatpak cache in remote summary"
+-msgstr ""
++msgstr "Nincs flatpak gyorsítótár a távoli összegzésben"
+ 
+ #: common/flatpak-dir.c:7429
+ #, c-format
+ msgid "No entry for %s in remote summary flatpak cache "
+ msgstr ""
++"Nincs bejegyzés a(z) %s esetén a távoli összegzés flatpak gyorsítótárban "
+ 
+ #: common/flatpak-run.c:241
+ #, c-format
+@@ -1754,9 +1728,9 @@ msgid "Unknown device type %s, valid types are: %s"
+ msgstr "Ismeretlen %s eszköztípus, az érvényes típusok: %s"
+ 
+ #: common/flatpak-run.c:384
+-#, fuzzy, c-format
++#, c-format
+ msgid "Unknown feature type %s, valid types are: %s"
+-msgstr "Ismeretlen %s megosztástípus, az érvényes típusok: %s"
++msgstr "Ismeretlen %s jellemzőtípus, az érvényes típusok: %s"
+ 
+ #: common/flatpak-run.c:757
+ #, c-format
+@@ -1810,16 +1784,15 @@ msgstr "Ne tegye elérhetővé az eszközt az alkalmazásnak"
+ 
+ #: common/flatpak-run.c:1169
+ msgid "Allow feature"
+-msgstr ""
++msgstr "Jellemző engedélyezése"
+ 
+ #: common/flatpak-run.c:1169 common/flatpak-run.c:1170
+ msgid "FEATURE"
+-msgstr ""
++msgstr "JELLEMZŐ"
+ 
+ #: common/flatpak-run.c:1170
+-#, fuzzy
+ msgid "Don't allow feature"
+-msgstr "Ne telepítse a kapcsolódó hivatkozásokat"
++msgstr "Ne engedélyezze a jellemzőt"
+ 
+ #: common/flatpak-run.c:1171
+ msgid "Expose filesystem to app (:ro for read-only)"
+@@ -1870,15 +1843,15 @@ msgstr "A névhez való beszéd lehetővé tétele az alkalmazásnak a rendszerb
+ 
+ #: common/flatpak-run.c:1178
+ msgid "Add generic policy option"
+-msgstr ""
++msgstr "Általános irányelv-lehetőség hozzáadása"
+ 
+ #: common/flatpak-run.c:1178 common/flatpak-run.c:1179
+ msgid "SUBSYSTEM.KEY=VALUE"
+-msgstr ""
++msgstr "ALRENDSZER.KULCS=ÉRTÉK"
+ 
+ #: common/flatpak-run.c:1179
+ msgid "Remove generic policy option"
+-msgstr ""
++msgstr "Általános irányelv-lehetőség eltávolítása"
+ 
+ #: common/flatpak-run.c:1180
+ msgid "Persist home directory"
+@@ -1906,23 +1879,23 @@ msgid "Failed to write to temporary file"
+ msgstr "Nem sikerült írni az átmeneti fájlba"
+ 
+ #: common/flatpak-run.c:3240
+-#, fuzzy, c-format
++#, c-format
+ msgid "Failed to open flatpak-info temp file: %s"
+-msgstr "Nem sikerült megnyitni az átmeneti fájlt"
++msgstr "Nem sikerült megnyitni a flatpak-információs átmeneti fájlt: %s"
+ 
+ #: common/flatpak-run.c:3284
+-#, fuzzy, c-format
++#, c-format
+ msgid "Failed to open temp file: %s"
+-msgstr "Nem sikerült megnyitni az átmeneti fájlt"
++msgstr "Nem sikerült megnyitni az átmeneti fájlt: %s"
+ 
+ #: common/flatpak-run.c:3568
+ msgid "Unable to create sync pipe"
+ msgstr "Nem hozható létre szinkronizálási cső"
+ 
+ #: common/flatpak-run.c:3593
+-#, fuzzy, c-format
++#, c-format
+ msgid "Failed to open app info file: %s"
+-msgstr "Nem sikerült megnyitni az átmeneti fájlt"
++msgstr "Nem sikerült megnyitni az alkalmazás-információs fájlt: %s"
+ 
+ #: common/flatpak-run.c:3623
+ msgid "Failed to sync with dbus proxy"
+@@ -1930,74 +1903,96 @@ msgstr "Nem sikerült szinkronizálni a dbus proxyval"
+ 
+ #: common/flatpak-utils.c:2522
+ msgid "No extra data sources"
+-msgstr ""
+-
+-#~ msgid "Data not found"
+-#~ msgstr "Az adatok nem találhatók"
+-
+-#~ msgid "Data not found for ref %s"
+-#~ msgstr "Az adatok nem találhatók a(z) %s hivatkozáshoz"
+-
+-#~ msgid "Install from local bundle file"
+-#~ msgstr "Telepítés helyi csomagfájlból"
+-
+-#, fuzzy
+-#~ msgid "Load options from file or uri"
+-#~ msgstr "Beállítások betöltése fájlból"
+-
+-#~ msgid "Install an application or runtime from a remote"
+-#~ msgstr "Alkalmazás vagy futtatókörnyezet telepítése egy távoliból"
+-
+-#, fuzzy
+-#~ msgid "Invalid ref format"
+-#~ msgstr "Érvénytelen %s env formátum"
+-
+-#, fuzzy
+-#~ msgid "Invalid ref, no digest"
+-#~ msgstr "Érvénytelen %s env formátum"
+-
+-#, fuzzy
+-#~ msgid "No manfest found for arch %s, os %s"
+-#~ msgstr "Az adatok nem találhatók a(z) %s hivatkozáshoz"
+-
+-#, fuzzy
+-#~ msgid "Remote extra metadata not available; server has no summary file"
+-#~ msgstr "A távoli cím nem érhető el, a kiszolgálónak nincs összegzőfájlja"
+-
+-#~ msgid "Data not available; server has no summary file"
+-#~ msgstr "Az adatok nem érhetők el, a kiszolgálónak nincs összegzőfájlja"
+-
+-#~ msgid "This version of ostree is to old to support OCI exports"
+-#~ msgstr "Az ostree ezen verziója túl régi az OCI exportok támogatásához"
+-
+-#~ msgid "This version of flatpak is not compiled with libarchive support"
+-#~ msgstr "A flatpak ezen verzióját nem libarchive támogatással fordították"
+-
+-#~ msgid "Installing related: %s\n"
+-#~ msgstr "Kapcsolódó telepítése: %s\n"
+-
+-#~ msgid "REPOSITORY and NAME must be specified"
+-#~ msgstr "A TÁROLÓ és NÉV megadása kötelező"
+-
+-#~ msgid "Uninstalling related: %s\n"
+-#~ msgstr "Kapcsolódó eltávolítása: %s\n"
+-
+-#~ msgid "Warning: Failed to uninstall related ref: %s\n"
+-#~ msgstr ""
+-#~ "Figyelmeztetés: a kapcsolódó hivatkozás eltávolítása sikertelen: %s\n"
+-
+-#~ msgid "Updating application %s, branch %s\n"
+-#~ msgstr "A(z) %s alkalmazás, %s ág frissítése\n"
+-
+-#~ msgid "Updating runtime %s, branch %s\n"
+-#~ msgstr "A(z) %s futtatókörnyezet, %s ág frissítése\n"
+-
+-#~ msgid "While pulling %s from remote %s, metadata: "
+-#~ msgstr "A(z) %s lekérése közben a(z) %s távoliról, metaadatok: "
+-
+-#~ msgid "While pulling %s from remote %s, subpath %s: "
+-#~ msgstr "A(z) %s lekérése közben a(z) %s távoliról, %s alútvonal: "
+-
+-#~ msgid "LOCATION ID [BRANCH] - Create a repository from a build directory"
+-#~ msgstr ""
+-#~ "HELY AZONOSÍTÓ [ÁG] - Tároló létrehozása egy összeállítási könyvtárból"
++msgstr "Nincsenek további adatforrások"
++
++#. SECURITY:
++#. - Normal users do not need authentication to install signed applications
++#. from signed repositories, as this cannot exploit a system.
++#. - Paranoid users (or parents!) can change this to 'auth_admin' or
++#. 'auth_admin_keep'.
++#: system-helper/org.freedesktop.Flatpak.policy.in:23
++#| msgid "List installed applications"
++msgid "Install signed application"
++msgstr "Aláírt alkalmazás telepítése"
++
++#: system-helper/org.freedesktop.Flatpak.policy.in:24
++#: system-helper/org.freedesktop.Flatpak.policy.in:41
++#: system-helper/org.freedesktop.Flatpak.policy.in:88
++msgid "Authentication is required to install software"
++msgstr "Hitelesítés szükséges a szoftver telepítéséhez"
++
++#. SECURITY:
++#. - Normal users do not need authentication to install signed applications
++#. from signed repositories, as this cannot exploit a system.
++#. - Paranoid users (or parents!) can change this to 'auth_admin' or
++#. 'auth_admin_keep'.
++#: system-helper/org.freedesktop.Flatpak.policy.in:40
++#| msgid "List installed runtimes"
++msgid "Install signed runtime"
++msgstr "Aláírt futtatókörnyezet telepítése"
++
++#. SECURITY:
++#. - Normal users do not require admin authentication to update an
++#. app as the commit will be signed, and the action is required
++#. to update the system when unattended.
++#. - Changing this to anything other than 'yes' will break unattended
++#. updates.
++#: system-helper/org.freedesktop.Flatpak.policy.in:58
++#| msgid "List installed applications"
++msgid "Update signed application"
++msgstr "Aláírt alkalmazás frissítése"
++
++#: system-helper/org.freedesktop.Flatpak.policy.in:59
++#: system-helper/org.freedesktop.Flatpak.policy.in:77
++#: system-helper/org.freedesktop.Flatpak.policy.in:139
++msgid "Authentication is required to update software"
++msgstr "Hitelesítés szükséges a szoftver frissítéséhez"
++
++#. SECURITY:
++#. - Normal users do not require admin authentication to update a
++#. runtime as the commit will be signed, and the action is required
++#. to update the system when unattended.
++#. - Changing this to anything other than 'yes' will break unattended
++#. updates.
++#: system-helper/org.freedesktop.Flatpak.policy.in:76
++#| msgid "List installed runtimes"
++msgid "Update signed runtime"
++msgstr "Aláírt futtatókörnyezet frissítése"
++
++#: system-helper/org.freedesktop.Flatpak.policy.in:87
++msgid "Install bundle"
++msgstr "Csomag telepítése"
++
++#: system-helper/org.freedesktop.Flatpak.policy.in:98
++#| msgid "List installed runtimes"
++msgid "Uninstall runtime"
++msgstr "Futtatókörnyezet eltávolítása"
++
++#: system-helper/org.freedesktop.Flatpak.policy.in:99
++#: system-helper/org.freedesktop.Flatpak.policy.in:110
++msgid "Authentication is required to uninstall software"
++msgstr "Hitelesítés szükséges a szoftver eltávolításához"
++
++#: system-helper/org.freedesktop.Flatpak.policy.in:109
++msgid "Uninstall app"
++msgstr "Alkalmazás eltávolítása"
++
++#: system-helper/org.freedesktop.Flatpak.policy.in:120
++#| msgid "Delete a configured remote"
++msgid "Configure Remote"
++msgstr "Távoli beállítása"
++
++#: system-helper/org.freedesktop.Flatpak.policy.in:121
++msgid "Authentication is required to configure software repositories"
++msgstr "Hitelesítés szükséges a szoftvertárolók beállításához"
++
++#. SECURITY:
++#. - Normal users do not require admin authentication to update
++#. appstream data as it will be signed, and the action is required
++#. to update the system when unattended.
++#. - Changing this to anything other than 'yes' will break unattended
++#. updates.
++#: system-helper/org.freedesktop.Flatpak.policy.in:138
++#| msgid "Update appstream for remote"
++msgid "Update appstream"
++msgstr "AppStream frissítése"
diff -Nru flatpak-0.8.5/debian/patches/flatpak-dir-Check-for-variant-containing-string-correctly.patch flatpak-0.8.5/debian/patches/flatpak-dir-Check-for-variant-containing-string-correctly.patch
--- flatpak-0.8.5/debian/patches/flatpak-dir-Check-for-variant-containing-string-correctly.patch	1970-01-01 01:00:00.000000000 +0100
+++ flatpak-0.8.5/debian/patches/flatpak-dir-Check-for-variant-containing-string-correctly.patch	2017-06-03 12:21:38.000000000 +0100
@@ -0,0 +1,27 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Sat, 3 Jun 2017 11:59:44 +0100
+Subject: flatpak-dir: Check for variant containing string correctly
+
+g_variant_get_type_string() is like g_dbus_message_get_signature(),
+not like G_VALUE_HOLDS_STRING(). Use g_variant_is_of_type() to get
+the equivalent of G_VALUE_HOLDS_STRING(). This was correct on master,
+but went wrong during backporting to 0.8.x.
+
+Signed-off-by: Simon McVittie <smcv@debian.org>
+---
+ common/flatpak-dir.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c
+index 1e3912c..697d000 100644
+--- a/common/flatpak-dir.c
++++ b/common/flatpak-dir.c
+@@ -7350,7 +7350,7 @@ flatpak_dir_update_remote_configuration (FlatpakDir   *self,
+               g_ptr_array_add (updated_params, g_steal_pointer (&gpg_data_checksum));
+             }
+           else if (g_strv_contains (supported_params, key) &&
+-                   g_variant_get_type_string (value_var))
++                   g_variant_is_of_type (value_var, G_VARIANT_TYPE_STRING))
+             {
+               const char *value = g_variant_get_string(value_var, NULL);
+               if (value != NULL && *value != 0)
diff -Nru flatpak-0.8.5/debian/patches/series flatpak-0.8.5/debian/patches/series
--- flatpak-0.8.5/debian/patches/series	2017-04-24 12:59:09.000000000 +0100
+++ flatpak-0.8.5/debian/patches/series	2017-06-03 12:21:38.000000000 +0100
@@ -1 +1,14 @@
+0.8.6/Updated-Hungarian-translation.patch
+0.8.6/Unset-TMPDIR-in-the-sandbox.patch
+0.8.6/run-Handle-the-case-where-tmp-on-the-host-is-a-symlink.patch
+0.8.6/Expose-host-etc-hosts-and-etc-host.conf.patch
+0.8.6/Add-a-marker-to-rewritten-desktop-files.patch
+0.8.6/install-Limit-the-exported-file-to-a-whitelist.patch
+0.8.6/run-Fix-race-condition-in-app-identification.patch
+0.8.6/run-Handle-non-default-WAYLAND_DISPLAY.patch
+0.8.6/dbus-portal-Fix-return-value-type-of-filtered-NameHasOwne.patch
+0.8.6/Minimal-backport-of-rewrite-url-and-gpg-keys-remote-metad.patch
+0.8.6/run-Allow-regular-files-for-filesystem-xdg-config-path.patch
+0.8.6/run-Allow-filesystem-xdg-subdir-ro.patch
+flatpak-dir-Check-for-variant-containing-string-correctly.patch
 Improve-and-simplify-profile-snippet.patch

Reply to: