summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-25 23:47:33 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-25 23:47:33 +0800
commit23a790a91be2006be5ecf95d6537c87c71a8089b (patch)
tree85a0c9e1dea2ce9df4cb70fde73fc0cde7cac261
parentd2609f230eba413cc287138456d08c9351f7886e (diff)
downloadmarcuscom-ports-experimental-23a790a91be2006be5ecf95d6537c87c71a8089b.tar.gz
marcuscom-ports-experimental-23a790a91be2006be5ecf95d6537c87c71a8089b.tar.zst
marcuscom-ports-experimental-23a790a91be2006be5ecf95d6537c87c71a8089b.zip
Remove the locking files under ${gdm_home}/.cache/gnome-shell/runtime-sta*HEADtrunk
so tah gnome-shell will not turn off the screen just after starting gdm. This is a temporary solution, the right one would be to use XDG_RUNTIME_DIR. git-svn-id: svn://creme-brulee.marcuscom.com/ports-experimental/trunk@19570 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11/gdm/Makefile1
-rw-r--r--x11/gdm/files/gdm.in4
2 files changed, 5 insertions, 0 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 697acb2..87e909d 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -4,6 +4,7 @@
PORTNAME= gdm
PORTVERSION= 3.12.1
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
diff --git a/x11/gdm/files/gdm.in b/x11/gdm/files/gdm.in
index 002470d..d2886f2 100644
--- a/x11/gdm/files/gdm.in
+++ b/x11/gdm/files/gdm.in
@@ -34,6 +34,10 @@ gdm_start()
fi
echo "Starting ${name}."
+ # we need to remove locking files under $gdm_home/.cache/gnome-shell/
+ # until XDG_RUNTIME_DIR can be set and used
+ rm -fr %%PREFIX%%/etc/gdm/home/.cache/gnome-shell/runtime-state*
+
# make sure there is no pam configuration for gdm service in base system
if ! checkyesno gdm_preserve_base_pam_conf && [ -f /etc/pam.d/gdm ]; then
cp -p /etc/pam.d/gdm /etc/pam.d/gdm_disabled