From: "Andreas Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/kdm/
Date: Sun, 20 Nov 2011 21:53:00 +0000 (UTC) [thread overview]
Message-ID: <d353f4c1104ce336e22a22cf34c376d689144270.dilfridge@gentoo> (raw)
commit: d353f4c1104ce336e22a22cf34c376d689144270
Author: Andreas K. Huettel (dilfridge) <mail <AT> akhuettel <DOT> de>
AuthorDate: Sun Nov 20 22:53:49 2011 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Nov 20 22:53:49 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=d353f4c1
[kde-base/kdm] Moved 4.7.3 to tree, added patch in newer
(Portage version: 2.1.10.36/git/Linux x86_64, unsigned Manifest commit)
---
kde-base/kdm/kdm-4.7.3-r1.ebuild | 161 -----------------------------------
kde-base/kdm/kdm-4.7.49.9999.ebuild | 3 +-
kde-base/kdm/kdm-4.7.80.ebuild | 3 +-
kde-base/kdm/kdm-9999.ebuild | 3 +-
4 files changed, 6 insertions(+), 164 deletions(-)
diff --git a/kde-base/kdm/kdm-4.7.3-r1.ebuild b/kde-base/kdm/kdm-4.7.3-r1.ebuild
deleted file mode 100644
index 7e04b3f..0000000
--- a/kde-base/kdm/kdm-4.7.3-r1.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-4.7.3.ebuild,v 1.1 2011/11/02 20:48:16 alexxy Exp $
-
-EAPI=4
-
-KDE_HANDBOOK="optional"
-KMNAME="kde-workspace"
-inherit kde4-meta flag-o-matic
-
-DESCRIPTION="KDE login manager, similar to xdm and gdm"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="+consolekit debug kerberos pam"
-
-DEPEND="
- $(add_kdebase_dep libkworkspace)
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXtst
- consolekit? (
- >=sys-apps/dbus-1.0.2
- sys-auth/consolekit
- )
- kerberos? ( virtual/krb5 )
- pam? (
- $(add_kdebase_dep kcheckpass)
- virtual/pam
- )
-"
-RDEPEND="${DEPEND}
- $(add_kdebase_dep kdepasswd)
- >=x11-apps/xinit-1.0.5-r2
- x11-apps/xmessage
-"
-
-KMEXTRA="
- libs/kdm/
-"
-
-PATCHES=(
- "${FILESDIR}/kdebase-4.0.2-pam-optional.patch"
- "${FILESDIR}/${PN}-4-gentoo-xinitrc.d.patch"
- "${FILESDIR}/${PN}-4.7.3-revertcrashlogic.patch"
-)
-
-pkg_setup() {
- kde4-meta_pkg_setup
-
- # Create kdm:kdm user
- KDM_HOME=/var/lib/kdm
- enewgroup kdm
- enewuser kdm -1 -1 "${KDM_HOME}" kdm
-}
-
-src_configure() {
- # genkdmconf breaks with -O3
- # last checked in 4.2.95
- replace-flags -O3 -O2
-
- mycmakeargs=(
- $(cmake-utils_use kerberos KDE4_KRB5AUTH)
- $(cmake-utils_use_with pam)
- $(cmake-utils_use_with consolekit CkConnector)
- )
-
- kde4-meta_src_configure
-}
-
-src_install() {
- export GENKDMCONF_FLAGS="--no-old --no-backup"
-
- kde4-meta_src_install
-
- # an equivalent file is already installed by kde-base/startkde, bug 377151
- rm "${ED}/usr/share/apps/kdm/sessions/kde-plasma.desktop" || die
-
- # Customize the kdmrc configuration:
- # - SessionDirs set to /usr/share/xsessions
- # - increase server timeout to 30s
- # - TerminateServer=true to workaround X server regen bug, bug 278473
- # - DataDir set to /var/lib/kdm
- # - FaceDir set to /var/lib/kdm/faces
- sed -e "s|^.*SessionsDirs=.*$|#&\nSessionsDirs=${EPREFIX}/usr/share/apps/kdm/sessions,${EPREFIX}/usr/share/xsessions|" \
- -e "/#ServerTimeout=/s/^.*$/ServerTimeout=30/" \
- -e "/#TerminateServer=/s/^.*$/TerminateServer=true/" \
- -e "s|^.*DataDir=.*$|#&\nDataDir=${EPREFIX}${KDM_HOME}|" \
- -e "s|^.*FaceDir=.*$|#&\nFaceDir=${EPREFIX}${KDM_HOME}/faces|" \
- -i "${ED}"/usr/share/config/kdm/kdmrc \
- || die "Failed to set ServerTimeout and SessionsDirs correctly in kdmrc."
-
- # Don't install empty dir
- rmdir "${ED}"/usr/share/config/kdm/sessions
-
- # Set up permissions to kdm work directory
- keepdir "${KDM_HOME}"
- fowners root:kdm "${KDM_HOME}"
- fperms 1770 "${KDM_HOME}"
-
- # install logrotate file
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/kdm-logrotate kdm
-}
-
-pkg_postinst() {
- kde4-meta_pkg_postinst
-
- local file src dest dir old_dirs=(
- /var/lib/kdm-live
- /var/lib/kdm-4.6
- /var/lib/kdm-4.5
- /var/lib/kdm-4.4
- /usr/share/apps/kdm
- /usr/kde/4.4/share/apps/kdm
- /usr/kde/4.3/share/apps/kdm
- /usr/kde/4.2/share/apps/kdm
- )
-
- mkdir -p "${EROOT}${KDM_HOME}/faces"
- # 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
- for file in faces/.default.face.icon:default1.png faces/root.face.icon:root1.png kdmsts: ; do
- src=${file#*:}
- dest=${file%:*}
- if [[ ! -e ${EROOT}${KDM_HOME}/$dest ]]; then
- for dir in "${old_dirs[@]}"; do
- if [[ -e ${EROOT}${dir}/${dest} ]]; then
- cp "${EROOT}${dir}/${dest}" "${EROOT}${KDM_HOME}/${dest}"
- break 2
- fi
- done
- if [[ -n ${src} ]]; then
- cp "${EROOT}/usr/share/apps/kdm/pics/users/${src}" \
- "${EROOT}${KDM_HOME}/${dest}"
- fi
- fi
- done
- for dir in "${old_dirs[@]}"; do
- if [[ ${dir} != /usr/* && -d ${EROOT}${dir} ]]; then
- echo
- elog "The directory ${EROOT%/}${dir} still exists from an older installation of KDE."
- elog "You may wish to copy relevant settings into ${EROOT%/}${KDM_HOME}."
- echo
- elog "After doing so, you may delete the directory."
- echo
- fi
- done
-
- # Make sure permissions are correct -- old installations may have
- # gotten this wrong
- use prefix || chown root:kdm "${EROOT}${KDM_HOME}"
- chmod 1770 "${EROOT}${KDM_HOME}"
-
- 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/kdm-4.7.49.9999.ebuild b/kde-base/kdm/kdm-4.7.49.9999.ebuild
index a63e162..ce9a6a7 100644
--- a/kde-base/kdm/kdm-4.7.49.9999.ebuild
+++ b/kde-base/kdm/kdm-4.7.49.9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-4.7.3.ebuild,v 1.1 2011/11/02 20:48:16 alexxy Exp $
EAPI=4
@@ -40,6 +40,7 @@ KMEXTRA="
PATCHES=(
"${FILESDIR}/kdebase-4.0.2-pam-optional.patch"
"${FILESDIR}/${PN}-4-gentoo-xinitrc.d.patch"
+ "${FILESDIR}/${PN}-4.7.3-revertcrashlogic.patch"
)
pkg_setup() {
diff --git a/kde-base/kdm/kdm-4.7.80.ebuild b/kde-base/kdm/kdm-4.7.80.ebuild
index 19ea40e..d3a5af4 100644
--- a/kde-base/kdm/kdm-4.7.80.ebuild
+++ b/kde-base/kdm/kdm-4.7.80.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-4.7.3.ebuild,v 1.1 2011/11/02 20:48:16 alexxy Exp $
EAPI=4
@@ -40,6 +40,7 @@ KMEXTRA="
PATCHES=(
"${FILESDIR}/kdebase-4.0.2-pam-optional.patch"
"${FILESDIR}/${PN}-4-gentoo-xinitrc.d.patch"
+ "${FILESDIR}/${PN}-4.7.3-revertcrashlogic.patch"
)
pkg_setup() {
diff --git a/kde-base/kdm/kdm-9999.ebuild b/kde-base/kdm/kdm-9999.ebuild
index a63e162..ce9a6a7 100644
--- a/kde-base/kdm/kdm-9999.ebuild
+++ b/kde-base/kdm/kdm-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-4.7.3.ebuild,v 1.1 2011/11/02 20:48:16 alexxy Exp $
EAPI=4
@@ -40,6 +40,7 @@ KMEXTRA="
PATCHES=(
"${FILESDIR}/kdebase-4.0.2-pam-optional.patch"
"${FILESDIR}/${PN}-4-gentoo-xinitrc.d.patch"
+ "${FILESDIR}/${PN}-4.7.3-revertcrashlogic.patch"
)
pkg_setup() {
next reply other threads:[~2011-11-20 21:53 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-20 21:53 Andreas Hüttel [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-03-15 13:27 [gentoo-commits] proj/kde:master commit in: kde-base/kdm/ Johannes Huber
2014-03-16 9:10 Michael Palimaka
2014-03-15 9:08 Johannes Huber
2013-08-21 18:41 Michael Palimaka
2013-08-18 10:25 Andreas Hüttel
2013-07-25 22:16 Johannes Huber
2013-06-24 22:14 Johannes Huber
2013-06-24 21:51 Johannes Huber
2013-04-28 23:59 David Heidelberger
2013-04-09 14:30 Michael Palimaka
2012-06-26 11:38 Michael Palimaka
2012-06-15 11:31 Michael Palimaka
2012-05-22 20:52 Michael Palimaka
2012-05-01 11:21 Johannes Huber
2011-10-28 17:43 Andreas Hüttel
2011-09-07 21:43 Alexey Shvetsov
2011-07-25 20:54 Andreas Hüttel
2011-07-12 20:53 Andreas Hüttel
2011-05-24 5:57 Jorge Manuel B. S. Vicetto
2011-05-19 16:20 Jonathan Callen
2011-04-01 8:41 Andreas K. Huettel
2011-02-27 13:32 Andreas K. Huettel
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=d353f4c1104ce336e22a22cf34c376d689144270.dilfridge@gentoo \
--to=dilfridge@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