From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-libs/display-manager-init/
Date: Wed, 10 Feb 2021 20:31:43 +0000 (UTC) [thread overview]
Message-ID: <1612989057.715cdb312dc49cf913e01e9bb1e2bd8292ab2b04.asturm@gentoo> (raw)
commit: 715cdb312dc49cf913e01e9bb1e2bd8292ab2b04
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 10 20:30:57 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb 10 20:30:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=715cdb31
gui-libs/display-manager-init: Block x11-base/xorg-server-1.20.10-r2
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../display-manager-init-1.0-r2.ebuild | 55 ++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gui-libs/display-manager-init/display-manager-init-1.0-r2.ebuild b/gui-libs/display-manager-init/display-manager-init-1.0-r2.ebuild
new file mode 100644
index 00000000000..3c54378da25
--- /dev/null
+++ b/gui-libs/display-manager-init/display-manager-init-1.0-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 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"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+
+S="${WORKDIR}"
+
+RDEPEND="
+ sys-apps/gentoo-functions
+ !<=sys-apps/sysvinit-2.98
+ !<=x11-apps/xinit-1.4.1
+ !<=x11-base/xorg-server-1.20.10
+ !=x11-base/xorg-server-1.20.10-r2
+"
+
+src_install() {
+ newinitd "${FILESDIR}"/display-manager-setup.initd display-manager-setup
+ newinitd "${FILESDIR}"/display-manager.initd-r1 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_preinst() {
+ if [[ ${REPLACING_VERSIONS} == "" && -f "${EROOT}"/etc/conf.d/xdm && ! -f "${EROOT}"/etc/conf.d/display-manager ]]; then
+ cp -a "${EROOT}"/etc/conf.d/{xdm,display-manager} || die
+ fi
+ local rlevel using_xdm
+ using_xdm=no
+ for rlevel in boot default sysinit; do
+ if [[ -e "${EROOT}"/etc/runlevels/${rlevel}/xdm ]]; then
+ using_xdm=yes
+ fi
+ done
+ if [[ "${using_xdm}" = "yes" ]]; then
+ ewarn "The 'xdm' service has been replaced by new 'display-manager'"
+ ewarn "service, please switch now:"
+ ewarn
+ ewarn " # rc-update del xdm default"
+ ewarn " # rc-update add display-manager default"
+ ewarn
+ ewarn "Remember to run etc-update or dispatch-conf to update the"
+ ewarn "config protected service files."
+ fi
+}
next reply other threads:[~2021-02-10 20:31 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-10 20:31 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-20 19:05 [gentoo-commits] repo/gentoo:master commit in: gui-libs/display-manager-init/ Arthur Zamarin
2022-11-19 7:01 Arthur Zamarin
2022-08-17 16:11 Arthur Zamarin
2022-08-17 5:57 Arthur Zamarin
2022-05-10 1:35 WANG Xuerui
2022-01-05 23:51 James Le Cuirot
2021-04-12 22:08 Sam James
2021-04-12 22:08 Sam James
2021-04-12 17:33 Sam James
2021-04-12 17:33 Sam James
2021-04-07 22:44 Sam James
2021-04-07 22:42 Sam James
2021-02-05 20:58 Andreas Sturmlechner
2021-02-01 22:46 Piotr Karbowski
2021-02-01 18:04 Sergei Trofimovich
2021-02-01 2:28 Sam James
2021-02-01 1:31 Matt Turner
2021-01-31 21:35 Piotr Karbowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1612989057.715cdb312dc49cf913e01e9bb1e2bd8292ab2b04.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox