diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2009-01-27 18:25:49 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2009-01-27 18:25:49 +0000 |
commit | 4b56a9456112f0424b9de968daac0612d94c4386 (patch) | |
tree | e49905f06cc5d2008a7b44b78bdb1d963298c15d /kde-base/kdm | |
parent | cleanout (diff) | |
download | historical-4b56a9456112f0424b9de968daac0612d94c4386.tar.gz historical-4b56a9456112f0424b9de968daac0612d94c4386.tar.bz2 historical-4b56a9456112f0424b9de968daac0612d94c4386.zip |
Bump shiny new KDE 4.2.0
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'kde-base/kdm')
-rw-r--r-- | kde-base/kdm/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kdm/kdm-4.2.0.ebuild | 83 | ||||
-rw-r--r-- | kde-base/kdm/metadata.xml | 3 |
3 files changed, 92 insertions, 1 deletions
diff --git a/kde-base/kdm/ChangeLog b/kde-base/kdm/ChangeLog index cf7c8efdfc30..f1e91abeacf6 100644 --- a/kde-base/kdm/ChangeLog +++ b/kde-base/kdm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kdm # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/ChangeLog,v 1.145 2009/01/14 14:50:14 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/ChangeLog,v 1.146 2009/01/27 17:06:47 alexxy Exp $ + +*kdm-4.2.0 (27 Jan 2009) + + 27 Jan 2009; Alexey Shvetsov <alexxy@gentoo.org> +kdm-4.2.0.ebuild: + Bump KDE-4.2.0 14 Jan 2009; Alexey Shvetsov <alexxy@gentoo.org> -kdm-4.1.2.ebuild, -kdm-4.1.3.ebuild: diff --git a/kde-base/kdm/kdm-4.2.0.ebuild b/kde-base/kdm/kdm-4.2.0.ebuild new file mode 100644 index 000000000000..ecfb8ea026cf --- /dev/null +++ b/kde-base/kdm/kdm-4.2.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-4.2.0.ebuild,v 1.1 2009/01/27 17:06:47 alexxy Exp $ + +EAPI="2" + +KMNAME="kdebase-workspace" +inherit kde4-meta + +DESCRIPTION="KDE login manager, similar to xdm and gdm" +KEYWORDS="~amd64 ~x86" +IUSE="consolekit debug htmlhandbook kerberos pam" + +DEPEND="x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXtst + kerberos? ( virtual/krb5 ) + pam? ( + >=kde-base/kcheckpass-${PV}:${SLOT} + sys-libs/pam + ) + consolekit? ( + >=sys-apps/dbus-1.0.2 + sys-auth/consolekit + )" +RDEPEND="${DEPEND} + >=kde-base/kdepasswd-${PV}:${SLOT} + >=x11-apps/xinit-1.0.5-r2 + x11-apps/xmessage" + +KMEXTRACTONLY="kcontrol/kdm/" +KMEXTRA="libs/kdm/" + +PATCHES=("${FILESDIR}/kdebase-4.0.2-pam-optional.patch") + +src_configure() { + mycmakeargs="${mycmakeargs} + $(use kerberos && echo "-DKDE4_KRB5AUTH=ON" || echo "-DKDE4_KRB5AUTH=OFF") + $(cmake-utils_use_with pam PAM) + $(cmake-utils_use_with consolekit CkConnector)" + + kde4-meta_src_configure +} + +src_install() { + export GENKDMCONF_FLAGS="--no-old --no-backup" + + kde4-meta_src_install + + # Customize the kdmrc configuration + sed -i -e "s:^.*SessionsDirs=.*$:#&\nSessionsDirs=/usr/share/xsessions:" \ + "${D}"/${PREFIX}/share/config/kdm/kdmrc \ + || die "Failed to set SessionsDirs correctly." + + # Don't install empty dir + rmdir "${D}${KDEDIR}"/share/config/kdm/sessions +} + +pkg_postinst() { + kde4-meta_pkg_postinst + + # Set the default kdm face icon if it's not already set by the system admin + # because this is user-overrideable in that way, it's not in src_install + if [[ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" ]]; then + mkdir -p "${ROOT}${KDEDIR}/share/apps/kdm/faces" + cp "${ROOT}${KDEDIR}/share/apps/kdm/pics/users/default1.png" \ + "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" + fi + if [[ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/root.face.icon" ]]; then + mkdir -p "${ROOT}${KDEDIR}/share/apps/kdm/faces" + cp "${ROOT}${KDEDIR}/share/apps/kdm/pics/users/root1.png" \ + "${ROOT}${KDEDIR}/share/apps/kdm/faces/root.face.icon" + fi + + if use consolekit; then + echo + elog "You have compiled 'kdm' with consolekit support. If you want to use kdm," + elog "make sure consolekit daemon is running and started at login time" + elog + elog "rc-update add consolekit default && /etc/init.d/consolekit start" + echo + fi +} diff --git a/kde-base/kdm/metadata.xml b/kde-base/kdm/metadata.xml index 8d1e86a9cefb..4d3e641920a0 100644 --- a/kde-base/kdm/metadata.xml +++ b/kde-base/kdm/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>kde</herd> +<use> + <flag name="consolekit">Enables support for authorization using consolekit</flag> +</use> </pkgmetadata> |