summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Erculiani <lxnay@gentoo.org>2011-01-24 19:08:19 +0000
committerFabio Erculiani <lxnay@gentoo.org>2011-01-24 19:08:19 +0000
commit425ac27a273fd74b37cec349147abc6bc0a5fc5e (patch)
treefed5b69fde7ad3952021cde26c4d6844affdd775 /lxde-base
parentDrop xcb USE dep on phonon. Bug 352611 (diff)
downloadhistorical-425ac27a273fd74b37cec349147abc6bc0a5fc5e.tar.gz
historical-425ac27a273fd74b37cec349147abc6bc0a5fc5e.tar.bz2
historical-425ac27a273fd74b37cec349147abc6bc0a5fc5e.zip
new ebuild, close bug #346833
Package-Manager: portage-2.2.0_alpha13/cvs/Linux x86_64
Diffstat (limited to 'lxde-base')
-rw-r--r--lxde-base/lxdm/ChangeLog11
-rw-r--r--lxde-base/lxdm/Manifest6
-rw-r--r--lxde-base/lxdm/files/lxdm-0.3.0-consolekit-disable.patch14
-rw-r--r--lxde-base/lxdm/files/lxdm-0.3.0-pam_console-disable.patch8
-rw-r--r--lxde-base/lxdm/lxdm-0.3.0.ebuild56
-rw-r--r--lxde-base/lxdm/metadata.xml8
6 files changed, 103 insertions, 0 deletions
diff --git a/lxde-base/lxdm/ChangeLog b/lxde-base/lxdm/ChangeLog
new file mode 100644
index 000000000000..ffb551169d5b
--- /dev/null
+++ b/lxde-base/lxdm/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for lxde-base/lxdm
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxdm/ChangeLog,v 1.1 2011/01/24 19:08:19 lxnay Exp $
+
+*lxdm-0.3.0 (24 Jan 2011)
+
+ 24 Jan 2011; Fabio Erculiani <lxnay@gentoo.org> +lxdm-0.3.0.ebuild,
+ +files/lxdm-0.3.0-consolekit-disable.patch,
+ +files/lxdm-0.3.0-pam_console-disable.patch, +metadata.xml:
+ new ebuild, close bug #346833
+
diff --git a/lxde-base/lxdm/Manifest b/lxde-base/lxdm/Manifest
new file mode 100644
index 000000000000..4603e0536c81
--- /dev/null
+++ b/lxde-base/lxdm/Manifest
@@ -0,0 +1,6 @@
+AUX lxdm-0.3.0-consolekit-disable.patch 272 RMD160 2f0a98002f85ca47b529cc9ae530b6907100b85b SHA1 810371ac3319c3ebcc39e420a2b64d00ee27210b SHA256 b23a338405f6d01a9a93e7afaaf95a91cb8e5f36d2b864d955f0dcc452f8680a
+AUX lxdm-0.3.0-pam_console-disable.patch 260 RMD160 fa8fb4bd2d0d57235924bb241688b491988fccb3 SHA1 820ef218b6f379bc63c8f24cd43e58fc75769004 SHA256 0e9dbcf422b8db8e559015fb7d50fa0c73006c2f5550f6832b2ba36e38b3c0e0
+DIST lxdm-0.3.0.tar.gz 271373 RMD160 989868e611df4aafe817eaca399ca54155e3dc16 SHA1 a8bcf9e8dcda4203b846c09ee9d9d8c7e2374746 SHA256 19d167898299937c3b2787a0583f308e99e732fa1647fec60083edf812efa638
+EBUILD lxdm-0.3.0.ebuild 1254 RMD160 e5cb5ee7aa73d16be527731bb49724dde5116a52 SHA1 a5eaaf83d012f2af273d1299952d95965c83264d SHA256 b82541e6a6f4f2e21372329d4bac471d44ac60415bf592da885294d0945d9f75
+MISC ChangeLog 438 RMD160 1c030790088fb0fb0f8f500a22d6337b07289bb3 SHA1 2480f133e44ac5d38532494047e663cfec4da4c6 SHA256 c9805c00212c8d80b9529e8f632dea2106cea5dd22923927a0d3956fbb2562e4
+MISC metadata.xml 257 RMD160 b9bf77e1294844bcfc3ed001455eb557b6ebd2c1 SHA1 42fd58059ba3be1da81093e15d981aec360b837c SHA256 2c93820d6ed24d2c61064a046437c0dd70863df39c5a6dbe0019fd7e88b6f922
diff --git a/lxde-base/lxdm/files/lxdm-0.3.0-consolekit-disable.patch b/lxde-base/lxdm/files/lxdm-0.3.0-consolekit-disable.patch
new file mode 100644
index 000000000000..3d02d32b17cf
--- /dev/null
+++ b/lxde-base/lxdm/files/lxdm-0.3.0-consolekit-disable.patch
@@ -0,0 +1,14 @@
+--- lxdm-0.3.0-old/src/lxdm.c
++++ lxdm-0.3.0/src/lxdm.c
+@@ -1332,4 +1332,5 @@
+ if(option)
+ s->option=g_strdup(option);
++#if HAVE_LIBCK_CONNECTOR
+ if(s->ckc)
+ {
+@@ -1337,4 +1338,5 @@
+ s->ckc=NULL;
+ }
++#endif
+ #if HAVE_LIBPAM
+ setup_pam_session(s,pw,session_name);
diff --git a/lxde-base/lxdm/files/lxdm-0.3.0-pam_console-disable.patch b/lxde-base/lxdm/files/lxdm-0.3.0-pam_console-disable.patch
new file mode 100644
index 000000000000..c920bc85c3e6
--- /dev/null
+++ b/lxde-base/lxdm/files/lxdm-0.3.0-pam_console-disable.patch
@@ -0,0 +1,8 @@
+--- lxdm-0.2.0.a/pam/lxdm
++++ lxdm-0.2.0.b/pam/lxdm
+@@ -4,4 +4,4 @@
+ session optional pam_keyinit.so force revoke
+ session include system-auth
+ session required pam_loginuid.so
+-session optional pam_console.so
++# session optional pam_console.so
diff --git a/lxde-base/lxdm/lxdm-0.3.0.ebuild b/lxde-base/lxdm/lxdm-0.3.0.ebuild
new file mode 100644
index 000000000000..7be0fb1fad30
--- /dev/null
+++ b/lxde-base/lxdm/lxdm-0.3.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxdm/lxdm-0.3.0.ebuild,v 1.1 2011/01/24 19:08:19 lxnay Exp $
+
+EAPI="2"
+
+inherit eutils autotools
+
+DESCRIPTION="LXDE Display Manager"
+HOMEPAGE="http://lxde.org"
+SRC_URI="mirror://sourceforge/lxde/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+consolekit nls"
+
+RDEPEND="sys-libs/pam
+ x11-libs/gtk+:2
+ consolekit? ( sys-auth/consolekit )
+ nls? ( sys-devel/gettext )"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.40
+ dev-util/pkgconfig"
+
+src_configure() {
+ econf --with-x $(use_enable nls) || die "econf failed"
+}
+
+src_prepare() {
+ # There is consolekit
+ epatch "${FILESDIR}/${P}-pam_console-disable.patch"
+ use consolekit || epatch "${FILESDIR}/${P}-consolekit-disable.patch"
+
+ # this replaces the bootstrap/autogen script in most packages
+ eautoreconf
+
+ # process LINGUAS
+ if use nls; then
+ einfo "Running intltoolize ..."
+ intltoolize --force --copy --automake || die
+ strip-linguas -i "${S}/po" || die
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS README TODO || die
+}
+
+pkg_postinst() {
+ echo
+ elog "LXDM in the early stages of development!"
+ echo
+}
diff --git a/lxde-base/lxdm/metadata.xml b/lxde-base/lxdm/metadata.xml
new file mode 100644
index 000000000000..84b9f1702367
--- /dev/null
+++ b/lxde-base/lxdm/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>lxde</herd>
+ <use>
+ <flag name="consolekit">Enables support for authorization using consolekit</flag>
+ </use>
+</pkgmetadata>