Import flatpak_0.10.4-1.debian.tar.xz
authorSimon McVittie <smcv@debian.org>
Wed, 14 Feb 2018 17:44:47 +0000 (17:44 +0000)
committerSimon McVittie <smcv@debian.org>
Wed, 14 Feb 2018 17:44:47 +0000 (17:44 +0000)
[dgit import tarball flatpak 0.10.4-1 flatpak_0.10.4-1.debian.tar.xz]

33 files changed:
.gitignore [new file with mode: 0644]
autogen.sh [new file with mode: 0755]
changelog [new file with mode: 0644]
compat [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
flatpak-tests.install [new file with mode: 0644]
flatpak.doc-base [new file with mode: 0644]
flatpak.examples [new file with mode: 0644]
flatpak.install [new file with mode: 0755]
flatpak.lintian-overrides [new file with mode: 0644]
flatpak.postinst [new file with mode: 0755]
flatpak.postrm [new file with mode: 0755]
gbp.conf [new file with mode: 0644]
gir1.2-flatpak-1.0.install [new file with mode: 0644]
libflatpak-dev.install [new file with mode: 0644]
libflatpak-doc.doc-base [new file with mode: 0644]
libflatpak-doc.install [new file with mode: 0644]
libflatpak-doc.links [new file with mode: 0644]
libflatpak-doc.maintscript [new file with mode: 0644]
libflatpak0.install [new file with mode: 0644]
libflatpak0.symbols [new file with mode: 0644]
org.freedesktop.Flatpak.pkla [new file with mode: 0644]
patches/Only-require-FUSE-if-we-re-still-building-the-document-po.patch [new file with mode: 0644]
patches/debian/Use-Python-3-for-test-web-server.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
test.sh [new file with mode: 0755]
tests/build [new file with mode: 0755]
tests/control [new file with mode: 0644]
tests/gnome-desktop-testing [new file with mode: 0755]
watch [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..9291873
--- /dev/null
@@ -0,0 +1,8 @@
+/*.debhelper
+/*.substvars
+/flatpak-tests/
+/flatpak/
+/gir1.2-flatpak-1.0/
+/libflatpak-dev/
+/libflatpak-doc/
+/libflatpak0/
diff --git a/autogen.sh b/autogen.sh
new file mode 100755 (executable)
index 0000000..38ef0ff
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+gtkdocize --copy
+autoreconf -fi
diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..7ff6f38
--- /dev/null
+++ b/changelog
@@ -0,0 +1,1135 @@
+flatpak (0.10.4-1) unstable; urgency=medium
+
+  * New upstream release
+  * Don't install documents portal or permission store. Depend on
+    xdg-desktop-portal (>= 0.10) instead: they have moved there.
+  * d/p/Only-require-FUSE-if-we-re-still-building-the-document-po.patch:
+    Don't depend on FUSE at build-time
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 14 Feb 2018 17:44:47 +0000
+
+flatpak (0.10.3-1) unstable; urgency=medium
+
+  * New upstream bugfix release
+    - Fixes a D-Bus filtering bypass in flatpak-dbus-proxy
+      (Closes: #888842)
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 30 Jan 2018 14:38:24 +0000
+
+flatpak (0.10.2.1-2) unstable; urgency=medium
+
+  * Move Vcs-* to salsa.debian.org
+  * Standards-Version: 4.1.3 (no changes required)
+  * d/control, d/tests/control,
+    d/p/debian/Use-Python-3-for-test-web-server.patch:
+    Use Python 3 for tests
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 17 Jan 2018 20:55:34 +0000
+
+flatpak (0.10.2.1-1) unstable; urgency=medium
+
+  * New upstream release
+
+ -- Simon McVittie <smcv@debian.org>  Thu, 21 Dec 2017 14:00:52 +0000
+
+flatpak (0.10.2-1) unstable; urgency=medium
+
+  * New upstream release
+    - d/control: Be specific about the appstream-glib dependency,
+      which is newer than oldstable
+    - d/control: Update build-dependency on ostree to 2017.14
+  * Standards-Version: 4.1.2 (no changes required)
+
+ -- Simon McVittie <smcv@debian.org>  Fri, 15 Dec 2017 15:26:30 +0000
+
+flatpak (0.10.1-1) unstable; urgency=medium
+
+  * New upstream release
+    - d/copyright: Update
+    - d/control: Add build-dependency on appstream-glib
+  * d/autogen.sh: Run gtkdocize --copy. Plain gtkdocize replaces
+    gtk-doc.make with a symlink, which dh_autoreconf_clean won't remove,
+    breaking the ability to build twice in a row from the same directory.
+    (See #881915)
+
+ -- Simon McVittie <smcv@debian.org>  Mon, 27 Nov 2017 09:21:56 +0000
+
+flatpak (0.10.0-2) unstable; urgency=medium
+
+  * Version the dh-exec build-dependency to (>= 0.23~).
+    The version in oldstable doesn't support build profiles. Strictly
+    speaking 0.15 might be enough, but I'm not going to test with anything
+    older than oldstable-backports.
+  * d/tests/gnome-desktop-testing: Clear proxy-related environment
+    variables, as was previously done for ostree. These are set on
+    Ubuntu's infrastructure to allow accessing the Internet (which we
+    don't need), at the cost of breaking access to 127.0.0.1 (which we
+    do need) for anything that doesn't respect $no_proxy (in
+    particular libostree). (Closes: #880043)
+  * d/control: Set Rules-Requires-Root to no
+    - d/control: Build-depend on gobject-introspection 1.54.1-2 for a
+      fixed dh_girepository to make this work (#880095)
+
+ -- Simon McVittie <smcv@debian.org>  Sun, 05 Nov 2017 14:06:00 +0000
+
+flatpak (0.10.0-1) unstable; urgency=medium
+
+  * d/watch: Track stable-branches (x.y.z where y is even), and fix to
+    cope with multi-digit minor versions
+  * New upstream stable release
+    - Update symbols file
+  * Disable gtk-doc if we are not going to build libflatpak-doc,
+    in particular for architecture-specific builds. Note that it remains
+    in Build-Depends (not Build-Depends-Indep) because it is also needed
+    for gtkdocize during dh_autoreconf.
+  * Do not force --disable-silent-rules, debhelper does this now
+  * Install gtk-doc documentation to the standard /usr/share/gtk-doc,
+    with a symbolic link in /usr/share/doc, instead of the other way
+    round. The gtk-doc documentation is functionally significant (it
+    affects cross-reference generation during build of other packages)
+    so according to Policy ยง12.3 it is not appropriate for
+    /usr/share/doc.
+    - Install dpkg-maintscript-helper fragments for this migration
+  * Disable documentation generation under nodoc DEB_BUILD_OPTIONS
+  * Disable libflatpak-doc under nodoc build profile
+  * Don't run build-time tests if building only Arch: all packages
+
+ -- Simon McVittie <smcv@debian.org>  Thu, 26 Oct 2017 12:35:52 +0100
+
+flatpak (0.9.99-1) unstable; urgency=medium
+
+  * New upstream release
+    - Update symbols file for new ABI
+    - Increase libostree dependency to 2017.12
+  * d/tests/gnome-desktop-testing: Treat debci as a test-specific user
+  * Ensure that /sbin/ldconfig is in tests' PATH
+  * Standards-Version: 4.1.1 (no changes required)
+
+ -- Simon McVittie <smcv@debian.org>  Mon, 09 Oct 2017 14:17:06 +0100
+
+flatpak (0.9.98.2-1) unstable; urgency=medium
+
+  * New upstream release
+    - Drop patch, applied upstream
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 27 Sep 2017 11:51:44 +0100
+
+flatpak (0.9.98-1) unstable; urgency=medium
+
+  * New upstream release
+    - Increase libostree dependency to 2017.11
+  * Add a patch to skip build-time tests if a simple bwrap invocation
+    cannot create all the new namespaces that Flatpak would
+    (Closes: #876743)
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 26 Sep 2017 09:30:48 +0100
+
+flatpak (0.9.12-2) unstable; urgency=medium
+
+  * Merge experimental branch to unstable
+    - src:flatpak no longer has a bundled copy of flatpak-builder, which
+      is now produced by the new src:flatpak-builder
+  * Release to unstable
+
+ -- Simon McVittie <smcv@debian.org>  Fri, 22 Sep 2017 19:06:01 +0100
+
+flatpak (0.9.12-1) experimental; urgency=medium
+
+  * New upstream release
+
+ -- Simon McVittie <smcv@debian.org>  Thu, 14 Sep 2017 11:59:58 +0100
+
+flatpak (0.9.12~builder0.9.11-1) unstable; urgency=medium
+
+  * New upstream release
+  * d/watch: Append ~builderFIXME to the output filenames.
+    They will still need renaming manually to insert the right
+    flatpak-builder version before importing.
+  * d/gbp.conf: Make sure we import the builder tarball on this branch
+
+ -- Simon McVittie <smcv@debian.org>  Thu, 14 Sep 2017 12:06:02 +0100
+
+flatpak (0.9.11-1) experimental; urgency=medium
+
+  * New upstream release
+  * Standards-Version: 4.1.0 (no changes required)
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 13 Sep 2017 21:04:20 +0100
+
+flatpak (0.9.11~builder0.9.11-1) unstable; urgency=medium
+
+  * Switch git branch for upstream imports to upstream/with-builder
+  * New upstream releases
+    - Drop patch to flatpak-builder
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 13 Sep 2017 22:02:55 +0100
+
+flatpak (0.9.10-1) experimental; urgency=medium
+
+  * New upstream release, fixing a regression in the D-Bus proxy
+  * d/upstream/signing-key.asc: Remove; upstream no longer signs
+    released tarballs (and hasn't for a while)
+
+ -- Simon McVittie <smcv@debian.org>  Mon, 04 Sep 2017 10:30:31 +0100
+
+flatpak (0.9.10~builder0.9.9-1) unstable; urgency=medium
+
+  * New upstream release
+    - Drop patches, applied upstream
+    - Update symbols file
+  * Temporarily re-bundle flatpak-builder (which was separated out
+    upstream) while waiting for the new flatpak-builder source package
+    to get through the NEW queue
+    - Run most build steps twice
+    - Add a horrible script to PATH to build against the
+      just-built flatpak
+    - Add patch from upstream to fix FTBFS on non-x86 non-ARM
+      architectures
+    - debian/gbp.conf: Don't merge upstream tags while we bundle flatpak
+      and flatpak-builder
+    - d/copyright: Clarify GPL-2+ status of one source file in
+      flatpak-builder, which means the binary is effectively GPL-2+
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 12 Sep 2017 10:05:10 +0100
+
+flatpak (0.9.9-1) experimental; urgency=medium
+
+  * New upstream release, without flatpak-builder included
+    - Drop patches, applied upstream
+    - Drop all flatpak-builder packaging
+    - Update symbols file
+
+ -- Simon McVittie <smcv@debian.org>  Fri, 01 Sep 2017 17:23:35 +0100
+
+flatpak (0.9.8-2) unstable; urgency=medium
+
+  * Switch git branch for unstable
+  * d/upstream/signing-key.asc: Remove; upstream no longer signs
+    released tarballs (and hasn't for a while)
+  * Standards-Version: 4.1.0 (no changes required)
+  * Release to unstable
+
+ -- Simon McVittie <smcv@debian.org>  Mon, 11 Sep 2017 16:12:27 +0100
+
+flatpak (0.9.8-1) experimental; urgency=medium
+
+  * New upstream release
+    - d/control: Bump libostree dependency
+    - Do not enable experimental P2P feature for now, it needs
+      experimental libostree APIs enabled first
+    - Drop patches, applied upstream
+    - Update symbols file
+  * Add patch from upstream to fix a regression that broke --devel
+  * Add patch already merged upstream to improve test diagnostics
+    (see #870312)
+  * Move flatpak-manifest(5) from flatpak to flatpak-builder.
+    Manifest files are not part of core Flatpak, and are only used by
+    flatpak-builder.
+  * Install flatpak-bisect as an example in flatpak, not as a public
+    entry point in flatpak-builder. It will not be in flatpak-builder
+    after the projects are separated upstream, and does not seem
+    important enough to justify a python3 dependency in flatpak or a
+    separate binary package.
+    - Do not use dh-python
+  * Use dh_missing instead of deprecated dh_install --fail-missing
+  * Merge packaging from unstable
+    - d/rules, d/autogen.sh: Run gtkdocize as well as autoreconf
+      (similar to upstream's autogen.sh but much simpler), replacing
+      gtk-doc.make at build time with the one in Debian's gtk-doc-tools
+    - Standards-Version: 4.0.1 (no changes required)
+  * Add patches to improve test coverage by not skipping most tests when
+    running on tmpfs
+
+ -- Simon McVittie <smcv@debian.org>  Thu, 31 Aug 2017 15:26:32 +0100
+
+flatpak (0.8.7-5) unstable; urgency=medium
+
+  * d/p/tests-Isolate-tests-from-real-home-directory-more-thoroug.patch:
+    Mark as upstreamed for 0.9.8, and move to d/p/0.9.8/ directory
+  * d/p/Improve-test-diagnostics.patch: Add patch to improve test
+    diagnostics (see #870312)
+  * Standards-Version: 4.0.1 (no changes required)
+  * d/p/testlibrary-Skip-tests-that-need-extended-attributes-if-n.patch:
+    Add patch to skip tests that need extended attributes if /var/tmp
+    does not support them (Closes: #870312)
+
+ -- Simon McVittie <smcv@debian.org>  Thu, 31 Aug 2017 11:33:05 +0100
+
+flatpak (0.8.7-4) unstable; urgency=medium
+
+  * d/rules, d/autogen.sh: Run gtkdocize as well as autoreconf
+    (similar to upstream's autogen.sh but much simpler), replacing
+    gtk-doc.make at build time with the one in Debian's gtk-doc-tools
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 18 Jul 2017 23:12:52 +0100
+
+flatpak (0.8.7-3) unstable; urgency=medium
+
+  * d/patches/: Add patch backported from 0.9.4, and new patch sent
+    upstream to PR #894, to avoid using the real home directory in tests
+  * d/control: Add libglib2.0-doc, libostree-doc to Build-Depends-Indep
+    so that libflatpak-doc can cross-reference those documentation
+    packages
+  * debian/test.sh: Do not ignore build-time tests' exit status
+  * d/rules: Do not run build-time tests with DEB_BUILD_OPTIONS=nocheck
+  * d/control: Do not build-depend on gnome-desktop-testing. It is only
+    used for the installed-tests.
+  * d/control: Annotate test-only build-dependencies with <!nocheck>
+  * Standards-Version: 4.0.0
+    - Use https URL for format of debian/copyright
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 04 Jul 2017 11:59:37 +0100
+
+flatpak (0.8.7-2) unstable; urgency=medium
+
+  * Move upstreamed patch to debian/patches/0.9.1/ to make it obvious
+    when it can be dropped
+  * d/p/0.8.8/: add patches backported from upstream 0.9.4, 0.9.6,
+    together with a new patch to the tests, to restore compatibility
+    with libostree 2017.7 (all applied upstream already)
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 28 Jun 2017 11:55:18 +0100
+
+flatpak (0.8.7-1) unstable; urgency=high
+
+  * New upstream stable release
+    - Security: prevent deploying files with inappropriate permissions
+      (world-writable, setuid, etc.) (Closes: #865413)
+    - Security: make ~/.local/share/flatpak private to user to defend
+      against app vendors that might have released files with
+      inappropriate permissions in the past
+    - If an error occurs during pull, do not double-set an error,
+      which is considered to be invalid
+    - Increase some arbitrary timeouts in a test to make it more
+      reliable
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 21 Jun 2017 09:50:09 +0100
+
+flatpak (0.8.6-1) unstable; urgency=medium
+
+  * New upstream release
+    - 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
+
+ -- Simon McVittie <smcv@debian.org>  Mon, 05 Jun 2017 21:30:06 +0100
+
+flatpak (0.8.5-2) unstable; urgency=medium
+
+  * flatpak Recommends xdg-desktop-portal-gtk | xdg-desktop-portal-backend,
+    so that sandboxed apps can communicate with the outside world
+    (Closes: #861068)
+
+ -- Simon McVittie <smcv@debian.org>  Mon, 24 Apr 2017 12:59:09 +0100
+
+flatpak (0.9.7-1) experimental; urgency=medium
+
+  * New upstream release
+  * d/control: Add libglib2.0-doc, libostree-doc to Build-Depends-Indep
+    so that libflatpak-doc can cross-reference those documentation
+    packages
+  * debian/test.sh: Do not ignore build-time tests' exit status
+  * d/rules: Do not run build-time tests with DEB_BUILD_OPTIONS=nocheck
+  * d/control: Do not build-depend on gnome-desktop-testing. It is only
+    used for the installed-tests.
+  * d/control: Annotate test-only build-dependencies with <!nocheck>
+  * d/patches/: Add a patch to isolate tests from $HOME more thoroughly
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 04 Jul 2017 11:54:36 +0100
+
+flatpak (0.9.6-1) experimental; urgency=high
+
+  * New upstream release
+    - Security: prevent deploying files with inappropriate permissions
+      (world-writable, setuid, etc.) (Closes: #865413)
+    - Security: make ~/.local/share/flatpak private to user to defend
+      against app vendors that might have released files with
+      inappropriate permissions in the past
+    - Bump libostree build-dependency to 2017.7
+    - d/p/testlibrary-Call-g_assert_no_error-first.patch:
+      Drop, applied upstream
+  * Standards-Version: 4.0.0
+    - Use https URL for format of debian/copyright
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 21 Jun 2017 15:09:59 +0100
+
+flatpak (0.9.5-1) experimental; urgency=medium
+
+  * New upstream release
+  * d/p/installed-tests-Install-test-keyring2-to-the-right-place.patch:
+    Drop patch, superseded by an equivalent upstream change
+  * d/p/testlibrary-Call-g_assert_no_error-first.patch:
+    Mark as applied upstream
+
+ -- Simon McVittie <smcv@debian.org>  Sun, 18 Jun 2017 21:22:01 +0100
+
+flatpak (0.9.4-1) experimental; urgency=medium
+
+  * New upstream release
+    - Add new API to symbols file
+    - Build-depend on libxml2-dev
+    - Increase required libostree and bubblewrap versions
+  * d/p/installed-tests-Install-test-keyring2-to-the-right-place.patch:
+    Fix failure to install data for installed-tests
+  * d/p/testlibrary-Call-g_assert_no_error-first.patch:
+    Improve diagnostics on failing tests
+
+ -- Simon McVittie <smcv@debian.org>  Thu, 25 May 2017 09:57:27 +0100
+
+flatpak (0.9.3-1) experimental; urgency=medium
+
+  * New upstream release
+    - Install new man pages
+
+ -- Simon McVittie <smcv@debian.org>  Fri, 28 Apr 2017 18:17:12 +0100
+
+flatpak (0.9.2-1) experimental; urgency=medium
+
+  * New upstream release
+    - Drop all patches, applied upstream
+  * flatpak-builder: Depend on ostree, for rofiles-fuse (Closes: #859884)
+
+ -- Simon McVittie <smcv@debian.org>  Mon, 10 Apr 2017 09:31:59 +0100
+
+flatpak (0.9.1+git20170403.1-2) experimental; urgency=medium
+
+  * Build with large file support, fixing FTBFS on 32-bit
+    architectures when gpgme detects a mismatch
+  * Correct some format strings on 32-bit architectures
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 04 Apr 2017 00:04:39 +0100
+
+flatpak (0.9.1+git20170403.1-1) experimental; urgency=medium
+
+  * New upstream snapshot, to merge the same fixes that are in 0.8.5
+    - Build-depend on libgpgme-dev
+    - Update d/copyright
+    - Don't (build-)depend on ostree-tests any more, ostree trivial-httpd
+      is no longer required for the tests
+    - Install a new man page
+
+ -- Simon McVittie <smcv@debian.org>  Mon, 03 Apr 2017 21:04:25 +0100
+
+flatpak (0.8.5-1) unstable; urgency=medium
+
+  * New upstream bugfix release
+  * Upstream security fixes:
+    - dbus-proxy: Fix a use-after-free (no specific exploit is known)
+      and several memory leaks
+    - system-helper: Correct the check that was meant to prevent
+      unprivileged users from downgrading system-wide-installed apps
+    - Do not allow downgrading apps to validly-signed older versions
+      unless a specific older version is requested, so that a
+      man-in-the-middle cannot cause a downgrade to an older app
+      version with a vulnerability
+  * Other upstream fixes:
+    - Increase GLib build-dependency to 2.44 (in practice this was
+      already required, there is a patch in jessie-backports to
+      relax this)
+    - Collect system extension references from all system directories,
+      not just the first that exists (upstream issue 654)
+    - Stop using ostree trivial-httpd, which is not available in
+      post-stretch ostree (upstream issues 658, 723)
+    - Be build-time compatible with post-stretch ostree (upstream
+      issue 756)
+    - Strip ?query suffix before detecting whether a URI points to a
+      .flatpakref or .flatpakrepo file (upstream issue 659)
+    - Fix a typo in help output
+  * d/tests/control: most tests now require python, for the
+    ostree-trivial-httpd replacement
+
+ -- Simon McVittie <smcv@debian.org>  Mon, 03 Apr 2017 16:35:44 +0100
+
+flatpak (0.9.1-1) experimental; urgency=medium
+
+  * d/gbp.conf, d/watch: switch to development branch for experimental
+  * New upstream development release
+    - Drop patch, applied upstream
+    - d/copyright: Update
+    - Add flatpak-bisect to the flatpak-builder package
+    - Adjust install files for rename of `flatpak remote-list` to
+      `flatpak remotes`
+    - Update symbols
+  * flatpak Recommends xdg-desktop-portal-gtk | xdg-desktop-portal-backend,
+    so that sandboxed apps can communicate with the outside world
+  * Build-depend on ostree-tests and make flatpak-tests depend on it,
+    for ostree trivial-httpd
+
+ -- Simon McVittie <smcv@debian.org>  Thu, 16 Mar 2017 11:50:46 +0000
+
+flatpak (0.8.4-3) unstable; urgency=medium
+
+  * Mark the one remaining patch as applied in 0.9.1
+  * Upload to unstable
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 15 Mar 2017 18:43:51 +0000
+
+flatpak (0.8.4-2) experimental; urgency=medium
+
+  * Explicitly build-depend on automake. Otherwise, the aspcud resolver
+    used in experimental sometimes chooses automake1.11 as the best
+    solution to dh-autoreconf's dependency on automake | automaken,
+    causing FTBFS.
+    - Set the dependency to 1.14.1 since flatpak is known to build
+      successfully with that version in jessie-backports, whereas older
+      versions are not known to work.
+
+ -- Simon McVittie <smcv@debian.org>  Sun, 12 Mar 2017 13:59:18 +0000
+
+flatpak (0.8.4-1) experimental; urgency=medium
+
+  * New upstream bugfix release
+    - Don't add flatpak directories to XDG_DATA_DIRS if already present
+    - Do add flatpak directories to XDG_DATA_DIRS if it already has
+      a non-default value
+    - Improve progress estimates and reporting for UI frontends
+    - Fill in many missing options in man pages
+    - Support extensions that apply to multiple versions, particularly
+      useful for OpenGL drivers
+    - Support extensions that do not depend on any specific runtime,
+      particularly useful for proprietary OpenGL drivers packaged with
+      a static binary helper
+    - Various fixes for error checking and crashes
+    - Make flatpak_get_system_installations() return an array that owns
+      (takes responsibility for freeing) its contents. This is
+      technically an ABI break, but it makes this function consistent
+      with others that have a similar signature, and nothing in Debian
+      uses it yet.
+    - Disable spliced reads in the FUSE file system, which don't appear
+      to work
+    - Make FamilyWild xauth tokens available in the sandbox, not
+      just FamilyLocal
+    - Fix a misleading message on systems without systemd --user:
+      it now disables an optional feature without breaking sandboxing
+  * Add patch simplifying profile.d snippet
+  * Initially upload to experimental since this is relatively large
+    for a stable-branch release
+
+ -- Simon McVittie <smcv@debian.org>  Sat, 11 Mar 2017 13:00:05 +0000
+
+flatpak (0.8.3-1) unstable; urgency=medium
+
+  * New upstream bugfix release
+    - fixes portals' ability to identify confined apps
+      (Closes: #855129)
+    - better support for third-party (proprietary) OpenGL drivers
+    - better handling of errors for extra-data
+    - handle extra-data properly for runtimes (as well as apps)
+    - respect required version for runtimes (as well as apps)
+    - flatpak list: Don't break if some local ref is not deployed
+    - builder: Look for appstream data in /app/share/metadata also
+    - builder: Fix buildsystem=cmake builds
+    - Add progress reporting to extra-data download
+    - Fix uid/gid for directories in document portal
+  * Duplicate the profile.d snippet in /etc/X11/Xsession.d so it
+    applies to X11 sessions, not just login shells. This matches the
+    upstream intention: X11 sessions have traditionally run in a login
+    shell on Red Hat derivatives, but not in Debian derivatives.
+    (Closes: #846338)
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 14 Feb 2017 14:14:45 +0000
+
+flatpak (0.8.2-1) unstable; urgency=medium
+
+  * New upstream bugfix release
+    - drop remaining patch, applied upstream
+    - security fix: prevent writing to per-user-installed fonts
+      and Flatpak extensions (typically locales)
+  * d/control: flatpak-tests Recommends python, which is needed for
+    one test (silencing a lintian warning)
+
+ -- Simon McVittie <smcv@debian.org>  Fri, 27 Jan 2017 21:56:51 +0000
+
+flatpak (0.8.1-1) unstable; urgency=medium
+
+  * New upstream release, very similar to 0.8.0-2
+    - drop all patches
+  * d/p/flatpak-system-helper-remove-dangling-reference-to-EXTERN.patch:
+    do not search /export/share, which seems to have been unintended
+
+ -- Simon McVittie <smcv@debian.org>  Thu, 19 Jan 2017 14:55:24 +0000
+
+flatpak (0.8.0-2) unstable; urgency=medium
+
+  * d/p/Use-seccomp-to-filter-out-TIOCSTI-ioctl.patch:
+    Add patch from upstream to prevent contained apps from using
+    TIOCSTI ioctl. This would let the app inject commands into the
+    terminal from which it was invoked (CVE-2017-5226). This was
+    initially fixed in bubblewrap by calling setsid(), but that
+    breaks the ability to use Ctrl+Z or Ctrl+C on a flatpak-confined
+    process, so it is being made optional; prevent the attack here
+    instead, in a way that doesn't break shells.
+  * d/p/Fix-update-of-standalone-bundle.patch:
+    Add patch from upstream to fix updating an existing app with
+    "flatpak install --bundle foo.flatpak"
+  * d/p/Make-sure-var-tmp-is-not-on-tmpfs.patch:
+    Add patch from upstream to mount ~/.var/APP/cache/tmp at /var/tmp
+    inside the sandbox, so apps can rely on /var/tmp being on disk
+  * d/p/Document-the-DefaultBranch-key.patch,
+    d/p/Document-RuntimeRepo-key.patch:
+    Add patches from upstream to fill in some missing documentation
+  * d/p/testlibrary-ensure-that-contents_array-is-NULL-terminated.patch,
+    d/p/tests-Install-testpython.py-executable.patch,
+    d/p/tests-Move-the-test-repo-to-a-subdirectory-repos-test.patch:
+    Fix some bugs in the tests
+  * debian/tests/: split out builder-python into a separate autopkgtest,
+    it too has more dependencies
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 18 Jan 2017 00:02:19 +0000
+
+flatpak (0.8.0-1) unstable; urgency=medium
+
+  * New upstream stable release
+    - Bump bubblewrap dependencies to 0.1.5 following configure.ac
+    - Bump ostree dependency to 2016.15 following upstream release notes
+      (the minimal dependency is 2016.14, but 2016.15 is recommended)
+    - debian/libflatpak0.symbols: add new ABIs
+    - d/p/pull-Exit-early-on-error-without-aborting-transaction.patch:
+      drop patch, applied upstream
+  * debian/gbp.conf: switch upstream branch to debian/0.8.x to follow
+    the first upstream stable-branch
+  * debian/watch: only follow stable-branches
+  * debian/org.freedesktop.Flatpak.pkla: configure polkit 0.105 to
+    allow sudoers to uninstall apps and runtimes without re-authenticating,
+    following upstream changes to the org.freedesktop.Flatpak.rules used in
+    newer polkit versions
+  * d/p/Update-Polish-translation.patch: update translated strings from
+    upstream git
+  * d/p/flatpak-builder-1-fix-typo.patch: fix a typo in the man page
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 21 Dec 2016 14:13:52 +0000
+
+flatpak (0.6.14-3) unstable; urgency=medium
+
+  * d/tests/*: only run tests on a real or virtual machine, not in a
+    container. bubblewrap is effectively already a container, and
+    nesting containers doesn't work particularly well.
+    Unfortunately this means the tests won't work on ci.debian.net,
+    which uses LXC.
+
+ -- Simon McVittie <smcv@debian.org>  Thu, 01 Dec 2016 12:42:45 +0000
+
+flatpak (0.6.14-2) unstable; urgency=medium
+
+  * d/p/pull-Exit-early-on-error-without-aborting-transaction.patch:
+    Add patch recommended by upstream to fix a GNOME Software crash
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 29 Nov 2016 17:53:34 +0000
+
+flatpak (0.6.14-1) unstable; urgency=medium
+
+  * New upstream release
+    - update ostree build-dependency to 2016.14
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 29 Nov 2016 12:51:43 +0000
+
+flatpak (0.6.13-1) unstable; urgency=medium
+
+  * New upstream release
+    - update symbols file
+    - update ostree build-dependency to 2016.12
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 26 Oct 2016 19:10:48 +0100
+
+flatpak (0.6.12-1) unstable; urgency=medium
+
+  * This release drops source compatibility with Debian jessie. If
+    you are building unofficial backports for older Debian derivatives,
+    please base them on the debian/jessie-backports git branch instead of
+    debian/master from now on.
+
+  * d/control: rely on gtk-update-icon-theme, removing libgtk-3-bin
+    alternative.
+    - d/p/debian/Try-gtk-3.0-version-of-the-icon-cache-utility-first.patch:
+      drop patch, this branch can now rely on having the plain
+      gtk-update-icon-theme executable
+  * Bump debhelper compatibility level to 10
+    - do not explicitly build in parallel, it is now the default
+    - do not explicitly enable autoreconf and systemd sequences, they
+      are now the default
+  * New upstream release
+    - d/libflatpak0.symbols: update
+
+ -- Simon McVittie <smcv@debian.org>  Fri, 07 Oct 2016 22:41:21 +0100
+
+flatpak (0.6.11-1) unstable; urgency=medium
+
+  * New upstream release
+    - install new man pages flatpak-flatpakrepo(5), flatpak-flatpakref(5)
+  * Install Flatpak-1.0.typelib to multiarch path (Closes: #838308)
+  * Make gir1.2-flatpak-1.0 Multi-arch: same
+  * Make libflatpak-dev depend on gir1.2-flatpak-1.0 in accordance
+    with the g-i mini-policy
+  * Relicense debian/ under LGPL, with permission from David King
+  * Register flatpak-docs.html in the Debian doc-base system
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 21 Sep 2016 19:01:32 +0100
+
+flatpak (0.6.10-1) unstable; urgency=medium
+
+  * New upstream release
+    - d/libflatpak0.symbols: update
+    - Build-depend on ostree 2016.10
+    - Bump bubblewrap (build-)dependencies to 0.1.2
+    - Drop all patches except
+      d/p/debian/Try-gtk-3.0-version-of-the-icon-cache-utility-first.patch:
+      all applied upstream
+    - Demote libpam-systemd from Depends to Recommends. It is no longer
+      mandatory to be running systemd --user, since flatpak 0.6.10
+      identifies contained processes via their
+      /proc/$pid/root/.flatpak-info instead of via cgroups
+  * d/copyright: mention the Autoconf permissive license of acinclude.m4
+  * Make libflatpak-dev Multi-Arch: same
+
+ -- Simon McVittie <smcv@debian.org>  Thu, 15 Sep 2016 08:28:19 +0100
+
+flatpak (0.6.9-1) unstable; urgency=medium
+
+  * New upstream release
+    - d/control: libgsystem is no longer required
+    - d/copyright: update for new libglnx
+    - drop most patches, applied upstream
+  * Drop unused build-dependency on docbook-xsl-doc-html.
+    It is documentation about docbook-xsl, so isn't needed at build-time.
+  * Expand build-dependencies to what we would use if no tests are skipped.
+    In practice buildds disallow some of what the tests do, but we shouldn't
+    rely on that.
+  * d/patches: cherry-pick various post-release bug fixes from upstream
+  * Build-depend on attr, and make flatpak-tests depend on it, for better
+    test coverage if /var/tmp supports xattrs
+  * Build-depend on fuse, so we can run fusermount if supported
+  * Make flatpak-tests depend on ostree instead of using d/tests/control
+  * d/p/make-test-runtime-cope-with-Debian-s-Python-2.7-configura.patch,
+    add patch to make more build-time tests pass
+  * d/p/Tell-build-time-tests-which-bwrap-we-are-going-to-use.patch:
+    skip tests that cannot be run because we are in an environment where
+    bwrap fails
+  * d/p/test_install_launch_uninstall-consistently-check-for-GErr.patch:
+    add patch to improve diagnostics on some test failures
+  * d/p/document-portal-cope-with-multiple-events-that-would-caus.patch:
+    in the document portal, don't crash if there is more than one reason
+    to exit
+  * Remove unused lintian overrides
+  * Add lintian override for flatpak-system-helper.service.
+    It is deliberately missing an [Install] section (so enabling it for
+    eager startup is not possible), because it is intended to be
+    started via D-Bus activation.
+  * d/p/Terminate-gpg-agent-after-using-it-for-tests.patch:
+    add patch to terminate gpg-agent processes after use
+  * Terminate any further stray gpg-agent processes when running tests
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 07 Sep 2016 22:42:09 +0100
+
+flatpak (0.6.8-1) unstable; urgency=medium
+
+  * New upstream release
+    - d/copyright: source files are now licensed as LGPL-2.1+
+    - d/flatpak.install: install systemd snippet to configure dbus.service
+      with flatpak in XDG_DATA_DIRS
+    - d/control, d/rules: build-depend on xmlto and enable all documentation
+    - d/flatpak.install: install documentation for the command-line tools,
+      and i18n
+    - d/p/dist/Add-flatpak-metadata.xml-from-upstream-git.patch:
+      Add missing flatpak-metadata.xml from upstream git, which was not
+      included in the released tarball
+  * d/p/unrpm-prevent-shell-injection.patch: Avoid shell injection
+    when building a Flatpak from an RPM
+  * d/p/Wait-for-locks-in-TEST_DATA_DIR-to-be-released-before-del.patch:
+    Drop patch, it does not appear to make testing pass on ci.debian.net
+    as I had hoped
+  * d/tests: mark test-extensions.sh to only be run in virtual machines,
+    in the hope that when ci.debian.net gets a qemu runner, it will
+    work there
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 02 Aug 2016 15:19:41 +0100
+
+flatpak (0.6.7-2) unstable; urgency=medium
+
+  * d/p/libtest-replace-dbus-launch-with-dbus-daemon.patch:
+    Add patch to stop using dbus-launch in the tests
+  * d/p/Wait-for-locks-in-TEST_DATA_DIR-to-be-released-before-del.patch:
+    Add patch to avoid a race condition during testing between the
+    container's "init" process shutting down, and libtest.sh proceeding
+    with cleanup in response to the container's main process (which
+    exits first) shutting down
+
+ -- Simon McVittie <smcv@debian.org>  Thu, 28 Jul 2016 09:12:38 +0100
+
+flatpak (0.6.7-1) unstable; urgency=medium
+
+  * New upstream release
+    - drop all patches except d/p/debian/*, applied upstream
+    - d/libflatpak0.symbols: update for new ABIs
+    - d/control: depend and build-depend on OSTree 2016.6
+    - d/tests/control: flatpak-builder test now needs git
+  * Depend on system bubblewrap (Closes: #824647)
+  * Remove obsolete note about requiring unprivileged user namespaces
+  * d/p/build-run-install-test-data-hook-even-if-using-system-bwr.patch:
+    add patch to fix installed-tests with system bwrap
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 06 Jul 2016 12:45:03 +0100
+
+flatpak (0.6.6-2) unstable; urgency=medium
+
+  * d/flatpak.postrm: delete /var/lib/flatpak/.changed on purge, fixing
+    piuparts error
+  * d/p/test-basic-do-not-fail-in-non-English-locales.patch: fix FTBFS
+    in non-English locales, for instance during reproducible build testing
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 28 Jun 2016 08:33:51 +0100
+
+flatpak (0.6.6-1) unstable; urgency=medium
+
+  * New upstream release
+    - drop patches, applied upstream
+    - d/libflatpak0.symbols: update
+  * d/p/document-portal-don-t-reply-to-GetMountPoint-until-ready.patch:
+    Add patch to make the document portal (and hence FUSE support)
+    optional for "flatpak run"
+  * d/p/tests-don-t-treat-helper-scripts-as-though-they-were-test.patch:
+    Add patch to avoid non-test helper scripts being run as tests
+  * d/p/Downgrade-failure-to-get-document-portal-from-warning-to-.patch:
+    Add patch to avoid test failure when FUSE is unusable
+  * d/p/Run-tests-with-a-private-XDG_RUNTIME_DIR.patch:
+    Add patch to run tests with a private XDG_RUNTIME_DIR, so the
+    document portal under test works correctly even if the user is
+    already running one
+  * d/p/debian/Try-gtk-3.0-version-of-the-icon-cache-utility-first.patch:
+    bring back compatibility with gtk-update-icon-cache-3.0, for backports
+    - d/control: libgtk-3-bin is an alternative to
+      gtk-update-icon-cache again
+
+ -- Simon McVittie <smcv@debian.org>  Sat, 25 Jun 2016 12:03:06 +0100
+
+flatpak (0.6.5-1) unstable; urgency=medium
+
+  * New upstream release
+    - d/p/flatpak-run-don-t-fail-if-there-are-no-system-fonts.patch:
+      drop, applied upstream
+    - update symbols file for new ABI
+  * d/p/Link-libselinux-into-bwrap-if-enabled-with-LDADD-not-LDFL.patch:
+    make sure bwrap links even if the linker is pedantic
+  * d/tests/gnome-desktop-testing: correctly report failures
+  * d/tests/control: depend on ostree, used to export a Flatpak repository
+    for testing
+  * d/control: flatpak-builder Recommends binutils (for strip) and
+    elfutils (for eu-strip), which can be invoked outside the sandbox
+    by manifests that specify {'build-options': {'strip': true}}
+    or {'build-options': {'no-debuginfo': true}}
+  * d/p/sandbox-Make-var-tmp-and-tmp-different-dirs-not-symlinks.patch,
+    d/p/test-run-don-t-use-test_builddir-to-exercise-filesystem.patch:
+    add patches to make the installed-tests test-run.sh and
+    test-run-system.sh pass with --prefix=/usr
+  * Upload to unstable (LP: #1590411)
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 21 Jun 2016 10:22:13 +0100
+
+flatpak (0.6.4-1) experimental; urgency=medium
+
+  * New upstream release
+    - d/p/Correctly-handle-with-privileged-group.patch: drop, no longer
+      necessary
+    - adjust packaging for new name and location of flatpak-bwrap
+    - adjust packaging for new location of installed-tests
+  * Unconditionally recommend gtk-update-icon-cache now that it's in
+    testing
+    - d/p/Try-gtk-3.0-version-of-the-icon-cache-utility-first.patch:
+        drop, no longer necessary
+  * d/control: update Homepage
+  * d/copyright: update Source
+  * tests: depend on attr, for setfattr, to get better test coverage
+    (still skipped if /var/tmp on the testbed does not support xattrs)
+  * d/p/flatpak-run-don-t-fail-if-there-are-no-system-fonts.patch:
+    don't fail uses of flatpak-run or the builder test if the system
+    has no fonts
+  * debian/org.freedesktop.Flatpak.pkla: add an equivalent of the
+    upstream JavaScript polkit rules (used by polkit >= 0.106),
+    for use with polkit 0.105 as shipped in Debian. This allows members
+    of group 'sudo' to install apps and runtimes into the system-wide
+    location, from any remote that was previously added/trusted by a
+    privileged user, without re-authenticating. (Closes: #825766)
+
+ -- Simon McVittie <smcv@debian.org>  Sun, 05 Jun 2016 15:19:00 +0100
+
+flatpak (0.6.2-1) experimental; urgency=medium
+
+  * New upstream release
+    - d/p/Treat-members-of-sudo-group-as-privileged.patch: drop,
+      superseded by new --with-privileged-group option
+    - d/p/Skip-tests-that-make-a-repository-if-var-tmp-lacks-user-x.patch:
+      drop, merged upstream
+  * Use new --with-privileged-group option to make "sudo" group privileged
+    - d/p/Correctly-handle-with-privileged-group.patch: add post-release
+      patch from upstream to make it work
+    - drop hack to make admin group privileged on Ubuntu, they started to
+      phase out that group in 2012
+  * Build-depend on libdw-dev from src:elfutils instead of libdwarf-dev.
+    Both provide dwarf.h, which is all we really need; libdw-dev is
+    the one that is used in various important packages, including systemd.
+    We also require src:elfutils anyway, for libelf-dev. (Closes: #825191)
+  * debian/upstream/signing-key.asc: add
+  * debian/gbp.conf: automatically merge upstream tag into imported source
+
+ -- Simon McVittie <smcv@debian.org>  Tue, 24 May 2016 20:24:48 +0100
+
+flatpak (0.6.1-1) experimental; urgency=medium
+
+  * New upstream release
+    - drop patches to bubblewrap, included in the submodule upstream
+  * d/p/Try-gtk-3.0-version-of-the-icon-cache-utility-first.patch:
+    add missing space between the tool's name and its --quiet argument
+  * d/p/Treat-members-of-sudo-group-as-privileged.patch:
+    use sudo, not wheel, as the group of administrative users
+    - d/rules: alter the polkit policy on Ubuntu derivatives to treat
+      the admin group as equivalent to sudo
+  * d/rules: don't install bwrap setuid on Ubuntu. Ubuntu enables
+    unprivileged user namespaces by default. (Closes: #825090)
+  * d/p/Skip-tests-that-make-a-repository-if-var-tmp-lacks-user-x.patch:
+    skip several tests if we can run bwrap, but cannot write extended
+    attributes in /var/tmp, for example on an Ubuntu live system
+  * Use dh_girepository to get correct ${gir:Depends}
+  * Prefer gtk-update-icon-cache as provider of the binary of the same
+    name, but still accept libgtk-3-bin for now, to be nice to backports
+
+ -- Simon McVittie <smcv@debian.org>  Mon, 23 May 2016 23:06:50 +0100
+
+flatpak (0.6.0-3) experimental; urgency=medium
+
+  * Build-depend on procps, for /bin/kill (used in the tests).
+    This fixes FTBFS in a more up-to-date buildd schroot.
+
+ -- Simon McVittie <smcv@debian.org>  Sun, 22 May 2016 14:19:12 +0100
+
+flatpak (0.6.0-2) experimental; urgency=medium
+
+  * debian/flatpak.postinst: initialize /var/lib/flatpak/repo
+    as requested by upstream
+  * debian/flatpak.postrm: remove /var/lib/flatpak/repo on purge
+  * Use dh-systemd to restart flatpak-system-helper on upgrades
+  * debian/tests/control: flatpak-builder test requires make
+  * Add patches from bubblewrap bug #71 to the embedded copy of bwrap,
+    fixing flatpak-builder on the normal configuration of Debian kernels
+  * Change patch for gtk-update-icon-cache-3.0 to fall back to
+    gtk-update-icon-cache. This means it will still work when the
+    Debian-specific gtk-update-icon-cache-3.0 name is dropped.
+
+ -- Simon McVittie <smcv@debian.org>  Sat, 21 May 2016 22:57:49 +0100
+
+flatpak (0.6.0-1) experimental; urgency=medium
+
+  * Rename package from xdg-app to flatpak, following upstream rename
+  * New upstream release
+    - Remove patches, applied upstream
+    - Add new build-dependency on libpolkit-gobject-1-dev
+  * libflatpak-dev: depend on libflatpak0, not flatpak (Closes: #823328)
+  * debian/copyright: update
+  * Install bwrap (bubblewrap) helper tool setuid by default, so that
+    the package works without further configuration (Closes: #823535)
+    - note that an unreleased snapshot of bwrap is also available as
+      src:bubblewrap; for now this package uses its bundled submodule,
+      until we get a better idea of how closely these packages will
+      need to track each other
+  * Add autopkgtests for as-installed testing
+  * Build-depend on dbus-x11: the tests explicitly use dbus-launch
+
+ -- Simon McVittie <smcv@debian.org>  Wed, 04 May 2016 09:36:05 +0100
+
+xdg-app (0.5.2-1) experimental; urgency=medium
+
+  * New upstream release
+  * debian/patches/install-Only-set-current-for-apps-not-for-runtimes.patch:
+    remove, no longer necessary (and wasn't applied)
+  * debian/gbp.conf: use DEP-14 branch names
+  * Correct ITP bug number in previous changelog entry (was #697477,
+    should have been #813308)
+  * Don't build-depend on fuse. The test that uses fuse appears to fail on
+    buildds, possibly because the kernel module is blacklisted; it should
+    automatically be skipped when fuse isn't installed.
+  * debian/gbp.conf: disable numbered patches, to reduce diff noise when
+    they get applied upstream
+  * d/p/session-helper-connect-the-D-Bus-and-systemd-services.patch:
+    link the D-Bus session service to the systemd user service
+  * Standards-Version: 3.9.8 (no changes needed)
+
+ -- Simon McVittie <smcv@debian.org>  Mon, 25 Apr 2016 09:06:11 +0100
+
+xdg-app (0.5.0-1) experimental; urgency=medium
+
+  * Prepare package for Debian (Closes: #813308)
+  * Set the Utopia Maintenance Team as maintainer, with myself and
+    Matthias Klumpp as uploaders
+  * Add Vcs-Git, Vcs-Browser (in collab-maint git)
+  * Remove unnecessary use of dh-exec
+  * Remove -dbg package, rely on automatic dbgsym packages instead
+  * debian/.gitignore: add
+  * debian/copyright: fill in all copyright holders
+  * Normalize packaging via `wrap-and-sort -abst`
+  * Adjust Section for the packages
+  * Run the tests with VERBOSE=1
+  * Install the new systemd user services
+  * Run dh_install with --fail-missing to catch mistakes
+  * Rename libxdgapp to the correct libxdg-app0 corresponding to
+    libxdg-app.so.0
+  * Rename libxdgapp-dev to libxdg-app-dev for consistency
+  * Stop disabling the test that relies on FUSE; it is now correctly
+    skipped if appropriate
+  * Re-enable gtk-doc and add a libxdg-app-doc package
+  * Add libxdg-app0.symbols
+  * Add missing development dependencies
+  * Set ${libexecdir} to /usr/lib/xdg-app, to avoid the toolchain getting
+    confused by PIE executables in ${libexecdir} and treating them as
+    incorrectly-named shared libraries
+  * xdg-app-builder: reduce non-mandatory build tools to Recommends
+  * xdg-app-builder: do not depend on tar, which is Essential
+  * Fill in better values for Description
+  * Depend on libpam-systemd (i.e. a working systemd-logind),
+    because xdg-app currently relies on systemd to put user processes
+    in cgroups
+  * Run tests once via check-TESTS, but do not run them a second time
+    via gtester, which fails because all test-cases in one test might
+    be skipped
+  * debian/control: document how to enable user namespaces
+  * Only build for Linux: this package is specifically not portable
+
+ -- Simon McVittie <smcv@debian.org>  Sat, 19 Mar 2016 18:08:53 +0000
+
+xdg-app (0.5.0-0alexlarsson1~wily1) wily; urgency=medium
+
+  * Update to new upstream version
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Wed, 16 Mar 2016 10:10:34 +0200
+
+xdg-app (0.4.13-0alexlarsson3~vivid1) vivid; urgency=medium
+
+  * Update to new upstream version
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Fri, 26 Feb 2016 10:12:00 +0200
+
+xdg-app (0.4.12-0alexlarsson1~vivid1) vivid; urgency=medium
+
+  * Update to new upstream version
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Fri, 19 Feb 2016 13:18:00 +0200
+
+xdg-app (0.4.11-0alexlarsson1~vivid1) vivid; urgency=medium
+
+  * Update to new upstream version
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Tue, 9 Feb 2016 12:25:00 +0200
+
+xdg-app (0.4.10-0alexlarsson1~vivid1) vivid; urgency=medium
+
+  * Update to new upstream version
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Tue, 9 Feb 2016 10:42:00 +0200
+
+xdg-app (0.4.9-0alexlarsson1~vivid1) vivid; urgency=medium
+
+  * Update to new upstream version
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Mon, 8 Feb 2016 15:15:00 +0200
+
+xdg-app (0.4.7-alexlarsson1~vivid4) vivid; urgency=medium
+
+  * Disabled gtk-doc
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Mon, 25 Jan 2016 11:15:00 +0200
+
+xdg-app (0.4.7-alexlarsson1~vivid1) vivid; urgency=medium
+
+  * New upstream release
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Mon, 25 Jan 2016 11:05:00 +0200
+
+xdg-app (0.4.6-alexlarsson1~vivid2) vivid; urgency=medium
+
+  * New upstream release
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Thu, 17 Dec 2015 11:05:00 +0200
+
+xdg-app (0.4.5-alexlarsson1~vivid) vivid; urgency=medium
+
+  * New upstream release
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Fri, 06 Nov 2015 15:41:00 +0200
+
+xdg-app (0.4.4-alexlarsson1) vivid; urgency=medium
+
+  * New upstream release
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Fri, 02 Oct 2015 10:01:55 +0200
+
+xdg-app (0.4.3-alexlarsson5) vivid; urgency=medium
+
+  * Really disable fuse tests
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Fri, 02 Oct 2015 09:20:53 +0200
+
+xdg-app (0.4.3-alexlarsson4) vivid; urgency=medium
+
+  * Remove fuse based tests, as they don't work in ppa build
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Fri, 02 Oct 2015 09:06:51 +0200
+
+xdg-app (0.4.3-alexlarsson3) vivid; urgency=medium
+
+  * Add fuse dependency
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Fri, 02 Oct 2015 08:48:48 +0200
+
+xdg-app (0.4.3-alexlarsson2) vivid; urgency=medium
+
+  * Add dbus dependency
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Fri, 02 Oct 2015 08:40:46 +0200
+
+xdg-app (0.4.3-alexlarsson1) vivid; urgency=medium
+
+  * New upstream release
+
+ -- Alexander Larsson <alexander.larsson@gmail.com>  Thu, 01 Oct 2015 13:06:05 +0200
+
+xdg-app (0.1-0amigadave4) trusty; urgency=low
+
+  * Add build dependency on dh-exec.
+
+ -- David King <amigadave@amigadave.com>  Wed, 08 Apr 2015 13:48:36 +0100
+
+xdg-app (0.1-0amigadave3) trusty; urgency=low
+
+  [ David King ]
+  * Add build dependency on libattr1-dev.
+
+ -- David King <amigadave@amigadave.com>  Wed, 08 Apr 2015 13:36:39 +0100
+
+xdg-app (0.1-0amigadave2) trusty; urgency=low
+
+  [ David King ]
+  * Add build dependency on xsltproc.
+
+ -- David King <amigadave@amigadave.com>  Wed, 08 Apr 2015 13:28:14 +0100
+
+xdg-app (0.1-0amigadave1) trusty; urgency=low
+
+  [ David King ]
+  * Initial packaging.
+
+ -- David King <amigadave@amigadave.com>  Thu, 02 Apr 2015 15:44:01 +0000
diff --git a/compat b/compat
new file mode 100644 (file)
index 0000000..f599e28
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+10
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..c123c01
--- /dev/null
+++ b/control
@@ -0,0 +1,175 @@
+Source: flatpak
+Section: admin
+Priority: optional
+Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
+Uploaders:
+ Matthias Klumpp <mak@debian.org>,
+ Simon McVittie <smcv@debian.org>,
+Build-Depends:
+ attr <!nocheck>,
+ automake (>= 1.14.1),
+ bubblewrap (>= 0.1.8),
+ ca-certificates <!nocheck>,
+ dbus,
+ debhelper (>= 10~),
+ desktop-file-utils <!nocheck>,
+ dh-exec (>= 0.23~),
+ docbook-xml <!nodoc>,
+ docbook-xsl <!nodoc>,
+ gobject-introspection (>= 1.54.1-2~),
+ gtk-doc-tools,
+ gtk-update-icon-cache <!nocheck>,
+ hicolor-icon-theme <!nocheck>,
+ libappstream-glib-dev (>= 0.5.10),
+ libarchive-dev (>= 2.8.0),
+ libattr1-dev,
+ libcap-dev,
+ libdw-dev,
+ libelf-dev,
+ libgirepository1.0-dev,
+ libglib2.0-dev (>= 2.44),
+ libgpgme-dev (>= 1.1.8),
+ libjson-glib-dev,
+ libostree-dev (>= 2017.14),
+ libpolkit-gobject-1-dev,
+ libseccomp-dev,
+ libsoup2.4-dev,
+ libxau-dev,
+ libxml2-dev (>= 2.4),
+ libxml2-utils,
+ ostree <!nocheck>,
+ procps,
+ shared-mime-info <!nocheck>,
+ xmlto <!nodoc>,
+ xsltproc <!nodoc>,
+Build-Depends-Indep:
+ libglib2.0-doc,
+ libostree-doc,
+Standards-Version: 4.1.3
+Homepage: http://flatpak.org/
+Vcs-Git: https://salsa.debian.org/debian/flatpak.git
+Vcs-Browser: https://salsa.debian.org/debian/flatpak
+Rules-Requires-Root: no
+
+Package: flatpak
+Architecture: linux-any
+Depends:
+ bubblewrap (>= 0.1.8),
+ xdg-desktop-portal (>= 0.10),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Recommends:
+ desktop-file-utils,
+ hicolor-icon-theme,
+ gtk-update-icon-cache,
+ libpam-systemd,
+ shared-mime-info,
+ xdg-desktop-portal-gtk | xdg-desktop-portal-backend,
+Conflicts:
+ xdg-app,
+Replaces:
+ xdg-app,
+Description: Application deployment framework for desktop apps
+ Flatpak installs, manages and runs sandboxed desktop application bundles.
+ Application bundles run partially isolated from the wider system, using
+ containerization techniques such as namespaces to prevent direct access
+ to system resources. Resources from outside the sandbox can be accessed
+ via "portal" services, which are responsible for access control; for
+ example, the Documents portal displays an "Open" dialog outside the
+ sandbox, then allows the application to access only the selected file.
+ .
+ Each application uses a specified "runtime", or set of libraries, which is
+ available as /usr inside its sandbox. This can be used to run application
+ bundles with multiple, potentially incompatible sets of dependencies within
+ the same desktop environment.
+ .
+ This package contains the services and executables needed to install and
+ launch sandboxed applications, and the portal services needed to provide
+ limited access to resources outside the sandbox.
+
+Package: flatpak-tests
+Architecture: linux-any
+Section: misc
+Depends:
+ attr,
+ ca-certificates,
+ desktop-file-utils,
+ flatpak (= ${binary:Version}),
+ hicolor-icon-theme,
+ gtk-update-icon-cache,
+ ostree (>= 2017.14),
+ shared-mime-info,
+ ${misc:Depends},
+ ${shlibs:Depends},
+Recommends:
+ python3,
+Description: Application deployment framework for desktop apps (tests)
+ Flatpak installs, manages and runs sandboxed desktop application bundles.
+ See the flatpak package for a more comprehensive description.
+ .
+ This package contains automated tests.
+
+Package: gir1.2-flatpak-1.0
+Architecture: linux-any
+Multi-Arch: same
+Section: introspection
+Depends:
+ ${gir:Depends},
+ ${misc:Depends},
+Description: Application deployment framework for desktop apps (introspection)
+ Flatpak installs, manages and runs sandboxed desktop application bundles.
+ See the flatpak package for a more comprehensive description.
+ .
+ This package can be used by other packages using the GIRepository format to
+ generate dynamic bindings for libflatpak0.
+
+Package: libflatpak-dev
+Architecture: linux-any
+Multi-Arch: same
+Section: libdevel
+Depends:
+ gir1.2-flatpak-1.0 (= ${binary:Version}),
+ libflatpak0 (= ${binary:Version}),
+ libglib2.0-dev,
+ libostree-dev (>= 2017.14),
+ libxml2-dev (>= 2.4),
+ pkg-config,
+ ${misc:Depends},
+Description: Application deployment framework for desktop apps (development)
+ Flatpak installs, manages and runs sandboxed desktop application bundles.
+ See the flatpak package for a more comprehensive description.
+ .
+ This package contains development headers and pkg-config metadata
+ for libflatpak0.
+
+Package: libflatpak-doc
+Build-Profiles: <!nodoc>
+Architecture: all
+Section: doc
+Depends:
+ ${misc:Depends},
+Suggests:
+ devhelp,
+Multi-Arch: foreign
+Description: Application deployment framework for desktop apps (documentation)
+ Flatpak installs, manages and runs sandboxed desktop application bundles.
+ See the flatpak package for a more comprehensive description.
+ .
+ This package contains reference documentation for libflatpak0.
+
+Package: libflatpak0
+Architecture: linux-any
+Section: libs
+Depends:
+ bubblewrap (>= 0.1.8),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Pre-Depends:
+ ${misc:Pre-Depends},
+Multi-arch: same
+Description: Application deployment framework for desktop apps (library)
+ Flatpak installs, manages and runs sandboxed desktop application bundles.
+ See the flatpak package for a more comprehensive description.
+ .
+ This package contains the flatpak shared library, used by higher level
+ package management tools like gnome-software.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..4d2b7bc
--- /dev/null
+++ b/copyright
@@ -0,0 +1,107 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Flatpak
+Source: https://github.com/flatpak/flatpak/releases
+
+Files:
+ *
+Copyright:
+ ยฉ 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ ยฉ 2010-2011 Lennart Poettering
+ ยฉ 2010 Codethink Limited
+ ยฉ 2010 Lennart Poettering
+ ยฉ 2011-2015 Colin Walters
+ ยฉ 2014-2016 Alexander Larsson
+ ยฉ 2014-2017 Red Hat, Inc
+ ยฉ 2016-2017 Free Software Foundation, Inc.
+ ยฉ 2016 Piotr Drag
+ ยฉ 2016 Aviary.pl
+ ยฉ 2016 Zbigniew Jฤ™drzejewski-Szmek
+ ยฉ 2016 Wolfgang Stรถggl
+ ยฉ 2016 Mario Blรคttermann
+ ยฉ 2017 Daniel Rusek
+ ยฉ 2017 Roman Kharin
+ ยฉ 2017 Patrick Griffis
+License: LGPL-2.1+
+
+Files:
+ acinclude.m4
+Copyright:
+ ยฉ 2008 Tim Toolan
+ ยฉ 2014-2015 Philip Withnall
+License: Autoconf-permissive
+
+Files:
+ m4/attributes.m4
+Copyright:
+ ยฉ 2006-2008 Diego Pettenรฒ
+ ยฉ 2006-2008 xine project
+ ยฉ 2012 Lucas De Marchi
+License: GPL-2+ with Autoconf exception
+
+Files:
+ debian/*
+Copyright:
+ ยฉ 2015 David King <amigadave@amigadave.com>
+ ยฉ 2016 Collabora Ltd.
+License: LGPL-2.1+
+
+License: GPL-2+ with Autoconf exception
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA.
+ .
+ As a special exception, the copyright owners of the
+ macro gives unlimited permission to copy, distribute and modify the
+ configure scripts that are the output of Autoconf when processing the
+ Macro. You need not follow the terms of the GNU General Public
+ License when using or distributing such scripts, even though portions
+ of the text of the Macro appear in them. The GNU General Public
+ License (GPL) does govern all other use of the material that
+ constitutes the Autoconf Macro.
+ .
+ This special exception to the GPL applies to versions of the
+ Autoconf Macro released by this project. When you make and
+ distribute a modified version of the Autoconf Macro, you may extend
+ this special exception to the GPL to apply to your modified version as
+ well.
+Comment:
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ '/usr/share/common-licenses/GPL-2'.
+
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+Comment:
+ On Debian systems, the full text of the GNU Lesser General Public License
+ version 2.1 can be found in the file '/usr/share/common-licenses/LGPL-2.1'.
+
+License: Autoconf-permissive
+ Copying and distribution of this file, with or without modification, are
+ permitted in any medium without royalty provided the copyright notice
+ and this notice are preserved. This file is offered as-is, without any
+ warranty.
diff --git a/flatpak-tests.install b/flatpak-tests.install
new file mode 100644 (file)
index 0000000..c7dc85d
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/flatpak/installed-tests
+usr/share/installed-tests/Flatpak
diff --git a/flatpak.doc-base b/flatpak.doc-base
new file mode 100644 (file)
index 0000000..62006bf
--- /dev/null
@@ -0,0 +1,8 @@
+Document: flatpak-commands
+Title: Flatpak Command Reference
+Author: Alexander Larsson et al.
+Section: System/Package Management
+
+Format: HTML
+Index: /usr/share/doc/flatpak/flatpak-docs.html
+Files: /usr/share/doc/flatpak/flatpak-docs.html /usr/share/doc/flatpak/docbook.css
diff --git a/flatpak.examples b/flatpak.examples
new file mode 100644 (file)
index 0000000..d13f8c9
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/bin/flatpak-bisect
diff --git a/flatpak.install b/flatpak.install
new file mode 100755 (executable)
index 0000000..229cc14
--- /dev/null
@@ -0,0 +1,25 @@
+#!/usr/bin/dh-exec
+
+debian/org.freedesktop.Flatpak.pkla     var/lib/polkit-1/localauthority/10-vendor.d/
+etc/X11/Xsession.d
+etc/dbus-1/system.d
+etc/profile.d/
+lib/systemd/system/flatpak-system-helper.service
+usr/bin/flatpak
+usr/lib/flatpak/flatpak-dbus-proxy
+usr/lib/flatpak/flatpak-session-helper
+usr/lib/flatpak/flatpak-system-helper
+usr/lib/systemd/user/dbus.service.d/flatpak.conf
+usr/lib/systemd/user/flatpak-session-helper.service
+usr/share/bash-completion
+usr/share/dbus-1/services
+usr/share/dbus-1/system-services
+usr/share/flatpak
+usr/share/gdm/env.d
+usr/share/locale/*/LC_MESSAGES/flatpak.mo
+usr/share/polkit-1/actions
+usr/share/polkit-1/rules.d
+<!nodoc> usr/share/man/man1
+<!nodoc> usr/share/man/man5
+<!nodoc> usr/share/doc/flatpak/docbook.css
+<!nodoc> usr/share/doc/flatpak/flatpak-docs.html
diff --git a/flatpak.lintian-overrides b/flatpak.lintian-overrides
new file mode 100644 (file)
index 0000000..79e8083
--- /dev/null
@@ -0,0 +1,2 @@
+# This is intended to be started by D-Bus activation, not on boot
+flatpak: systemd-service-file-missing-install-key lib/systemd/system/flatpak-system-helper.service
diff --git a/flatpak.postinst b/flatpak.postinst
new file mode 100755 (executable)
index 0000000..53b9745
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = configure ]; then
+    # Run a do-nothing command (it just lists configured remotes) for
+    # its side-effect of initializing the shared system-wide repository.
+    flatpak remote-list --system >/dev/null || :
+fi
+
+exit 0
+
+# vim:set sw=4 sts=4 et:
diff --git a/flatpak.postrm b/flatpak.postrm
new file mode 100755 (executable)
index 0000000..eae80aa
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = "purge" ] ; then
+    rm -fr /var/lib/flatpak/repo
+    rm -f /var/lib/flatpak/.changed
+    rmdir --ignore-fail-on-non-empty /var/lib/flatpak
+fi
+
+exit 0
+
+# vim:set sw=4 sts=4 et:
diff --git a/gbp.conf b/gbp.conf
new file mode 100644 (file)
index 0000000..f56457d
--- /dev/null
+++ b/gbp.conf
@@ -0,0 +1,7 @@
+[DEFAULT]
+pristine-tar = True
+compression = xz
+debian-branch = debian/master
+upstream-branch = upstream/latest
+patch-numbers = False
+upstream-vcs-tag = %(version)s
diff --git a/gir1.2-flatpak-1.0.install b/gir1.2-flatpak-1.0.install
new file mode 100644 (file)
index 0000000..49d71c9
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/girepository-1.0
diff --git a/libflatpak-dev.install b/libflatpak-dev.install
new file mode 100644 (file)
index 0000000..fb1b7a6
--- /dev/null
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/*/libflatpak.so
+usr/lib/*/pkgconfig
+usr/share/dbus-1/interfaces
+usr/share/gir-1.0/*
diff --git a/libflatpak-doc.doc-base b/libflatpak-doc.doc-base
new file mode 100644 (file)
index 0000000..df35f8e
--- /dev/null
@@ -0,0 +1,8 @@
+Document: flatpak
+Title: Flatpak Reference Manual
+Abstract: This manual provides API documentation for the Flatpak application sandboxing framework.
+Section: Programming/C
+
+Format: HTML
+Index: /usr/share/doc/libflatpak-doc/flatpak/index.html
+Files: /usr/share/doc/libflatpak-doc/flatpak/*.html
diff --git a/libflatpak-doc.install b/libflatpak-doc.install
new file mode 100644 (file)
index 0000000..fbdc2a5
--- /dev/null
@@ -0,0 +1 @@
+usr/share/gtk-doc/html/flatpak
diff --git a/libflatpak-doc.links b/libflatpak-doc.links
new file mode 100644 (file)
index 0000000..ee855e7
--- /dev/null
@@ -0,0 +1 @@
+usr/share/gtk-doc/html/flatpak usr/share/doc/libflatpak-doc/flatpak
diff --git a/libflatpak-doc.maintscript b/libflatpak-doc.maintscript
new file mode 100644 (file)
index 0000000..48e70e0
--- /dev/null
@@ -0,0 +1,2 @@
+symlink_to_dir /usr/share/gtk-doc/html/flatpak /usr/share/doc/libflatpak-doc/flatpak 0.9.99-2~
+dir_to_symlink /usr/share/doc/libflatpak-doc/flatpak /usr/share/gtk-doc/html/flatpak 0.9.99-2~
diff --git a/libflatpak0.install b/libflatpak0.install
new file mode 100644 (file)
index 0000000..15c3e48
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/libflatpak.so.*
diff --git a/libflatpak0.symbols b/libflatpak0.symbols
new file mode 100644 (file)
index 0000000..791f313
--- /dev/null
@@ -0,0 +1,116 @@
+libflatpak.so.0 libflatpak0 #MINVER#
+* Build-Depends-Package: libflatpak-dev
+ flatpak_bundle_ref_get_appstream@Base 0.5.2
+ flatpak_bundle_ref_get_file@Base 0.5.2
+ flatpak_bundle_ref_get_icon@Base 0.5.2
+ flatpak_bundle_ref_get_installed_size@Base 0.5.2
+ flatpak_bundle_ref_get_metadata@Base 0.5.2
+ flatpak_bundle_ref_get_origin@Base 0.5.2
+ flatpak_bundle_ref_get_runtime_repo_url@Base 0.8.0
+ flatpak_bundle_ref_get_type@Base 0.5.2
+ flatpak_bundle_ref_new@Base 0.5.2
+ flatpak_error_get_type@Base 0.5.2
+ flatpak_error_quark@Base 0.5.2
+ flatpak_get_default_arch@Base 0.5.2+git20160516
+ flatpak_get_supported_arches@Base 0.6.6
+ flatpak_get_system_installations@Base 0.8.0
+ flatpak_install_flags_get_type@Base 0.6.5
+ flatpak_installation_cleanup_local_refs_sync@Base 0.9.99
+ flatpak_installation_create_monitor@Base 0.5.2
+ flatpak_installation_drop_caches@Base 0.5.2+git20160516
+ flatpak_installation_fetch_remote_metadata_sync@Base 0.5.2
+ flatpak_installation_fetch_remote_ref_sync@Base 0.5.2
+ flatpak_installation_fetch_remote_size_sync@Base 0.5.2
+ flatpak_installation_get_config@Base 0.10.0
+ flatpak_installation_get_current_installed_app@Base 0.5.2
+ flatpak_installation_get_display_name@Base 0.8.0
+ flatpak_installation_get_id@Base 0.8.0
+ flatpak_installation_get_installed_ref@Base 0.5.2
+ flatpak_installation_get_is_user@Base 0.5.2
+ flatpak_installation_get_path@Base 0.5.2
+ flatpak_installation_get_priority@Base 0.8.0
+ flatpak_installation_get_remote_by_name@Base 0.5.2
+ flatpak_installation_get_storage_type@Base 0.8.0
+ flatpak_installation_get_type@Base 0.5.2
+ flatpak_installation_install@Base 0.5.2
+ flatpak_installation_install_bundle@Base 0.5.2
+ flatpak_installation_install_full@Base 0.6.5
+ flatpak_installation_install_ref_file@Base 0.6.10
+ flatpak_installation_launch@Base 0.5.2
+ flatpak_installation_list_installed_refs@Base 0.5.2
+ flatpak_installation_list_installed_refs_by_kind@Base 0.5.2
+ flatpak_installation_list_installed_refs_for_update@Base 0.5.2
+ flatpak_installation_list_installed_related_refs_sync@Base 0.6.7
+ flatpak_installation_list_remote_refs_sync@Base 0.5.2
+ flatpak_installation_list_remote_related_refs_sync@Base 0.6.7
+ flatpak_installation_list_remotes@Base 0.5.2
+ flatpak_installation_load_app_overrides@Base 0.5.2
+ flatpak_installation_modify_remote@Base 0.5.2+git20160516
+ flatpak_installation_new_for_path@Base 0.5.2
+ flatpak_installation_new_system@Base 0.5.2
+ flatpak_installation_new_system_with_id@Base 0.8.0
+ flatpak_installation_new_user@Base 0.5.2
+ flatpak_installation_prune_local_repo@Base 0.9.99
+ flatpak_installation_remove_local_ref_sync@Base 0.9.99
+ flatpak_installation_remove_remote@Base 0.5.2+git20160516
+ flatpak_installation_set_config_sync@Base 0.10.0
+ flatpak_installation_uninstall@Base 0.5.2
+ flatpak_installation_update@Base 0.5.2
+ flatpak_installation_update_appstream_full_sync@Base 0.9.4
+ flatpak_installation_update_appstream_sync@Base 0.5.2
+ flatpak_installation_update_full@Base 0.6.5
+ flatpak_installation_update_remote_sync@Base 0.6.13
+ flatpak_installed_ref_get_deploy_dir@Base 0.5.2
+ flatpak_installed_ref_get_installed_size@Base 0.5.2
+ flatpak_installed_ref_get_is_current@Base 0.5.2
+ flatpak_installed_ref_get_latest_commit@Base 0.5.2
+ flatpak_installed_ref_get_origin@Base 0.5.2
+ flatpak_installed_ref_get_subpaths@Base 0.5.2+git20160516
+ flatpak_installed_ref_get_type@Base 0.5.2
+ flatpak_installed_ref_load_metadata@Base 0.5.2
+ flatpak_oci_error_quark@Base 0.9.1
+ flatpak_portal_error_quark@Base 0.5.2+git20160516
+ flatpak_ref_format_ref@Base 0.5.2
+ flatpak_ref_get_arch@Base 0.5.2
+ flatpak_ref_get_branch@Base 0.5.2
+ flatpak_ref_get_collection_id@Base 0.9.8
+ flatpak_ref_get_commit@Base 0.5.2
+ flatpak_ref_get_kind@Base 0.5.2
+ flatpak_ref_get_name@Base 0.5.2
+ flatpak_ref_get_type@Base 0.5.2
+ flatpak_ref_kind_get_type@Base 0.5.2
+ flatpak_ref_parse@Base 0.5.2
+ flatpak_related_ref_get_subpaths@Base 0.6.7
+ flatpak_related_ref_get_type@Base 0.6.7
+ flatpak_related_ref_should_delete@Base 0.6.7
+ flatpak_related_ref_should_download@Base 0.6.7
+ flatpak_remote_get_appstream_dir@Base 0.5.2
+ flatpak_remote_get_appstream_timestamp@Base 0.5.2
+ flatpak_remote_get_collection_id@Base 0.9.8
+ flatpak_remote_get_default_branch@Base 0.6.12
+ flatpak_remote_get_disabled@Base 0.5.2+git20160516
+ flatpak_remote_get_gpg_verify@Base 0.5.2
+ flatpak_remote_get_name@Base 0.5.2
+ flatpak_remote_get_nodeps@Base 0.6.13
+ flatpak_remote_get_noenumerate@Base 0.5.2
+ flatpak_remote_get_prio@Base 0.5.2
+ flatpak_remote_get_remote_type@Base 0.9.9
+ flatpak_remote_get_title@Base 0.5.2
+ flatpak_remote_get_type@Base 0.5.2
+ flatpak_remote_get_url@Base 0.5.2
+ flatpak_remote_new@Base 0.5.2+git20160516
+ flatpak_remote_ref_get_remote_name@Base 0.5.2
+ flatpak_remote_ref_get_type@Base 0.5.2
+ flatpak_remote_set_collection_id@Base 0.9.8
+ flatpak_remote_set_default_branch@Base 0.6.12
+ flatpak_remote_set_disabled@Base 0.5.2+git20160516
+ flatpak_remote_set_gpg_key@Base 0.5.2+git20160516
+ flatpak_remote_set_gpg_verify@Base 0.5.2+git20160516
+ flatpak_remote_set_nodeps@Base 0.6.13
+ flatpak_remote_set_noenumerate@Base 0.5.2+git20160516
+ flatpak_remote_set_prio@Base 0.5.2+git20160516
+ flatpak_remote_set_title@Base 0.5.2+git20160516
+ flatpak_remote_set_url@Base 0.5.2+git20160516
+ flatpak_remote_type_get_type@Base 0.9.8
+ flatpak_storage_type_get_type@Base 0.8.0
+ flatpak_update_flags_get_type@Base 0.5.2
diff --git a/org.freedesktop.Flatpak.pkla b/org.freedesktop.Flatpak.pkla
new file mode 100644 (file)
index 0000000..e71377d
--- /dev/null
@@ -0,0 +1,4 @@
+[Install Flatpak apps and runtimes]
+Identity=unix-group:sudo
+Action=org.freedesktop.Flatpak.app-install;org.freedesktop.Flatpak.runtime-install;org.freedesktop.Flatpak.app-uninstall;org.freedesktop.Flatpak.runtime-uninstall
+ResultActive=yes
diff --git a/patches/Only-require-FUSE-if-we-re-still-building-the-document-po.patch b/patches/Only-require-FUSE-if-we-re-still-building-the-document-po.patch
new file mode 100644 (file)
index 0000000..6c8eb9b
--- /dev/null
@@ -0,0 +1,23 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Wed, 14 Feb 2018 14:28:53 +0000
+Subject: Only require FUSE if we're still building the document portal
+
+Signed-off-by: Simon McVittie <smcv@debian.org>
+---
+ configure.ac | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 5e30096..1905236 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -243,7 +243,8 @@ AM_CONDITIONAL(ENABLE_DOCUMENT_PORTAL, test "x$enable_document_portal" = "xyes")
+ PKG_CHECK_MODULES(OSTREE, [ostree-1 >= $OSTREE_REQS])
+-PKG_CHECK_MODULES(FUSE, [fuse])
++AS_IF([test "x$enable_document_portal" = "xyes"],
++      [PKG_CHECK_MODULES(FUSE, [fuse])])
+ PKG_CHECK_MODULES(JSON, [json-glib-1.0])
diff --git a/patches/debian/Use-Python-3-for-test-web-server.patch b/patches/debian/Use-Python-3-for-test-web-server.patch
new file mode 100644 (file)
index 0000000..22c24dc
--- /dev/null
@@ -0,0 +1,35 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Wed, 17 Jan 2018 14:20:46 +0000
+Subject: Use Python 3 for test web server
+
+The parts of libtest.sh and tests/make-test-runtime.sh that deal with
+Python 2 are unaffected: they are only used in the flatpak-builder
+tests.
+
+Forwarded: not-needed
+---
+ tests/test-webserver.sh | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/test-webserver.sh b/tests/test-webserver.sh
+index 2964ce9..c1f26d0 100755
+--- a/tests/test-webserver.sh
++++ b/tests/test-webserver.sh
+@@ -6,7 +6,7 @@ dir=$1
+ test_tmpdir=$(pwd)
+ cd ${dir}
+-env PYTHONUNBUFFERED=1 setsid python -m SimpleHTTPServer 0 >${test_tmpdir}/httpd-output &
++env PYTHONUNBUFFERED=1 setsid python3 -m http.server 0 >${test_tmpdir}/httpd-output &
+ child_pid=$!
+ for x in $(seq 50); do
+@@ -14,7 +14,7 @@ for x in $(seq 50); do
+     cp ${test_tmpdir}/httpd-output{,.tmp}
+     # If it's non-empty, see whether it matches our regexp
+     if test -s ${test_tmpdir}/httpd-output.tmp; then
+-        sed -e 's,Serving HTTP on 0.0.0.0 port \([0-9]*\) \.\.\.,\1,' < ${test_tmpdir}/httpd-output.tmp > ${test_tmpdir}/httpd-port
++        sed -e 's,Serving HTTP on 0.0.0.0 port \([0-9]*\) .*,\1,' < ${test_tmpdir}/httpd-output.tmp > ${test_tmpdir}/httpd-port
+         if ! cmp ${test_tmpdir}/httpd-output.tmp ${test_tmpdir}/httpd-port 1>/dev/null; then
+             # If so, we've successfully extracted the port
+             break
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..948c0be
--- /dev/null
@@ -0,0 +1,2 @@
+debian/Use-Python-3-for-test-web-server.patch
+Only-require-FUSE-if-we-re-still-building-the-document-po.patch
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..1fbed90
--- /dev/null
+++ b/rules
@@ -0,0 +1,63 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+include /usr/share/dpkg/default.mk
+
+binaries := $(shell dh_listpackages)
+
+%:
+       dh $@ --with=gir
+
+override_dh_autoreconf:
+       dh_autoreconf \
+               --as-needed \
+               debian/autogen.sh \
+               -- \
+               $(NULL)
+
+configure_options =
+
+ifneq ($(filter nodoc,$(DEB_BUILD_OPTIONS)),)
+configure_options += --disable-docbook-docs
+configure_options += --disable-documentation
+else
+configure_options += --enable-docbook-docs
+configure_options += --enable-documentation
+endif
+
+ifneq ($(filter libflatpak-doc,$(binaries)),)
+configure_options += --enable-gtk-doc
+else
+configure_options += --disable-gtk-doc
+endif
+
+override_dh_auto_configure:
+       dh_auto_configure -- \
+               --disable-document-portal \
+               --enable-installed-tests \
+               --libexecdir=/usr/lib/flatpak \
+               --with-priv-mode=none \
+               --with-privileged-group=sudo \
+               --with-system-bubblewrap=bwrap \
+               --with-systemdsystemunitdir=/lib/systemd/system \
+               $(configure_options)
+
+override_dh_install:
+       install -d debian/tmp/etc/X11/Xsession.d
+       install -m644 debian/tmp/etc/profile.d/flatpak.sh \
+               debian/tmp/etc/X11/Xsession.d/20flatpak
+       rm -f debian/tmp/usr/lib/*/*.la
+       dh_install
+
+override_dh_missing:
+       dh_missing --fail-missing
+
+override_dh_auto_test-arch:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+       debian/test.sh
+endif
+
+override_dh_auto_test-indep:
+       @:
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/test.sh b/test.sh
new file mode 100755 (executable)
index 0000000..cfddaba
--- /dev/null
+++ b/test.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+# The tests want /sbin/ldconfig to be in PATH
+export PATH="$PATH:/usr/sbin:/sbin"
+
+e=0
+dh_auto_test || e=$?
+
+echo "Killing gpg-agent processes:"
+pgrep --list-full --full "gpg-agent --homedir /var/tmp/test-flatpak-.*" >&2 || :
+pgrep --list-full --full "gpg-agent --homedir /var/tmp/flatpak-test-.*" >&2 || :
+pkill --full "gpg-agent --homedir /var/tmp/test-flatpak-.*" >&2 || :
+pkill --full "gpg-agent --homedir /var/tmp/flatpak-test-.*" >&2 || :
+exit "$e"
diff --git a/tests/build b/tests/build
new file mode 100755 (executable)
index 0000000..52e5256
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+set -e
+exec 2>&1
+set -x
+
+cd "$ADTTMP"
+
+echo "1..1"
+
+cat > trivial.c <<'EOF'
+#include <stdio.h>
+
+#include <flatpak/flatpak.h>
+
+int main (void)
+{
+  flatpak_error_quark ();
+  g_print ("ok 1\n");
+  return 0;
+}
+EOF
+
+gcc -o trivial trivial.c $(pkg-config --cflags --libs flatpak)
+test -x trivial
+./trivial
diff --git a/tests/control b/tests/control
new file mode 100644 (file)
index 0000000..0f7539a
--- /dev/null
@@ -0,0 +1,11 @@
+Tests: build
+Depends:
+ build-essential,
+ libflatpak-dev,
+
+Tests: gnome-desktop-testing
+Restrictions: isolation-machine
+Depends:
+ flatpak-tests,
+ gnome-desktop-testing,
+ python3,
diff --git a/tests/gnome-desktop-testing b/tests/gnome-desktop-testing
new file mode 100755 (executable)
index 0000000..629587b
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+exec 2>&1
+
+# The tests want /sbin/ldconfig to be in PATH
+export PATH="$PATH:/usr/sbin:/sbin"
+
+# Ubuntu provides internet access via a proxy, but libostree doesn't need
+# that. However, libostree also doesn't support no_proxy, so it will try
+# to use Ubuntu's proxy for localhost, and fail to reach itself.
+unset ftp_proxy
+unset http_proxy
+unset https_proxy
+unset no_proxy
+
+# Don't pollute the home directory unless this looks like a dedicated
+# autopkgtest environment
+case "$(id -nu)" in
+       (adt|debci)
+               install -d ~/.flatpak-tests/
+               ;;
+esac
+
+exec gnome-desktop-testing-runner Flatpak
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..3fc2d40
--- /dev/null
+++ b/watch
@@ -0,0 +1,2 @@
+version=4
+https://github.com/@PACKAGE@/@PACKAGE@/releases .*/@PACKAGE@-(\d+\.\d*[02468]\.\S*)@ARCHIVE_EXT@