diff options
-rw-r--r-- | gnome-base/gdm/ChangeLog | 7 | ||||
-rw-r--r-- | gnome-base/gdm/Manifest | 14 | ||||
-rw-r--r-- | gnome-base/gdm/gdm-3.16.2.ebuild | 229 |
3 files changed, 245 insertions, 5 deletions
diff --git a/gnome-base/gdm/ChangeLog b/gnome-base/gdm/ChangeLog index e2908f9b86cd..38617264d15c 100644 --- a/gnome-base/gdm/ChangeLog +++ b/gnome-base/gdm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for gnome-base/gdm # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/ChangeLog,v 1.422 2015/06/30 18:55:26 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/ChangeLog,v 1.423 2015/07/02 20:24:41 tranquility Exp $ + +*gdm-3.16.2 (02 Jul 2015) + + 02 Jul 2015; Ole Reifschneider <tranquility@gentoo.org> +gdm-3.16.2.ebuild: + Version bump 30 Jun 2015; Pacho Ramos <pacho@gentoo.org> -gdm-3.14.1-r1.ebuild, gdm-3.16.1.1.ebuild: diff --git a/gnome-base/gdm/Manifest b/gnome-base/gdm/Manifest index 24defe9ead09..8730a841a857 100644 --- a/gnome-base/gdm/Manifest +++ b/gnome-base/gdm/Manifest @@ -9,15 +9,21 @@ AUX gdm-3.8.4-fingerprint-auth.patch 923 SHA256 7c256c4c93d959e1542d14fc2ff20f2f AUX gdm-3.8.4-logo.patch 805 SHA256 7381afcca38bdcf2d5c229bed61525a72350a95cadf3f09803615cd5158cb4bc SHA512 98dc0b01f4a4cbb87b32ec52450eb21f07bf96dc4d919cf662314c50fe0f2b1a19c90e3d8d2a0de905e8ada41642c0f89aa89dd640ead7e3d732468c9e363fb2 WHIRLPOOL 7ef489f1d989021257e87d8cacb711955d77c37ad8b9435ff2ef611b871ec7b76feb081e8ca910b3ede5dfb8a8846c10e595dd7eeae5a9018105b431175b9dfa DIST gdm-3.14.2.tar.xz 1490544 SHA256 e20eb61496161ad95b1058dbf8aea9b7b004df4d0ea6b0fab4401397d9db5930 SHA512 c9c0785a197da3313dc1879e325d5728ebec16934fa9adbe969beb09bea76666bcadfb3d1e9e56cfc614f553a2f23d258621463c0f97123a2b632c7d696dd866 WHIRLPOOL ba13de133df37c9858d01af43d551fa535921b656d31816e7bf4a45ffe11bea0c04adcef34d861e00a9071511fd737d0aa711036d1f5ac625fa3576d7008991c DIST gdm-3.16.1.1.tar.xz 1538676 SHA256 2d2409fdc0a53b080377730a7775bc3239f8584829ff327d3465def0b20433db SHA512 188fb1babdeb65790fb44a11f93f5606d08aafb0c2c66f9188d6408684054e88a098caa38724c4c3d58387f45bd3952c30a4d5498032481103acc11a228ff3d3 WHIRLPOOL 7c2003c895727268fe028c38581859f0fa9dea2197508cbaa606ab2becbfde1afa048cd33f2f291b323d7cbc2543b640448e84105e15d2c0610e59999ac02c4b +DIST gdm-3.16.2.tar.xz 1526872 SHA256 c32ee80745424da10b94b7216efc2ef1257e2ca63d7f003edc1801f1111e1b56 SHA512 e6ea44843035676f4516a51e447fcf79b445709408ca315e423fa24e447d5bd8142aba3bb3999b5da07a70bcb4e6b3f8abdf8fc560bcdda4d70d2e8f5e1a2b29 WHIRLPOOL 63830f03254253807b7805cc61e88dcdc9eb84d0db27b3c82297f5397204abb6b1203d6d28f7c0a8cca96d44e8071af9b4460ec76a21b388bbc3e1c5725fd926 DIST tango-gentoo-v1.1.tar.gz 29322 SHA256 518efa4257c8e689488399db23397a89f4dcd5990ce537ef6215860ad5606eb0 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045 WHIRLPOOL 9e1635a505ea48f4fe8bdb3b8b3b43cfb9cf99e3204194c51361b198886e719921cfacbc15f9f6407aa7d0c4af178e24c74b998fc370fa2329040e5be1baf153 EBUILD gdm-3.14.2.ebuild 6561 SHA256 7e09fb91e27882c1ac83536b3b44ed4ee100b2e187e9f39739dd7e0d1d03f025 SHA512 06ba4919789f0eac945bcd3ee3c0bff815608fdf2a4f2ef6206f8a8f490322dd16d07435d714db57c161eb58db52872c865a1c32e42fd13f18cf18306f6e4623 WHIRLPOOL e499ee70e30aa9ea7c545fd44ba88a7528868f4282eb7baca8093334e79bdf48267a94986d5e223da156ad85d96bd3392522de00564f618f37c54e93a7f002f3 EBUILD gdm-3.16.1.1.ebuild 6796 SHA256 8cf3436c18a41e5886cb1d1c05ab2674067c97f002d418aa811ba61cf37ee15a SHA512 deb4af9b5bb725405bee182db320f2b1484c316237c6f18231f0f67d3c4ba2b61e5ec4f906a19f114765d411b8edd228d448717e4f6355b8ae4787b3ca97c5e9 WHIRLPOOL 9a656f332380f0f8b3d12d622c8a2f83a6a4991f1317bf952a4c2032621b33c030d98096ba77d776c68b69063cf4f0633ecef2c85399c551ac9ac5e72b166fcd -MISC ChangeLog 65207 SHA256 5973dcdce637528765d16cebd0b86e54e76ded8213d4875e98f1b52056f8dd8a SHA512 4539065c89bca7b085f5a77a155371ff03b41fb7254d40ac45d45150f19dc2ea97d539e8b71e39e316b0e442b26b85c14f7f337fbf33efadd837d593d5d90340 WHIRLPOOL 545b107c594e167968ca9db2f4221998d3b51239e568dba34c353ce4676d44e8f641178f08bac6700c6939e86273824a24da26f9a322233ad631ad4d066362c2 +EBUILD gdm-3.16.2.ebuild 6800 SHA256 9c807fdf7fb4d6586c7cc784ff9ded5118c45554809421140a5ac8342c460f95 SHA512 34038adbe302d02df09fab4cc42f93545510d2a2efa6ed859f5d9f7abeb6342e943f34923685b88fae0081dc62d58321cc543c4478fa85cc6c73330ca92efb78 WHIRLPOOL 2ecf9a9bdd87de9e8e9b53eef8296ef92d286727a393128c7d29fac9a583244132f4b5b7a9ece5e954ace3915652c4d81d97da8d4ea454bd776ff038b24c3dda +MISC ChangeLog 65334 SHA256 01368adb6b3b008e09f15dd743ad3fe612564fd88e1c84baa9677ba23d4bf476 SHA512 2ff9069892e4a4f080176ba21dea5965023de6b9d2081cb1101d93b2371a38af44b4e940a2543709a079dc3f3610b729c28c55d622fb7b58e87a361aa4351f9c WHIRLPOOL 19fb7648f771b47114add95e7d658ad7006bd4ae0ea4dc87adc227b78e1bf406acfd3d810ce7b1fc562e3dfb5909c793d01a373eb68f295e1fe44a1208696990 MISC metadata.xml 461 SHA256 40f9beae7d9944963e2c6d06b81770cddd7e349b48241b9fa49ad51fe926fd94 SHA512 b0a72a33e823f76f562dec12cdbb31d989f7c384111f3a55d0afb04ede80494adc5565c0479b0056912db730919b0bba0a84ed07c9a100817b0c2bb33ed7bfb7 WHIRLPOOL 01c6db8b57ea1bb8fa7c66e0f7ae44400a5a874ec11af22ea8499b7abbf896582dbe7b8b4b3b1210475b15d39d677ddff0fc1ec5023c864fc1256948ce400434 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlWS5h8ACgkQCaWpQKGI+9TIWgCeLoNsN2PtABuimi3up34csLlB -+wgAn3tQ8wGzrN2rTa96U/z6x/0IMtbC -=/zkB +iQEcBAEBCAAGBQJVlZ4UAAoJEOnlaGd+i01CdywH/juRbAUHfIC5g2z5PcAl60BU +4jgDas6y0nasiBD3482rtYc2FYFD1o3ZLwsnGK9t9q4xqQJFw4ne7cvVPqL7uFMt +q1lu55J6gIcZh9OfmE9qvodpFyJ7UVuMcOPdGlLKK/UWkWt/fEmbIO6d8c+oJDNb ++LbM/chc5QkwzRu3zRzXZSs/q8FSMMePGHdPRpqclm3GyYp9D3GpUDcox/Dp/9rr +2vLxbykuhzHe5IbyCHkroiVEu36sYqcULVjzJcIBreTpRICdPX/xi0t0vpQyMaJr +HS4VqznPs77DAg/cr/141AC4DFMvlDJ2Vn4fAGsq60eMU5P7+p7PSBZhDdOF2MA= +=xNsR -----END PGP SIGNATURE----- diff --git a/gnome-base/gdm/gdm-3.16.2.ebuild b/gnome-base/gdm/gdm-3.16.2.ebuild new file mode 100644 index 000000000000..d54924533a13 --- /dev/null +++ b/gnome-base/gdm/gdm-3.16.2.ebuild @@ -0,0 +1,229 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-3.16.2.ebuild,v 1.1 2015/07/02 20:24:41 tranquility Exp $ + +EAPI="5" +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" + +inherit autotools eutils gnome2 pam readme.gentoo systemd user versionator + +DESCRIPTION="GNOME Display Manager for managing graphical display servers and user logins" +HOMEPAGE="https://wiki.gnome.org/Projects/GDM" + +SRC_URI="${SRC_URI} + branding? ( http://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz ) +" + +LICENSE=" + GPL-2+ + branding? ( CC-Sampling-Plus-1.0 ) +" + +SLOT="0" + +IUSE="accessibility audit branding fprint +introspection ipv6 plymouth selinux smartcard +systemd tcpd test wayland xinerama" +REQUIRED_USE="wayland? ( systemd )" + +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" + +# NOTE: x11-base/xorg-server dep is for X_SERVER_PATH etc, bug #295686 +# nspr used by smartcard extension +# dconf, dbus and g-s-d are needed at install time for dconf update +# We need either systemd or >=openrc-0.12 to restart gdm properly, bug #463784 +COMMON_DEPEND=" + app-text/iso-codes + >=dev-libs/glib-2.36:2[dbus] + >=x11-libs/gtk+-2.91.1:3 + >=gnome-base/dconf-0.20 + >=gnome-base/gnome-settings-daemon-3.1.4 + gnome-base/gsettings-desktop-schemas + >=media-libs/fontconfig-2.5.0 + >=media-libs/libcanberra-0.4[gtk3] + sys-apps/dbus + >=sys-apps/accountsservice-0.6.12 + + x11-apps/sessreg + x11-base/xorg-server + x11-libs/libXi + x11-libs/libXau + x11-libs/libX11 + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXft + >=x11-misc/xdg-utils-1.0.2-r3 + + virtual/pam + systemd? ( >=sys-apps/systemd-186:0=[pam] ) + !systemd? ( + >=x11-base/xorg-server-1.14.3-r1 + >=sys-auth/consolekit-0.4.5_p20120320-r2 + !<sys-apps/openrc-0.12 + ) + sys-auth/pambase[systemd?] + + audit? ( sys-process/audit ) + introspection? ( >=dev-libs/gobject-introspection-0.9.12:= ) + plymouth? ( sys-boot/plymouth ) + selinux? ( sys-libs/libselinux ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + xinerama? ( x11-libs/libXinerama ) +" +# XXX: These deps are from session and desktop files in data/ directory +# fprintd is used via dbus by gdm-fingerprint-extension +# gnome-session-3.6 needed to avoid freezing with orca +RDEPEND="${COMMON_DEPEND} + >=gnome-base/gnome-session-3.6 + >=gnome-base/gnome-shell-3.1.90 + gnome-extra/polkit-gnome:0 + x11-apps/xhost + x11-themes/gnome-icon-theme-symbolic + + accessibility? ( + >=app-accessibility/orca-3.10 + gnome-extra/mousetweaks ) + fprint? ( + sys-auth/fprintd + sys-auth/pam_fprint ) + + !gnome-extra/fast-user-switch-applet +" +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.1.2 + dev-util/gdbus-codegen + >=dev-util/intltool-0.40.0 + dev-util/itstool + virtual/pkgconfig + x11-proto/inputproto + x11-proto/randrproto + test? ( >=dev-libs/check-0.9.4 ) + xinerama? ( x11-proto/xineramaproto ) +" + +DOC_CONTENTS=" + To make GDM start at boot, run:\n + # systemctl enable gdm.service\n + \n + For passwordless login to unlock your keyring, you need to install + sys-auth/pambase with USE=gnome-keyring and set an empty password + on your keyring. Use app-crypt/seahorse for that.\n + \n + You may need to install app-crypt/coolkey and sys-auth/pam_pkcs11 + for smartcard support +" + +pkg_setup() { + enewgroup gdm + enewgroup video # Just in case it hasn't been created yet + enewuser gdm -1 -1 /var/lib/gdm gdm,video + + # For compatibility with certain versions of nvidia-drivers, etc., need to + # ensure that gdm user is in the video group + if ! egetent group video | grep -q gdm; then + # FIXME XXX: is this at all portable, ldap-safe, etc.? + # XXX: egetent does not have a 1-argument form, so we can't use it to + # get the list of gdm's groups + local g=$(groups gdm) + elog "Adding user gdm to video group" + usermod -G video,${g// /,} gdm || die "Adding user gdm to video group failed" + fi +} + +src_prepare() { + # make custom session work, bug #216984, upstream bug #737578 + epatch "${FILESDIR}/${PN}-3.2.1.1-custom-session.patch" + + # ssh-agent handling must be done at xinitrc.d, bug #220603 + epatch "${FILESDIR}/${PN}-2.32.0-xinitrc-ssh-agent.patch" + + # Gentoo does not have a fingerprint-auth pam stack + epatch "${FILESDIR}/${PN}-3.8.4-fingerprint-auth.patch" + + # Show logo when branding is enabled + use branding && epatch "${FILESDIR}/${PN}-3.8.4-logo.patch" + + eautoreconf + + gnome2_src_prepare +} + +src_configure() { + local myconf + # PAM is the only auth scheme supported + # even though configure lists shadow and crypt + # they don't have any corresponding code. + # --with-at-spi-registryd-directory= needs to be passed explicitly because + # of https://bugzilla.gnome.org/show_bug.cgi?id=607643#c4 + # Xevie is obsolete, bug #482304 + # --with-initial-vt=7 conflicts with plymouth, bug #453392 + ! use plymouth && myconf="${myconf} --with-initial-vt=7" + + gnome2_src_configure \ + --with-run-dir=/run/gdm \ + --localstatedir="${EPREFIX}"/var \ + --disable-static \ + --with-xdmcp=yes \ + --enable-authentication-scheme=pam \ + --with-default-pam-config=exherbo \ + --with-at-spi-registryd-directory="${EPREFIX}"/usr/libexec \ + --with-consolekit-directory="${EPREFIX}"/usr/lib/ConsoleKit \ + --without-xevie \ + $(use_with audit libaudit) \ + $(use_enable ipv6) \ + $(use_with plymouth) \ + $(use_with selinux) \ + $(use_with systemd) \ + $(use_with !systemd console-kit) \ + $(use_enable systemd systemd-journal) \ + $(systemd_with_unitdir) \ + $(use_with tcpd tcp-wrappers) \ + $(use_enable wayland wayland-support) \ + $(use_with xinerama) \ + ${myconf} +} + +src_install() { + gnome2_src_install + + if ! use accessibility ; then + rm "${ED}"/usr/share/gdm/greeter/autostart/orca-autostart.desktop || die + fi + + exeinto /etc/X11/xinit/xinitrc.d + newexe "${FILESDIR}/49-keychain-r1" 49-keychain + newexe "${FILESDIR}/50-ssh-agent-r1" 50-ssh-agent + + # gdm user's home directory + keepdir /var/lib/gdm + fowners gdm:gdm /var/lib/gdm + + # install XDG_DATA_DIRS gdm changes + echo 'XDG_DATA_DIRS="/usr/share/gdm"' > 99xdg-gdm + doenvd 99xdg-gdm + + use branding && newicon "${WORKDIR}/tango-gentoo-v1.1/scalable/gentoo.svg" gentoo-gdm.svg + + readme.gentoo_create_doc +} + +pkg_postinst() { + local d ret + + gnome2_pkg_postinst + + # bug #436456; gdm crashes if /var/lib/gdm subdirs are not owned by gdm:gdm + ret=0 + ebegin "Fixing "${EROOT}"var/lib/gdm ownership" + chown gdm:gdm "${EROOT}var/lib/gdm" || ret=1 + for d in "${EROOT}var/lib/gdm/"{.cache,.config,.local}; do + [[ ! -e "${d}" ]] || chown -R gdm:gdm "${d}" || ret=1 + done + eend ${ret} + + readme.gentoo_print_elog + + if ! version_is_at_least 3.16.0 ${REPLACING_VERSIONS}; then + ewarn "GDM will now use a new TTY per logged user as explained at:" + ewarn "https://wiki.gentoo.org/wiki/Project:GNOME/GNOME3-Troubleshooting#GDM_.3E.3D_3.16_opens_one_graphical_session_per_user" + fi +} |