Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/lightdm: lightdm-1.1.4.ebuild ChangeLog
Date: Sun, 04 Mar 2012 20:06:47
Message-Id: 20120304200637.85B6720034@flycatcher.gentoo.org
1 hwoarang 12/03/04 20:06:37
2
3 Modified: ChangeLog
4 Added: lightdm-1.1.4.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.28 x11-misc/lightdm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 4 Mar 2012 10:00:52 -0000 1.27
24 +++ ChangeLog 4 Mar 2012 20:06:37 -0000 1.28
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-misc/lightdm
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.27 2012/03/04 10:00:52 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.28 2012/03/04 20:06:37 hwoarang Exp $
30 +
31 +*lightdm-1.1.4 (04 Mar 2012)
32 +
33 + 04 Mar 2012; Markos Chandras <hwoarang@g.o> +lightdm-1.1.4.ebuild:
34 + Version bump
35
36 04 Mar 2012; Markos Chandras <hwoarang@g.o> -lightdm-1.0.6-r2.ebuild,
37 -lightdm-1.0.6-r3.ebuild:
38
39
40
41 1.1 x11-misc/lightdm/lightdm-1.1.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.1.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.1.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: lightdm-1.1.4.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/lightdm-1.1.4.ebuild,v 1.1 2012/03/04 20:06:37 hwoarang Exp $
51
52 EAPI=4
53 inherit autotools eutils pam
54
55 DESCRIPTION="A lightweight display manager"
56 HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM"
57 SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz
58 mirror://gentoo/introspection-20110205.m4.tar.bz2"
59
60 LICENSE="GPL-3 LGPL-3"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="+introspection"
64
65 RDEPEND="dev-libs/glib:2
66 virtual/pam
67 x11-libs/libxklavier
68 x11-libs/libX11
69 dev-libs/libxml2
70 introspection? ( dev-libs/gobject-introspection )
71 sys-apps/accountsservice"
72 DEPEND="${RDEPEND}
73 dev-lang/vala:0.12
74 dev-util/intltool
75 dev-util/pkgconfig
76 gnome-base/gnome-common
77 sys-devel/gettext"
78 PDEPEND="x11-misc/lightdm-gtk-greeter"
79
80 DOCS=( NEWS )
81
82 src_prepare() {
83 sed -i -e "/minimum-uid/s:500:1000:" data/users.conf || die
84 sed -i -e "s:gtk+-3.0:gtk+-2.0:" configure.ac || die
85 epatch "${FILESDIR}"/session-wrapper-${PN}.patch
86 if has_version dev-libs/gobject-introspection; then
87 eautoreconf
88 else
89 AT_M4DIR=${WORKDIR} eautoreconf
90 fi
91 }
92
93 src_configure() {
94 # Maybe in the future, we can support some automatic session and user
95 # recognition. Until then, use default values
96 local default=gnome user=root greeter
97
98 # There is no qt greeter, so use gtk anyway
99 # use gtk && greeter=lightdm-gtk-greeter
100 greeter=lightdm-gtk-greeter
101
102 # Let user know how lightdm is configured
103 einfo "Gentoo configuration"
104 einfo "Default greeter: ${greeter}"
105 einfo "Default session: ${default}"
106 einfo "Greeter user: ${user}"
107
108 # do the actual configuration
109 econf --localstatedir=/var \
110 --disable-static \
111 $(use_enable introspection) \
112 --disable-liblightdm-qt \
113 --with-user-session=${user} \
114 --with-greeter-session=${greeter} \
115 --with-greeter-user=${user} \
116 --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
117 }
118
119 src_install() {
120 default
121
122 # Install missing files
123 insinto /etc/${PN}/
124 doins "${S}"/data/{${PN},users,keys}.conf
125 doins "${FILESDIR}"/Xsession
126 fperms +x /etc/${PN}/Xsession
127 # remove .la files
128 find "${ED}" -name "*.la" -exec rm -rf {} +
129 rm -Rf "${ED}"/etc/init || die
130
131 dopamd "${FILESDIR}"/${PN}
132 dopamd "${FILESDIR}"/${PN}-autologin
133 }
134
135 pkg_postinst() {
136 elog
137 elog "Even though the default /etc/${PN}/${PN}.conf will work for"
138 elog "most users, make sure you configure it to suit your needs"
139 elog "before using ${PN} for the first time."
140 elog "You can test the configuration file using the following"
141 elog "command: ${PN} --test-mode -c /etc/${PN}/${PN}.conf. This"
142 elog "requires xorg-server to be built with the 'kdrive' useflag."
143 elog
144 }