pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gdm: don't hardcore VARBASE
Module Name: pkgsrc-wip
Committed By: nia <nia%netbsd.org@localhost>
Pushed By: nee
Date: Thu Nov 5 11:14:14 2020 +0100
Changeset: 56a1faa1c453c15f0a72e0560e9c0297c6f53c97
Modified Files:
gdm/Makefile
gdm/distinfo
gdm/patches/patch-data_Init_in
Log Message:
gdm: don't hardcore VARBASE
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=56a1faa1c453c15f0a72e0560e9c0297c6f53c97
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gdm/Makefile | 2 ++
gdm/distinfo | 2 +-
gdm/patches/patch-data_Init_in | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diffs:
diff --git a/gdm/Makefile b/gdm/Makefile
index 1420c1127d..7abaeb6214 100644
--- a/gdm/Makefile
+++ b/gdm/Makefile
@@ -27,7 +27,9 @@ SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths+= configure.ac
SUBST_FILES.paths+= daemon/gdm-session-worker.c
+SUBST_FILES.paths+= data/Init.in
SUBST_VARS.paths= PREFIX
+SUBST_VARS.paths+= VARBASE
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
diff --git a/gdm/distinfo b/gdm/distinfo
index 260cb3a8bd..496077155b 100644
--- a/gdm/distinfo
+++ b/gdm/distinfo
@@ -23,7 +23,7 @@ SHA1 (patch-daemon_gdm-session-worker_xml) = e384aed90c0ffc6483dad9c806e55a8e9d9
SHA1 (patch-daemon_gdm-session_c) = 6cb462c9aebb6958624a6c11416a1dcdbdab0aa4
SHA1 (patch-daemon_gdm-session_h) = b350278af12865e4f0565e69a0e52238ff9aa4b0
SHA1 (patch-daemon_main_c) = 95d05534528a22f66315dc4b0b841aab760fc3d2
-SHA1 (patch-data_Init_in) = 79cfcbd2bbbfa0bf18ed1ee5001c662335c63509
+SHA1 (patch-data_Init_in) = 045f87fa5513ae9f8190a99acef84213e4b2e74e
SHA1 (patch-data_Makefile_am) = 857b281e59d6611a7e3e631db74a9de068a79e1f
SHA1 (patch-data_PostSession_in) = 0951d9c4e1404478c1ac9fba996bc96b41ed4d5b
SHA1 (patch-data_PreSession_in) = cf1fec76b9555a911b0af6d3e32a838a94c57ca1
diff --git a/gdm/patches/patch-data_Init_in b/gdm/patches/patch-data_Init_in
index 5a7968a075..7ed2e0e7ee 100644
--- a/gdm/patches/patch-data_Init_in
+++ b/gdm/patches/patch-data_Init_in
@@ -23,6 +23,6 @@ $OpenBSD: patch-data_Init_in,v 1.7 2015/04/15 14:47:00 ajacoutot Exp $
+ /sbin/chown _gdm /dev/drm0
+fi
+# XXX OpenBSD needs an implementation of XDG_RUNTIME_DIR
-+rm -rf /var/db/gdm/.cache/gnome-shell/runtime-state-*
++rm -rf @VARBASE@/db/gdm/.cache/gnome-shell/runtime-state-*
+
exit 0
Home |
Main Index |
Thread Index |
Old Index