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.14.1.ebuild lightdm-1.15.0.ebuild ChangeLog lightdm-1.14.0.ebuild
Date: Sun, 31 May 2015 10:26:22
Message-Id: 20150531102613.5D628A10@oystercatcher.gentoo.org
1 hwoarang 15/05/31 10:26:13
2
3 Modified: ChangeLog
4 Added: lightdm-1.14.1.ebuild lightdm-1.15.0.ebuild
5 Removed: lightdm-1.14.0.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!)
10
11 Revision Changes Path
12 1.111 x11-misc/lightdm/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?rev=1.111&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?rev=1.111&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?r1=1.110&r2=1.111
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v
21 retrieving revision 1.110
22 retrieving revision 1.111
23 diff -u -r1.110 -r1.111
24 --- ChangeLog 30 Mar 2015 18:12:36 -0000 1.110
25 +++ ChangeLog 31 May 2015 10:26:13 -0000 1.111
26 @@ -1,6 +1,13 @@
27 # ChangeLog for x11-misc/lightdm
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.110 2015/03/30 18:12:36 hwoarang Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.111 2015/05/31 10:26:13 hwoarang Exp $
31 +
32 +*lightdm-1.14.1 (31 May 2015)
33 +*lightdm-1.15.0 (31 May 2015)
34 +
35 + 31 May 2015; Markos Chandras <hwoarang@g.o> +lightdm-1.14.1.ebuild,
36 + +lightdm-1.15.0.ebuild, -lightdm-1.14.0.ebuild:
37 + Version bump
38
39 *lightdm-1.14.0 (30 Mar 2015)
40
41
42
43
44 1.1 x11-misc/lightdm/lightdm-1.14.1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.14.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.14.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: lightdm-1.14.1.ebuild
50 ===================================================================
51 # Copyright 1999-2015 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/lightdm-1.14.1.ebuild,v 1.1 2015/05/31 10:26:13 hwoarang Exp $
54
55 EAPI=5
56 inherit autotools eutils pam readme.gentoo systemd versionator
57
58 TRUNK_VERSION="$(get_version_component_range 1-2)"
59 DESCRIPTION="A lightweight display manager"
60 HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM"
61 SRC_URI="http://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.xz
62 mirror://gentoo/introspection-20110205.m4.tar.bz2"
63
64 LICENSE="GPL-3 LGPL-3"
65 SLOT="0"
66 KEYWORDS="~amd64 ~arm ~ppc ~x86"
67 IUSE="+gtk +introspection kde qt4 +gnome"
68 REQUIRED_USE="|| ( gtk kde )"
69
70 COMMON_DEPEND=">=dev-libs/glib-2.32.3:2
71 dev-libs/libxml2
72 gnome? ( sys-apps/accountsservice )
73 virtual/pam
74 x11-libs/libX11
75 >=x11-libs/libxklavier-5
76 introspection? ( >=dev-libs/gobject-introspection-1 )
77 qt4? (
78 dev-qt/qtcore:4
79 dev-qt/qtdbus:4
80 dev-qt/qtgui:4
81 )"
82 RDEPEND="${COMMON_DEPEND}
83 >=sys-auth/pambase-20101024-r2"
84 DEPEND="${COMMON_DEPEND}
85 dev-util/gtk-doc-am
86 dev-util/intltool
87 gnome? ( gnome-base/gnome-common )
88 sys-devel/gettext
89 virtual/pkgconfig"
90 PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter )
91 kde? ( x11-misc/lightdm-kde )"
92
93 DOCS=( NEWS )
94 RESTRICT="test"
95
96 src_prepare() {
97 sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369
98 sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die
99
100 einfo "Fixing the session-wrapper variable in lightdm.conf"
101 sed -i -e \
102 "/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \
103 data/lightdm.conf || die "Failed to fix lightdm.conf"
104
105 epatch_user
106
107 # Remove bogus Makefile statement. This needs to go upstream
108 sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die
109 if has_version dev-libs/gobject-introspection; then
110 eautoreconf
111 else
112 AT_M4DIR=${WORKDIR} eautoreconf
113 fi
114 }
115
116 src_configure() {
117 # Set default values if global vars unset
118 local _greeter _session _user
119 _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter}
120 _session=${LIGHTDM_SESSION:=gnome}
121 _user=${LIGHTDM_USER:=root}
122 # Let user know how lightdm is configured
123 einfo "Gentoo configuration"
124 einfo "Default greeter: ${_greeter}"
125 einfo "Default session: ${_session}"
126 einfo "Greeter user: ${_user}"
127
128 # also disable tests because libsystem.c does not build. Tests are
129 # restricted so it does not matter anyway.
130 econf \
131 --localstatedir=/var \
132 --disable-static \
133 --disable-tests \
134 $(use_enable introspection) \
135 $(use_enable qt4 liblightdm-qt) \
136 --disable-liblightdm-qt5 \
137 --with-user-session=${_session} \
138 --with-greeter-session=${_greeter} \
139 --with-greeter-user=${_user} \
140 --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
141 }
142
143 src_install() {
144 default
145
146 # Delete apparmor profiles because they only work with Ubuntu's
147 # apparmor package. Bug #494426
148 if [[ -d ${D}/etc/apparmor.d ]]; then
149 rm -r "${D}/etc/apparmor.d" || die \
150 "Failed to remove apparmor profiles"
151 fi
152
153 insinto /etc/${PN}
154 doins data/{${PN},keys}.conf
155 doins "${FILESDIR}"/Xsession
156 fperms +x /etc/${PN}/Xsession
157 # /var/lib/lightdm-data could be useful. Bug #522228
158 dodir /var/lib/lightdm-data
159
160 prune_libtool_files --all
161 rm -rf "${ED}"/etc/init
162
163 # Remove existing pam file. We will build a new one. Bug #524792
164 rm -rf "${ED}"/etc/pam.d/${PN}{,-greeter}
165 pamd_mimic system-local-login ${PN} auth account password session #372229
166 pamd_mimic system-local-login ${PN}-greeter auth account password session #372229
167 dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163
168
169 readme.gentoo_create_doc
170
171 systemd_dounit "${FILESDIR}/${PN}.service"
172 }
173
174
175
176 1.1 x11-misc/lightdm/lightdm-1.15.0.ebuild
177
178 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.15.0.ebuild?rev=1.1&view=markup
179 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.15.0.ebuild?rev=1.1&content-type=text/plain
180
181 Index: lightdm-1.15.0.ebuild
182 ===================================================================
183 # Copyright 1999-2015 Gentoo Foundation
184 # Distributed under the terms of the GNU General Public License v2
185 # $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/lightdm-1.15.0.ebuild,v 1.1 2015/05/31 10:26:13 hwoarang Exp $
186
187 EAPI=5
188 inherit autotools eutils pam readme.gentoo systemd versionator
189
190 TRUNK_VERSION="$(get_version_component_range 1-2)"
191 DESCRIPTION="A lightweight display manager"
192 HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM"
193 SRC_URI="http://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.xz
194 mirror://gentoo/introspection-20110205.m4.tar.bz2"
195
196 LICENSE="GPL-3 LGPL-3"
197 SLOT="0"
198 KEYWORDS="~amd64 ~arm ~ppc ~x86"
199 IUSE="+gtk +introspection kde qt4 +gnome"
200 REQUIRED_USE="|| ( gtk kde )"
201
202 COMMON_DEPEND=">=dev-libs/glib-2.32.3:2
203 dev-libs/libxml2
204 gnome? ( sys-apps/accountsservice )
205 virtual/pam
206 x11-libs/libX11
207 >=x11-libs/libxklavier-5
208 introspection? ( >=dev-libs/gobject-introspection-1 )
209 qt4? (
210 dev-qt/qtcore:4
211 dev-qt/qtdbus:4
212 dev-qt/qtgui:4
213 )"
214 RDEPEND="${COMMON_DEPEND}
215 >=sys-auth/pambase-20101024-r2"
216 DEPEND="${COMMON_DEPEND}
217 dev-util/gtk-doc-am
218 dev-util/intltool
219 gnome? ( gnome-base/gnome-common )
220 sys-devel/gettext
221 virtual/pkgconfig"
222 PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter )
223 kde? ( x11-misc/lightdm-kde )"
224
225 DOCS=( NEWS )
226 RESTRICT="test"
227
228 src_prepare() {
229 sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369
230 sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die
231
232 einfo "Fixing the session-wrapper variable in lightdm.conf"
233 sed -i -e \
234 "/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \
235 data/lightdm.conf || die "Failed to fix lightdm.conf"
236
237 epatch_user
238
239 # Remove bogus Makefile statement. This needs to go upstream
240 sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die
241 if has_version dev-libs/gobject-introspection; then
242 eautoreconf
243 else
244 AT_M4DIR=${WORKDIR} eautoreconf
245 fi
246 }
247
248 src_configure() {
249 # Set default values if global vars unset
250 local _greeter _session _user
251 _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter}
252 _session=${LIGHTDM_SESSION:=gnome}
253 _user=${LIGHTDM_USER:=root}
254 # Let user know how lightdm is configured
255 einfo "Gentoo configuration"
256 einfo "Default greeter: ${_greeter}"
257 einfo "Default session: ${_session}"
258 einfo "Greeter user: ${_user}"
259
260 # also disable tests because libsystem.c does not build. Tests are
261 # restricted so it does not matter anyway.
262 econf \
263 --localstatedir=/var \
264 --disable-static \
265 --disable-tests \
266 $(use_enable introspection) \
267 $(use_enable qt4 liblightdm-qt) \
268 --disable-liblightdm-qt5 \
269 --with-user-session=${_session} \
270 --with-greeter-session=${_greeter} \
271 --with-greeter-user=${_user} \
272 --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
273 }
274
275 src_install() {
276 default
277
278 # Delete apparmor profiles because they only work with Ubuntu's
279 # apparmor package. Bug #494426
280 if [[ -d ${D}/etc/apparmor.d ]]; then
281 rm -r "${D}/etc/apparmor.d" || die \
282 "Failed to remove apparmor profiles"
283 fi
284
285 insinto /etc/${PN}
286 doins data/{${PN},keys}.conf
287 doins "${FILESDIR}"/Xsession
288 fperms +x /etc/${PN}/Xsession
289 # /var/lib/lightdm-data could be useful. Bug #522228
290 dodir /var/lib/lightdm-data
291
292 prune_libtool_files --all
293 rm -rf "${ED}"/etc/init
294
295 # Remove existing pam file. We will build a new one. Bug #524792
296 rm -rf "${ED}"/etc/pam.d/${PN}{,-greeter}
297 pamd_mimic system-local-login ${PN} auth account password session #372229
298 pamd_mimic system-local-login ${PN}-greeter auth account password session #372229
299 dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163
300
301 readme.gentoo_create_doc
302
303 systemd_dounit "${FILESDIR}/${PN}.service"
304 }