diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:49:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:49:37 +0000 |
commit | 2e555ad8dcd1b163cc1956df62f08d3d024d3df9 (patch) | |
tree | e07caf3859203d57868dfe702b120d4afd69b2c0 /debian/patches | |
parent | Adding upstream version 43.0. (diff) | |
download | gnome-session-2e555ad8dcd1b163cc1956df62f08d3d024d3df9.tar.xz gnome-session-2e555ad8dcd1b163cc1956df62f08d3d024d3df9.zip |
Adding debian version 43.0-1+deb12u1.debian/43.0-1+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/debian/Revert-main-Remove-GNOME_DESKTOP_SESSION_ID-envvar.patch | 32 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/debian/patches/debian/Revert-main-Remove-GNOME_DESKTOP_SESSION_ID-envvar.patch b/debian/patches/debian/Revert-main-Remove-GNOME_DESKTOP_SESSION_ID-envvar.patch new file mode 100644 index 0000000..ffdf3ec --- /dev/null +++ b/debian/patches/debian/Revert-main-Remove-GNOME_DESKTOP_SESSION_ID-envvar.patch @@ -0,0 +1,32 @@ +From: =?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> +Date: Wed, 15 Aug 2018 17:13:57 +0200 +Subject: Revert "main: Remove GNOME_DESKTOP_SESSION_ID envvar" + +This reverts commit 00e0e6226371d53f651cc881e74c0543192c94a8. + +Keep this for compatibility reasons, many apps still depends on this + +This is Debian-specific - upstream have chosen to remove this compatibility but +we'll keep it. + +Forwarded: not-needed +--- + gnome-session/main.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/gnome-session/main.c b/gnome-session/main.c +index a460a84..2a25d86 100644 +--- a/gnome-session/main.c ++++ b/gnome-session/main.c +@@ -609,6 +609,11 @@ main (int argc, char **argv) + g_free (ibus_path); + } + ++ /* Some third-party programs rely on GNOME_DESKTOP_SESSION_ID to ++ * detect if GNOME is running. We keep this for compatibility reasons. ++ */ ++ gsm_util_setenv ("GNOME_DESKTOP_SESSION_ID", "this-is-deprecated"); ++ + /* We want to use the GNOME menus which has the designed categories. + */ + gsm_util_setenv ("XDG_MENU_PREFIX", "gnome-"); diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..16fe565 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +debian/Revert-main-Remove-GNOME_DESKTOP_SESSION_ID-envvar.patch |