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