Skip to content

Commit

Permalink
Don't install gdm env file by default
Browse files Browse the repository at this point in the history
As mentioned in #3679 and
#3678 it is causing issues,
and the systemd generators we have should be fine for most uses
anyway.

If a distros need it the gdm file can easily be re-enabled with
--enable-gdm-env-file.
  • Loading branch information
alexlarsson committed Jun 22, 2020
1 parent 0444b6f commit 7c3a85b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@ profile_DATA = profile/flatpak.sh
EXTRA_DIST += $(profile_DATA)

envdir = $(datadir)/gdm/env.d
env_DATA = flatpak.env
env_DATA =
if INSTALL_GDM_ENV_FILE
env_DATA += flatpak.env
endif

EXTRA_DIST += env.d/flatpak.env.in env.d/60-flatpak
DISTCLEANFILES += flatpak.env

Expand Down
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,11 @@ if test "x$enable_xauth" = "xyes"; then
[Define if using xauth])
fi

AC_ARG_ENABLE([gdm-env-file],
[AC_HELP_STRING([--enable-gdm-env-file], [Install gdm env.d file (not needed if systemd generators work)])],
install_gdm_env_file=$enableval, install_gdm_env_file=no)
AM_CONDITIONAL(INSTALL_GDM_ENV_FILE, test x$install_gdm_env_file = xyes)

AC_ARG_ENABLE([sandboxed-triggers],
AC_HELP_STRING([--disable-sandboxed-triggers],
[Disable sandboxed triggers]),
Expand Down

0 comments on commit 7c3a85b

Please sign in to comment.