Gentoo Archives: gentoo-commits

From: Markos Chandras <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/lightdm/
Date: Sun, 06 Mar 2016 12:06:31
Message-Id: 1457258671.1ceeddb29699141dc3d21dd8c9fdce69fe8a0141.hwoarang@gentoo
1 commit: 1ceeddb29699141dc3d21dd8c9fdce69fe8a0141
2 Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 6 10:04:31 2016 +0000
4 Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 6 10:04:31 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ceeddb2
7
8 x11-misc/lightdm: Version bump. Bug #574924
9
10 Package-Manager: portage-2.2.26
11
12 x11-misc/lightdm/Manifest | 2 +
13 x11-misc/lightdm/lightdm-1.16.7.ebuild | 129 +++++++++++++++++++++++++++++++++
14 x11-misc/lightdm/lightdm-1.17.5.ebuild | 129 +++++++++++++++++++++++++++++++++
15 3 files changed, 260 insertions(+)
16
17 diff --git a/x11-misc/lightdm/Manifest b/x11-misc/lightdm/Manifest
18 index 570bb97..d973210 100644
19 --- a/x11-misc/lightdm/Manifest
20 +++ b/x11-misc/lightdm/Manifest
21 @@ -4,5 +4,7 @@ DIST lightdm-1.12.3.tar.xz 473512 SHA256 c7dc90fde4f22762f38f06506b64f3b95cc3a1d
22 DIST lightdm-1.14.4.tar.xz 483304 SHA256 9d9c753e018c9fcba540141696b2da56f98dc21ae5af8146ebf96d6f61aaffab SHA512 152e5d4d6105f3f6a08695ab8d398fd82179ae289f12983e97c3d6a708ae482356aaaf7d4ff1ace1d125f441de6c1f05e9407b68b70d4f56f102f70f943ab00f WHIRLPOOL 22fa47e8d9a7ca38144374caa0bb98be9df1ca91af322998d909d5cfbf2f6f79adc6a0fd565bb2af493c60755f6798c17f035c25bc5283c6e7b62931f86dee0d
23 DIST lightdm-1.15.3.tar.xz 479432 SHA256 0670c6de84e9edfea3210b42aef688a848fa5366d150a71a67cdf83bc64bda5f SHA512 2fde5b1d01c8bbfa1fa74af9947c4ced9211d0f56d9590c9b5253a51774e2f927a4c6c2e76cde7d34351ae8474bf20e27cf71806c0a4e3a4dffc81b070384344 WHIRLPOOL a4765ee04e9faedfe397b561d17e6ac37ee1738358f7dd00f4be6e4fbabca6a83bd76fe845e4605345053350768363c2027a474a0087d5d37b819a0638c35f54
24 DIST lightdm-1.16.6.tar.xz 485820 SHA256 f8f5d38886fa3c1f52e92a51663c30aaf6de462a9e4df4407769a7b93bf22a6c SHA512 9a89bb224cb7f6ddc174cd42920ee3d88a205824da5ec4b46fd93fa6bd2cdf35b8127f7784131ac1bb97a9bc2349a0f41402561594ff6d0ec339787a44793c34 WHIRLPOOL a22efdc4823f44f0a9d0aab8eb8e89495ec0d156e9b8fd46a6b38c3704455050f0c65b7c8c4d6614a316ebb4eaa83df0f557730214c51b3206b128bbcfa160b4
25 +DIST lightdm-1.16.7.tar.xz 486692 SHA256 67b72a5dadf823ebc7df1bb523da59342271fcf67fcac9a2a2c30007ccb9ab32 SHA512 8ab35293e90653814ce877697d6cba335906f04129ba63d87e3dcb05efdca64c815023f75920a836064134d7c28dcf3949e993db67c85e93dc954ef48fe4984f WHIRLPOOL 9b3867e37cac072b2883b8621f7604cfda5e769157220aaf76d72c641b14c9c149bd989818d8880b845f569d1a55b80fe690435b4799ea487bbb504ac4f8887f
26 DIST lightdm-1.17.2.tar.xz 486492 SHA256 dbdcddc8257308198bc6b4b6bd6307753c2a244ddcd6c2637368f2243b3a1a5b SHA512 07fffab17a917e6d03eac1850c205342e8fe7f627abf3820ebfe3107ef827af4fc4443bcaa7ec447760dcf0de9c2b517472854f7562bb3dc915a23c9742ccb15 WHIRLPOOL 4d4b911565be26f98d10da219e6454f013324ef78a1c9a99c97e785355c53bd8cb0f922340453c514d3e1d019581adadec36ada2c91f37b0bfed2010bb346920
27 DIST lightdm-1.17.3.tar.xz 487176 SHA256 a9fcfb5edaad4f8c33dcdd695095791e952720d051eef695e07469ed87fa85b3 SHA512 0624fd994dbb0052c2e6092fa9e8ee3785d541d65c3baf911eff5a4f74e5689395a1079139ed6c30e4ad8db07355d9aede859a58718c873a9684c880efdbb6b0 WHIRLPOOL 988e77d998a843d9d168380d1aa5e16f2f491c52679732442e07b8a7b90ffea45fbf3b239f0f65acaac84626e5b9c933f86981250996c6a3524802953654c892
28 +DIST lightdm-1.17.5.tar.xz 488048 SHA256 4661ea0adb9e2fef9b447b604fc46f70821b8b1c271ac7e61ca6ba5d8f043d8d SHA512 6d3bc969978fe536d30882c26c9b5ab4fca4d8ece60d6705c5838032718b20edbeee1c87f75baeef9df4ebea99cecde1a3bfc706f56c44ee3ce94bc8ad3d7e46 WHIRLPOOL 8456bef0d972eca33f106ef177ccad765cc5ea5315866d807e31dd415f89e26b667acd3ea8b01e037429f9d0133177ca9c1b8f043b2708923cf977532cab7791
29
30 diff --git a/x11-misc/lightdm/lightdm-1.16.7.ebuild b/x11-misc/lightdm/lightdm-1.16.7.ebuild
31 new file mode 100644
32 index 0000000..ce3a12a
33 --- /dev/null
34 +++ b/x11-misc/lightdm/lightdm-1.16.7.ebuild
35 @@ -0,0 +1,129 @@
36 +# Copyright 1999-2016 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +# $Id$
39 +
40 +EAPI=5
41 +inherit autotools eutils pam readme.gentoo systemd versionator
42 +
43 +TRUNK_VERSION="$(get_version_component_range 1-2)"
44 +DESCRIPTION="A lightweight display manager"
45 +HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM"
46 +SRC_URI="https://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.xz
47 + mirror://gentoo/introspection-20110205.m4.tar.bz2"
48 +
49 +LICENSE="GPL-3 LGPL-3"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
52 +IUSE="audit +gtk +introspection kde qt4 qt5 +gnome"
53 +REQUIRED_USE="|| ( gtk kde )"
54 +
55 +COMMON_DEPEND="audit? ( sys-process/audit )
56 + >=dev-libs/glib-2.32.3:2
57 + dev-libs/libxml2
58 + gnome? ( sys-apps/accountsservice )
59 + virtual/pam
60 + x11-libs/libX11
61 + >=x11-libs/libxklavier-5
62 + introspection? ( >=dev-libs/gobject-introspection-1 )
63 + qt4? (
64 + dev-qt/qtcore:4
65 + dev-qt/qtdbus:4
66 + dev-qt/qtgui:4
67 + )
68 + qt5? (
69 + dev-qt/qtcore:5
70 + dev-qt/qtdbus:5
71 + dev-qt/qtgui:5
72 + )"
73 +RDEPEND="${COMMON_DEPEND}
74 + >=sys-auth/pambase-20101024-r2"
75 +DEPEND="${COMMON_DEPEND}
76 + dev-util/gtk-doc-am
77 + dev-util/intltool
78 + gnome? ( gnome-base/gnome-common )
79 + sys-devel/gettext
80 + virtual/pkgconfig"
81 +PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter )
82 + kde? ( x11-misc/lightdm-kde )"
83 +
84 +DOCS=( NEWS )
85 +RESTRICT="test"
86 +
87 +src_prepare() {
88 + sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369
89 + sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die
90 +
91 + einfo "Fixing the session-wrapper variable in lightdm.conf"
92 + sed -i -e \
93 + "/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \
94 + data/lightdm.conf || die "Failed to fix lightdm.conf"
95 +
96 + epatch_user
97 +
98 + # Remove bogus Makefile statement. This needs to go upstream
99 + sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die
100 + if has_version dev-libs/gobject-introspection; then
101 + eautoreconf
102 + else
103 + AT_M4DIR=${WORKDIR} eautoreconf
104 + fi
105 +}
106 +
107 +src_configure() {
108 + # Set default values if global vars unset
109 + local _greeter _session _user
110 + _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter}
111 + _session=${LIGHTDM_SESSION:=gnome}
112 + _user=${LIGHTDM_USER:=root}
113 + # Let user know how lightdm is configured
114 + einfo "Gentoo configuration"
115 + einfo "Default greeter: ${_greeter}"
116 + einfo "Default session: ${_session}"
117 + einfo "Greeter user: ${_user}"
118 +
119 + # also disable tests because libsystem.c does not build. Tests are
120 + # restricted so it does not matter anyway.
121 + econf \
122 + --localstatedir=/var \
123 + --disable-static \
124 + --disable-tests \
125 + $(use_enable audit libaudit) \
126 + $(use_enable introspection) \
127 + $(use_enable qt4 liblightdm-qt) \
128 + $(use_enable qt5 liblightdm-qt5) \
129 + --with-user-session=${_session} \
130 + --with-greeter-session=${_greeter} \
131 + --with-greeter-user=${_user} \
132 + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
133 +}
134 +
135 +src_install() {
136 + default
137 +
138 + # Delete apparmor profiles because they only work with Ubuntu's
139 + # apparmor package. Bug #494426
140 + if [[ -d ${D}/etc/apparmor.d ]]; then
141 + rm -r "${D}/etc/apparmor.d" || die \
142 + "Failed to remove apparmor profiles"
143 + fi
144 +
145 + insinto /etc/${PN}
146 + doins data/{${PN},keys}.conf
147 + doins "${FILESDIR}"/Xsession
148 + fperms +x /etc/${PN}/Xsession
149 + # /var/lib/lightdm-data could be useful. Bug #522228
150 + dodir /var/lib/lightdm-data
151 +
152 + prune_libtool_files --all
153 + rm -rf "${ED}"/etc/init
154 +
155 + # Remove existing pam file. We will build a new one. Bug #524792
156 + rm -rf "${ED}"/etc/pam.d/${PN}{,-greeter}
157 + pamd_mimic system-local-login ${PN} auth account password session #372229
158 + pamd_mimic system-local-login ${PN}-greeter auth account password session #372229
159 + dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163
160 +
161 + readme.gentoo_create_doc
162 +
163 + systemd_dounit "${FILESDIR}/${PN}.service"
164 +}
165
166 diff --git a/x11-misc/lightdm/lightdm-1.17.5.ebuild b/x11-misc/lightdm/lightdm-1.17.5.ebuild
167 new file mode 100644
168 index 0000000..3d7e185
169 --- /dev/null
170 +++ b/x11-misc/lightdm/lightdm-1.17.5.ebuild
171 @@ -0,0 +1,129 @@
172 +# Copyright 1999-2016 Gentoo Foundation
173 +# Distributed under the terms of the GNU General Public License v2
174 +# $Id$
175 +
176 +EAPI=5
177 +inherit autotools eutils pam readme.gentoo systemd versionator
178 +
179 +TRUNK_VERSION="$(get_version_component_range 1-2)"
180 +DESCRIPTION="A lightweight display manager"
181 +HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM"
182 +SRC_URI="https://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.xz
183 + mirror://gentoo/introspection-20110205.m4.tar.bz2"
184 +
185 +LICENSE="GPL-3 LGPL-3"
186 +SLOT="0"
187 +KEYWORDS="~amd64 ~arm ~ppc ~x86"
188 +IUSE="audit +gtk +introspection kde qt4 qt5 +gnome"
189 +REQUIRED_USE="|| ( gtk kde )"
190 +
191 +COMMON_DEPEND="audit? ( sys-process/audit )
192 + >=dev-libs/glib-2.32.3:2
193 + dev-libs/libxml2
194 + gnome? ( sys-apps/accountsservice )
195 + virtual/pam
196 + x11-libs/libX11
197 + >=x11-libs/libxklavier-5
198 + introspection? ( >=dev-libs/gobject-introspection-1 )
199 + qt4? (
200 + dev-qt/qtcore:4
201 + dev-qt/qtdbus:4
202 + dev-qt/qtgui:4
203 + )
204 + qt5? (
205 + dev-qt/qtcore:5
206 + dev-qt/qtdbus:5
207 + dev-qt/qtgui:5
208 + )"
209 +RDEPEND="${COMMON_DEPEND}
210 + >=sys-auth/pambase-20101024-r2"
211 +DEPEND="${COMMON_DEPEND}
212 + dev-util/gtk-doc-am
213 + dev-util/intltool
214 + gnome? ( gnome-base/gnome-common )
215 + sys-devel/gettext
216 + virtual/pkgconfig"
217 +PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter )
218 + kde? ( x11-misc/lightdm-kde )"
219 +
220 +DOCS=( NEWS )
221 +RESTRICT="test"
222 +
223 +src_prepare() {
224 + sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369
225 + sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die
226 +
227 + einfo "Fixing the session-wrapper variable in lightdm.conf"
228 + sed -i -e \
229 + "/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \
230 + data/lightdm.conf || die "Failed to fix lightdm.conf"
231 +
232 + epatch_user
233 +
234 + # Remove bogus Makefile statement. This needs to go upstream
235 + sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die
236 + if has_version dev-libs/gobject-introspection; then
237 + eautoreconf
238 + else
239 + AT_M4DIR=${WORKDIR} eautoreconf
240 + fi
241 +}
242 +
243 +src_configure() {
244 + # Set default values if global vars unset
245 + local _greeter _session _user
246 + _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter}
247 + _session=${LIGHTDM_SESSION:=gnome}
248 + _user=${LIGHTDM_USER:=root}
249 + # Let user know how lightdm is configured
250 + einfo "Gentoo configuration"
251 + einfo "Default greeter: ${_greeter}"
252 + einfo "Default session: ${_session}"
253 + einfo "Greeter user: ${_user}"
254 +
255 + # also disable tests because libsystem.c does not build. Tests are
256 + # restricted so it does not matter anyway.
257 + econf \
258 + --localstatedir=/var \
259 + --disable-static \
260 + --disable-tests \
261 + $(use_enable audit libaudit) \
262 + $(use_enable introspection) \
263 + $(use_enable qt4 liblightdm-qt) \
264 + $(use_enable qt5 liblightdm-qt5) \
265 + --with-user-session=${_session} \
266 + --with-greeter-session=${_greeter} \
267 + --with-greeter-user=${_user} \
268 + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
269 +}
270 +
271 +src_install() {
272 + default
273 +
274 + # Delete apparmor profiles because they only work with Ubuntu's
275 + # apparmor package. Bug #494426
276 + if [[ -d ${D}/etc/apparmor.d ]]; then
277 + rm -r "${D}/etc/apparmor.d" || die \
278 + "Failed to remove apparmor profiles"
279 + fi
280 +
281 + insinto /etc/${PN}
282 + doins data/{${PN},keys}.conf
283 + doins "${FILESDIR}"/Xsession
284 + fperms +x /etc/${PN}/Xsession
285 + # /var/lib/lightdm-data could be useful. Bug #522228
286 + dodir /var/lib/lightdm-data
287 +
288 + prune_libtool_files --all
289 + rm -rf "${ED}"/etc/init
290 +
291 + # Remove existing pam file. We will build a new one. Bug #524792
292 + rm -rf "${ED}"/etc/pam.d/${PN}{,-greeter}
293 + pamd_mimic system-local-login ${PN} auth account password session #372229
294 + pamd_mimic system-local-login ${PN}-greeter auth account password session #372229
295 + dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163
296 +
297 + readme.gentoo_create_doc
298 +
299 + systemd_dounit "${FILESDIR}/${PN}.service"
300 +}