Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gdm: gdm-3.4.1-r3.ebuild gdm-3.6.2.ebuild ChangeLog metadata.xml gdm-3.4.1-r1.ebuild gdm-3.2.1.1-r1.ebuild gdm-2.32.1.ebuild gdm-2.20.11.ebuild gdm-3.4.1.ebuild gdm-3.2.1.1-r2.ebuild
Date: Wed, 26 Dec 2012 21:45:12
Message-Id: 20121226214501.E94082171E@flycatcher.gentoo.org
1 eva 12/12/26 21:45:01
2
3 Modified: gdm-3.4.1-r3.ebuild ChangeLog metadata.xml
4 Added: gdm-3.6.2.ebuild
5 Removed: gdm-3.4.1-r1.ebuild gdm-3.2.1.1-r1.ebuild
6 gdm-2.32.1.ebuild gdm-2.20.11.ebuild
7 gdm-3.4.1.ebuild gdm-3.2.1.1-r2.ebuild
8 Log:
9 Version bump for Gnome 3.6. USE=introspection is now global. Clean up old revisions.
10
11 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key C6085806)
12
13 Revision Changes Path
14 1.2 gnome-base/gdm/gdm-3.4.1-r3.ebuild
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gdm/gdm-3.4.1-r3.ebuild?rev=1.2&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gdm/gdm-3.4.1-r3.ebuild?rev=1.2&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gdm/gdm-3.4.1-r3.ebuild?r1=1.1&r2=1.2
19
20 Index: gdm-3.4.1-r3.ebuild
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-3.4.1-r3.ebuild,v
23 retrieving revision 1.1
24 retrieving revision 1.2
25 diff -u -r1.1 -r1.2
26 --- gdm-3.4.1-r3.ebuild 29 Sep 2012 06:05:16 -0000 1.1
27 +++ gdm-3.4.1-r3.ebuild 26 Dec 2012 21:45:01 -0000 1.2
28 @@ -1,6 +1,6 @@
29 # Copyright 1999-2012 Gentoo Foundation
30 # Distributed under the terms of the GNU General Public License v2
31 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-3.4.1-r3.ebuild,v 1.1 2012/09/29 06:05:16 tetromino Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-3.4.1-r3.ebuild,v 1.2 2012/12/26 21:45:01 eva Exp $
33
34 EAPI="4"
35 GNOME2_LA_PUNT="yes"
36 @@ -16,9 +16,8 @@
37
38 LICENSE="GPL-2+"
39 SLOT="0"
40 -KEYWORDS="~amd64 ~sh ~x86"
41 -
42 IUSE="accessibility audit +consolekit +fallback fprint +gnome-shell +introspection ipv6 ldap plymouth selinux smartcard systemd tcpd test xinerama +xklavier"
43 +KEYWORDS="~amd64 ~sh ~x86"
44
45 # NOTE: x11-base/xorg-server dep is for X_SERVER_PATH etc, bug #295686
46 # nspr used by smartcard extension
47 @@ -104,31 +103,6 @@
48 !gnome-extra/fast-user-switch-applet"
49
50 pkg_setup() {
51 - DOCS="AUTHORS ChangeLog NEWS README TODO"
52 -
53 - # PAM is the only auth scheme supported
54 - # even though configure lists shadow and crypt
55 - # they don't have any corresponding code.
56 - # --with-at-spi-registryd-directory= needs to be passed explicitly because
57 - # of https://bugzilla.gnome.org/show_bug.cgi?id=607643#c4
58 - G2CONF="${G2CONF}
59 - --disable-static
60 - --localstatedir=${EPREFIX}/var
61 - --with-xdmcp=yes
62 - --enable-authentication-scheme=pam
63 - --with-pam-prefix=${EPREFIX}/etc
64 - --with-at-spi-registryd-directory=${EPREFIX}/usr/libexec
65 - $(use_with accessibility xevie)
66 - $(use_with audit libaudit)
67 - $(use_enable ipv6)
68 - $(use_enable xklavier libxklavier)
69 - $(use_with consolekit console-kit)
70 - $(use_with plymouth)
71 - $(use_with selinux)
72 - $(use_with systemd)
73 - $(use_with tcpd tcp-wrappers)
74 - $(use_with xinerama)"
75 -
76 enewgroup gdm
77 enewgroup video # Just in case it hasn't been created yet
78 enewuser gdm -1 -1 /var/lib/gdm gdm,video
79 @@ -186,6 +160,34 @@
80 gnome2_src_prepare
81 }
82
83 +src_configure() {
84 + DOCS="AUTHORS ChangeLog NEWS README TODO"
85 +
86 + # PAM is the only auth scheme supported
87 + # even though configure lists shadow and crypt
88 + # they don't have any corresponding code.
89 + # --with-at-spi-registryd-directory= needs to be passed explicitly because
90 + # of https://bugzilla.gnome.org/show_bug.cgi?id=607643#c4
91 + G2CONF="${G2CONF}
92 + --disable-static
93 + --localstatedir=${EPREFIX}/var
94 + --with-xdmcp=yes
95 + --enable-authentication-scheme=pam
96 + --with-pam-prefix=${EPREFIX}/etc
97 + --with-at-spi-registryd-directory=${EPREFIX}/usr/libexec
98 + $(use_with accessibility xevie)
99 + $(use_with audit libaudit)
100 + $(use_enable ipv6)
101 + $(use_enable xklavier libxklavier)
102 + $(use_with consolekit console-kit)
103 + $(use_with plymouth)
104 + $(use_with selinux)
105 + $(use_with systemd)
106 + $(use_with tcpd tcp-wrappers)
107 + $(use_with xinerama)"
108 + gnome2_src_configure
109 +}
110 +
111 src_install() {
112 gnome2_src_install
113
114
115
116
117 1.358 gnome-base/gdm/ChangeLog
118
119 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gdm/ChangeLog?rev=1.358&view=markup
120 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gdm/ChangeLog?rev=1.358&content-type=text/plain
121 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gdm/ChangeLog?r1=1.357&r2=1.358
122
123 Index: ChangeLog
124 ===================================================================
125 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gdm/ChangeLog,v
126 retrieving revision 1.357
127 retrieving revision 1.358
128 diff -u -r1.357 -r1.358
129 --- ChangeLog 29 Sep 2012 06:05:16 -0000 1.357
130 +++ ChangeLog 26 Dec 2012 21:45:01 -0000 1.358
131 @@ -1,6 +1,17 @@
132 # ChangeLog for gnome-base/gdm
133 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
134 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/ChangeLog,v 1.357 2012/09/29 06:05:16 tetromino Exp $
135 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/ChangeLog,v 1.358 2012/12/26 21:45:01 eva Exp $
136 +
137 +*gdm-3.6.2 (26 Dec 2012)
138 +
139 + 26 Dec 2012; Gilles Dartiguelongue <eva@g.o> -gdm-2.20.11.ebuild,
140 + -files/gdm-2.32.0-broken-VT-detection.patch, -gdm-2.32.1.ebuild,
141 + -gdm-3.2.1.1-r1.ebuild, -gdm-3.2.1.1-r2.ebuild, -gdm-3.4.1.ebuild,
142 + -gdm-3.4.1-r1.ebuild, gdm-3.4.1-r3.ebuild,
143 + +files/gdm-3.6.0-fix-daemonize-regression.patch,
144 + +files/gdm-3.6.0-selinux-automagic.patch, +gdm-3.6.2.ebuild, metadata.xml:
145 + Version bump for Gnome 3.6. USE=introspection is now global. Clean up old
146 + revisions.
147
148 *gdm-3.4.1-r3 (29 Sep 2012)
149
150
151
152
153 1.11 gnome-base/gdm/metadata.xml
154
155 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gdm/metadata.xml?rev=1.11&view=markup
156 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gdm/metadata.xml?rev=1.11&content-type=text/plain
157 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gdm/metadata.xml?r1=1.10&r2=1.11
158
159 Index: metadata.xml
160 ===================================================================
161 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gdm/metadata.xml,v
162 retrieving revision 1.10
163 retrieving revision 1.11
164 diff -u -r1.10 -r1.11
165 --- metadata.xml 12 Sep 2012 09:22:54 -0000 1.10
166 +++ metadata.xml 26 Dec 2012 21:45:01 -0000 1.11
167 @@ -7,14 +7,13 @@
168 <flag name="consolekit">Allow proper handling of removable media according
169 to who is actually present on the machine.</flag>
170 <flag name="dmx">Enables Distributed Multihead X (DMX) support</flag>
171 +
172 <flag name="fallback">Install <pkg>x11-wm/metacity</pkg> as fallback in
173 case gnome-shell greeter fails to start</flag>
174 <flag name="fprint">Enables experimental fingerprint authentication using
175 <pkg>sys-auth/fprintd</pkg></flag>
176 <flag name="gnome-shell">Enables a greeter based on GNOME Shell (uses
177 OpenGL)</flag>
178 - <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
179 - for introspection</flag>
180 <flag name="plymouth">Enable support for smooth transition from
181 <pkg>sys-boot/plymouth</pkg></flag>
182 <flag name="remote">Enables support for secure remote connections</flag>
183
184
185
186 1.1 gnome-base/gdm/gdm-3.6.2.ebuild
187
188 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gdm/gdm-3.6.2.ebuild?rev=1.1&view=markup
189 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gdm/gdm-3.6.2.ebuild?rev=1.1&content-type=text/plain
190
191 Index: gdm-3.6.2.ebuild
192 ===================================================================
193 # Copyright 1999-2012 Gentoo Foundation
194 # Distributed under the terms of the GNU General Public License v2
195 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-3.6.2.ebuild,v 1.1 2012/12/26 21:45:01 eva Exp $
196
197 EAPI="5"
198 GNOME2_LA_PUNT="yes"
199
200 inherit autotools eutils gnome2 pam systemd user
201
202 G_PV="2012.09.25"
203 G_P="gdm-gentoo-${G_PV}"
204 DESCRIPTION="GNOME Display Manager"
205 HOMEPAGE="https://live.gnome.org/GDM"
206 SRC_URI="${SRC_URI}
207 http://dev.gentoo.org/~tetromino/distfiles/${PN}/${G_P}.tar.xz"
208
209 LICENSE="GPL-2+"
210 SLOT="0"
211 IUSE="accessibility audit +consolekit +fallback fprint +gnome-shell +introspection ipv6 ldap plymouth selinux smartcard systemd tcpd test xinerama"
212 KEYWORDS="~amd64 ~sh ~x86"
213
214 # NOTE: x11-base/xorg-server dep is for X_SERVER_PATH etc, bug #295686
215 # nspr used by smartcard extension
216 # dconf, dbus and g-s-d are needed at install time for dconf update
217 # libdaemon needed for our fix-daemonize-regression.patch
218 COMMON_DEPEND="
219 app-text/iso-codes
220 >=dev-libs/glib-2.33.2:2
221 >=x11-libs/gtk+-2.91.1:3
222 dev-libs/libdaemon
223 >=x11-libs/pango-1.3
224 dev-libs/nspr
225 >=dev-libs/nss-3.11.1
226 >=gnome-base/dconf-0.11.6
227 >=gnome-base/gnome-settings-daemon-3.1.4
228 gnome-base/gsettings-desktop-schemas
229 >=media-libs/fontconfig-2.5.0
230 >=media-libs/libcanberra-0.4[gtk3]
231 sys-apps/dbus
232 >=sys-apps/accountsservice-0.6.12
233 >=sys-power/upower-0.9
234
235 x11-apps/sessreg
236 x11-base/xorg-server
237 x11-libs/libXi
238 x11-libs/libXau
239 x11-libs/libX11
240 x11-libs/libXdmcp
241 x11-libs/libXext
242 x11-libs/libXft
243 x11-libs/libXrandr
244 >=x11-misc/xdg-utils-1.0.2-r3
245
246 virtual/pam
247 sys-auth/pambase[consolekit?,systemd?]
248
249 accessibility? ( x11-libs/libXevie )
250 audit? ( sys-process/audit )
251 consolekit? ( sys-auth/consolekit[pam] )
252 introspection? ( >=dev-libs/gobject-introspection-0.9.12 )
253 plymouth? ( sys-boot/plymouth )
254 selinux? ( sys-libs/libselinux )
255 systemd? ( >=sys-apps/systemd-186[pam] )
256 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
257 xinerama? ( x11-libs/libXinerama )
258 "
259 # XXX: These deps are from session and desktop files in data/ directory
260 # at-spi:1 is needed for at-spi-registryd (spawned by simple-chooser)
261 # fprintd is used via dbus by gdm-fingerprint-extension
262 # gnome-session-3.6 needed to avoid freezing with orca
263 RDEPEND="${COMMON_DEPEND}
264 >=gnome-base/gnome-session-3.6
265 x11-apps/xhost
266 x11-themes/gnome-icon-theme-symbolic
267
268 accessibility? (
269 app-accessibility/gnome-mag
270 app-accessibility/gok
271 app-accessibility/orca
272 gnome-extra/at-spi:1 )
273 consolekit? ( gnome-extra/polkit-gnome )
274 fallback? ( x11-wm/metacity )
275 fprint? (
276 sys-auth/fprintd
277 sys-auth/pam_fprint )
278 gnome-shell? ( >=gnome-base/gnome-shell-3.1.90 )
279 !gnome-shell? ( x11-wm/metacity )
280 smartcard? (
281 app-crypt/coolkey
282 sys-auth/pam_pkcs11 )
283
284 !gnome-extra/fast-user-switch-applet
285 "
286 DEPEND="${COMMON_DEPEND}
287 app-text/docbook-xml-dtd:4.1.2
288 >=dev-util/intltool-0.40.0
289 >=sys-devel/gettext-0.17
290 virtual/pkgconfig
291 x11-proto/inputproto
292 x11-proto/randrproto
293 test? ( >=dev-libs/check-0.9.4 )
294 xinerama? ( x11-proto/xineramaproto )
295 "
296
297 pkg_setup() {
298 enewgroup gdm
299 enewgroup video # Just in case it hasn't been created yet
300 enewuser gdm -1 -1 /var/lib/gdm gdm,video
301
302 # For compatibility with certain versions of nvidia-drivers, etc., need to
303 # ensure that gdm user is in the video group
304 if ! egetent group video | grep -q gdm; then
305 # FIXME XXX: is this at all portable, ldap-safe, etc.?
306 # XXX: egetent does not have a 1-argument form, so we can't use it to
307 # get the list of gdm's groups
308 local g=$(groups gdm)
309 elog "Adding user gdm to video group"
310 usermod -G video,${g// /,} gdm || die "Adding user gdm to video group failed"
311 fi
312 }
313
314 src_prepare() {
315 # GDM grabs VT2 instead of VT7, bug 261339, bug 284053, bug 288852
316 # XXX: We can now pass a hard-coded initial value; temporary fix
317 #epatch "${FILESDIR}/${PN}-2.32.0-fix-vt-problems.patch"
318
319 # daemonize so that the boot process can continue, bug #236701
320 epatch "${FILESDIR}/${PN}-3.6.0-fix-daemonize-regression.patch"
321
322 # make custom session work, bug #216984
323 epatch "${FILESDIR}/${PN}-3.2.1.1-custom-session.patch"
324
325 # ssh-agent handling must be done at xinitrc.d, bug #220603
326 epatch "${FILESDIR}/${PN}-2.32.0-xinitrc-ssh-agent.patch"
327
328 # automagic selinux :/
329 epatch "${FILESDIR}/${PN}-3.6.0-selinux-automagic.patch"
330
331 # don't load accessibility support at runtime when USE=-accessibility
332 use accessibility || epatch "${FILESDIR}/${PN}-3.3.92.1-disable-accessibility.patch"
333
334 # make gdm-fallback session the default if USE=-gnome-shell
335 if ! use gnome-shell; then
336 sed -e "s:'gdm-shell':'gdm-fallback':" \
337 -i data/00-upstream-settings || die "sed failed"
338 fi
339
340 mkdir -p "${S}"/m4
341 eautoreconf
342
343 gnome2_src_prepare
344 }
345
346 src_configure() {
347 DOCS="AUTHORS ChangeLog NEWS README TODO"
348
349 # PAM is the only auth scheme supported
350 # even though configure lists shadow and crypt
351 # they don't have any corresponding code.
352 # --with-at-spi-registryd-directory= needs to be passed explicitly because
353 # of https://bugzilla.gnome.org/show_bug.cgi?id=607643#c4
354 G2CONF="${G2CONF}
355 --disable-static
356 --localstatedir=${EPREFIX}/var
357 --with-xdmcp=yes
358 --enable-authentication-scheme=pam
359 --with-pam-prefix=${EPREFIX}/etc
360 --with-default-pam-config=none
361 --with-at-spi-registryd-directory=${EPREFIX}/usr/libexec
362 --with-initial-vt=7
363 $(use_with accessibility xevie)
364 $(use_with audit libaudit)
365 $(use_enable ipv6)
366 $(use_with consolekit console-kit)
367 $(use_with plymouth)
368 $(use_with selinux)
369 $(use_with systemd)
370 $(systemd_with_unitdir)
371 $(use_with tcpd tcp-wrappers)
372 $(use_with xinerama)
373 ITSTOOL=$(type -P true)"
374 gnome2_src_configure
375 }
376
377 src_install() {
378 gnome2_src_install
379
380 # our x11's scripts point to /usr/bin/gdm
381 dosym /usr/sbin/gdm-binary /usr/bin/gdm
382
383 # log, etc.
384 keepdir /var/log/gdm
385
386 # gdm user's home directory
387 keepdir /var/lib/gdm
388 fowners gdm:gdm /var/lib/gdm
389
390 # install XDG_DATA_DIRS gdm changes
391 echo 'XDG_DATA_DIRS="/usr/share/gdm"' > 99xdg-gdm
392 doenvd 99xdg-gdm
393
394 cd "${WORKDIR}/${G_P}"
395 local LDAP
396 use ldap && LDAP=yes
397 emake GDM_WELCOME="gdm-launch-environment" LDAP=${LDAP} EPREFIX="${EPREFIX}" \
398 SYSTEMD_UNITDIR="$(systemd_get_unitdir)" DESTDIR="${D}" install
399 }
400
401 pkg_postinst() {
402 local d ret
403
404 gnome2_pkg_postinst
405
406 dbus-launch dconf update || die "'dconf update' failed"
407
408 # bug #436456; gdm crashes if /var/lib/gdm subdirs are not owned by gdm:gdm
409 ret=0
410 ebegin "Fixing ${EROOT}var/lib/gdm ownership"
411 chown gdm:gdm "${EROOT}var/lib/gdm" || ret=1
412 for d in "${EROOT}var/lib/gdm/"{.cache,.config,.local}; do
413 [[ ! -e "${d}" ]] || chown -R gdm:gdm "${d}" || ret=1
414 done
415 eend ${ret}
416
417 elog "To make GDM start at boot, edit /etc/conf.d/xdm"
418 elog "and then execute 'rc-update add xdm default'."
419 elog "If you already have GDM running, you will need to restart it."
420
421 elog
422 elog "GDM ignores most non-localization environment variables. If you"
423 elog "need GDM to launch gnome-session with a particular environment,"
424 elog "you need to use pam_env.so in /etc/pam.d/gdm-welcome; see"
425 elog "the pam_env man page for more information."
426 elog
427
428 if has_version sys-auth/pambase[gnome-keyring]; then
429 elog "For passwordless login to unlock your keyring, you need to set an"
430 elog "empty password on your keyring. Use app-crypt/seahorse for that."
431 else
432 elog "To unlock your keyring on login, install sys-auth/pambase"
433 elog "with USE=gnome-keyring"
434 fi
435
436 if [[ -f "/etc/X11/gdm/gdm.conf" ]]; then
437 elog "You had /etc/X11/gdm/gdm.conf which is the old configuration"
438 elog "file. It has been moved to /etc/X11/gdm/gdm-pre-gnome-2.16"
439 mv /etc/X11/gdm/gdm.conf /etc/X11/gdm/gdm-pre-gnome-2.16
440 fi
441 }
442
443 pkg_postrm() {
444 gnome2_pkg_postrm
445
446 if rc-config list default | grep -q xdm; then
447 elog "To remove GDM from startup please execute"
448 elog "'rc-update del xdm default'"
449 fi
450 }