Commit Graph

207 Commits (3b5c3fd6c039e3e95b69177767d7f0574cc72df5)

Author SHA1 Message Date
Matthias Clasen 3c52321a40 Use upstream gettext
Drop the intltool dependency that was recently added, and use
upstream gettext and its its features for the same purpose.
Note that polkit currently does not install .its files (I've
sent a patch). Until that is in place, this change has the
effect of installing the untranslated policy file.
2016-07-15 11:58:46 -04:00
Matthias Clasen bf96dd248f Build html documentation from the man pages
This will be useful for putting the docs online.
2016-07-12 00:41:13 -04:00
matthiasclasen d1d881edf3 Merge pull request #172 from hadess/origin/wip/glib-reqs
Allow building on GLib 2.40 or older
2016-07-04 21:06:42 -04:00
Bastien Nocera 47e3b9fb5c build: Add minimum GLib requirements
The build system did not have any minimum requirements on GLib, which is
somewhat optimistic. We rely on ostree, so the minimum version is the
same as ostree's minimum requirement, 2.40.
2016-07-04 23:40:14 +02:00
Alexander Larsson e70ddb78d3 Require ostree 2016.6
This has some important pull fixes that we want people to have.
Also it changed the mtime of checkouts from 0 to 1, so we want
to require only one of those (as flatpak has some special code for mtimes).
2016-07-01 14:05:29 +02:00
Alexander Larsson b9db25c4c8 Bump version number since last release 2016-06-30 17:41:20 +02:00
Simon McVittie ee99e8afff Add BWRAP and --with-system-bubblewrap configure arguments
This lets distributors share a system copy of bubblewrap (>= 0.1.0)
between Flatpak and any other projects that benefit from it, if they are
careful to keep new versions in sync. The default is still to use the
bundled submodule, ensuring compatibility and simplifying dependencies.

Enable $PATH search everywhere that runs bwrap, so that $BWRAP doesn't
necessarily need to be a fully-qualified path.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-06-26 11:09:03 +01:00
Alexander Larsson 769f19fd30 Bump version number to 0.6.6 2016-06-23 13:19:17 +02:00
Alexander Larsson 1e5a42aff7 Fix build
The --disable-system-helper flag addition lacked a $
2016-06-07 10:10:30 +02:00
Matthias Clasen 9b22b1f167 Make system helper build optional
This lets us avoid the polkit dependency when just building
flatpak for its library.
2016-06-04 14:56:59 -04:00
Alexander Larsson 1db9764b73 Post-release version bump 2016-06-01 14:56:23 +02:00
Alexander Larsson dec99d6d6b Release 0.6.4 2016-06-01 10:28:03 +02:00
Alexander Larsson 53552deb9a Update version to 0.6.3 2016-05-31 16:47:54 +02:00
David King c8d04472ba configure: Remove some redundant AC_SUBST usage
PKG_CHECK_MODULES has called these automatically since well before
pkg-config 0.24.
2016-05-31 10:52:50 +02:00
David King b44d7462b8 configure: Use some extra AC_INIT parameters
Additionally, use PACKAGE_NAME when setting the gettext domain.

http://www.gnu.org/software/autoconf/manual/autoconf.html#Initializing-configure
2016-05-31 10:49:10 +02:00
Alexander Larsson 2b6f4f1bcf Add --with-privileged-group options
This allows distros to change the wheel group into something else,
for instance admin (ubuntu) or sudo (debian).
2016-05-24 10:13:23 +02:00
Alexander Larsson d6593d65e6 Post release version bump 2016-05-23 11:05:06 +02:00
Alexander Larsson 42d08ed18c NEWS/version: Update to 0.6.1 2016-05-23 09:22:41 +02:00
Alexander Larsson c635633e6b Add --with-system-install-dir option 2016-05-18 11:11:03 +02:00
Alexander Larsson b3853f45af Update version to 0.6.0 2016-05-17 18:53:34 +02:00
Alexander Larsson ba37b22d78 Rename library to libflatpak 2016-05-09 09:46:26 +02:00
Alexander Larsson c24528d369 Rename source files to flatpak 2016-05-09 09:00:20 +02:00
Alexander Larsson 6a613d1fab Rename all non-autogenerated symbols to flatpak 2016-05-09 09:00:20 +02:00
Alexander Larsson f55bb0edc9 Remove xdg-app-helper 2016-04-29 15:52:47 +02:00
Alexander Larsson c0f2304f81 Experimental version of OCI support
This lets you export and import a runtime or an application into a tarball
that explodes to match the oci runtime spec. This goal of this is to interchange
xdg-app apps with other systems that support OCI.

Note that this is highly experimental, because the oci specs are in flux, and
in fact we should probably use the OCI image spec instead of the runtime spec,
but its not yet finished enough for us to use it. So, don't rely on this for
now other than to experiment with it.
2016-04-28 20:29:49 +02:00
Alexander Larsson 3d3ebf814d Support installed tests 2016-04-27 16:37:15 +02:00
Alexander Larsson dc60f02716 system-helper: Add PolicyKit authentication for system helper 2016-04-25 18:59:17 +02:00
Alexander Larsson 8ac40150a6 Initial (empty) version of system helper 2016-04-25 18:59:17 +02:00
Alexander Larsson f340105b4c Add gettext support to build 2016-04-25 18:59:17 +02:00
Alexander Larsson 3383eefc82 Drop checks for old ostree versions 2016-04-21 18:36:48 +02:00
Alexander Larsson 16a02dd6c1 Bump ostree requirement to 2016.5
This release has a bunch of important fixes and new features that we
want to start relying on.
2016-04-21 18:31:34 +02:00
Alexander Larsson 8d6ba78a1d Update NEWS and version to 0.5.2 2016-04-15 11:27:31 +02:00
Alexander Larsson 619e1f1025 Release 0.5.1 2016-03-30 14:47:17 +02:00
Matthias Clasen 7a5f874e69 docs: Pick up the version number automatically
This is copied from what GTK+ does for its docs.
2016-03-25 11:16:20 -04:00
Alexander Larsson e52639def0 Add major_version to binary age
This doesn't affect things atm, since major is 0, but sets things up
for 1.0 eventually.
2016-03-16 09:50:14 +01:00
Alexander Larsson c41a37dd28 Bump version to 0.5.0 2016-03-16 09:30:08 +01:00
Alexander Larsson af6ccd70c3 Post release version bump 2016-02-26 15:11:50 +01:00
David King 12d49beb72 Search for dwarf.h in configure
Add a --with-dwarf-header argument for supplying the path containing the
dwarf.h header from libdwarf. Either a path must be provided, or a fallback
location of $includedir/libdwarf will be tested.

https://bugs.freedesktop.org/show_bug.cgi?id=94308
2016-02-26 15:03:25 +01:00
Alexander Larsson b20e72e91c Update version to 0.4.13 2016-02-26 09:59:51 +01:00
Alexander Larsson 6307910c2f Release 0.4.12 2016-02-19 12:32:48 +01:00
Alexander Larsson 0c9d1538c9 Add option to disable sandbox triggers
This is not something you should normally do, but the gnome-software
app needs this, as recursive sandboxes don't work.
2016-02-09 15:02:56 +01:00
Alexander Larsson 0a916c1dee Release 0.4.11 2016-02-09 11:50:53 +01:00
Alexander Larsson 7704d27d14 Updated for release 2016-02-09 10:35:39 +01:00
Alexander Larsson 955d165cf2 Bump version to 0.4.9 2016-02-08 14:28:06 +01:00
Alexander Larsson 9fd3c7b0c3 Release 0.4.8 2016-01-29 11:13:15 +01:00
Simon McVittie 9a6bf95054 Disable gtkdoc-check by default for now
We know the documentation is incomplete, so there seems little value
in having 'make check' tell us that. Everything except the documentation
check is expected to succeed, so it's now more useful to report test
failures in continuous integration systems, making functional
regressions more visible.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-01-29 09:41:23 +01:00
Simon McVittie 9efe31e8d4 Add systemd user units corresponding to the D-Bus session services
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-01-28 23:45:47 +01:00
Alexander Larsson 927e3cab48 Make xauth use optional
This is not needed on some Xservers, and not if you're only building stuff.
So, lets make it optional.
2016-01-28 12:01:08 +01:00
Alexander Larsson 6349b3ffc1 helper: Make user namespace support vs setuid a runtime, not build-time option
We now check at runtime if we have raised privs, and only if not so do we try
to use unprivileged user namespaces. This means you can build xdg-app however,
and then setuid/setcap the binary however you want afterwards.
2016-01-28 09:43:45 +01:00
Alexander Larsson cafc7fbba8 Bump version to 0.4.7 2016-01-25 10:39:20 +01:00
Alexander Larsson 7940a773ef Always build libxmlapp 2016-01-22 22:19:52 +01:00
Alexander Larsson 62b4ffaa72 builder: Use libelf to detect elf files
This additionally looks for already stripped files
2016-01-11 11:40:46 +01:00
Alexander Larsson 570ba8b55f Add --enable-libxdgapp configure flag and disable lib by default 2015-12-16 15:27:42 +01:00
Alexander Larsson 3e5019bc64 Bump version to 0.4.6 2015-12-16 13:18:28 +01:00
Emmanuele Bassi f23090a615 Generate the API reference for libxdg-app
We use the good old gtk-doc.
2015-12-04 15:00:35 +00:00
Emmanuele Bassi 92885b9ce2 Add introspection check 2015-12-04 09:36:30 +00:00
Alexander Larsson 132d1186d9 Initial version of libxdg-app
This is a highlevel library for working with xdg-app without using
the commandline interface. The primary usecase for this is for
creating a graphical frontend for app installation/update.
2015-12-03 22:41:16 +01:00
Alexander Larsson 106a5b06ec Rename lib/ to common/ in preparation for public xdg-app library 2015-11-26 22:05:38 +01:00
Alexander Larsson b2790349d6 Add xdg-app-builder
This is a tool that makes it easy to build applications and their
dependecies by automating the configure && make && make install steps.
2015-11-25 15:26:32 +01:00
Alexander Larsson 452c5d38c1 Add xdg-app.pc file with variable for interfaces_dir 2015-11-11 11:26:03 +01:00
Alexander Larsson e65ca6a18f Update to 0.4.5 2015-11-04 16:10:16 +01:00
Alexander Larsson dda045d808 Update for 0.4.4 release 2015-10-02 09:55:34 +02:00
Alexander Larsson 208eb7b1aa Propagate Xauthority details to the sandbox if X11 is enabled
Some xservers out there (like xorg 1.17.1) have a broken server interpreted
local xauth, which causes apps to fail to connect to the xserver.
This fixes that by propagating Xauthority data such as the MIT-MAGIC-COOKIE-1.
2015-10-01 21:23:23 +02:00
Alexander Larsson 82071b2cb8 Bump version to 0.4.3 2015-09-29 16:15:27 +02:00
Alexander Larsson 8cd95d2621 Make sure we build against older ostree (without gpg import)
This means we work on the f22 ostree version at least.
2015-09-29 16:12:37 +02:00
Alexander Larsson b25830d8f9 Add xdg-app dump-runtime command
This creates a tar of the runtime as set up by xdg-app
2015-09-28 10:48:47 +02:00
Alexander Larsson 26458d8da2 Release 0.4.2.1 2015-09-25 11:47:27 +02:00
Alexander Larsson 423c1131d8 Update to 0.4.2 2015-09-24 21:40:07 +02:00
Alexander Larsson 1917e1fd38 Make seccomp optional
Several architectures does not have seccomp yet.
2015-09-24 14:57:53 +02:00
Alexander Larsson f22c0edfd8 Update NEWS and version to 0.4.1 2015-09-18 16:47:49 +02:00
Alexander Larsson 8f445ee883 bump version to 0.4.0 2015-09-17 19:09:13 +02:00
Alexander Larsson d50284c7a6 Add check-valgrind target 2015-09-07 11:13:21 +02:00
Alexander Larsson 929071ad10 Import xdg-document-portal from github repo
This pulls in the daemon code from:
     https://github.com/alexlarsson/xdg-document-portal/

We need this in xdg-app because we need to set up the mounts correctly.
2015-07-10 16:56:39 +02:00
Alexander Larsson b0e1124f02 Bump version to 0.3.6 2015-07-10 12:39:54 +02:00
Alexander Larsson 302f88e69d Restructure directories and build
This moves a all source code into separate subdirs per binary. The
helper and the generic stuff goes into lib/ which is then used by all
the others. For now this is a completely internal library, but at
some point we will probably clean it up and expose some subset.

Also, we move the dbus proxy to libexecdir.
2015-07-10 12:15:45 +02:00
Alexander Larsson 4f73eaf10b Bump version to 0.3.5 2015-06-24 14:46:51 +02:00
Alexander Larsson 536f1e5e3e Bump version to 0.3.4 2015-06-23 10:54:39 +02:00
Alexander Larsson 9ae639ab77 Bump version to 0.3.3 2015-06-23 09:52:28 +02:00
Alexander Larsson d52c09165c configure: Add checks for docbook xsl/dtd 2015-06-17 17:10:41 +02:00
Alexander Larsson 53fc3413ea Bump version to 0.3.2 2015-06-16 16:34:49 +02:00
Alexander Larsson a39197c60c Bump version to 0.3.1 2015-06-04 16:03:26 +02:00
Alexander Larsson b1aa93a9d4 Use seccomp to limit allowed syscalls
We disallow any network family but inet, inet6, unix and netlink
as the rest are generally weird old unused things.

We also have a blacklist of syscalls, some are just old unnecessary
things, some are things that are "risky", like NUMA/VM control, and
setting up custom sub-namespaces.
2015-06-02 11:14:27 +02:00
Alexander Larsson 50b3de3728 helper: Optionally add back setuid support
If you don't have userns support in your kernel you can use this.
The future lies with userns though, so it is the default.
2015-05-29 10:46:10 +02:00
Alexander Larsson 2c0c21744f helper: Drop setuid and use user namespaces 2015-05-28 22:02:31 +02:00
Alexander Larsson c6b6ba5095 Bump version to 0.3.0 2015-05-26 13:53:11 +02:00
Alexander Larsson 3a68d242a6 Bump version to 0.2.1 2015-05-21 17:08:36 +02:00
Alexander Larsson 798f758969 Bump version to 0.2 2015-05-13 17:09:53 +02:00
Alexander Larsson 34d7c14394 Close any unexpectedly inherited fds in helper monitor and init. 2015-05-06 18:04:35 +02:00
Daniel Svensson 36645a680c Switch to using glibc xattrs.
Updates libglnx to reflect a similar change in that project.
2015-04-05 22:13:45 +02:00
Alexander Larsson 6b9f8407fe Merge pull request #62 from amigadave/attr-header
Check for libattr header
2015-03-23 12:10:52 +01:00
Alexander Larsson ee2edada58 Bump version to 0.1 2015-03-23 11:16:41 +01:00
Alexander Larsson b4c77b8c02 Require ostree 2015.3
This is latest version that is in fedora 21 atm. Its got some fixes
that are nice to have, but unfortunately deltas are not yet stable
in it.
2015-03-23 11:16:41 +01:00
Alexander Larsson 0eada3ef66 Fix dist 2015-03-23 11:16:41 +01:00
David King b025874806 Check for libattr header 2015-03-21 19:04:43 +01:00
Alexander Larsson c856556b8a Convert to g_autoptr 2015-03-20 16:33:18 +01:00
Alexander Larsson 22ac447fc6 Import libglnx 2015-03-20 15:57:22 +01:00
Alexander Larsson 957bf050bd Mount system fonts in /run/host/fonts 2015-03-06 11:26:07 +01:00
Alexander Larsson c40eba6e97 Check for sys/capability.h via AC_CHECK_HEADER instead 2015-03-02 12:36:56 +01:00
Alexander Larsson c7c201faa9 Revert "Look for libcap pkg-config file for cflags to ensure we have the headers"
This breaks gnome-continuous which doesn't have a pc file for libcap.

This reverts commit 26d9596730.
2015-03-02 12:27:09 +01:00
Alexander Larsson 26d9596730 Look for libcap pkg-config file for cflags to ensure we have the headers
We don't actually link to the library though.
2015-03-02 11:55:31 +01:00
Alexander Larsson 4ff10fee86 Add support for --with-priv-mode=caps
This allows you to set the privs for the helper via file
capabilities instead of setuid.
You can also set the mode to none, but then you have to
manually set either setuid or filecaps (for instance via
a packaging script).
2015-02-08 23:37:47 +01:00
Alexander Larsson fca4a16209 Add xdg-app-session-helper
This is a small app that makes copies of various system files to a directory
in /run so that the app sandbox can receive updates to these. This solves
the issue that we can't generally bind-mount say /etc/resolv.conf, because
it will be replaced with rename-over.
2015-01-28 20:03:13 +01:00
Matthias Clasen f62277e5af Use libsoup to load summary via http
We disable gvfs in xdg-app, so we need to use libsoup explicitly.
This is hopefully only temporary, until ostree grows api for dealing
with summaries.
2015-01-21 15:23:14 -05:00
Matthias Clasen 2232a6d066 Add man pages 2015-01-14 01:38:49 -05:00
Vadim Rutkovsky 4720d889f8 Use sudo only if --enable-sudo is passed 2015-01-13 14:56:14 +01:00
Alexander Larsson 3b1893aaaf Require latest ostree/libgsystem
This allows us to clean up some code and get the new static delta
support.
2015-01-12 15:31:12 +01:00
Alexander Larsson a640cd365b Initial version 2014-12-17 15:28:07 +01:00