summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
...
* scripts: Add a script to allow bisecting failuresThibault Saunier2017-02-231-0/+3
| | | | | | | | | | | | | | | | | | | The CLI is pretty similare to the `git bisect` one and works as follow: $ flatpak-bisect org.app.App start # Update application and get the history $ flatpak-bisect org.app.App bad # Sets current commit as first bad commit $ flatpak-bisect org.app.App checkout GoodHash # Checkout the first known good commit $ flatpak-bisect org.app.App good # Sets GoodHash as first good commit ... Here it starts bisection and checkouts a commit on the way, the user should launch the app to check if the commit is good or bad and run: $ flatpak-bisect org.app.App good # if commit is good $ flatpak-bisect org.app.App bad # if commit is bad flatpak-bisect will tell when the first bad commit is found. Fixes https://github.com/flatpak/flatpak/issues/530
* Remove old --with-priv-mode=capsAlexander Larsson2017-01-301-4/+0
| | | | This doesn't work anymore
* flatpak-system-helper: remove dangling reference to EXTERNAL_INSTALL_DIRSimon McVittie2017-01-201-1/+0
| | | | | | | | | | | | | | If EXTERNAL_INSTALL_DIR wasn't defined (which is likely, since nothing in the build system does), then we would tell the system helper to search /exports/share, which is not Flatpak's territory (but is a semi-commonly-used path for site-specific NFS shares, which might have contents that are inappropriate to search here). Installations that do define an external installation directory (Endless OS?) can easily override the Environment to include it by placing a drop-in in /etc/systemd/user/flatpak-system-helper.service.d/external.conf or similar.
* profile: Support alternative profile.d locationsIkey Doherty2017-01-191-1/+1
| | | | | | | | | | | | | | | | | | | Typically Linux distributions employ /etc/profile.d for system wide environment manipulation prior to multi-user initialisation. Modern distribution efforts split the vendor configuration from the local sysadmin configuration and data, by not using the /etc/ directories, for example. To enable this stateless pattern, this change adds a new --with-profile-dir option to use an alternative location, such as within /usr/share/. This ensures that the data (not configuration) is owned through the update process, and does not conflict with changes made locally to the system, enforcing domains of ownership. To preserve backwards compatible behaviour, the default directory remains set to /etc/profile.d. Signed-off-by: Ikey Doherty <ikey@solus-project.com>
* Initilize MAINTAINERCLEANFILES so sub-makefiles can append to itAlexander Larsson2017-01-161-0/+1
|
* system-helper: make sure to run with XDG_DATA_DIRS setCosimo Cecchi2017-01-161-1/+4
| | | | | | Otherwise we can see in the log that update-mime-database will complain about it not being set when installing an application using the system helper.
* build: run install-test-data-hook even if using system bwrapSimon McVittie2016-08-011-3/+5
| | | | | | The !WITH_SYSTEM_BWRAP conditional was too broad here. Signed-off-by: Simon McVittie <smcv@debian.org>
* install dbus systemd service file snippetRay Strode2016-07-261-0/+9
| | | | | | | | | flatpak currently installs a gdm env.d and a bash profile.d file to ensure XDG_DATA_DIRS is set to the right value. Neither is sufficient when the dbus daemon is activated as a system --user service. This commit adds a dbus service file snippet to frob its environment variable for that case.
* document-portal: add support to activate paths inside /appCosimo Cecchi2016-07-111-0/+2
| | | | | | When the document portal is called from within the sandbox with an app-private file path, translate the path to a document portal URI in order to make it available to other applications.
* Add BWRAP and --with-system-bubblewrap configure argumentsSimon McVittie2016-06-261-1/+10
| | | | | | | | | | | | 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>
* tests: don't treat helper scripts as though they were testsSimon McVittie2016-06-251-1/+1
| | | | | | | We shouldn't install .test metadata for these, and run them as TAP test scripts. In glib-tap.mk jargon that makes them "extra scripts". Signed-off-by: Simon McVittie <smcv@debian.org>
* Link libselinux into bwrap (if enabled) with LDADD, not LDFLAGSSimon McVittie2016-06-121-1/+1
| | | | | | | | | | As explained in bubblewrap commit f6ca3690, libraries should always go in LDADD and not LDFLAGS, because the order of arguments to the linker matters. Many distributions' linkers are tolerant enough that it doesn't matter in practice, but it matters for static linking, and it might also matter on Ubuntu. Signed-off-by: Simon McVittie <smcv@debian.org>
* tests: clean up what is distributedSimon McVittie2016-06-121-0/+1
| | | | | | | | | | | | | | | | | | | Listing variables whose values are conditional in EXTRA_DIST is problematic: if Flatpak was configured without installed-tests, we would not distribute those files. This is a problem during distcheck, where installed-tests are disabled. For files not placed in a special subdirectory, glib-tap.mk handles this for us. For the keyring and the databases, we have to do it ourselves, by arranging for them to be in a dist_ variable that is special to Automake - when determining what to distribute, Automake includes anything that is selected for distribution under any combination of conditionals. While I'm here, include test keyring's README in tarballs: its advice is equally applicable in a tarball release. Signed-off-by: Simon McVittie <smcv@debian.org>
* Include README.md in tarballDavid King2016-05-311-0/+2
|
* build: Use AM_DISTCHECK_CONFIGURE_FLAGSDavid King2016-05-311-1/+1
| | | | | | | | DISTCHECK_CONFIGURE_FLAGS is for users and packagers to override distcheck options, while AM_DISTCHECK_CONFIGURE_FLAGS is for the maintainer of the software. https://www.gnu.org/software/automake/manual/automake.html#DISTCHECK_005fCONFIGURE_005fFLAGS
* bwrap: Move to under libexecdirDavid King2016-05-301-6/+9
| | | | | | | | | | According to the FHS, applications which place internal libraries in /usr/libexec should not also use /usr/lib for this purpose: http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html As several flatpak helpers are already installed in libexecdir, move the bwrap helper to /usr/libexec/flatpak-bwrap.
* Update PRIV_MODE_SETCAPS with the new required capsAlexander Larsson2016-05-241-1/+1
| | | | We now need setuid/setgid caps too.
* Add --with-system-install-dir option0.6.0Alexander Larsson2016-05-181-12/+12
|
* tests: Add test-run-system.shAlexander Larsson2016-05-171-1/+1
|
* Split out permission store from session helperAlexander Larsson2016-05-091-0/+1
| | | | This is now available as org.freedesktop.impl.portal.PermissionStore
* Migrate ~/.local/share/xdg-app to ~/.local/share/flatpakAlexander Larsson2016-05-091-1/+1
|
* Rename everything but the on-disk location to flatpakAlexander Larsson2016-05-091-13/+13
|
* Rename library to libflatpakAlexander Larsson2016-05-091-8/+8
|
* Rename all non-autogenerated symbols to flatpakAlexander Larsson2016-05-091-5/+5
|
* Fix various distcheck issuesAlexander Larsson2016-05-031-2/+6
|
* Remove old gtester referencesAlexander Larsson2016-05-031-1/+0
|
* Use bubblewrap instead of xdg-app-helperAlexander Larsson2016-04-291-1/+1
| | | | | | | | | | | Bubblewrap is a new tool from project atomic. Its similar to the old xdg-app-helper, but even more minimal, and a bit more generic. Its designed to be easy to git submodule install, but at some point we will probably support using the system installed version too. Using bubblewraps lets us share the load of security mainainance and allows other people to use bubblewrap to do their own unprivileged sandboxes.
* Build bwrapAlexander Larsson2016-04-291-0/+16
|
* Support installed testsAlexander Larsson2016-04-271-1/+4
|
* Initial (empty) version of system helperAlexander Larsson2016-04-251-0/+1
|
* Read system remotes from /etc/xdg-app/remotes.d/*.confAlexander Larsson2016-04-211-0/+1
|
* Set xdg-app as the log domainAlexander Larsson2016-02-221-1/+2
|
* Allow overriding XDG_APP_BINDIR using make varsAlexander Larsson2016-02-111-1/+3
|
* Remove unset variable from EXTRA_DISTSimon McVittie2016-01-291-1/+0
| | | | Signed-off-by: Simon McVittie <smcv@debian.org>
* Distribute .service.in files in tarballsSimon McVittie2016-01-291-2/+2
| | | | Signed-off-by: Simon McVittie <smcv@debian.org>
* Merge pull request #106 from smcv/symbol-hidingAlexander Larsson2016-01-291-1/+5
|\ | | | | Hide non-public symbols from libglnx and libxdgapp-common
| * Hide non-public symbols from libglnx and libxdgapp-commonSimon McVittie2016-01-281-1/+5
| | | | | | | | | | | | | | This avoids exporting glnx_*, calc_sizes(), etc. However, we do want to export xdg_app_error_quark(), so do that. Signed-off-by: Simon McVittie <smcv@debian.org>
* | Merge pull request #107 from smcv/sd-unitsAlexander Larsson2016-01-291-3/+9
|\ \ | | | | | | Add systemd user units
| * | Add systemd user units corresponding to the D-Bus session servicesSimon McVittie2016-01-281-3/+9
| |/ | | | | | | Signed-off-by: Simon McVittie <smcv@debian.org>
* | Merge pull request #109 from smcv/fhsAlexander Larsson2016-01-291-1/+1
|\ \ | | | | | | Move XDG_APP_SYSTEMDIR to /var/lib/xdg-app or similar
| * | Move XDG_APP_SYSTEMDIR to /var/lib/xdg-app or similarSimon McVittie2016-01-291-1/+1
| |/ | | | | | | | | | | | | | | | | The FHS specifies a limited number of subdirectories for /var, which do not include xdg-app. Packaging systems like RPM and dpkg use a subdirectory of /var/lib, so it seems appropriate for system-wide xdg-app runtimes and apps too. Signed-off-by: Simon McVittie <smcv@debian.org>
* | Build top-level directory before building documentationSimon McVittie2016-01-281-1/+1
|/ | | | | | Otherwise, we try to scan a library that we haven't yet built. Signed-off-by: Simon McVittie <smcv@debian.org>
* Add --enable-libxdgapp configure flag and disable lib by defaultAlexander Larsson2015-12-161-0/+6
|
* Add introspection support to libxdg-appEmmanuele Bassi2015-12-041-0/+1
| | | | We may want to use it from non-C languages.
* Initial version of libxdg-appAlexander Larsson2015-12-031-0/+3
| | | | | | 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.
* Rename lib/ to common/ in preparation for public xdg-app libraryAlexander Larsson2015-11-261-3/+3
|
* Add xdg-app-builderAlexander Larsson2015-11-251-0/+1
| | | | | This is a tool that makes it easy to build applications and their dependecies by automating the configure && make && make install steps.
* Add xdg-app.pc file with variable for interfaces_dirAlexander Larsson2015-11-111-0/+4
|
* Install dbus introspection filesAlexander Larsson2015-10-211-1/+2
|
* Correct capitalization on dbus interface filenameAlexander Larsson2015-10-211-1/+1
|