From f85797a6f24c0c7304ef9372da35242682490215 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 31 Jan 2021 21:46:47 +0000 Subject: gui-libs/display-manager-init : drop xdm compatibility unit --- .../display-manager-init-1.0-r10.ebuild | 37 ---------------------- .../display-manager-init-1.0-r100.ebuild | 36 +++++++++++++++++++++ gui-libs/display-manager-init/files/xdm.initd | 13 -------- 3 files changed, 36 insertions(+), 50 deletions(-) delete mode 100644 gui-libs/display-manager-init/display-manager-init-1.0-r10.ebuild create mode 100644 gui-libs/display-manager-init/display-manager-init-1.0-r100.ebuild delete mode 100644 gui-libs/display-manager-init/files/xdm.initd diff --git a/gui-libs/display-manager-init/display-manager-init-1.0-r10.ebuild b/gui-libs/display-manager-init/display-manager-init-1.0-r10.ebuild deleted file mode 100644 index b93a08c1..00000000 --- a/gui-libs/display-manager-init/display-manager-init-1.0-r10.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="RC init files for starting display and login managers" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:X11" - -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -SLOT="0" - -S="${FILESDIR}" - -RDEPEND=" - sys-apps/gentoo-functions - !<=sys-apps/sysvinit-2.98 - !<=x11-apps/xinit-1.4.1 - !<=x11-base/xorg-server-1.20.10-r10 -" - -src_install() { - newinitd "${FILESDIR}"/display-manager-setup.initd display-manager-setup - newinitd "${FILESDIR}"/display-manager.initd display-manager - newinitd "${FILESDIR}"/xdm.initd xdm - newconfd "${FILESDIR}"/display-manager.confd display-manager - exeinto /usr/bin - doexe "${FILESDIR}"/startDM - # backwards compatibility - dosym "${ESYSROOT}"/usr/bin/startDM /etc/X11/startDM.sh -} - -pkg_postinst() { - # Redcore Linux tweak : automatically migrate all users - "${ROOT}"/sbin/rc-update del xdm default > /dev/null 2>&1 - "${ROOT}"/sbin/rc-update add display-manager default > /dev/null 2>&1 -} diff --git a/gui-libs/display-manager-init/display-manager-init-1.0-r100.ebuild b/gui-libs/display-manager-init/display-manager-init-1.0-r100.ebuild new file mode 100644 index 00000000..6560d93e --- /dev/null +++ b/gui-libs/display-manager-init/display-manager-init-1.0-r100.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="RC init files for starting display and login managers" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:X11" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +SLOT="0" + +S="${FILESDIR}" + +RDEPEND=" + sys-apps/gentoo-functions + !<=sys-apps/sysvinit-2.98 + !<=x11-apps/xinit-1.4.1 + !<=x11-base/xorg-server-1.20.10-r10 +" + +src_install() { + newinitd "${FILESDIR}"/display-manager-setup.initd display-manager-setup + newinitd "${FILESDIR}"/display-manager.initd display-manager + newconfd "${FILESDIR}"/display-manager.confd display-manager + exeinto /usr/bin + doexe "${FILESDIR}"/startDM + # backwards compatibility + dosym "${ESYSROOT}"/usr/bin/startDM /etc/X11/startDM.sh +} + +pkg_postinst() { + # Redcore Linux tweak : automatically migrate all users + "${ROOT}"/sbin/rc-update del xdm default > /dev/null 2>&1 + "${ROOT}"/sbin/rc-update add display-manager default > /dev/null 2>&1 +} diff --git a/gui-libs/display-manager-init/files/xdm.initd b/gui-libs/display-manager-init/files/xdm.initd deleted file mode 100644 index 2fce43b0..00000000 --- a/gui-libs/display-manager-init/files/xdm.initd +++ /dev/null @@ -1,13 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License, v2 - -depend() { - need display-manager -} - -start() { - return -} - -# vim: set ts=4 : -- cgit v1.2.3