1 |
commit: 1e4d9ce9ace679e1eb3960f8284131240e0c7002 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 30 21:45:08 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 30 21:56:24 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e4d9ce9 |
7 |
|
8 |
gnome-base/gdm: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
gnome-base/gdm/Manifest | 1 - |
14 |
gnome-base/gdm/gdm-3.26.2.1-r1.ebuild | 205 ------------------------------- |
15 |
gnome-base/gdm/gdm-3.30.3-r1.ebuild | 222 ---------------------------------- |
16 |
gnome-base/gdm/gdm-3.30.3.ebuild | 201 ------------------------------ |
17 |
4 files changed, 629 deletions(-) |
18 |
|
19 |
diff --git a/gnome-base/gdm/Manifest b/gnome-base/gdm/Manifest |
20 |
index be50dd83945..1958502cf55 100644 |
21 |
--- a/gnome-base/gdm/Manifest |
22 |
+++ b/gnome-base/gdm/Manifest |
23 |
@@ -1,4 +1,3 @@ |
24 |
DIST gdm-3.24.3.tar.xz 1113992 BLAKE2B 79ae5ccf0477779bdb05cea4f0e8b2766caee0552efe8fe044da655037bfd603f1e4ab89a4eb0687f786bf44e9fd1c27e07bc498a769c8f88f0cc22b2dd1c9b1 SHA512 d8edffb582545f452ec071990fd7d07d6cb755458bc77a9e1b807816f8202f70fc8177e4bb345125075347942c6760c5a5460e3570dc32ee2570ecc15e5f3345 |
25 |
-DIST gdm-3.26.2.1.tar.xz 1119568 BLAKE2B 42ccd3d30a5b22124777792ea3e0bb003771df1d3c5a729d29ff14efe5c6365a82126e6b204301b22dd51e4aaffcef4e018b8fdda45eb52e3b76bd921aca9312 SHA512 4a0009935f2f86803a4dd6cdc01c80c9ee89fb8a71f82ffa6fadb16322e4c7f51d82e0e887c30aa09d1b242c3cc82a1ec0d83463e5d8942719a747f6945cbec9 |
26 |
DIST gdm-3.30.3.tar.xz 1261224 BLAKE2B 338f946a24d2a7e4b3cf34ac6accff01f8e7ce5032ee4ce79a96b1a755693e09788c6225e45de9a91ae4afea595a0562511104a467e561ec179c3ad61810468f SHA512 17aed5bf7d27b07553703873cda28a711d6135497d36e4c241bcf1ab3552b31007cc241dab394dccf8a4f1daccf7d55ba39edf91f4b22bdea5c2aa1ea17404b8 |
27 |
DIST tango-gentoo-v1.1.tar.gz 29322 BLAKE2B 83fa2bf37727e60851dd679054fe1b153ebfea58c9a9a40f891f7d68d3b047b02e8effa1d1b4e08d64500a2072ce7200f159c92a352da7124de27e1b05bb6027 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045 |
28 |
|
29 |
diff --git a/gnome-base/gdm/gdm-3.26.2.1-r1.ebuild b/gnome-base/gdm/gdm-3.26.2.1-r1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 5d46e881520..00000000000 |
32 |
--- a/gnome-base/gdm/gdm-3.26.2.1-r1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,205 +0,0 @@ |
35 |
-# Copyright 1999-2019 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=6 |
39 |
-GNOME2_LA_PUNT="yes" |
40 |
- |
41 |
-inherit eutils gnome2 pam readme.gentoo-r1 systemd user |
42 |
- |
43 |
-DESCRIPTION="GNOME Display Manager for managing graphical display servers and user logins" |
44 |
-HOMEPAGE="https://wiki.gnome.org/Projects/GDM" |
45 |
- |
46 |
-SRC_URI="${SRC_URI} |
47 |
- branding? ( https://www.mail-archive.com/tango-artists@×××××××××××××××××.org/msg00043/tango-gentoo-v1.1.tar.gz ) |
48 |
-" |
49 |
- |
50 |
-LICENSE=" |
51 |
- GPL-2+ |
52 |
- branding? ( CC-BY-SA-4.0 ) |
53 |
-" |
54 |
- |
55 |
-SLOT="0" |
56 |
- |
57 |
-IUSE="accessibility audit branding fprint +introspection ipv6 plymouth selinux smartcard tcpd test wayland xinerama" |
58 |
- |
59 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~x86" |
60 |
- |
61 |
-# NOTE: x11-base/xorg-server dep is for X_SERVER_PATH etc, bug #295686 |
62 |
-# nspr used by smartcard extension |
63 |
-# dconf, dbus and g-s-d are needed at install time for dconf update |
64 |
-# We need either systemd or >=openrc-0.12 to restart gdm properly, bug #463784 |
65 |
-# Requires org.gnome.SettingsDaemon.A11yKeyboard component which doesn't exist in 3.28 |
66 |
-COMMON_DEPEND=" |
67 |
- app-text/iso-codes |
68 |
- >=dev-libs/glib-2.36:2[dbus] |
69 |
- >=x11-libs/gtk+-2.91.1:3 |
70 |
- >=gnome-base/dconf-0.20 |
71 |
- >=gnome-base/gnome-settings-daemon-3.1.4 |
72 |
- <gnome-base/gnome-settings-daemon-3.27 |
73 |
- gnome-base/gsettings-desktop-schemas |
74 |
- >=media-libs/fontconfig-2.5.0:1.0 |
75 |
- >=media-libs/libcanberra-0.4[gtk3] |
76 |
- sys-apps/dbus |
77 |
- >=sys-apps/accountsservice-0.6.35 |
78 |
- |
79 |
- x11-apps/sessreg |
80 |
- x11-base/xorg-server |
81 |
- x11-libs/libXi |
82 |
- x11-libs/libXau |
83 |
- x11-libs/libX11 |
84 |
- x11-libs/libXdmcp |
85 |
- x11-libs/libXext |
86 |
- x11-libs/libXft |
87 |
- x11-libs/libxcb |
88 |
- >=x11-misc/xdg-utils-1.0.2-r3 |
89 |
- |
90 |
- virtual/pam |
91 |
- >=sys-apps/systemd-186:0=[pam] |
92 |
- |
93 |
- sys-auth/pambase[systemd] |
94 |
- |
95 |
- audit? ( sys-process/audit ) |
96 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.12:= ) |
97 |
- plymouth? ( sys-boot/plymouth ) |
98 |
- selinux? ( sys-libs/libselinux ) |
99 |
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) |
100 |
- xinerama? ( x11-libs/libXinerama ) |
101 |
-" |
102 |
-# XXX: These deps are from session and desktop files in data/ directory |
103 |
-# fprintd is used via dbus by gdm-fingerprint-extension |
104 |
-# gnome-session-3.6 needed to avoid freezing with orca |
105 |
-RDEPEND="${COMMON_DEPEND} |
106 |
- >=gnome-base/gnome-session-3.6 |
107 |
- >=gnome-base/gnome-shell-3.1.90 |
108 |
- x11-apps/xhost |
109 |
- |
110 |
- accessibility? ( |
111 |
- >=app-accessibility/orca-3.10 |
112 |
- gnome-extra/mousetweaks ) |
113 |
- fprint? ( |
114 |
- sys-auth/fprintd |
115 |
- sys-auth/pam_fprint ) |
116 |
- |
117 |
- !gnome-extra/fast-user-switch-applet |
118 |
-" |
119 |
-DEPEND="${COMMON_DEPEND} |
120 |
- app-text/docbook-xml-dtd:4.1.2 |
121 |
- dev-util/gdbus-codegen |
122 |
- dev-util/glib-utils |
123 |
- >=dev-util/intltool-0.40.0 |
124 |
- dev-util/itstool |
125 |
- virtual/pkgconfig |
126 |
- x11-base/xorg-proto |
127 |
- test? ( >=dev-libs/check-0.9.4 ) |
128 |
-" |
129 |
- |
130 |
-DOC_CONTENTS=" |
131 |
- To make GDM start at boot, run:\n |
132 |
- # systemctl enable gdm.service\n |
133 |
- \n |
134 |
- For passwordless login to unlock your keyring, you need to install |
135 |
- sys-auth/pambase with USE=gnome-keyring and set an empty password |
136 |
- on your keyring. Use app-crypt/seahorse for that.\n |
137 |
- \n |
138 |
- You may need to install app-crypt/coolkey and sys-auth/pam_pkcs11 |
139 |
- for smartcard support |
140 |
-" |
141 |
- |
142 |
-pkg_setup() { |
143 |
- enewgroup gdm |
144 |
- enewgroup video # Just in case it hasn't been created yet |
145 |
- enewuser gdm -1 -1 /var/lib/gdm gdm,video |
146 |
- |
147 |
- # For compatibility with certain versions of nvidia-drivers, etc., need to |
148 |
- # ensure that gdm user is in the video group |
149 |
- if ! egetent group video | grep -q gdm; then |
150 |
- # FIXME XXX: is this at all portable, ldap-safe, etc.? |
151 |
- # XXX: egetent does not have a 1-argument form, so we can't use it to |
152 |
- # get the list of gdm's groups |
153 |
- local g=$(groups gdm) |
154 |
- elog "Adding user gdm to video group" |
155 |
- usermod -G video,${g// /,} gdm || die "Adding user gdm to video group failed" |
156 |
- fi |
157 |
-} |
158 |
- |
159 |
-src_prepare() { |
160 |
- # ssh-agent handling must be done at xinitrc.d, bug #220603 |
161 |
- eapply "${FILESDIR}/${PN}-2.32.0-xinitrc-ssh-agent.patch" |
162 |
- |
163 |
- # Gentoo does not have a fingerprint-auth pam stack |
164 |
- eapply "${FILESDIR}/${PN}-3.8.4-fingerprint-auth.patch" |
165 |
- |
166 |
- # CVE-2018-14424, bug #662782 |
167 |
- eapply "${FILESDIR}/3.24.3-CVE-2018-14424.patch" |
168 |
- eapply "${FILESDIR}/3.24.3-display-object-lifetime-fix.patch" |
169 |
- |
170 |
- # Show logo when branding is enabled |
171 |
- use branding && eapply "${FILESDIR}/${PN}-3.8.4-logo.patch" |
172 |
- |
173 |
- gnome2_src_prepare |
174 |
-} |
175 |
- |
176 |
-src_configure() { |
177 |
- local myconf |
178 |
- # PAM is the only auth scheme supported |
179 |
- # even though configure lists shadow and crypt |
180 |
- # they don't have any corresponding code. |
181 |
- # --with-at-spi-registryd-directory= needs to be passed explicitly because |
182 |
- # of https://bugzilla.gnome.org/show_bug.cgi?id=607643#c4 |
183 |
- # Xevie is obsolete, bug #482304 |
184 |
- # --with-initial-vt=7 conflicts with plymouth, bug #453392 |
185 |
- ! use plymouth && myconf="${myconf} --with-initial-vt=7" |
186 |
- |
187 |
- gnome2_src_configure \ |
188 |
- --enable-gdm-xsession \ |
189 |
- --enable-user-display-server \ |
190 |
- --with-run-dir=/run/gdm \ |
191 |
- --localstatedir="${EPREFIX}"/var \ |
192 |
- --disable-static \ |
193 |
- --with-xdmcp=yes \ |
194 |
- --enable-authentication-scheme=pam \ |
195 |
- --with-default-pam-config=exherbo \ |
196 |
- --with-pam-mod-dir=$(getpam_mod_dir) \ |
197 |
- --with-at-spi-registryd-directory="${EPREFIX}"/usr/libexec \ |
198 |
- --without-xevie \ |
199 |
- --enable-systemd-journal \ |
200 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
201 |
- $(use_with audit libaudit) \ |
202 |
- $(use_enable ipv6) \ |
203 |
- $(use_with plymouth) \ |
204 |
- $(use_with selinux) \ |
205 |
- $(use_with tcpd tcp-wrappers) \ |
206 |
- $(use_enable wayland wayland-support) \ |
207 |
- $(use_with xinerama) \ |
208 |
- ${myconf} |
209 |
-} |
210 |
- |
211 |
-src_install() { |
212 |
- gnome2_src_install |
213 |
- |
214 |
- if ! use accessibility ; then |
215 |
- rm "${ED}"/usr/share/gdm/greeter/autostart/orca-autostart.desktop || die |
216 |
- fi |
217 |
- |
218 |
- exeinto /etc/X11/xinit/xinitrc.d |
219 |
- newexe "${FILESDIR}/49-keychain-r1" 49-keychain |
220 |
- newexe "${FILESDIR}/50-ssh-agent-r1" 50-ssh-agent |
221 |
- |
222 |
- # gdm user's home directory |
223 |
- keepdir /var/lib/gdm |
224 |
- fowners gdm:gdm /var/lib/gdm |
225 |
- |
226 |
- # install XDG_DATA_DIRS gdm changes |
227 |
- echo 'XDG_DATA_DIRS="/usr/share/gdm"' > 99xdg-gdm |
228 |
- doenvd 99xdg-gdm |
229 |
- |
230 |
- use branding && newicon "${WORKDIR}/tango-gentoo-v1.1/scalable/gentoo.svg" gentoo-gdm.svg |
231 |
- |
232 |
- readme.gentoo_create_doc |
233 |
-} |
234 |
- |
235 |
-pkg_postinst() { |
236 |
- gnome2_pkg_postinst |
237 |
- systemd_reenable gdm.service |
238 |
- readme.gentoo_print_elog |
239 |
-} |
240 |
|
241 |
diff --git a/gnome-base/gdm/gdm-3.30.3-r1.ebuild b/gnome-base/gdm/gdm-3.30.3-r1.ebuild |
242 |
deleted file mode 100644 |
243 |
index fe94fdcdbc4..00000000000 |
244 |
--- a/gnome-base/gdm/gdm-3.30.3-r1.ebuild |
245 |
+++ /dev/null |
246 |
@@ -1,222 +0,0 @@ |
247 |
-# Copyright 1999-2019 Gentoo Authors |
248 |
-# Distributed under the terms of the GNU General Public License v2 |
249 |
- |
250 |
-EAPI=6 |
251 |
-GNOME2_LA_PUNT="yes" |
252 |
- |
253 |
-inherit eutils gnome2 pam readme.gentoo-r1 systemd udev user |
254 |
- |
255 |
-DESCRIPTION="GNOME Display Manager for managing graphical display servers and user logins" |
256 |
-HOMEPAGE="https://wiki.gnome.org/Projects/GDM" |
257 |
- |
258 |
-SRC_URI="${SRC_URI} |
259 |
- branding? ( https://www.mail-archive.com/tango-artists@×××××××××××××××××.org/msg00043/tango-gentoo-v1.1.tar.gz ) |
260 |
-" |
261 |
- |
262 |
-LICENSE=" |
263 |
- GPL-2+ |
264 |
- branding? ( CC-BY-SA-4.0 ) |
265 |
-" |
266 |
- |
267 |
-SLOT="0" |
268 |
- |
269 |
-IUSE="accessibility audit branding elogind fprint +introspection ipv6 plymouth selinux smartcard systemd tcpd test wayland xinerama" |
270 |
-REQUIRED_USE="^^ ( elogind systemd )" |
271 |
- |
272 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~x86" |
273 |
- |
274 |
-# NOTE: x11-base/xorg-server dep is for X_SERVER_PATH etc, bug #295686 |
275 |
-# nspr used by smartcard extension |
276 |
-# dconf, dbus and g-s-d are needed at install time for dconf update |
277 |
-# We need either systemd or >=openrc-0.12 to restart gdm properly, bug #463784 |
278 |
-COMMON_DEPEND=" |
279 |
- app-text/iso-codes |
280 |
- >=dev-libs/glib-2.44:2 |
281 |
- >=x11-libs/gtk+-2.91.1:3 |
282 |
- >=gnome-base/dconf-0.20 |
283 |
- >=gnome-base/gnome-settings-daemon-3.1.4 |
284 |
- gnome-base/gsettings-desktop-schemas |
285 |
- >=media-libs/fontconfig-2.5.0:1.0 |
286 |
- >=media-libs/libcanberra-0.4[gtk3] |
287 |
- sys-apps/dbus |
288 |
- >=sys-apps/accountsservice-0.6.35 |
289 |
- |
290 |
- x11-base/xorg-server |
291 |
- x11-libs/libXau |
292 |
- x11-libs/libX11 |
293 |
- x11-libs/libXdmcp |
294 |
- x11-libs/libXext |
295 |
- x11-libs/libxcb |
296 |
- >=x11-misc/xdg-utils-1.0.2-r3 |
297 |
- |
298 |
- virtual/pam |
299 |
- elogind? ( >=sys-auth/elogind-239.3[pam] ) |
300 |
- systemd? ( >=sys-apps/systemd-186:0=[pam] ) |
301 |
- |
302 |
- sys-auth/pambase[elogind?,systemd?] |
303 |
- |
304 |
- audit? ( sys-process/audit ) |
305 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.12:= ) |
306 |
- plymouth? ( sys-boot/plymouth ) |
307 |
- selinux? ( sys-libs/libselinux ) |
308 |
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) |
309 |
- xinerama? ( x11-libs/libXinerama ) |
310 |
-" |
311 |
-# XXX: These deps are from session and desktop files in data/ directory |
312 |
-# fprintd is used via dbus by gdm-fingerprint-extension |
313 |
-# gnome-session-3.6 needed to avoid freezing with orca |
314 |
-RDEPEND="${COMMON_DEPEND} |
315 |
- >=gnome-base/gnome-session-3.6 |
316 |
- >=gnome-base/gnome-shell-3.1.90 |
317 |
- x11-apps/xhost |
318 |
- |
319 |
- accessibility? ( |
320 |
- >=app-accessibility/orca-3.10 |
321 |
- gnome-extra/mousetweaks ) |
322 |
- fprint? ( |
323 |
- sys-auth/fprintd |
324 |
- sys-auth/pam_fprint ) |
325 |
- |
326 |
- !gnome-extra/fast-user-switch-applet |
327 |
-" |
328 |
-DEPEND="${COMMON_DEPEND} |
329 |
- app-text/docbook-xml-dtd:4.1.2 |
330 |
- dev-util/gdbus-codegen |
331 |
- dev-util/glib-utils |
332 |
- dev-util/itstool |
333 |
- >=sys-devel/gettext-0.19.8 |
334 |
- virtual/pkgconfig |
335 |
- x11-base/xorg-proto |
336 |
- test? ( >=dev-libs/check-0.9.4 ) |
337 |
-" |
338 |
- |
339 |
-DOC_CONTENTS=" |
340 |
- To make GDM start at boot with systemd, run:\n |
341 |
- # systemctl enable gdm.service\n |
342 |
- \n |
343 |
- To make GDM start at boot with OpenRC, edit /etc/conf.d to have |
344 |
- DISPLAYMANAGER=\"gdm\" and enable the xdm service:\n |
345 |
- # rc-update add xdm |
346 |
- \n |
347 |
- For passwordless login to unlock your keyring, you need to install |
348 |
- sys-auth/pambase with USE=gnome-keyring and set an empty password |
349 |
- on your keyring. Use app-crypt/seahorse for that.\n |
350 |
- \n |
351 |
- You may need to install app-crypt/coolkey and sys-auth/pam_pkcs11 |
352 |
- for smartcard support |
353 |
-" |
354 |
- |
355 |
-pkg_setup() { |
356 |
- enewgroup gdm |
357 |
- enewgroup video # Just in case it hasn't been created yet |
358 |
- enewuser gdm -1 -1 /var/lib/gdm gdm,video |
359 |
- |
360 |
- # For compatibility with certain versions of nvidia-drivers, etc., need to |
361 |
- # ensure that gdm user is in the video group |
362 |
- if ! egetent group video | grep -q gdm; then |
363 |
- # FIXME XXX: is this at all portable, ldap-safe, etc.? |
364 |
- # XXX: egetent does not have a 1-argument form, so we can't use it to |
365 |
- # get the list of gdm's groups |
366 |
- local g=$(groups gdm) |
367 |
- elog "Adding user gdm to video group" |
368 |
- usermod -G video,${g// /,} gdm || die "Adding user gdm to video group failed" |
369 |
- fi |
370 |
-} |
371 |
- |
372 |
-src_prepare() { |
373 |
- # ssh-agent handling must be done at xinitrc.d, bug #220603 |
374 |
- eapply "${FILESDIR}/${PN}-2.32.0-xinitrc-ssh-agent.patch" |
375 |
- |
376 |
- # Gentoo does not have a fingerprint-auth pam stack |
377 |
- eapply "${FILESDIR}/${PN}-3.8.4-fingerprint-auth.patch" |
378 |
- |
379 |
- # Drop legacy argument to pam_systemd.so, included in 3.32 |
380 |
- eapply "${FILESDIR}/${PV}-pam-drop-legacy-arg.patch" |
381 |
- # Support pam_elogind.so in gdm-launch-environment.pam |
382 |
- eapply "${FILESDIR}/pam-elogind.patch" |
383 |
- |
384 |
- # Show logo when branding is enabled |
385 |
- use branding && eapply "${FILESDIR}/${PN}-3.30.3-logo.patch" |
386 |
- |
387 |
- gnome2_src_prepare |
388 |
-} |
389 |
- |
390 |
-src_configure() { |
391 |
- # PAM is the only auth scheme supported |
392 |
- # even though configure lists shadow and crypt |
393 |
- # they don't have any corresponding code. |
394 |
- # --with-at-spi-registryd-directory= needs to be passed explicitly because |
395 |
- # of https://bugzilla.gnome.org/show_bug.cgi?id=607643#c4 |
396 |
- # Xevie is obsolete, bug #482304 |
397 |
- |
398 |
- # --with-initial-vt=7 conflicts with plymouth, bug #453392 |
399 |
- # gdm-3.30 now reaps (stops) the login screen when the login VT isn't active, which |
400 |
- # saves on memory. However this means if we don't start on VT1, gdm doesn't start up |
401 |
- # before user manually goes to VT7. Thus as-is we can not keep gdm away from VT1, |
402 |
- # so lets try always having it in VT1 and see if that is an issue for people before |
403 |
- # hacking up workarounds for the initial start case. |
404 |
- # ! use plymouth && myconf="${myconf} --with-initial-vt=7" |
405 |
- local myconf=( |
406 |
- --enable-gdm-xsession |
407 |
- --enable-user-display-server |
408 |
- --with-run-dir=/run/gdm |
409 |
- --localstatedir="${EPREFIX}"/var |
410 |
- --disable-static |
411 |
- --with-xdmcp=yes |
412 |
- --enable-authentication-scheme=pam |
413 |
- --with-default-pam-config=exherbo |
414 |
- --with-pam-mod-dir=$(getpam_mod_dir) |
415 |
- --with-udevdir=$(get_udevdir) |
416 |
- --with-at-spi-registryd-directory="${EPREFIX}"/usr/libexec |
417 |
- --without-xevie |
418 |
- $(use_enable systemd systemd-journal) |
419 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
420 |
- $(use_with audit libaudit) |
421 |
- $(use_enable ipv6) |
422 |
- $(use_with plymouth) |
423 |
- $(use_with selinux) |
424 |
- $(use_with tcpd tcp-wrappers) |
425 |
- $(use_enable wayland wayland-support) |
426 |
- $(use_with xinerama) |
427 |
- ) |
428 |
- |
429 |
- if use elogind; then |
430 |
- myconf+=( |
431 |
- --with-initial-vt=7 # TODO: Revisit together with startDM.sh and other xinit talks; also ignores plymouth possibility |
432 |
- SYSTEMD_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null` |
433 |
- SYSTEMD_LIBS=`pkg-config --libs "libelogind" 2>/dev/null` |
434 |
- ) |
435 |
- fi |
436 |
- |
437 |
- gnome2_src_configure "${myconf[@]}" |
438 |
-} |
439 |
- |
440 |
-src_install() { |
441 |
- gnome2_src_install |
442 |
- |
443 |
- if ! use accessibility ; then |
444 |
- rm "${ED}"/usr/share/gdm/greeter/autostart/orca-autostart.desktop || die |
445 |
- fi |
446 |
- |
447 |
- exeinto /etc/X11/xinit/xinitrc.d |
448 |
- newexe "${FILESDIR}/49-keychain-r1" 49-keychain |
449 |
- newexe "${FILESDIR}/50-ssh-agent-r1" 50-ssh-agent |
450 |
- |
451 |
- # gdm user's home directory |
452 |
- keepdir /var/lib/gdm |
453 |
- fowners gdm:gdm /var/lib/gdm |
454 |
- |
455 |
- # install XDG_DATA_DIRS gdm changes |
456 |
- echo 'XDG_DATA_DIRS="/usr/share/gdm"' > 99xdg-gdm |
457 |
- doenvd 99xdg-gdm |
458 |
- |
459 |
- use branding && newicon "${WORKDIR}/tango-gentoo-v1.1/scalable/gentoo.svg" gentoo-gdm.svg |
460 |
- |
461 |
- readme.gentoo_create_doc |
462 |
-} |
463 |
- |
464 |
-pkg_postinst() { |
465 |
- gnome2_pkg_postinst |
466 |
- systemd_reenable gdm.service |
467 |
- readme.gentoo_print_elog |
468 |
-} |
469 |
|
470 |
diff --git a/gnome-base/gdm/gdm-3.30.3.ebuild b/gnome-base/gdm/gdm-3.30.3.ebuild |
471 |
deleted file mode 100644 |
472 |
index 1b23de4ad55..00000000000 |
473 |
--- a/gnome-base/gdm/gdm-3.30.3.ebuild |
474 |
+++ /dev/null |
475 |
@@ -1,201 +0,0 @@ |
476 |
-# Copyright 1999-2019 Gentoo Authors |
477 |
-# Distributed under the terms of the GNU General Public License v2 |
478 |
- |
479 |
-EAPI=6 |
480 |
-GNOME2_LA_PUNT="yes" |
481 |
- |
482 |
-inherit eutils gnome2 pam readme.gentoo-r1 systemd udev user |
483 |
- |
484 |
-DESCRIPTION="GNOME Display Manager for managing graphical display servers and user logins" |
485 |
-HOMEPAGE="https://wiki.gnome.org/Projects/GDM" |
486 |
- |
487 |
-SRC_URI="${SRC_URI} |
488 |
- branding? ( https://www.mail-archive.com/tango-artists@×××××××××××××××××.org/msg00043/tango-gentoo-v1.1.tar.gz ) |
489 |
-" |
490 |
- |
491 |
-LICENSE=" |
492 |
- GPL-2+ |
493 |
- branding? ( CC-BY-SA-4.0 ) |
494 |
-" |
495 |
- |
496 |
-SLOT="0" |
497 |
- |
498 |
-IUSE="accessibility audit branding fprint +introspection ipv6 plymouth selinux smartcard tcpd test wayland xinerama" |
499 |
- |
500 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~x86" |
501 |
- |
502 |
-# NOTE: x11-base/xorg-server dep is for X_SERVER_PATH etc, bug #295686 |
503 |
-# nspr used by smartcard extension |
504 |
-# dconf, dbus and g-s-d are needed at install time for dconf update |
505 |
-# We need either systemd or >=openrc-0.12 to restart gdm properly, bug #463784 |
506 |
-COMMON_DEPEND=" |
507 |
- app-text/iso-codes |
508 |
- >=dev-libs/glib-2.44:2 |
509 |
- >=x11-libs/gtk+-2.91.1:3 |
510 |
- >=gnome-base/dconf-0.20 |
511 |
- >=gnome-base/gnome-settings-daemon-3.1.4 |
512 |
- gnome-base/gsettings-desktop-schemas |
513 |
- >=media-libs/fontconfig-2.5.0:1.0 |
514 |
- >=media-libs/libcanberra-0.4[gtk3] |
515 |
- sys-apps/dbus |
516 |
- >=sys-apps/accountsservice-0.6.35 |
517 |
- |
518 |
- x11-base/xorg-server |
519 |
- x11-libs/libXau |
520 |
- x11-libs/libX11 |
521 |
- x11-libs/libXdmcp |
522 |
- x11-libs/libXext |
523 |
- x11-libs/libxcb |
524 |
- >=x11-misc/xdg-utils-1.0.2-r3 |
525 |
- |
526 |
- virtual/pam |
527 |
- >=sys-apps/systemd-186:0=[pam] |
528 |
- |
529 |
- sys-auth/pambase[systemd] |
530 |
- |
531 |
- audit? ( sys-process/audit ) |
532 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.12:= ) |
533 |
- plymouth? ( sys-boot/plymouth ) |
534 |
- selinux? ( sys-libs/libselinux ) |
535 |
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) |
536 |
- xinerama? ( x11-libs/libXinerama ) |
537 |
-" |
538 |
-# XXX: These deps are from session and desktop files in data/ directory |
539 |
-# fprintd is used via dbus by gdm-fingerprint-extension |
540 |
-# gnome-session-3.6 needed to avoid freezing with orca |
541 |
-RDEPEND="${COMMON_DEPEND} |
542 |
- >=gnome-base/gnome-session-3.6 |
543 |
- >=gnome-base/gnome-shell-3.1.90 |
544 |
- x11-apps/xhost |
545 |
- |
546 |
- accessibility? ( |
547 |
- >=app-accessibility/orca-3.10 |
548 |
- gnome-extra/mousetweaks ) |
549 |
- fprint? ( |
550 |
- sys-auth/fprintd |
551 |
- sys-auth/pam_fprint ) |
552 |
- |
553 |
- !gnome-extra/fast-user-switch-applet |
554 |
-" |
555 |
-DEPEND="${COMMON_DEPEND} |
556 |
- app-text/docbook-xml-dtd:4.1.2 |
557 |
- dev-util/gdbus-codegen |
558 |
- dev-util/glib-utils |
559 |
- dev-util/itstool |
560 |
- >=sys-devel/gettext-0.19.8 |
561 |
- virtual/pkgconfig |
562 |
- x11-base/xorg-proto |
563 |
- test? ( >=dev-libs/check-0.9.4 ) |
564 |
-" |
565 |
- |
566 |
-DOC_CONTENTS=" |
567 |
- To make GDM start at boot, run:\n |
568 |
- # systemctl enable gdm.service\n |
569 |
- \n |
570 |
- For passwordless login to unlock your keyring, you need to install |
571 |
- sys-auth/pambase with USE=gnome-keyring and set an empty password |
572 |
- on your keyring. Use app-crypt/seahorse for that.\n |
573 |
- \n |
574 |
- You may need to install app-crypt/coolkey and sys-auth/pam_pkcs11 |
575 |
- for smartcard support |
576 |
-" |
577 |
- |
578 |
-pkg_setup() { |
579 |
- enewgroup gdm |
580 |
- enewgroup video # Just in case it hasn't been created yet |
581 |
- enewuser gdm -1 -1 /var/lib/gdm gdm,video |
582 |
- |
583 |
- # For compatibility with certain versions of nvidia-drivers, etc., need to |
584 |
- # ensure that gdm user is in the video group |
585 |
- if ! egetent group video | grep -q gdm; then |
586 |
- # FIXME XXX: is this at all portable, ldap-safe, etc.? |
587 |
- # XXX: egetent does not have a 1-argument form, so we can't use it to |
588 |
- # get the list of gdm's groups |
589 |
- local g=$(groups gdm) |
590 |
- elog "Adding user gdm to video group" |
591 |
- usermod -G video,${g// /,} gdm || die "Adding user gdm to video group failed" |
592 |
- fi |
593 |
-} |
594 |
- |
595 |
-src_prepare() { |
596 |
- # ssh-agent handling must be done at xinitrc.d, bug #220603 |
597 |
- eapply "${FILESDIR}/${PN}-2.32.0-xinitrc-ssh-agent.patch" |
598 |
- |
599 |
- # Gentoo does not have a fingerprint-auth pam stack |
600 |
- eapply "${FILESDIR}/${PN}-3.8.4-fingerprint-auth.patch" |
601 |
- |
602 |
- # Show logo when branding is enabled |
603 |
- use branding && eapply "${FILESDIR}/${PN}-3.30.3-logo.patch" |
604 |
- |
605 |
- gnome2_src_prepare |
606 |
-} |
607 |
- |
608 |
-src_configure() { |
609 |
- # PAM is the only auth scheme supported |
610 |
- # even though configure lists shadow and crypt |
611 |
- # they don't have any corresponding code. |
612 |
- # --with-at-spi-registryd-directory= needs to be passed explicitly because |
613 |
- # of https://bugzilla.gnome.org/show_bug.cgi?id=607643#c4 |
614 |
- # Xevie is obsolete, bug #482304 |
615 |
- |
616 |
- # --with-initial-vt=7 conflicts with plymouth, bug #453392 |
617 |
- # gdm-3.30 now reaps (stops) the login screen when the login VT isn't active, which |
618 |
- # saves on memory. However this means if we don't start on VT1, gdm doesn't start up |
619 |
- # before user manually goes to VT7. Thus as-is we can not keep gdm away from VT1, |
620 |
- # so lets try always having it in VT1 and see if that is an issue for people before |
621 |
- # hacking up workarounds for the initial start case. |
622 |
- # ! use plymouth && myconf="${myconf} --with-initial-vt=7" |
623 |
- |
624 |
- gnome2_src_configure \ |
625 |
- --enable-gdm-xsession \ |
626 |
- --enable-user-display-server \ |
627 |
- --with-run-dir=/run/gdm \ |
628 |
- --localstatedir="${EPREFIX}"/var \ |
629 |
- --disable-static \ |
630 |
- --with-xdmcp=yes \ |
631 |
- --enable-authentication-scheme=pam \ |
632 |
- --with-default-pam-config=exherbo \ |
633 |
- --with-pam-mod-dir=$(getpam_mod_dir) \ |
634 |
- --with-udevdir=$(get_udevdir) \ |
635 |
- --with-at-spi-registryd-directory="${EPREFIX}"/usr/libexec \ |
636 |
- --without-xevie \ |
637 |
- --enable-systemd-journal \ |
638 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
639 |
- $(use_with audit libaudit) \ |
640 |
- $(use_enable ipv6) \ |
641 |
- $(use_with plymouth) \ |
642 |
- $(use_with selinux) \ |
643 |
- $(use_with tcpd tcp-wrappers) \ |
644 |
- $(use_enable wayland wayland-support) \ |
645 |
- $(use_with xinerama) |
646 |
-} |
647 |
- |
648 |
-src_install() { |
649 |
- gnome2_src_install |
650 |
- |
651 |
- if ! use accessibility ; then |
652 |
- rm "${ED}"/usr/share/gdm/greeter/autostart/orca-autostart.desktop || die |
653 |
- fi |
654 |
- |
655 |
- exeinto /etc/X11/xinit/xinitrc.d |
656 |
- newexe "${FILESDIR}/49-keychain-r1" 49-keychain |
657 |
- newexe "${FILESDIR}/50-ssh-agent-r1" 50-ssh-agent |
658 |
- |
659 |
- # gdm user's home directory |
660 |
- keepdir /var/lib/gdm |
661 |
- fowners gdm:gdm /var/lib/gdm |
662 |
- |
663 |
- # install XDG_DATA_DIRS gdm changes |
664 |
- echo 'XDG_DATA_DIRS="/usr/share/gdm"' > 99xdg-gdm |
665 |
- doenvd 99xdg-gdm |
666 |
- |
667 |
- use branding && newicon "${WORKDIR}/tango-gentoo-v1.1/scalable/gentoo.svg" gentoo-gdm.svg |
668 |
- |
669 |
- readme.gentoo_create_doc |
670 |
-} |
671 |
- |
672 |
-pkg_postinst() { |
673 |
- gnome2_pkg_postinst |
674 |
- systemd_reenable gdm.service |
675 |
- readme.gentoo_print_elog |
676 |
-} |