gnome-session (43.0-1+deb12u1) bookworm; urgency=medium

  * Team upload
  * d/gbp.conf: Configure branches for Debian 12 stable updates
  * Open text files in gnome-text-editor if gedit is not installed.
    The preinstalled text editor for Debian GNOME systems was changed
    from gedit in Debian 11 to gnome-text-editor in Debian 12, but this
    file was not updated to match, resulting in various plain-text formats
    being opened in Libreoffice Writer rather than gnome-text-editor in a
    default task-gnome-desktop installation with no further configuration.
    To preserve current behaviour for systems that have gedit installed
    (perhaps as a result of them having been upgraded from Debian 11 to
    12), for all file types that were previously handled with gedit,
    continue to use gedit by default if it happens to be installed,
    but fall back to gnome-text-editor if gedit is not present.
    The preference order is likely to change to gnome-text-editor as
    default, with gedit as a fallback, in Debian 13.
    (Closes: #1055838)

 -- Simon McVittie <smcv@debian.org>  Mon, 13 Nov 2023 18:34:53 +0000

gnome-session (43.0-1) unstable; urgency=medium

  [ Nathan Pratta Teodosio ]
  * New upstream bugfix release (LP: #1992495)
    - Don't install gnome-session-custom-session (Closes: #1013672)

  [ Jeremy Bicha ]
  * Have gnome-session depend on
    xdg-desktop-portal-gnome | xdg-desktop-portal-backend (LP: #1970424)

 -- Jeremy Bicha <jbicha@ubuntu.com>  Tue, 11 Oct 2022 14:08:35 -0400

gnome-session (42.0-1) unstable; urgency=medium

  * New upstream release

 -- Jeremy Bicha <jbicha@ubuntu.com>  Tue, 22 Mar 2022 08:40:00 -0400

gnome-session (41.3-1) unstable; urgency=medium

  * Team upload

  [ Jeremy Bicha ]
  * New upstream release
  * debian/rules: Drop unneeded -Wl,--as-needed
  * Build-Depend on dh-sequence-gnome instead of gnome-pkg-tools
  * Revert "Leave compatibility symlinks in /usr/lib/gnome-session".
    This was no longer needed in either gdm3 or gnome-control-center
    since before bullseye.

  [ Simon McVittie ]
  * d/rules: Configure with systemd_session=default on Linux.
    On Linux systems that have dbus-user-session, we now prefer systemd
    mode, as we did in bullseye (until it was accidentally disabled in
    40.1.1-2). On systems that do not, such as those using sysvinit, we'll
    fall back to the old code path with a warning.
    The old code path will not necessarily remain supported by upstream
    forever, since one of the motivations for the systemd mode was to
    simplify GNOME session startup, but at the moment it still works.
    (Closes: #1004448)
  * Depend on default-dbus-session-bus | dbus-session-bus instead of
    dbus-x11
  * Standards-Version: 4.6.0 (no changes required)

 -- Simon McVittie <smcv@debian.org>  Sat, 29 Jan 2022 14:42:02 +0000

gnome-session (40.1.1-3) unstable; urgency=medium

  * Team upload
  * Partially revert changes to gnomerc handling in previous version.

    The previous version moved handling of two Debian-specific
    and GNOME-specific features from /etc/X11/Xsession.d to
    /etc/profile.d. Those features are: sourcing ~/.gnomerc, and adding
    /usr/share/gnome to XDG_DATA_DIRS. Previously, those features worked
    for X11 sessions, but not for Wayland sessions.

    For X11 users, this use of /etc/profile.d works for users of gdm,
    GNOME's recommended display manager, because /etc/gdm/Xsession sources
    /etc/profile. lxdm and sddm appear to have similar code. However,
    it will not necessarily work for users of other display managers
    such as lightdm and xdm, because /etc/X11/Xsession does not source
    /etc/profile; this could cause these features to regress. This means
    we should prefer to keep Xsession.d responsible for this feature,
    and only rely on /etc/profile.d in the case where Xsession.d is
    unsuitable, namely Wayland.

    For Wayland users, this relies on gnome-session using a login shell
    to relaunch itself when it detects a Wayland session. However,
    /etc/profile is only sourced for users whose configured login shell
    is bash or ksh, and is not currently sourced for users whose shell is
    zsh or a non-Bourne shell like csh. This is not a regression, merely
    a new feature that works for users of some shells but not others.

    As a side-effect, this also reinstates the conffile that was not
    correctly removed in the previous version (Closes: #996809, #996853).

 -- Simon McVittie <smcv@debian.org>  Wed, 20 Oct 2021 20:13:39 +0100

gnome-session (40.1.1-2) unstable; urgency=medium

  * Team upload

  [ Jian-Hong Pan, Gunnar Hjalmarsson ]
  * debian/55gnome-session_gnomerc: Make gnomerc work with both X11 and
    Wayland.
    The original 55gnome-session_gnomerc installed under the path
    /etc/X11/Xsession.d/ will only be executed with X11. To make both X11
    and Wayland use it, the script can be moved into /etc/profile.d/ and
    renamed as gnome-session_gnomerc.sh.
    This patch also modifies the way to guard that it is a GNOME
    (or GNOME-derived) session by checking the environment variable
    XDG_CURRENT_DESKTOP.
    The environment variable XDG_DATA_DIRS is manipulated as usual.

  [ Marco Trevisan (Treviño) ]
  * debian/patches: Drop patch to select gnome-session mode.
    This could have been dropped after 3.34.0-3; gnome-session now
    handles both cases without having us to handle it.

  [ Simon McVittie ]
  * Build-depend on libgl-dev instead of transitional libgl1-mesa-dev
  * Build-depend on libgles-dev instead of transitional libgles2-mesa-dev
  * d/gnome-session_gnomerc.sh: Quote more defensively
  * d/gnome-session_gnomerc.sh: Add magic comments to make it shellcheck-clean

 -- Simon McVittie <smcv@debian.org>  Sun, 10 Oct 2021 19:21:16 +0100

gnome-session (40.1.1-1) unstable; urgency=medium

  * New upstream release
    - GNOME session will now only block sleep for suspend inhibitors and will
      block shutdown if a logout inhibitor is active.
      Previously a suspend inhibitor would prevent both sleep & logout.
      Apps may need to be updated and grab both a logout & suspend inhibitor.
  * Drop patches applied in new release

 -- Jeremy Bicha <jbicha@debian.org>  Mon, 23 Aug 2021 20:59:34 -0400

gnome-session (3.38.0-4) unstable; urgency=medium

  * Team upload

  [ Marco Trevisan (Treviño) ]
  * debian/control: Bump dependency on meson 0.53 as per upstream
  * d/p/util-Disable-capturing-of-subpatterns.patch:
    Cherry-pick upstream patch fixing a stack overflow when environment
    variables have very long values, in particular when using fish and
    LS_COLORS

  [ Didier Roche ]
  * debian/55gnome-session_gnomerc:
    Protect against multiple additions of the same path.
    Do not append the same path to XDG_DATA_DIRS, resulting to duplication
    on consecutive logout/logins due to an older session lingering and the
    environment being reused. One consequence is that Electron applications
    crash (LP: #1764355)

  [ Simon McVittie ]
  * d/patches: Turn upstream bug reference into a URL
  * d/patches: Actively remove undesired variables from activation
    environment.
    This works around bugs in cinnamon-session and mate-session-manager,
    which do not yet have an equivalent of gnome-session's variable_blacklist
    and so will upload login-session-specific variables like XDG_SESSION_ID
    into `dbus-daemon --session` and, indirectly, `systemd --user`.
    (Closes: #973474)

 -- Simon McVittie <smcv@debian.org>  Mon, 29 Mar 2021 14:21:00 +0100

gnome-session (3.38.0-3) unstable; urgency=medium

  * Team upload
  * Update to upstream git commit 3.38.0-14-g87d92fec
    - Fix slow shutdown with systemd >= 247 (Closes: #975400)
    - Don't send environment variables to systemd if they contain
      control characters that it won't accept, in particular \r
    - Log a warning if environment variables cannot be sent to
      dbus-daemon or systemd
    - Log a warning if updating environment variables fails
    - Don't try to autostart systemd (which can't work), silencing
      warnings in the gdm greeter session
    - Update translations

 -- Simon McVittie <smcv@debian.org>  Fri, 04 Dec 2020 11:24:31 +0000

gnome-session (3.38.0-2) unstable; urgency=medium

  * Team upload
  * Release to unstable

 -- Simon McVittie <smcv@debian.org>  Fri, 25 Sep 2020 10:30:03 +0100

gnome-session (3.38.0-1) experimental; urgency=medium

  * Team upload
  * New upstream release
  * Revert "debian/watch: Find unstable versions too"

 -- Simon McVittie <smcv@debian.org>  Mon, 14 Sep 2020 11:38:01 +0100

gnome-session (3.37.0-2) experimental; urgency=medium

  [ Simon McVittie ]
  * Build-Depend on systemd, for /usr/share/pkgconfig/systemd.pc

  [ Marco Trevisan (Treviño) ]
  * debian/control:
    - B-d on debhelper-compat 13 and remove dh_missing override
    - gnome-session-common Breaks and Replaces gnome-session-bin
  * debian/*.install: Move session drop-ins to gnome-session

 -- Marco Trevisan (Treviño) <marco@ubuntu.com>  Tue, 01 Sep 2020 16:11:30 +0200

gnome-session (3.37.0-1) experimental; urgency=medium

  [ Laurent Bigonville ]
  * debian/control.in: Relax the evolution version for the Breaks, the
    .desktop file was apparently already renamed in 3.30.0

  [ Iain Lane ]
  * New upstream release
    - autostart-app: Place launched applications into a systemd scope
    - data: Add drop-in to configure launched applications
    - data: Major changes in systemd configuration
    - doc: Add description of important systemd units to man page
    - fail-whale-dialog: Make dialog visible in all monitors
    - gnome-session: avoid setting LC_ unless LANG and region disagree
    - gnome-session-ctl: Add systemd service failure checker
    - gnome-session-inhibit: Add --list command
    - main: clear environment on shutdown
    - util: Unset GNOME_SETUP_DISPLAY at login time
  * Defuzz patches
  * control: Add Breaks on gnome-shell and gnome-initial-setup before 3.37.90
    and gnome-settings-daemon before 3.37.0. This gnome-session updates and
    rejigs the systemd units that live here - we need to make sure we have the
    updated versions available.

  [ Marco Trevisan (Treviño) ]
  * control: Bump Breaks on gdm3 before 3.37.90, we'd just get a black screen
    without a systemd session definition that gnome-session now exposes.

 -- Marco Trevisan (Treviño) <marco@ubuntu.com>  Fri, 28 Aug 2020 22:12:37 +0200

gnome-session (3.36.0-2) unstable; urgency=medium

  * debian/gnome-mimeapps.list: eog and evolution have renamed their .desktop
    file, adjust the file accordingly. Add a Breaks for previous versions.

 -- Laurent Bigonville <bigon@debian.org>  Sat, 21 Mar 2020 15:50:33 +0100

gnome-session (3.36.0-1) unstable; urgency=medium

  * New upstream release
  * debian/control.in: Bump Standards-Version to 4.5.0 (no further changes)

 -- Laurent Bigonville <bigon@debian.org>  Thu, 12 Mar 2020 17:29:11 +0100

gnome-session (3.35.3-1) experimental; urgency=medium

  * New upstream release
    + binary: Allow quitting early on SIGTERM/SIGINT
    + binary: Log a critical when our SIGTERM/SIGINT handler fails to log out

 -- Iain Lane <laney@debian.org>  Thu, 09 Jan 2020 12:10:46 +0000

gnome-session (3.34.2-1) unstable; urgency=medium

  * Team upload
  * New upstream release
  * Bump Standards-Version to 4.4.1
  * Use debhelper-compat 12
  * Recommend default-logind | logind instead of libpam-systemd.
    This allows elogind as an alternative.
    Thanks to Mark Hindley (Closes: #925336)
  * d/p/Make-sure-to-pass-systemd-when-we-re-managing-the-user-se.patch:
    Respect @libexecdir@, in preparation for switching to /usr/libexec
  * Install non-user-facing executables in /usr/libexec, with
    compatibility symlinks in /usr/lib/gnome-session until gdm3 and
    gnome-control-center catch up
  * Stop overriding --localstatedir.
    It doesn't seem to be used for anything.

 -- Simon McVittie <smcv@debian.org>  Mon, 30 Dec 2019 17:09:56 +0000

gnome-session (3.34.1-1) unstable; urgency=medium

  * New upstream release
   + Drop accidentally included `--debug` when launching
     `gnome-session-binary`
   + Introduce a list of variables to potentially unset in launched
     sessions
  * Drop changes from 3.33.90-3 to add a gnome-session-systemd script. They
    are obsolete with 3.34.0-3

 -- Iain Lane <laney@debian.org>  Mon, 07 Oct 2019 12:07:07 +0100

gnome-session (3.34.0-3) unstable; urgency=medium

  * Add d/p/Make-sure-to-pass-systemd-when-we-re-managing-the-user-se.patch
    Thanks to Iain Lane for the patch. (Closes: #941640)

 -- Andreas Henriksson <andreas@fatal.se>  Thu, 03 Oct 2019 14:27:50 +0200

gnome-session (3.34.0-2) unstable; urgency=medium

  * Team upload.
  * Upload to unstable

 -- Andreas Henriksson <andreas@fatal.se>  Mon, 30 Sep 2019 17:29:31 +0200

gnome-session (3.34.0-1) experimental; urgency=medium

  * Team upload

  [ Iain Lane ]
  * d/p/d/gnome-.desktop.in.in-Pass-systemd.patch: Use gnome-session-systemd
    too. I'd patched TryExec before, by mistake.

  [ Simon McVittie ]
  * New upstream translation release

 -- Simon McVittie <smcv@debian.org>  Mon, 16 Sep 2019 08:54:12 +0100

gnome-session (3.33.92-1) experimental; urgency=medium

  * d/control, d/gnome-session-bin.install: Only install user units on Linux
  * New upstream release
    - More systemd --user fixes
  * Refresh patches.
  * d/p/util-Blacklist-some-session-specific-variables.patch: Drop, upstream
    in this release.
  * d/control, d/gnome-session-bin.install: Only install user units on Linux

 -- Iain Lane <laney@debian.org>  Fri, 06 Sep 2019 13:42:12 +0100

gnome-session (3.33.90-3) experimental; urgency=medium

  * d/p/gnome-.desktop.in.in-Pass-systemd.patch: Create a wrapper script. We
    can only have an executable without any arguments here, otherwise the X
    session can't be started up.

 -- Iain Lane <laney@debian.org>  Thu, 05 Sep 2019 17:23:10 +0100

gnome-session (3.33.90-2) experimental; urgency=medium

  * rules, gnome-.desktop.in.in-Pass-systemd.patch: Build with
    -Dsystemd_session=enable.  Build gnome-session with
    -Dsystemd_session=enable (instead of =default).  This means that sessions
    need to pass `--systemd` to launch using systemd.

 -- Iain Lane <laney@debian.org>  Sat, 24 Aug 2019 08:18:53 +0100

gnome-session (3.33.90-1) experimental; urgency=medium

  * New upstream release
    + Add support to manage the session using the systemd user instance. A new
      systemd_session build time option is added to enable/disable the support
      and set it as the default (disable/enable/default). Right now the
      support is enabled by default.
      - For Debian this means that we are now (in experimental, currently!)
        requiring systemd for GNOME sessions.
    + Update session definitions to match new gnome-settings-daemon
    + don't show logout button in fail whale when not logged in
    + handle apps exiting abruptly at log out better
  * debian/rules: Disable systemd session support on !linux
  * control: Bump gnome-shell/gnome-settings-daemon/gdm requirements.
    For the systemd --user support, ensure that people have all the
    components involved at 3.33.90.
  * Install systemd units into gnome-session-bin. They are needed by
    `/usr/bin/gnome-session` itself.
  * util-Blacklist-some-session-specific-variables.patch: Take from MR. Don't
    upload some session specific variables into the D-Bus and systemd
    environments, otherwise some things will get the wrong idea about what
    session they're running in.

 -- Iain Lane <laney@debian.org>  Thu, 15 Aug 2019 15:05:56 +0100

gnome-session (3.33.4-1) experimental; urgency=medium

  * debian/watch: Find unstable versions too
  * New upstream release
    + advertize support for GDM's session registration API
    + fix idle detection
    + fix warning in log spew with dbus activated services

 -- Iain Lane <laney@debian.org>  Fri, 02 Aug 2019 14:42:53 +0100

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog gnome-session-bin`.
