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