diff options
Diffstat (limited to 'x11-misc/cdm')
-rw-r--r-- | x11-misc/cdm/Manifest | 5 | ||||
-rw-r--r-- | x11-misc/cdm/cdm-0.6.1_pre20130419.ebuild | 70 | ||||
-rw-r--r-- | x11-misc/cdm/metadata.xml | 19 |
3 files changed, 94 insertions, 0 deletions
diff --git a/x11-misc/cdm/Manifest b/x11-misc/cdm/Manifest new file mode 100644 index 000000000000..46b7e57bf1a7 --- /dev/null +++ b/x11-misc/cdm/Manifest @@ -0,0 +1,5 @@ +DIST cdm-0.6.1_pre20130419.tar.gz 16056 SHA256 3fabec053271c39bbca44074fd05eda0ccf8c1e320664bb6d8f23fa79aca2bca SHA512 638d92c536609b8bf1d08f4be80933e5ff23acfe412ee6b72ff924edbe1e510110b7941caea9b206136ee5a75dddd998275e89c132feba0ed3df26ab1657bf8b WHIRLPOOL 5606bc125080c74b5b49aebc26283817e03ef84bff5e671fa7df9f3f8041c3975db34a2a00ad37578419319244dc66935908df9bdd8b19f6d4b9351e5ff11f50 +EBUILD cdm-0.6.1_pre20130419.ebuild 1867 SHA256 79d485929673511e22ada3ae5ceadd9bb10a10a02d1910e4cbdf6ad59c9d7ce4 SHA512 e8ca7ae97e632a8d8190a5019b373d9bd30c70cc888632071ce05bed16297d5166ea068dac0f97368b44f0c7ce844d065cbc1a361729664f3a42e8353ea01133 WHIRLPOOL 386c031994b774764b2785a47c7f6e97331b796b5a87b983e5c0e10beb9482be2721acaf57620d22be7f0badf3e4618af9f94701fbda754f6a2457188f12daf3 +MISC ChangeLog 2720 SHA256 be84dc54bdd708f4175f9b6760f5ba531e97b1eea90f515f4caa474f27cf4891 SHA512 6c55affae89c53d0ff797e55cb959bd1399a070e6a3784c07d40177ce49a3b735cb7a37d371d7e5559c776e940e8b1046ff90418db35e658930a3dae653f4f90 WHIRLPOOL 07289387a6c2916bdf204e73c42918f24498eb94c2501b06d1eacb2538d6ff62e8d746d08e9ffb69a13d957133ceb10508c6320b5b490eedaab1d5067bf08c3a +MISC ChangeLog-2015 836 SHA256 4b7d4b21d369bdd2bf461c856a0cf77e271c4d1c54e74a40dafca303d93b1dd1 SHA512 8f44645fc63e89c88e2018e6ce92054f5c4b6c3f2aa37ff4632ce94c0cb2bdb0ad8cd05efff3aee661e8b363635d9c244e5359863a4263ff891e41c20abab2f6 WHIRLPOOL 444784499f68bce803dfbd601df2264d35a67b789bbfe58b2274e362c3950489e1fece8f2906334fedac7cfc6d220a5c6e5da544b017151527f18ad9d787dc98 +MISC metadata.xml 717 SHA256 8c339d4433824f002406f37e61e4c0448635b5dbac63b110810fa0add10075cb SHA512 cfabe6705c7af59ba703ca849a7cddd649cad9c0dbd939c4fb5e2fcc2cd5383f5771f0d259b1259516037c9d8c41bd2b59a86d70109494d7e4a131ce232b5929 WHIRLPOOL f6b9fd22fb774023fbfebd31bf2899dd72b3b4c40d338fce8194817e515bffc6cc24056404d93516899ce7a1b0b6ac0f450303ab9c22fdfceabbb762c48207d7 diff --git a/x11-misc/cdm/cdm-0.6.1_pre20130419.ebuild b/x11-misc/cdm/cdm-0.6.1_pre20130419.ebuild new file mode 100644 index 000000000000..2544ebcfa1a4 --- /dev/null +++ b/x11-misc/cdm/cdm-0.6.1_pre20130419.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit pam eutils + +DESCRIPTION="The Console Display Manager" +HOMEPAGE="https://wiki.archlinux.org/index.php/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="app-shells/bash" + +RDEPEND="${DEPEND} + dev-util/dialog + x11-apps/xdpyinfo + x11-apps/xinit + consolekit? ( sys-auth/consolekit + sys-apps/dbus ) + pam? ( virtual/pam )" + +src_prepare() { + 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." +} diff --git a/x11-misc/cdm/metadata.xml b/x11-misc/cdm/metadata.xml new file mode 100644 index 000000000000..76e6b001343e --- /dev/null +++ b/x11-misc/cdm/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>gienah@gentoo.org</email> + <name>Mark Wright</name> +</maintainer> +<longdescription lang="en"> +CDM is a minimalistic, yet full-featured replacement for +login-managers like slim, kdm, gdm and qingy that provides a fast, +dialog-based login system without the overhead of the X Window System +or the instability of qingy. Written in pure bash, CDM has no other +dependencies, yet supports multiple users/sessions and can start +virtually any DE/WM. +</longdescription> +<use> + <flag name="consolekit">Enable native consolekit support</flag> +</use> +</pkgmetadata> |