From 9d68e491c96541f7cbf3d5766597906561bbf512 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sun, 11 Mar 2018 11:32:43 -0400 Subject: x11-apps/xinit: xserverrc: pass -keeptty for systemd-logind support Closes: https://github.com/gentoo/gentoo/pull/7423 Closes: https://bugs.gentoo.org/603294 Signed-off-by: Matt Turner --- x11-apps/xinit/files/xserverrc.2 | 6 ++++ x11-apps/xinit/xinit-1.4.0-r1.ebuild | 67 ++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 x11-apps/xinit/files/xserverrc.2 create mode 100644 x11-apps/xinit/xinit-1.4.0-r1.ebuild (limited to 'x11-apps') diff --git a/x11-apps/xinit/files/xserverrc.2 b/x11-apps/xinit/files/xserverrc.2 new file mode 100644 index 000000000000..8d5b2c3f790c --- /dev/null +++ b/x11-apps/xinit/files/xserverrc.2 @@ -0,0 +1,6 @@ +#!/bin/sh +if [ -z "$XDG_VTNR" ]; then + exec /usr/bin/X -nolisten tcp "$@" +else + exec /usr/bin/X -nolisten tcp -keeptty "$@" "vt$XDG_VTNR" +fi diff --git a/x11-apps/xinit/xinit-1.4.0-r1.ebuild b/x11-apps/xinit/xinit-1.4.0-r1.ebuild new file mode 100644 index 000000000000..13cf2917ed8c --- /dev/null +++ b/x11-apps/xinit/xinit-1.4.0-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit xorg-2 + +DESCRIPTION="X Window System initializer" + +LICENSE="${LICENSE} GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux" +IUSE="+minimal" + +RDEPEND=" + ! /etc/env.d/90xsession" + ewarn " env-update && source /etc/profile" +} -- cgit v1.2.3-65-gdbad