diff options
author | youri <youri@pkgsrc.org> | 2018-05-25 14:26:00 +0000 |
---|---|---|
committer | youri <youri@pkgsrc.org> | 2018-05-25 14:26:00 +0000 |
commit | a71654cc4056d4aeabd7370081aed3fdfb9dc73b (patch) | |
tree | 5c47aec73ddd78066fd72f5ba882c781c460260e /x11 | |
parent | ede34e44c5096179aad2ae013b4cbebbd5aafe1a (diff) | |
download | pkgsrc-a71654cc4056d4aeabd7370081aed3fdfb9dc73b.tar.gz |
Fix startlxde so it picks the session configuration file properly.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/lxde-common/distinfo | 3 | ||||
-rw-r--r-- | x11/lxde-common/patches/patch-startlxde.in | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/lxde-common/distinfo b/x11/lxde-common/distinfo index 44a6386e678..87704fe3a2d 100644 --- a/x11/lxde-common/distinfo +++ b/x11/lxde-common/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2018/05/22 16:01:51 youri Exp $ +$NetBSD: distinfo,v 1.3 2018/05/25 14:26:00 youri Exp $ SHA1 (lxde-common-0.99.2.tar.xz) = e54d80b64e6a89ff1f89ced7a826fa4e8bf453ec RMD160 (lxde-common-0.99.2.tar.xz) = e8e7b5438e6296be63e278878902260b5e0ce598 @@ -6,3 +6,4 @@ SHA512 (lxde-common-0.99.2.tar.xz) = 9eb939ad411ed15c6bae880541b5c021ce5f3dd66df Size (lxde-common-0.99.2.tar.xz) = 889948 bytes SHA1 (patch-Makefile.in) = 01b1d4196ce3b16a06a36c71c49516814e5823dc SHA1 (patch-configure) = 52f637fa4c481defcb96fbcabfbf665593a38e97 +SHA1 (patch-startlxde.in) = 138ae9e98d6ee9dd0295619bfdce1e773e89875a diff --git a/x11/lxde-common/patches/patch-startlxde.in b/x11/lxde-common/patches/patch-startlxde.in new file mode 100644 index 00000000000..3d620b9c129 --- /dev/null +++ b/x11/lxde-common/patches/patch-startlxde.in @@ -0,0 +1,15 @@ +$NetBSD: patch-startlxde.in,v 1.1 2018/05/25 14:26:00 youri Exp $ + +Fix config file location. + +--- startlxde.in.orig 2016-11-21 22:59:09.000000000 +0000 ++++ startlxde.in +@@ -12,7 +12,7 @@ fi + OPENBOX_CONF_DIR="$XDG_CONFIG_HOME/openbox" + if [ ! -f "$OPENBOX_CONF_DIR/lxde-rc.xml" ]; then + mkdir -p "$OPENBOX_CONF_DIR" +- cp @sysconfdir@/xdg/openbox/LXDE/rc.xml "$OPENBOX_CONF_DIR/lxde-rc.xml" ++ cp @prefix@/etc/xdg/openbox/LXDE/rc.xml "$OPENBOX_CONF_DIR/lxde-rc.xml" + fi + + # Ensure the existance of the 'Desktop' folder |