summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authoryouri <youri@pkgsrc.org>2018-05-25 14:26:00 +0000
committeryouri <youri@pkgsrc.org>2018-05-25 14:26:00 +0000
commita71654cc4056d4aeabd7370081aed3fdfb9dc73b (patch)
tree5c47aec73ddd78066fd72f5ba882c781c460260e /x11
parentede34e44c5096179aad2ae013b4cbebbd5aafe1a (diff)
downloadpkgsrc-a71654cc4056d4aeabd7370081aed3fdfb9dc73b.tar.gz
Fix startlxde so it picks the session configuration file properly.
Diffstat (limited to 'x11')
-rw-r--r--x11/lxde-common/distinfo3
-rw-r--r--x11/lxde-common/patches/patch-startlxde.in15
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