1 |
commit: 35853a0805440006ae560935f253fe59a858aec0 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 21 12:48:28 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 21 12:48:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35853a08 |
7 |
|
8 |
x11-misc/lightdm: Removed old. |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
x11-misc/lightdm/Manifest | 2 - |
14 |
x11-misc/lightdm/files/README.gentoo | 11 --- |
15 |
x11-misc/lightdm/files/lightdm | 8 -- |
16 |
x11-misc/lightdm/lightdm-1.18.3-r1.ebuild | 132 ----------------------------- |
17 |
x11-misc/lightdm/lightdm-1.24.0-r1.ebuild | 133 ----------------------------- |
18 |
x11-misc/lightdm/lightdm-1.26.0.ebuild | 136 ------------------------------ |
19 |
6 files changed, 422 deletions(-) |
20 |
|
21 |
diff --git a/x11-misc/lightdm/Manifest b/x11-misc/lightdm/Manifest |
22 |
index 25267789efa..fbbc49eb359 100644 |
23 |
--- a/x11-misc/lightdm/Manifest |
24 |
+++ b/x11-misc/lightdm/Manifest |
25 |
@@ -1,5 +1,3 @@ |
26 |
DIST introspection-20110205.m4.tar.bz2 1220 BLAKE2B 01483c1a7b73568e01cc4d84b43c4cd946aaaac0b5fa13aa27805fa17297112bfaabb1c5a34bd83d2ecdef2033b622dbd5e63914baacb8f6edf488a7396d26d9 SHA512 5c49239935b93d86cce68b577b43d1a56d8749ab5747029bfcfa67339697134be24ef29ba6c3d133b8c03e867864637c8eb61491a4b7f6bb1e56386ed66cb9be |
27 |
-DIST lightdm-1.18.3.tar.xz 503968 BLAKE2B ec1fa0a62880708d223da972b3d9c2f2961e3e8f8baf6da9012de98818b27e0bc0e37cb6f460a25821779d83e9da1cd632484ad75ba95cb26cb9d23254600024 SHA512 dde34e4969d2f04e6729eb1b30d38bac9a89ff42c46f8a21e94b76beadbde450ffaa377201bd3a56e0d8d95d0640eb312ed11ecf94efb9a5a66777b944d4f234 |
28 |
-DIST lightdm-1.24.0.tar.xz 517552 BLAKE2B b4ab92b313bbb3a7bcc48a1d02b7bfb978bbc5041dbb81ceaa59c4296b2e4b069f90d9f09a4289376cb34e11331c39740f4e5370273d1315c75a9a35bd01cbb0 SHA512 30bad8887928f22bf2cc7ce8d7a323637dec669d47d69fb326cfcf1bb5ee9e52c1232cf680af94a25cf90a9de13d9b5ff73307c1dc8829422600d350401555b8 |
29 |
DIST lightdm-1.26.0.tar.xz 516092 BLAKE2B 0bbbe11959a2ea0c21e723d10e8831fc0d9e15475a415869634cfb41c6d576b77fd87720be33dae8456063947dd1b551e88c263ed76ef9b120c43df8c42513f3 SHA512 67c0671753587493ed064b66f94be58853028287c914d1101e66499bebf1408e14d33245887ce89d1c4931960225ea3984e5e625b22dc4e3020be34a3087d8e7 |
30 |
DIST lightdm-1.28.0.tar.xz 517460 BLAKE2B 98a0b60623dcac07bbb6bff95fa20da9425b714fe5da0d7d86c788362e40604bea2b46675c57e70c70356f71a542adbd6431723e40b815db8565d67ddecc20a1 SHA512 e1e8a952e723bbcc106043d33a64278b228a5a47a7e54235375817b08483594cc5e46ec52f5cbb9d258266e44b045785bca1d4c62daf83071c0f668b3c480071 |
31 |
|
32 |
diff --git a/x11-misc/lightdm/files/README.gentoo b/x11-misc/lightdm/files/README.gentoo |
33 |
deleted file mode 100644 |
34 |
index 182f5308754..00000000000 |
35 |
--- a/x11-misc/lightdm/files/README.gentoo |
36 |
+++ /dev/null |
37 |
@@ -1,11 +0,0 @@ |
38 |
- |
39 |
- * Even though the default /etc/lightdm/lightdm.conf will work for |
40 |
- * most users, make sure you configure it to suit your needs |
41 |
- * before using lightdm for the first time. |
42 |
- * You can test the configuration file using the following |
43 |
- * command: lightdm --test-mode -c /etc/lightdm/lightdm.conf. This |
44 |
- * requires xorg-server to be built with the 'kdrive' useflag. |
45 |
- * |
46 |
- * You can also set your own default values for LIGHTDM_GREETER, |
47 |
- * LIGHTDM_SESSION, and LIGHTDM_USER in /etc/portage/make.conf |
48 |
- |
49 |
|
50 |
diff --git a/x11-misc/lightdm/files/lightdm b/x11-misc/lightdm/files/lightdm |
51 |
deleted file mode 100644 |
52 |
index 6286d6ab4f6..00000000000 |
53 |
--- a/x11-misc/lightdm/files/lightdm |
54 |
+++ /dev/null |
55 |
@@ -1,8 +0,0 @@ |
56 |
-#%PAM-1.0 |
57 |
-auth optional pam_env.so |
58 |
-auth include system-login |
59 |
-auth required pam_nologin.so |
60 |
-account include system-login |
61 |
-password include system-login |
62 |
-session optional pam_loginuid.so |
63 |
-session include system-auth |
64 |
|
65 |
diff --git a/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild b/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild |
66 |
deleted file mode 100644 |
67 |
index 2cd6c3cd5cd..00000000000 |
68 |
--- a/x11-misc/lightdm/lightdm-1.18.3-r1.ebuild |
69 |
+++ /dev/null |
70 |
@@ -1,132 +0,0 @@ |
71 |
-# Copyright 1999-2018 Gentoo Foundation |
72 |
-# Distributed under the terms of the GNU General Public License v2 |
73 |
- |
74 |
-EAPI=6 |
75 |
-inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils |
76 |
- |
77 |
-TRUNK_VERSION="$(get_version_component_range 1-2)" |
78 |
-DESCRIPTION="A lightweight display manager" |
79 |
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/LightDM" |
80 |
-SRC_URI="https://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.xz |
81 |
- mirror://gentoo/introspection-20110205.m4.tar.bz2" |
82 |
- |
83 |
-LICENSE="GPL-3 LGPL-3" |
84 |
-SLOT="0" |
85 |
-KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86" |
86 |
-IUSE="audit +introspection qt5 +gnome" |
87 |
- |
88 |
-COMMON_DEPEND="audit? ( sys-process/audit ) |
89 |
- >=dev-libs/glib-2.32.3:2 |
90 |
- dev-libs/libxml2 |
91 |
- gnome? ( sys-apps/accountsservice ) |
92 |
- virtual/pam |
93 |
- x11-libs/libX11 |
94 |
- >=x11-libs/libxklavier-5 |
95 |
- introspection? ( >=dev-libs/gobject-introspection-1 ) |
96 |
- qt5? ( |
97 |
- dev-qt/qtcore:5 |
98 |
- dev-qt/qtdbus:5 |
99 |
- dev-qt/qtgui:5 |
100 |
- )" |
101 |
-RDEPEND="${COMMON_DEPEND} |
102 |
- >=sys-auth/pambase-20101024-r2" |
103 |
-DEPEND="${COMMON_DEPEND} |
104 |
- dev-util/gtk-doc-am |
105 |
- dev-util/intltool |
106 |
- gnome? ( gnome-base/gnome-common ) |
107 |
- sys-devel/gettext |
108 |
- virtual/pkgconfig" |
109 |
-PDEPEND="x11-misc/lightdm-gtk-greeter" |
110 |
- |
111 |
-DOCS=( NEWS ) |
112 |
-RESTRICT="test" |
113 |
- |
114 |
-src_prepare() { |
115 |
- xdg_environment_reset |
116 |
- |
117 |
- sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369 |
118 |
- sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die |
119 |
- |
120 |
- einfo "Fixing the session-wrapper variable in lightdm.conf" |
121 |
- sed -i -e \ |
122 |
- "/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \ |
123 |
- data/lightdm.conf || die "Failed to fix lightdm.conf" |
124 |
- |
125 |
- # use correct version of qmake. bug #566950 |
126 |
- sed -i -e "/AC_CHECK_TOOLS(MOC5/a AC_SUBST(MOC5,$(qt5_get_bindir)/moc)" configure.ac || die |
127 |
- |
128 |
- default |
129 |
- |
130 |
- # Remove bogus Makefile statement. This needs to go upstream |
131 |
- sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die |
132 |
- if has_version dev-libs/gobject-introspection; then |
133 |
- eautoreconf |
134 |
- else |
135 |
- AT_M4DIR=${WORKDIR} eautoreconf |
136 |
- fi |
137 |
-} |
138 |
- |
139 |
-src_configure() { |
140 |
- # Set default values if global vars unset |
141 |
- local _greeter _session _user |
142 |
- _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter} |
143 |
- _session=${LIGHTDM_SESSION:=gnome} |
144 |
- _user=${LIGHTDM_USER:=root} |
145 |
- # Let user know how lightdm is configured |
146 |
- einfo "Gentoo configuration" |
147 |
- einfo "Default greeter: ${_greeter}" |
148 |
- einfo "Default session: ${_session}" |
149 |
- einfo "Greeter user: ${_user}" |
150 |
- |
151 |
- use qt5 && append-cxxflags -std=c++11 |
152 |
- |
153 |
- # also disable tests because libsystem.c does not build. Tests are |
154 |
- # restricted so it does not matter anyway. |
155 |
- econf \ |
156 |
- --localstatedir=/var \ |
157 |
- --disable-static \ |
158 |
- --disable-tests \ |
159 |
- $(use_enable audit libaudit) \ |
160 |
- $(use_enable introspection) \ |
161 |
- --disable-liblightdm-qt \ |
162 |
- $(use_enable qt5 liblightdm-qt5) \ |
163 |
- --with-user-session=${_session} \ |
164 |
- --with-greeter-session=${_greeter} \ |
165 |
- --with-greeter-user=${_user} \ |
166 |
- --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html |
167 |
-} |
168 |
- |
169 |
-src_install() { |
170 |
- default |
171 |
- |
172 |
- # Delete apparmor profiles because they only work with Ubuntu's |
173 |
- # apparmor package. Bug #494426 |
174 |
- if [[ -d ${D}/etc/apparmor.d ]]; then |
175 |
- rm -r "${D}/etc/apparmor.d" || die \ |
176 |
- "Failed to remove apparmor profiles" |
177 |
- fi |
178 |
- |
179 |
- insinto /etc/${PN} |
180 |
- doins data/{${PN},keys}.conf |
181 |
- doins "${FILESDIR}"/Xsession |
182 |
- fperms +x /etc/${PN}/Xsession |
183 |
- # /var/lib/lightdm-data could be useful. Bug #522228 |
184 |
- dodir /var/lib/lightdm-data |
185 |
- |
186 |
- prune_libtool_files --all |
187 |
- rm -rf "${ED}"/etc/init |
188 |
- |
189 |
- # Remove existing pam file. We will build a new one. Bug #524792 |
190 |
- rm -rf "${ED}"/etc/pam.d/${PN}{,-greeter} |
191 |
- pamd_mimic system-local-login ${PN} auth account password session #372229 |
192 |
- pamd_mimic system-local-login ${PN}-greeter auth account password session #372229 |
193 |
- dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163 |
194 |
- |
195 |
- readme.gentoo_create_doc |
196 |
- |
197 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
198 |
-} |
199 |
- |
200 |
-pkg_postinst() { |
201 |
- systemd_reenable "${PN}.service" |
202 |
-} |
203 |
|
204 |
diff --git a/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild b/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild |
205 |
deleted file mode 100644 |
206 |
index 21d21a81111..00000000000 |
207 |
--- a/x11-misc/lightdm/lightdm-1.24.0-r1.ebuild |
208 |
+++ /dev/null |
209 |
@@ -1,133 +0,0 @@ |
210 |
-# Copyright 1999-2018 Gentoo Foundation |
211 |
-# Distributed under the terms of the GNU General Public License v2 |
212 |
- |
213 |
-EAPI=6 |
214 |
- |
215 |
-inherit autotools eutils flag-o-matic pam qmake-utils readme.gentoo-r1 systemd versionator xdg-utils |
216 |
- |
217 |
-TRUNK_VERSION="$(get_version_component_range 1-2)" |
218 |
-DESCRIPTION="A lightweight display manager" |
219 |
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/LightDM" |
220 |
-SRC_URI="https://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.xz |
221 |
- mirror://gentoo/introspection-20110205.m4.tar.bz2" |
222 |
- |
223 |
-LICENSE="GPL-3 LGPL-3" |
224 |
-SLOT="0" |
225 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
226 |
-IUSE="audit +gtk +introspection qt5 +gnome" |
227 |
- |
228 |
-COMMON_DEPEND=" |
229 |
- >=dev-libs/glib-2.32.3:2 |
230 |
- dev-libs/libxml2 |
231 |
- virtual/pam |
232 |
- x11-libs/libX11 |
233 |
- >=x11-libs/libxklavier-5 |
234 |
- audit? ( sys-process/audit ) |
235 |
- gnome? ( sys-apps/accountsservice ) |
236 |
- introspection? ( >=dev-libs/gobject-introspection-1 ) |
237 |
- qt5? ( |
238 |
- dev-qt/qtcore:5 |
239 |
- dev-qt/qtdbus:5 |
240 |
- dev-qt/qtgui:5 |
241 |
- )" |
242 |
-RDEPEND="${COMMON_DEPEND} |
243 |
- >=sys-auth/pambase-20101024-r2" |
244 |
-DEPEND="${COMMON_DEPEND} |
245 |
- dev-util/gtk-doc-am |
246 |
- dev-util/intltool |
247 |
- sys-devel/gettext |
248 |
- virtual/pkgconfig |
249 |
- gnome? ( gnome-base/gnome-common )" |
250 |
-PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter )" |
251 |
- |
252 |
-DOCS=( NEWS ) |
253 |
-RESTRICT="test" |
254 |
- |
255 |
-src_prepare() { |
256 |
- xdg_environment_reset |
257 |
- |
258 |
- sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369 |
259 |
- sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die |
260 |
- |
261 |
- einfo "Fixing the session-wrapper variable in lightdm.conf" |
262 |
- sed -i -e \ |
263 |
- "/^#session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \ |
264 |
- data/lightdm.conf || die "Failed to fix lightdm.conf" |
265 |
- |
266 |
- # use correct version of qmake. bug #566950 |
267 |
- sed -i -e "/AC_CHECK_TOOLS(MOC5/a AC_SUBST(MOC5,$(qt5_get_bindir)/moc)" configure.ac || die |
268 |
- |
269 |
- default |
270 |
- |
271 |
- # Remove bogus Makefile statement. This needs to go upstream |
272 |
- sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die |
273 |
- if has_version dev-libs/gobject-introspection; then |
274 |
- eautoreconf |
275 |
- else |
276 |
- AT_M4DIR=${WORKDIR} eautoreconf |
277 |
- fi |
278 |
-} |
279 |
- |
280 |
-src_configure() { |
281 |
- # Set default values if global vars unset |
282 |
- local _greeter _session _user |
283 |
- _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter} |
284 |
- _session=${LIGHTDM_SESSION:=gnome} |
285 |
- _user=${LIGHTDM_USER:=root} |
286 |
- # Let user know how lightdm is configured |
287 |
- einfo "Gentoo configuration" |
288 |
- einfo "Default greeter: ${_greeter}" |
289 |
- einfo "Default session: ${_session}" |
290 |
- einfo "Greeter user: ${_user}" |
291 |
- |
292 |
- use qt5 && append-cxxflags -std=c++11 |
293 |
- |
294 |
- # also disable tests because libsystem.c does not build. Tests are |
295 |
- # restricted so it does not matter anyway. |
296 |
- econf \ |
297 |
- --localstatedir=/var \ |
298 |
- --disable-static \ |
299 |
- --disable-tests \ |
300 |
- $(use_enable audit libaudit) \ |
301 |
- $(use_enable introspection) \ |
302 |
- --disable-liblightdm-qt \ |
303 |
- $(use_enable qt5 liblightdm-qt5) \ |
304 |
- --with-user-session=${_session} \ |
305 |
- --with-greeter-session=${_greeter} \ |
306 |
- --with-greeter-user=${_user} |
307 |
-} |
308 |
- |
309 |
-src_install() { |
310 |
- default |
311 |
- |
312 |
- # Delete apparmor profiles because they only work with Ubuntu's |
313 |
- # apparmor package. Bug #494426 |
314 |
- if [[ -d ${D}/etc/apparmor.d ]]; then |
315 |
- rm -r "${D}/etc/apparmor.d" || die \ |
316 |
- "Failed to remove apparmor profiles" |
317 |
- fi |
318 |
- |
319 |
- insinto /etc/${PN} |
320 |
- doins data/{${PN},keys}.conf |
321 |
- doins "${FILESDIR}"/Xsession |
322 |
- fperms +x /etc/${PN}/Xsession |
323 |
- # /var/lib/lightdm-data could be useful. Bug #522228 |
324 |
- dodir /var/lib/lightdm-data |
325 |
- |
326 |
- prune_libtool_files --all |
327 |
- rm -rf "${ED}"/etc/init |
328 |
- |
329 |
- # Remove existing pam file. We will build a new one. Bug #524792 |
330 |
- rm -rf "${ED}"/etc/pam.d/${PN}{,-greeter} |
331 |
- pamd_mimic system-local-login ${PN} auth account password session #372229 |
332 |
- pamd_mimic system-local-login ${PN}-greeter auth account password session #372229 |
333 |
- dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163 |
334 |
- |
335 |
- readme.gentoo_create_doc |
336 |
- |
337 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
338 |
-} |
339 |
- |
340 |
-pkg_postinst() { |
341 |
- systemd_reenable "${PN}.service" |
342 |
-} |
343 |
|
344 |
diff --git a/x11-misc/lightdm/lightdm-1.26.0.ebuild b/x11-misc/lightdm/lightdm-1.26.0.ebuild |
345 |
deleted file mode 100644 |
346 |
index 4d2efe7088f..00000000000 |
347 |
--- a/x11-misc/lightdm/lightdm-1.26.0.ebuild |
348 |
+++ /dev/null |
349 |
@@ -1,136 +0,0 @@ |
350 |
-# Copyright 1999-2018 Gentoo Foundation |
351 |
-# Distributed under the terms of the GNU General Public License v2 |
352 |
- |
353 |
-EAPI=6 |
354 |
- |
355 |
-inherit autotools flag-o-matic pam qmake-utils readme.gentoo-r1 systemd xdg-utils |
356 |
- |
357 |
-DESCRIPTION="A lightweight display manager" |
358 |
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/LightDM" |
359 |
-SRC_URI="https://github.com/CanonicalLtd/lightdm/releases/download/${PV}/${P}.tar.xz |
360 |
- mirror://gentoo/introspection-20110205.m4.tar.bz2" |
361 |
- |
362 |
-LICENSE="GPL-3 LGPL-3" |
363 |
-SLOT="0" |
364 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
365 |
-IUSE="audit +gtk +introspection qt5 +gnome" |
366 |
- |
367 |
-COMMON_DEPEND=" |
368 |
- >=dev-libs/glib-2.44.0:2 |
369 |
- dev-libs/libxml2 |
370 |
- virtual/pam |
371 |
- x11-libs/libX11 |
372 |
- >=x11-libs/libxklavier-5 |
373 |
- audit? ( sys-process/audit ) |
374 |
- gnome? ( sys-apps/accountsservice ) |
375 |
- introspection? ( >=dev-libs/gobject-introspection-1 ) |
376 |
- qt5? ( |
377 |
- dev-qt/qtcore:5 |
378 |
- dev-qt/qtdbus:5 |
379 |
- dev-qt/qtgui:5 |
380 |
- )" |
381 |
-RDEPEND="${COMMON_DEPEND} |
382 |
- >=sys-auth/pambase-20101024-r2" |
383 |
-DEPEND="${COMMON_DEPEND} |
384 |
- dev-util/gtk-doc-am |
385 |
- dev-util/intltool |
386 |
- sys-devel/gettext |
387 |
- virtual/pkgconfig |
388 |
- gnome? ( gnome-base/gnome-common )" |
389 |
-PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter )" |
390 |
- |
391 |
-DOCS=( NEWS ) |
392 |
-RESTRICT="test" |
393 |
- |
394 |
-src_prepare() { |
395 |
- xdg_environment_reset |
396 |
- |
397 |
- sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369 |
398 |
- sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die |
399 |
- |
400 |
- einfo "Fixing the session-wrapper variable in lightdm.conf" |
401 |
- sed -i -e \ |
402 |
- "/^#session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \ |
403 |
- data/lightdm.conf || die "Failed to fix lightdm.conf" |
404 |
- |
405 |
- # use correct version of qmake. bug #566950 |
406 |
- sed \ |
407 |
- -e "/AC_CHECK_TOOLS(MOC5/a AC_SUBST(MOC5,$(qt5_get_bindir)/moc)" \ |
408 |
- -i configure.ac || die |
409 |
- |
410 |
- default |
411 |
- |
412 |
- # Remove bogus Makefile statement. This needs to go upstream |
413 |
- sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die |
414 |
- if has_version dev-libs/gobject-introspection; then |
415 |
- eautoreconf |
416 |
- else |
417 |
- AT_M4DIR=${WORKDIR} eautoreconf |
418 |
- fi |
419 |
-} |
420 |
- |
421 |
-src_configure() { |
422 |
- # Set default values if global vars unset |
423 |
- local _greeter _session _user |
424 |
- _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter} |
425 |
- _session=${LIGHTDM_SESSION:=gnome} |
426 |
- _user=${LIGHTDM_USER:=root} |
427 |
- # Let user know how lightdm is configured |
428 |
- einfo "Gentoo configuration" |
429 |
- einfo "Default greeter: ${_greeter}" |
430 |
- einfo "Default session: ${_session}" |
431 |
- einfo "Greeter user: ${_user}" |
432 |
- |
433 |
- use qt5 && append-cxxflags -std=c++11 |
434 |
- |
435 |
- # also disable tests because libsystem.c does not build. Tests are |
436 |
- # restricted so it does not matter anyway. |
437 |
- local myeconfargs=( |
438 |
- --localstatedir=/var |
439 |
- --disable-static |
440 |
- --disable-tests |
441 |
- $(use_enable audit libaudit) |
442 |
- $(use_enable introspection) |
443 |
- --disable-liblightdm-qt |
444 |
- $(use_enable qt5 liblightdm-qt5) |
445 |
- --with-user-session=${_session} |
446 |
- --with-greeter-session=${_greeter} |
447 |
- --with-greeter-user=${_user} |
448 |
- ) |
449 |
- econf "${myeconfargs[@]}" |
450 |
-} |
451 |
- |
452 |
-src_install() { |
453 |
- default |
454 |
- |
455 |
- # Delete apparmor profiles because they only work with Ubuntu's |
456 |
- # apparmor package. Bug #494426 |
457 |
- if [[ -d ${ED%/}/etc/apparmor.d ]]; then |
458 |
- rm -r "${ED%/}/etc/apparmor.d" || die \ |
459 |
- "Failed to remove apparmor profiles" |
460 |
- fi |
461 |
- |
462 |
- insinto /etc/${PN} |
463 |
- doins data/{${PN},keys}.conf |
464 |
- doins "${FILESDIR}"/Xsession |
465 |
- fperms +x /etc/${PN}/Xsession |
466 |
- # /var/lib/lightdm-data could be useful. Bug #522228 |
467 |
- dodir /var/lib/lightdm-data |
468 |
- |
469 |
- find "${ED}" \( -name '*.a' -o -name "*.la" \) -delete || die |
470 |
- rm -rf "${ED%/}"/etc/init |
471 |
- |
472 |
- # Remove existing pam file. We will build a new one. Bug #524792 |
473 |
- rm -rf "${ED%/}"/etc/pam.d/${PN}{,-greeter} |
474 |
- pamd_mimic system-local-login ${PN} auth account password session #372229 |
475 |
- pamd_mimic system-local-login ${PN}-greeter auth account password session #372229 |
476 |
- dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163 |
477 |
- |
478 |
- readme.gentoo_create_doc |
479 |
- |
480 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
481 |
-} |
482 |
- |
483 |
-pkg_postinst() { |
484 |
- systemd_reenable "${PN}.service" |
485 |
-} |