From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CA6031382C5 for ; Mon, 29 Jan 2018 10:29:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C15CAE0E76; Mon, 29 Jan 2018 10:29:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89CB2E0E76 for ; Mon, 29 Jan 2018 10:29:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 37DD1335C07 for ; Mon, 29 Jan 2018 10:29:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96CD41A4 for ; Mon, 29 Jan 2018 10:29:07 +0000 (UTC) From: "Mark Wright" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mark Wright" Message-ID: <1517221720.f536fcc093fa1d6a2df8dd8076cd568bdede48e3.gienah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/cdm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/cdm/Manifest x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild X-VCS-Directories: x11-misc/cdm/ X-VCS-Committer: gienah X-VCS-Committer-Name: Mark Wright X-VCS-Revision: f536fcc093fa1d6a2df8dd8076cd568bdede48e3 X-VCS-Branch: master Date: Mon, 29 Jan 2018 10:29:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a1a1a869-9802-451f-91a4-1756a8049360 X-Archives-Hash: f58c31afe92b36edbb415615f5034718 commit: f536fcc093fa1d6a2df8dd8076cd568bdede48e3 Author: Mark Wright gentoo org> AuthorDate: Mon Jan 29 10:28:40 2018 +0000 Commit: Mark Wright gentoo org> CommitDate: Mon Jan 29 10:28:40 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f536fcc0 x11-misc/cdm: Bump Package-Manager: Portage-2.3.19, Repoman-2.3.6 x11-misc/cdm/Manifest | 1 + x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild | 70 +++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/x11-misc/cdm/Manifest b/x11-misc/cdm/Manifest index b4de7476ba0..4e29e07811c 100644 --- a/x11-misc/cdm/Manifest +++ b/x11-misc/cdm/Manifest @@ -1 +1,2 @@ DIST cdm-0.6.1_pre20130419.tar.gz 16056 BLAKE2B a92eabbc044b58e751b29bc05073052605b03460fa1aa62f15385c78e3c2ca033f8a25b40c646eed1602f3856e97d8dd6f987ecbc6ba50ad68aad4813725e72b SHA512 638d92c536609b8bf1d08f4be80933e5ff23acfe412ee6b72ff924edbe1e510110b7941caea9b206136ee5a75dddd998275e89c132feba0ed3df26ab1657bf8b +DIST cdm-0.6.1_pre20180107.tar.gz 16541 BLAKE2B 19b7a8f6ef7541333b96bb3c2d6a9d3b7ce3bffdcf6653a3799d963d3b3bab3fe3553469a9cbf0f493109ad5308c739b25ce9e5801d0904f5d7b6e78b680e2fc SHA512 dc5587debb304636be25afdf60e8328b1eb9b961694813b089df504567f63cfeac6de17df715d589cec597f51044b8c121242ebefbe5bfeccf6aa072b1c03a40 diff --git a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild new file mode 100644 index 00000000000..d131c897863 --- /dev/null +++ b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit pam eutils + +DESCRIPTION="The Console Display Manager" +HOMEPAGE="https://github.com/evertiro/cdm" +SRC_URI="https://dev.gentoo.org/~gienah/snapshots/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="pam consolekit" +REQUIRED_USE="consolekit? ( pam )" + +DEPEND="" +RDEPEND="${DEPEND} + dev-util/dialog + x11-apps/xdpyinfo + x11-apps/xinit + consolekit? ( sys-auth/consolekit + sys-apps/dbus ) + pam? ( virtual/pam )" + +src_prepare() { + default + if ! use consolekit; then + sed -e 's@consolekit=yes@consolekit=no@' \ + -i "${S}/src/cdmrc" || die "Could not turn off consolekit in cdmrc" + fi +} + +src_install() { + if use pam ; then + pamd_mimic system-local-login cdm auth account session + fi + + insinto /usr/bin/ + insopts -m0755 + dobin src/${PN} src/${PN}-xlaunch + + insinto /etc + insopts -Dm644 + doins src/cdmrc + + insinto /etc/profile.d/ + insopts -Dm755 + newins src/profile.sh zzz-${PN}.sh + + # Install themes + insinto /usr/share/${PN}/themes + doins themes/* + # Copy documentation manually + dodoc ChangeLog-0.6 ChangeLog-before-0.6 README.md +} + +pkg_postinst() { + ewarn "In order to use CDM you must first edit your /etc/cdmrc" + ewarn "At least the binlist, namelist and flaglist entries should be added or edited" + ewarn "to specify the X window managers and console shells that you want before" + ewarn "you start CDM. Something like:" + ewarn "binlist=('xmonad' 'startkde' '/bin/zsh --login' '/bin/bash --login')" + ewarn "namelist=('XMonad' 'KDE' 'Console Zsh' 'Console Bash')" + ewarn "flaglist=(X X C C)" + ewarn "Ensure the flaglist X entries correspond to the X-Windows programs, and the" + ewarn "C entries correspond to console shells. Then just login with your username." + ewarn "Remove xdm from default runlevel." +}