From 2fcf75f7fd73a3bde04de39f42865150d9416406 Mon Sep 17 00:00:00 2001 From: Alexey Rochev Date: Oct 13 2018 23:58:17 +0000 Subject: Add patch to disable unsetting of DBUS_SESSION_BUS_ADDRESS environment variable --- diff --git a/dbus-address.patch b/dbus-address.patch new file mode 100644 index 0000000..aa7497a --- /dev/null +++ b/dbus-address.patch @@ -0,0 +1,12 @@ +diff --git a/startx.cpp b/startx.cpp +index dbc4cae..7badc54 100644 +--- a/startx.cpp ++++ b/startx.cpp +@@ -11,7 +11,6 @@ XCOMM + XCOMM Site administrators are STRONGLY urged to write nicer versions. + XCOMM + +-unset DBUS_SESSION_BUS_ADDRESS + unset SESSION_MANAGER + + #ifdef __APPLE__ diff --git a/xorg-x11-xinit.spec b/xorg-x11-xinit.spec index 9c2173f..83c7c82 100644 --- a/xorg-x11-xinit.spec +++ b/xorg-x11-xinit.spec @@ -25,6 +25,8 @@ Patch1: xinit-1.0.2-client-session.patch Patch5: 0003-startx-Make-startx-auto-display-select-work-with-per.patch # Fedora specific patch to match the similar patch in the xserver Patch6: xinit-1.3.4-set-XORG_RUN_AS_USER_OK.patch +# Fedora specific patch to disable unsetting of DBUS_SESSION_BUS_ADDRESS environment variable +Patch7: dbus-address.patch # The build process uses cpp (the C preprocessor) to do some text # processing on several files that are not C or C++. However, these @@ -65,6 +67,7 @@ managers. %patch1 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %build %configure