1 |
commit: fd6d709197e2597fe031a13e9974ce52d48e3c9e |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 30 03:47:40 2016 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 30 03:47:40 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd6d7091 |
7 |
|
8 |
gnome-base/gdm: Remove old |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
gnome-base/gdm/gdm-3.22.1.ebuild | 216 --------------------------------------- |
13 |
1 file changed, 216 deletions(-) |
14 |
|
15 |
diff --git a/gnome-base/gdm/gdm-3.22.1.ebuild b/gnome-base/gdm/gdm-3.22.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 432173a..00000000 |
18 |
--- a/gnome-base/gdm/gdm-3.22.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,216 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=6 |
26 |
-GNOME2_LA_PUNT="yes" |
27 |
- |
28 |
-inherit autotools eutils gnome2 pam readme.gentoo-r1 systemd user versionator |
29 |
- |
30 |
-DESCRIPTION="GNOME Display Manager for managing graphical display servers and user logins" |
31 |
-HOMEPAGE="https://wiki.gnome.org/Projects/GDM" |
32 |
- |
33 |
-SRC_URI="${SRC_URI} |
34 |
- branding? ( http://www.mail-archive.com/tango-artists@×××××××××××××××××.org/msg00043/tango-gentoo-v1.1.tar.gz ) |
35 |
-" |
36 |
- |
37 |
-LICENSE=" |
38 |
- GPL-2+ |
39 |
- branding? ( CC-Sampling-Plus-1.0 ) |
40 |
-" |
41 |
- |
42 |
-SLOT="0" |
43 |
- |
44 |
-IUSE="accessibility audit branding fprint +introspection ipv6 plymouth selinux smartcard tcpd test wayland xinerama" |
45 |
- |
46 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" |
47 |
- |
48 |
-# NOTE: x11-base/xorg-server dep is for X_SERVER_PATH etc, bug #295686 |
49 |
-# nspr used by smartcard extension |
50 |
-# dconf, dbus and g-s-d are needed at install time for dconf update |
51 |
-# We need either systemd or >=openrc-0.12 to restart gdm properly, bug #463784 |
52 |
-COMMON_DEPEND=" |
53 |
- app-text/iso-codes |
54 |
- >=dev-libs/glib-2.36:2[dbus] |
55 |
- >=x11-libs/gtk+-2.91.1:3 |
56 |
- >=gnome-base/dconf-0.20 |
57 |
- >=gnome-base/gnome-settings-daemon-3.1.4 |
58 |
- gnome-base/gsettings-desktop-schemas |
59 |
- >=media-libs/fontconfig-2.5.0:1.0 |
60 |
- >=media-libs/libcanberra-0.4[gtk3] |
61 |
- sys-apps/dbus |
62 |
- >=sys-apps/accountsservice-0.6.12 |
63 |
- |
64 |
- x11-apps/sessreg |
65 |
- x11-base/xorg-server |
66 |
- x11-libs/libXi |
67 |
- x11-libs/libXau |
68 |
- x11-libs/libX11 |
69 |
- x11-libs/libXdmcp |
70 |
- x11-libs/libXext |
71 |
- x11-libs/libXft |
72 |
- >=x11-misc/xdg-utils-1.0.2-r3 |
73 |
- |
74 |
- virtual/pam |
75 |
- |
76 |
- >=sys-apps/systemd-186:0=[pam] |
77 |
- |
78 |
- sys-auth/pambase[systemd] |
79 |
- |
80 |
- audit? ( sys-process/audit ) |
81 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.12:= ) |
82 |
- plymouth? ( sys-boot/plymouth ) |
83 |
- selinux? ( sys-libs/libselinux ) |
84 |
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) |
85 |
- xinerama? ( x11-libs/libXinerama ) |
86 |
-" |
87 |
-# XXX: These deps are from session and desktop files in data/ directory |
88 |
-# fprintd is used via dbus by gdm-fingerprint-extension |
89 |
-# gnome-session-3.6 needed to avoid freezing with orca |
90 |
-RDEPEND="${COMMON_DEPEND} |
91 |
- >=gnome-base/gnome-session-3.6 |
92 |
- >=gnome-base/gnome-shell-3.1.90 |
93 |
- x11-apps/xhost |
94 |
- |
95 |
- accessibility? ( |
96 |
- >=app-accessibility/orca-3.10 |
97 |
- gnome-extra/mousetweaks ) |
98 |
- fprint? ( |
99 |
- sys-auth/fprintd |
100 |
- sys-auth/pam_fprint ) |
101 |
- |
102 |
- !gnome-extra/fast-user-switch-applet |
103 |
-" |
104 |
-DEPEND="${COMMON_DEPEND} |
105 |
- app-text/docbook-xml-dtd:4.1.2 |
106 |
- dev-util/gdbus-codegen |
107 |
- >=dev-util/intltool-0.40.0 |
108 |
- dev-util/itstool |
109 |
- virtual/pkgconfig |
110 |
- x11-proto/inputproto |
111 |
- x11-proto/randrproto |
112 |
- test? ( >=dev-libs/check-0.9.4 ) |
113 |
- xinerama? ( x11-proto/xineramaproto ) |
114 |
-" |
115 |
- |
116 |
-DOC_CONTENTS=" |
117 |
- To make GDM start at boot, run:\n |
118 |
- # systemctl enable gdm.service\n |
119 |
- \n |
120 |
- For passwordless login to unlock your keyring, you need to install |
121 |
- sys-auth/pambase with USE=gnome-keyring and set an empty password |
122 |
- on your keyring. Use app-crypt/seahorse for that.\n |
123 |
- \n |
124 |
- You may need to install app-crypt/coolkey and sys-auth/pam_pkcs11 |
125 |
- for smartcard support |
126 |
-" |
127 |
- |
128 |
-pkg_setup() { |
129 |
- enewgroup gdm |
130 |
- enewgroup video # Just in case it hasn't been created yet |
131 |
- enewuser gdm -1 -1 /var/lib/gdm gdm,video |
132 |
- |
133 |
- # For compatibility with certain versions of nvidia-drivers, etc., need to |
134 |
- # ensure that gdm user is in the video group |
135 |
- if ! egetent group video | grep -q gdm; then |
136 |
- # FIXME XXX: is this at all portable, ldap-safe, etc.? |
137 |
- # XXX: egetent does not have a 1-argument form, so we can't use it to |
138 |
- # get the list of gdm's groups |
139 |
- local g=$(groups gdm) |
140 |
- elog "Adding user gdm to video group" |
141 |
- usermod -G video,${g// /,} gdm || die "Adding user gdm to video group failed" |
142 |
- fi |
143 |
-} |
144 |
- |
145 |
-src_prepare() { |
146 |
- # ssh-agent handling must be done at xinitrc.d, bug #220603 |
147 |
- eapply "${FILESDIR}/${PN}-2.32.0-xinitrc-ssh-agent.patch" |
148 |
- |
149 |
- # Gentoo does not have a fingerprint-auth pam stack |
150 |
- eapply "${FILESDIR}/${PN}-3.8.4-fingerprint-auth.patch" |
151 |
- |
152 |
- # Show logo when branding is enabled |
153 |
- use branding && eapply "${FILESDIR}/${PN}-3.8.4-logo.patch" |
154 |
- |
155 |
- eautoreconf |
156 |
- gnome2_src_prepare |
157 |
-} |
158 |
- |
159 |
-src_configure() { |
160 |
- local myconf |
161 |
- # PAM is the only auth scheme supported |
162 |
- # even though configure lists shadow and crypt |
163 |
- # they don't have any corresponding code. |
164 |
- # --with-at-spi-registryd-directory= needs to be passed explicitly because |
165 |
- # of https://bugzilla.gnome.org/show_bug.cgi?id=607643#c4 |
166 |
- # Xevie is obsolete, bug #482304 |
167 |
- # --with-initial-vt=7 conflicts with plymouth, bug #453392 |
168 |
- ! use plymouth && myconf="${myconf} --with-initial-vt=7" |
169 |
- |
170 |
- gnome2_src_configure \ |
171 |
- --enable-gdm-xsession \ |
172 |
- --with-run-dir=/run/gdm \ |
173 |
- --localstatedir="${EPREFIX}"/var \ |
174 |
- --disable-static \ |
175 |
- --with-xdmcp=yes \ |
176 |
- --enable-authentication-scheme=pam \ |
177 |
- --with-default-pam-config=exherbo \ |
178 |
- --with-at-spi-registryd-directory="${EPREFIX}"/usr/libexec \ |
179 |
- --without-xevie \ |
180 |
- --enable-systemd-journal \ |
181 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
182 |
- $(use_with audit libaudit) \ |
183 |
- $(use_enable ipv6) \ |
184 |
- $(use_with plymouth) \ |
185 |
- $(use_with selinux) \ |
186 |
- $(use_with tcpd tcp-wrappers) \ |
187 |
- $(use_enable wayland wayland-support) \ |
188 |
- $(use_with xinerama) \ |
189 |
- ${myconf} |
190 |
-} |
191 |
- |
192 |
-src_install() { |
193 |
- gnome2_src_install |
194 |
- |
195 |
- if ! use accessibility ; then |
196 |
- rm "${ED}"/usr/share/gdm/greeter/autostart/orca-autostart.desktop || die |
197 |
- fi |
198 |
- |
199 |
- exeinto /etc/X11/xinit/xinitrc.d |
200 |
- newexe "${FILESDIR}/49-keychain-r1" 49-keychain |
201 |
- newexe "${FILESDIR}/50-ssh-agent-r1" 50-ssh-agent |
202 |
- |
203 |
- # gdm user's home directory |
204 |
- keepdir /var/lib/gdm |
205 |
- fowners gdm:gdm /var/lib/gdm |
206 |
- |
207 |
- # install XDG_DATA_DIRS gdm changes |
208 |
- echo 'XDG_DATA_DIRS="/usr/share/gdm"' > 99xdg-gdm |
209 |
- doenvd 99xdg-gdm |
210 |
- |
211 |
- use branding && newicon "${WORKDIR}/tango-gentoo-v1.1/scalable/gentoo.svg" gentoo-gdm.svg |
212 |
- |
213 |
- readme.gentoo_create_doc |
214 |
-} |
215 |
- |
216 |
-pkg_postinst() { |
217 |
- local d ret |
218 |
- |
219 |
- gnome2_pkg_postinst |
220 |
- |
221 |
- # bug #436456; gdm crashes if /var/lib/gdm subdirs are not owned by gdm:gdm |
222 |
- ret=0 |
223 |
- ebegin "Fixing "${EROOT}"var/lib/gdm ownership" |
224 |
- chown gdm:gdm "${EROOT}var/lib/gdm" || ret=1 |
225 |
- for d in "${EROOT}var/lib/gdm/"{.cache,.config,.local}; do |
226 |
- [[ ! -e "${d}" ]] || chown -R gdm:gdm "${d}" || ret=1 |
227 |
- done |
228 |
- eend ${ret} |
229 |
- |
230 |
- readme.gentoo_print_elog |
231 |
- |
232 |
- if ! version_is_at_least 3.16.0 ${REPLACING_VERSIONS}; then |
233 |
- ewarn "GDM will now use a new TTY per logged user as explained at:" |
234 |
- ewarn "https://wiki.gentoo.org/wiki/Project:GNOME/GNOME3-Troubleshooting#GDM_.3E.3D_3.16_opens_one_graphical_session_per_user" |
235 |
- fi |
236 |
-} |