Gentoo Archives: gentoo-commits

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