Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/lightdm: metadata.xml lightdm-1.2.2-r1.ebuild ChangeLog lightdm-1.2.0.ebuild lightdm-1.1.8.ebuild lightdm-1.1.9.ebuild
Date: Wed, 30 May 2012 14:08:18
Message-Id: 20120530140809.03D012004B@flycatcher.gentoo.org
1 yngwin 12/05/30 14:08:08
2
3 Modified: metadata.xml ChangeLog
4 Added: lightdm-1.2.2-r1.ebuild
5 Removed: lightdm-1.2.0.ebuild lightdm-1.1.8.ebuild
6 lightdm-1.1.9.ebuild
7 Log:
8 Reintroduce qt4 useflag, needed for Qt-based greeters. Add variables for user-configurable default greeter. Remove post-depend on gtk-greeter. Remove some old versions. Add myself as co-maintainer.
9
10 (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.8 x11-misc/lightdm/metadata.xml
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/metadata.xml?rev=1.8&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/metadata.xml?rev=1.8&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/metadata.xml?r1=1.7&r2=1.8
18
19 Index: metadata.xml
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/x11-misc/lightdm/metadata.xml,v
22 retrieving revision 1.7
23 retrieving revision 1.8
24 diff -u -r1.7 -r1.8
25 --- metadata.xml 24 Sep 2011 11:06:31 -0000 1.7
26 +++ metadata.xml 30 May 2012 14:08:08 -0000 1.8
27 @@ -2,8 +2,12 @@
28 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
29 <pkgmetadata>
30 <maintainer>
31 -<email>hwoarang@g.o</email>
32 -<name>Markos Chandras</name>
33 + <email>hwoarang@g.o</email>
34 + <name>Markos Chandras</name>
35 +</maintainer>
36 +<maintainer>
37 + <email>yngwin@g.o</email>
38 + <name>Ben de Groot</name>
39 </maintainer>
40 <use>
41 <flag name="branding">Replace original gnome background with one from Gentoo ten project</flag>
42 @@ -12,4 +16,3 @@
43 <longdescription lang="en">
44 </longdescription>
45 </pkgmetadata>
46 -
47
48
49
50 1.40 x11-misc/lightdm/ChangeLog
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?rev=1.40&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?rev=1.40&content-type=text/plain
54 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?r1=1.39&r2=1.40
55
56 Index: ChangeLog
57 ===================================================================
58 RCS file: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v
59 retrieving revision 1.39
60 retrieving revision 1.40
61 diff -u -r1.39 -r1.40
62 --- ChangeLog 17 May 2012 23:02:44 -0000 1.39
63 +++ ChangeLog 30 May 2012 14:08:08 -0000 1.40
64 @@ -1,6 +1,16 @@
65 # ChangeLog for x11-misc/lightdm
66 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
67 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.39 2012/05/17 23:02:44 jdhore Exp $
68 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.40 2012/05/30 14:08:08 yngwin Exp $
69 +
70 +*lightdm-1.2.2-r1 (30 May 2012)
71 +
72 + 30 May 2012; Ben de Groot <yngwin@g.o>
73 + +files/lightdm-1.2.0-fix-configure.patch, +lightdm-1.2.2-r1.ebuild,
74 + -lightdm-1.1.8.ebuild, -lightdm-1.1.9.ebuild, -lightdm-1.2.0.ebuild,
75 + files/lightdm, metadata.xml:
76 + Reintroduce qt4 useflag, needed for Qt-based greeters. Add variables for user-
77 + configurable default greeter. Remove post-depend on gtk-greeter. Remove some
78 + old versions. Add myself as co-maintainer.
79
80 17 May 2012; Jeff Horelick <jdhore@g.o> lightdm-1.0.11.ebuild:
81 dev-util/pkgconfig -> virtual/pkgconfig
82
83
84
85 1.1 x11-misc/lightdm/lightdm-1.2.2-r1.ebuild
86
87 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.2.2-r1.ebuild?rev=1.1&view=markup
88 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.2.2-r1.ebuild?rev=1.1&content-type=text/plain
89
90 Index: lightdm-1.2.2-r1.ebuild
91 ===================================================================
92 # Copyright 1999-2012 Gentoo Foundation
93 # Distributed under the terms of the GNU General Public License v2
94 # $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/lightdm-1.2.2-r1.ebuild,v 1.1 2012/05/30 14:08:08 yngwin Exp $
95
96 EAPI=4
97 inherit autotools eutils pam
98
99 DESCRIPTION="A lightweight display manager"
100 HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM"
101 SRC_URI="http://launchpad.net/${PN}/1.2/${PV}/+download/${P}.tar.gz
102 mirror://gentoo/introspection-20110205.m4.tar.bz2"
103
104 LICENSE="GPL-3 LGPL-3"
105 SLOT="0"
106 KEYWORDS="~amd64 ~x86"
107 IUSE="+introspection qt4"
108
109 RDEPEND="dev-libs/glib:2
110 dev-libs/libxml2
111 sys-apps/accountsservice
112 virtual/pam
113 x11-libs/libxklavier
114 x11-libs/libX11
115 introspection? ( dev-libs/gobject-introspection )
116 qt4? ( x11-libs/qt-core:4
117 x11-libs/qt-dbus:4
118 x11-libs/qt-gui:4 )"
119 DEPEND="${RDEPEND}
120 dev-util/gtk-doc-am
121 dev-util/intltool
122 gnome-base/gnome-common
123 sys-devel/gettext
124 virtual/pkgconfig"
125
126 DOCS=( NEWS )
127
128 src_prepare() {
129 sed -i -e "/minimum-uid/s:500:1000:" data/users.conf || die
130 sed -i -e "s:gtk+-3.0:gtk+-2.0:" configure.ac || die
131
132 epatch "${FILESDIR}"/session-wrapper-${PN}.patch
133 epatch "${FILESDIR}/${PN}"-1.2.0-fix-configure.patch
134
135 if has_version dev-libs/gobject-introspection; then
136 eautoreconf
137 else
138 AT_M4DIR=${WORKDIR} eautoreconf
139 fi
140 }
141
142 src_configure() {
143 # Set default values if global vars unset
144 local _greeter _session _user
145 _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter}
146 _session=${LIGHTDM_SESSION:=gnome}
147 _user=${LIGHTDM_USER:=root}
148 # Let user know how lightdm is configured
149 einfo "Gentoo configuration"
150 einfo "Default greeter: ${_greeter}"
151 einfo "Default session: ${_session}"
152 einfo "Greeter user: ${_user}"
153
154 # do the actual configuration
155 econf --localstatedir=/var \
156 --disable-static \
157 $(use_enable introspection) \
158 $(use_enable qt4 liblightdm-qt) \
159 --with-user-session=${_session} \
160 --with-greeter-session=${_greeter} \
161 --with-greeter-user=${_user} \
162 --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
163 }
164
165 src_install() {
166 default
167
168 # Install missing files
169 insinto /etc/${PN}/
170 doins "${S}"/data/{${PN},users,keys}.conf
171 doins "${FILESDIR}"/Xsession
172 fperms +x /etc/${PN}/Xsession
173 # remove .la files
174 find "${ED}" -name "*.la" -exec rm -rf {} +
175 rm -Rf "${ED}"/etc/init || die
176
177 dopamd "${FILESDIR}"/${PN}
178 dopamd "${FILESDIR}"/${PN}-autologin
179 }
180
181 pkg_postinst() {
182 elog
183 elog "You will need to install a greeter as actual GUI for LightDM."
184 elog
185 elog "Even though the default /etc/${PN}/${PN}.conf will work for"
186 elog "most users, make sure you configure it to suit your needs"
187 elog "before using ${PN} for the first time."
188 elog "You can test the configuration file using the following"
189 elog "command: ${PN} --test-mode -c /etc/${PN}/${PN}.conf. This"
190 elog "requires xorg-server to be built with the 'kdrive' useflag."
191 elog
192 elog "You can also set your own default values for LIGHTDM_GREETER,"
193 elog "LIGHTDM_SESSION, LIGHTDM_USER in /etc/make.conf"
194 elog
195 }