summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-10-07 07:11:39 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-10-07 07:11:39 +0000
commit4ebf776e27496690b35922a1405d39feddc3d36a (patch)
treec1e492839307f1d62b1586d4bcf65a0d97325a2c
parentInitial import. New dependency for forthcoming Rails 3.1 (via sprockets). (diff)
downloadhistorical-4ebf776e27496690b35922a1405d39feddc3d36a.tar.gz
historical-4ebf776e27496690b35922a1405d39feddc3d36a.tar.bz2
historical-4ebf776e27496690b35922a1405d39feddc3d36a.zip
Version bump
Package-Manager: portage-2.2.0_alpha59/cvs/Linux x86_64
-rw-r--r--x11-misc/lightdm/ChangeLog7
-rw-r--r--x11-misc/lightdm/Manifest30
-rw-r--r--x11-misc/lightdm/lightdm-1.0.2.ebuild108
3 files changed, 130 insertions, 15 deletions
diff --git a/x11-misc/lightdm/ChangeLog b/x11-misc/lightdm/ChangeLog
index 1f50a46df08b..40acac64c24d 100644
--- a/x11-misc/lightdm/ChangeLog
+++ b/x11-misc/lightdm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/lightdm
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.9 2011/09/25 17:29:18 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.10 2011/10/07 07:11:39 hwoarang Exp $
+
+*lightdm-1.0.2 (07 Oct 2011)
+
+ 07 Oct 2011; Markos Chandras <hwoarang@gentoo.org> +lightdm-1.0.2.ebuild:
+ Version bump
*lightdm-0.9.8 (25 Sep 2011)
diff --git a/x11-misc/lightdm/Manifest b/x11-misc/lightdm/Manifest
index 089ae0aabe44..8ac9e0c00bb7 100644
--- a/x11-misc/lightdm/Manifest
+++ b/x11-misc/lightdm/Manifest
@@ -3,24 +3,26 @@ Hash: SHA512
AUX lightdm-0.9.7-gtk.patch 915 RMD160 6705c655470de1df7a568c56cd67569257735f36 SHA1 a3946116ad78b4511b75551586a0939d64e19451 SHA256 540a831d53729e97d80b7bc1bccadd1637fe5f1eac2867397d98db1a5228db93
DIST lightdm-0.9.8.tar.gz 630165 RMD160 7c3be9a98124425913884fdd34a64b67bf13ece6 SHA1 e2ec7542324f2f5b1274292cbbdfa565c2b491a0 SHA256 48584ed9ff63697ba93648dbcae9f57f70996071a20353ef48a7228ebc7189f1
+DIST lightdm-1.0.2.tar.gz 633166 RMD160 e5ce68d4a89cfa558d79cd9201c8e6a81d698816 SHA1 fc859453768235da064d0f567c19d8e1abc44e28 SHA256 47ca033de6cd083e12d5dc5065bcbbfc1cbd2624bebad397be9eedd426515180
DIST lightdm-gentoo-patch.tar.gz 101983 RMD160 6463f6d96b635922ac0f060fbffe450caaec6a74 SHA1 63348e477bffa27c82839c74fe56d3bc4565a3b1 SHA256 2e56d0ef3926428cea7870fbade77b20bd05a7664ae301aacc56504e07cf39ba
EBUILD lightdm-0.9.8.ebuild 3309 RMD160 e400566fb7996f8719cb4e7f84e7dfd5b9b492d5 SHA1 f8c70ce565a91a25340a622cb005c511ce195bc2 SHA256 4d5595e1ec6a4db04b43b183f3b8ee81ccbaf95edb29b7e8c2961341005b482f
-MISC ChangeLog 622 RMD160 ca7d84f7598166a641fc048d48ef797c26cc3528 SHA1 5f346d8fedb0e468aed3ace3f8bf36afcfc712a2 SHA256 5c94b9c360b3d4cbec542fd6b7faf6e18b8298a6a9985a1a1d01e60883c2c57b
+EBUILD lightdm-1.0.2.ebuild 3266 RMD160 5e89a34a4205e2d51fd8df8701bc1243e2adb929 SHA1 1bd1eb171cc197cd15c22779dbddcdc32181c22b SHA256 e61c60278bba6fc4a7292cc386f5337671d95c5224828c487454823fceb19027
+MISC ChangeLog 745 RMD160 18422d3fc5107aa2cbffdf153c2d15f10785ff37 SHA1 5d7b48a8da59f310fb1ca3763d6a33843fab5a24 SHA256 cfe38783d27035ce9ae3248204919588d404fa8cd8e86146b333ef514c52fb2b
MISC metadata.xml 476 RMD160 ffe13acf80a13cf4793170da46aac1087ab9e753 SHA1 6de246984b16415d8e1fe8cab2478ce5b1da4c31 SHA256 a3a8bd4e87cb4735bcc99606498b27552517c024d0ac85b05a7aec35c6c2983d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBCgAGBQJOf2TIAAoJEPqDWhW0r/LCvU8P/RSmNPwAtDckCbK4e7owSGBF
-JL6lEiRCEQxYhZtvxFm0cQmRjoxiU6rjOTyFtCqAspJ9whNFv/nAqj2hY1iJ+K2E
-Dk1XUTsGxVT+70ZCoFqvzZ8RTlgyQt7S6R15KNil2oYKotmURU+TrJ9DoRQZ9ouZ
-IIgOt5DiPuR0+MnLrsk0DongGvLQ0NbiixQoj3SDzFkgV+PtVgy6Lx3rPLCE669i
-nSfie+MhpA93aabMf5DfiU0YPR/MAzfaX/Q3u482wh0Aml89kMudjf4tPh9VUiE2
-5Q7dq0O+ektY8i48sYD1rKtzDXpN4SPY3/6tuMNdwkNHjTVGSgud9MSCYPUwWSr9
-Bv03GZJ+4wSZqyz6pOPUYHd/MmsgXH1XGA9T6IasO5AffWZ9G/dhqiqOLqEGni0M
-rIM73CkuheX35zFec8bGuSCvuZJvXKCq4WAB3iA6y5MNHgGMbfwtKC6KJ9N9awNF
-EGSf+B9yPdOJCMlFFIJen8eVABj3bencSH08iSPyoB1LKcisbx25XBOcoOuIvNST
-FDb6iHE4hz07p29raza9nCDS9u5mIE1n5UmVj8JYoMNy1lQ1UN9FcFogSqOc9UR+
-WdCxx2sMv3aOovyC19ejehyueOXzBZK/b4YtikSejADLHFW05gHkzq1wtOwVvj4Y
-O2P+M/UrYOVIorPqfVhF
-=zith
+iQIcBAEBCgAGBQJOjqYmAAoJEPqDWhW0r/LC0aYQAIaTvreIP8CDb4tG4oKdOZJi
+/vVZB9RlE8TFnAIkq98EKRFcTuPWGiKNmEsM37exg/BR206Ve2MvVqgcgxHk1hnL
+bIsG4dhCirusvAWvUhwMUCLe0A/p29IRg7uWKQWB7inLGqsnG+wDBK+wfyMhr5UE
+CFVEn3jgXgLIrz/933YIKMX64vG/3qaxc52xI4kntpBsefp5dfs/mrdf5ZKEiiCf
+l0FLkW81BUVVIgqQgrrXdZg9vKHNU6RN8obVQqwRzdKkCQ2sDp51evD9SpV+VUG2
+NLOR5Hk+fHVPqi5xZZF8hXvtBVKy3QtgLqLPurbtZdmYmMJCZ5t8ruE/7crvrlAp
+I9sc9QZ5ddJxx4iAyBaLN3kqpYkSx92PQvnbzQtonQdAHh0i/k3md3tST5dOdMXs
+zarQ+V+JV/XSxRaS+cijKMbBW+YckJxatI4OQunzB+L8UH81lDTaQBJ0KUASEk6G
+aIjG8QvQT8M8bhOaPz3E0t3BcnbHJE6mtfTVEACn03VlORTdc3IygIaMq+MY9vVn
+zplPnuz/yB46G6xzKBU6mXwQ1tBVekBBUnERSIt8rmYbvV9AHRwaEdR9BPR7rHIX
+y5/JMtoglYbnRbzuPXZBBJFRzXEAGC2lb0YJV/GZn5ZSiUg6Si0cKrwg4CiyDDAI
+S7aO8sB/V4Fx06FtO7Ij
+=fTUM
-----END PGP SIGNATURE-----
diff --git a/x11-misc/lightdm/lightdm-1.0.2.ebuild b/x11-misc/lightdm/lightdm-1.0.2.ebuild
new file mode 100644
index 000000000000..1d038c766676
--- /dev/null
+++ b/x11-misc/lightdm/lightdm-1.0.2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/lightdm-1.0.2.ebuild,v 1.1 2011/10/07 07:11:39 hwoarang Exp $
+
+EAPI=4
+inherit autotools eutils pam
+
+DESCRIPTION="A lightweight display manager"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz
+ gtk? ( http://dev.gentoo.org/~hwoarang/distfiles/${PN}-gentoo-patch.tar.gz )"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="branding +gtk +introspection qt4"
+
+RDEPEND="dev-libs/glib:2
+ virtual/pam
+ x11-libs/libxklavier
+ x11-libs/libX11
+ dev-libs/libxml2
+ gtk? ( x11-libs/gtk+:3
+ x11-themes/gnome-themes-standard
+ x11-themes/gnome-icon-theme )
+ qt4? ( x11-libs/qt-core:4
+ x11-libs/qt-dbus:4 )
+ sys-apps/accountsservice"
+DEPEND="${RDEPEND}
+ dev-lang/vala:0.12
+ dev-util/intltool
+ dev-util/pkgconfig
+ sys-devel/gettext
+ introspection? ( dev-libs/gobject-introspection )"
+
+REQUIRED_USE="branding? ( gtk ) || ( gtk qt4 )"
+DOCS=( NEWS )
+
+src_prepare() {
+ # remove GNOME_COMPILE_WARNING reference which requires
+ # gnome-base/gnome-common dependency.
+ sed -i -e "/GNOME_COMPILE_WARNING/d" "${S}"/configure.ac || die
+ # Hide users with uid < 1000
+ sed -i -e "/minimum-uid/s:500:1000:" "${S}"/data/users.conf || die
+ eautoreconf
+}
+
+src_configure() {
+ # Maybe in the future, we can support some automatic session and user
+ # recognition. Until then, use default values
+ local default=gnome greeter= user=root
+
+ # gtk has higher priority because Qt4 interface sucks :)
+ use qt4 && greeter=lightdm-qt-greeter
+ use gtk && greeter=lightdm-gtk-greeter
+
+ # Let user know how lightdm is configured
+ einfo "Gentoo configuration"
+ einfo "Default greeter: ${greeter}"
+ einfo "Default session: ${default}"
+ einfo "Greeter user: ${user}"
+
+ # do the actual configuration
+ econf --localstatedir=/var \
+ --disable-static \
+ $(use_enable introspection) \
+ $(use_enable qt4 liblightdm-qt) \
+ $(use_enable qt4 qt-greeter) \
+ $(use_enable gtk gtk-greeter) \
+ --with-user-session=${default} \
+ --with-greeter-session=${greeter} \
+ --with-greeter-user=${user} \
+ --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ default
+
+ # Install missing files
+ insinto /etc/${PN}/
+ doins "${S}"/data/{users,keys}.conf
+ # remove .la files
+ find "${ED}" -name "*.la" -exec rm -rf {} +
+ rm -Rf "${ED}"/etc/init || die
+
+ if use gtk; then
+ insinto /etc/${PN}/
+ doins "${WORKDIR}"/${PN}-gtk-greeter.conf
+ if use branding; then
+ insinto /usr/share/${PN}/backgrounds/
+ doins "${WORKDIR}"/gentoo1024x768.png
+ sed -i -e "/background/s:=.*:=/usr/share/${PN}/backgrounds/gentoo1024x768.png:" \
+ "${D}"/etc/${PN}/${PN}-gtk-greeter.conf || die
+ fi
+ fi
+ pamd_mimic system-local-login lightdm auth account session
+}
+
+pkg_postinst() {
+ elog
+ elog "Even though the default /etc/${PN}/${PN}.conf will work for"
+ elog "most users, make sure you configure it to suit your needs"
+ elog "before using ${PN} for the first time."
+ elog "You can test the configuration file using the following"
+ elog "command: ${PN} --test-mode -c /etc/${PN}/${PN}.conf. This"
+ elog "requires xorg-server to be built with the 'kdrive' useflag."
+ elog
+}