Commit Graph

8 Commits

Author SHA1 Message Date
Simon McVittie
9eb824f863 Add a Meson build system
Resolves: https://github.com/flatpak/flatpak/issues/2241
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-10-24 16:12:14 +01:00
Simon McVittie
afe7f2bf78 env.d, profile.d: Disable gvfs plugins during login
This avoids gvfs-daemon being started when logging in as root via ssh.

Bug-Debian: https://bugs.debian.org/975710
2021-01-11 11:07:26 +01:00
Philip Withnall
f434508b07 env.d: Port the environment generators to use --print-updated-env
This reduces the amount of shell in use, and the number of subprocesses
spawned by that, so our system environment generator is as fast as
possible when used in the critical startup path.

It adds a new system environment generator so that the system flatpak
installation can be used outside of a user session. In particular, this
allows enumeration of system-installed flatpaks in gnome-initial-setup
in order to set parental controls on them.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2020-12-22 14:21:54 +01:00
Matthias Clasen
adb288d19a Add an environment generator
This is a script that program that gets run by systemd
before every user service to set up the environment.

See systemd.environment-generator(7) for details.

Closes: #2122
Approved by: matthiasclasen
2019-01-08 00:26:17 +00:00
Alexander Larsson
e9c67ec47f Get the system installation dir right in XDG_DATA_DIRS
Its in /var/lib/flatpak, not /var/flatpak
2016-05-20 09:21:19 +02:00
Alexander Larsson
5e9b247d26 Migrate ~/.local/share/xdg-app to ~/.local/share/flatpak 2016-05-09 12:21:28 +02:00
Alexander Larsson
8abbc0186e Rename everything but the on-disk location to flatpak 2016-05-09 11:11:55 +02:00
Alexander Larsson
0774aa39e2 Add xdg-app.env file for gdm 2015-06-23 11:40:11 +02:00