[arch-commits] Commit in gdm/repos (4 files)

2018-09-05 Thread Jan Steffens via arch-commits
Date: Wednesday, September 5, 2018 @ 17:37:18
  Author: heftig
Revision: 333496

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gdm/repos/gnome-unstable-x86_64/
  
gdm/repos/gnome-unstable-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch
(from rev 333495, 
gdm/trunk/0002-Xsession-Don-t-start-ssh-agent-by-default.patch)
  gdm/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 333495, gdm/trunk/PKGBUILD)
  gdm/repos/gnome-unstable-x86_64/gdm.sysusers
(from rev 333495, gdm/trunk/gdm.sysusers)

--+
 0002-Xsession-Don-t-start-ssh-agent-by-default.patch |   31 +
 PKGBUILD |   90 +
 gdm.sysusers |2 
 3 files changed, 123 insertions(+)

Copied: 
gdm/repos/gnome-unstable-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch
 (from rev 333495, 
gdm/trunk/0002-Xsession-Don-t-start-ssh-agent-by-default.patch)
===
--- gnome-unstable-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch  
(rev 0)
+++ gnome-unstable-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch  
2018-09-05 17:37:18 UTC (rev 333496)
@@ -0,0 +1,31 @@
+From 8bf4d553ba9e7a5978ed8920ca0b06e624de2eda Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" 
+Date: Sat, 20 Jun 2015 17:22:38 +0200
+Subject: [PATCH 2/2] Xsession: Don't start ssh-agent by default
+
+---
+ data/Xsession.in | 8 
+ 1 file changed, 8 deletions(-)
+
+diff --git a/data/Xsession.in b/data/Xsession.in
+index f253375..c143b30 100755
+--- a/data/Xsession.in
 b/data/Xsession.in
+@@ -184,14 +184,6 @@ if [ "x$command" = "xdefault" ] ; then
+   fi
+ fi
+ 
+-# add ssh-agent if found
+-sshagent="`gdmwhich ssh-agent`"
+-if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
+-command="$sshagent -- $command"
+-elif [ -z "$sshagent" ] ; then
+-echo "$0: ssh-agent not found!"
+-fi
+-
+ echo "$0: Setup done, will execute: $command"
+ 
+ eval exec $command
+-- 
+2.4.5
+

Copied: gdm/repos/gnome-unstable-x86_64/PKGBUILD (from rev 333495, 
gdm/trunk/PKGBUILD)
===
--- gnome-unstable-x86_64/PKGBUILD  (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD  2018-09-05 17:37:18 UTC (rev 333496)
@@ -0,0 +1,90 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Maintainer: Jan de Groot 
+
+pkgbase=gdm
+pkgname=(gdm libgdm)
+pkgver=3.30.0+2+gef231c27
+pkgrel=1
+pkgdesc="Display manager and login screen"
+url="https://wiki.gnome.org/Projects/GDM;
+arch=(x86_64)
+license=(GPL)
+depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server 
xorg-server-xwayland xorg-xhost)
+makedepends=(yelp-tools intltool gobject-introspection git docbook-xsl)
+checkdepends=(check)
+_commit=ef231c2790e7a3bbee3f09ac4a125e28e95011b4  # master
+source=("git+https://gitlab.gnome.org/GNOME/gdm.git#commit=$_commit;
+0002-Xsession-Don-t-start-ssh-agent-by-default.patch
+gdm.sysusers)
+sha256sums=('SKIP'
+'9449da0b6ee58aa3fde65e6d8d1f30513e4176a7dc6d176f17f320ce82cb1d82'
+'6d9c8e38c7de85b6ec75e488585b8c451f5d9b4fabd2a42921dc3bfcc4aa3e13')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgbase
+  patch -Np1 -i ../0002-Xsession-Don-t-start-ssh-agent-by-default.patch
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgbase
+  ./configure \
+--prefix=/usr \
+--sysconfdir=/etc \
+--localstatedir=/var \
+--sbindir=/usr/bin \
+--libexecdir=/usr/lib \
+--disable-schemas-compile \
+--disable-static \
+--enable-gdm-xsession \
+--enable-ipv6 \
+--with-default-pam-config=arch \
+--with-default-path=/usr/local/bin:/usr/local/sbin:/usr/bin \
+--without-plymouth \
+--without-tcp-wrappers
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgbase
+  make check
+}
+
+package_gdm() {
+  depends+=(libgdm)
+  optdepends=('fprintd: fingerprint authentication')
+  backup=(etc/pam.d/gdm-autologin etc/pam.d/gdm-fingerprint 
etc/pam.d/gdm-launch-environment
+  etc/pam.d/gdm-password etc/pam.d/gdm-smartcard etc/gdm/custom.conf
+  etc/gdm/Xsession etc/gdm/PostSession/Default 
etc/gdm/PreSession/Default)
+  groups=(gnome)
+
+  cd $pkgbase
+  make DESTDIR="$pkgdir" install
+
+  chown -Rc 120:120 "$pkgdir/var/lib/gdm"
+
+  # Unused or created at start
+  rm -r "$pkgdir"/var/{cache,log,run}
+
+  install -Dm644 ../gdm.sysusers "$pkgdir/usr/lib/sysusers.d/gdm.conf"
+
+### Split libgdm
+  make -C libgdm DESTDIR="$pkgdir" uninstall
+  mv "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.login-screen.gschema.xml" 
"$srcdir"
+}
+
+package_libgdm() {
+  pkgdesc="GDM support library"
+  depends=(systemd glib2 dconf)
+
+  cd $pkgbase
+  make -C 

[arch-commits] Commit in gdm/repos (4 files)

2011-03-29 Thread Ionut Biru
Date: Tuesday, March 29, 2011 @ 02:49:52
  Author: ibiru
Revision: 117177

update to 2.32.1

Modified:
  gdm/repos/extra-i686/PKGBUILD
  gdm/repos/extra-x86_64/PKGBUILD
Deleted:
  gdm/repos/extra-i686/0001-Fix-version-in-login-window-when-file-is-empty.patch
  
gdm/repos/extra-x86_64/0001-Fix-version-in-login-window-when-file-is-empty.patch

+
 extra-i686/0001-Fix-version-in-login-window-when-file-is-empty.patch   |   28 
--
 extra-i686/PKGBUILD|9 
+--
 extra-x86_64/0001-Fix-version-in-login-window-when-file-is-empty.patch |   28 
--
 extra-x86_64/PKGBUILD  |9 
+--
 4 files changed, 6 insertions(+), 68 deletions(-)

Deleted: extra-i686/0001-Fix-version-in-login-window-when-file-is-empty.patch
===
--- extra-i686/0001-Fix-version-in-login-window-when-file-is-empty.patch
2011-03-29 06:15:27 UTC (rev 117176)
+++ extra-i686/0001-Fix-version-in-login-window-when-file-is-empty.patch
2011-03-29 06:49:52 UTC (rev 117177)
@@ -1,28 +0,0 @@
-From d4b48de2495068d9b635a7ab475ace06476d5a42 Mon Sep 17 00:00:00 2001
-From: Ionut Biru ib...@archlinux.org
-Date: Mon, 6 Dec 2010 17:44:44 -0800
-Subject: [PATCH] Fix version in login window when file is empty
-
-fgets return NULL and there is no point duplicating the line with random
-value from buf.
-
-Signed-off-by: Ionut Biru ib...@archlinux.org

- gui/simple-greeter/gdm-greeter-login-window.c |1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/gui/simple-greeter/gdm-greeter-login-window.c 
b/gui/simple-greeter/gdm-greeter-login-window.c
-index ca170a5..0823a3c 100644
 a/gui/simple-greeter/gdm-greeter-login-window.c
-+++ b/gui/simple-greeter/gdm-greeter-login-window.c
-@@ -1096,6 +1096,7 @@ file_read_one_line (const char *filename)
- 
- if (fgets (buf, sizeof (buf), f) == NULL) {
- g_warning (Unable to read from file %s, filename);
-+goto out;
- }
- 
- line = g_strdup (buf);
--- 
-1.7.3.2
-

Modified: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2011-03-29 06:15:27 UTC (rev 117176)
+++ extra-i686/PKGBUILD 2011-03-29 06:49:52 UTC (rev 117177)
@@ -1,8 +1,8 @@
 # $Id$
 # Maintainer: Jan de Groot j...@archlinux.org
 pkgname=gdm
-pkgver=2.32.0
-pkgrel=5
+pkgver=2.32.1
+pkgrel=1
 pkgdesc=Gnome Display Manager (a reimplementation of xdm)
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -20,16 +20,14 @@
 04_fix_external_program_directories.patch
 gdm-vt-allocation-hack.patch
 0001-port-to-libpanel-applet-3.0.patch
-0001-Fix-version-in-login-window-when-file-is-empty.patch
 correctly-give-focus-to-user-chooser.patch
 gdm.pam
 gdm-autologin.pam
 gdm)
-sha256sums=('f47acd19ed10d6fbb37c3e2b54f5b392c7020db67f71db3f75567ead30ab2fa4'
+sha256sums=('7ba9cb2a8efb9856994467b14e4837a281fcf6d9dc9a267ea38a9aae1ec55abc'
 'cb585c39c6671387b5a25f21a99c97e3a20eaf4188fea1b62871681a1ebf8bff'
 '3c8b588d4af08d94dc93bcd5e4c2a983c3f4fbbbe40833bceac2a1df4f1e8215'
 '41ca4b2408d61776ab42c50834374a90664d43d33ad7034c7c52862d9bf3234a'
-'9bcdb1a977e93824ef5f693610a964790befa3dd7e7662746fb8ba1212ecdefd'
 'ab6d9739c0cc3631d077a897291d6a38fea1c713a3647d008e2635f48c503cb4'
 'f1dfa4d88288d4b0a631a68a51b46c2da537bee8fe5a99f9f288c8ff75a50b19'
 '3daff680ff6b7ea56f84f40843e46e72477c81e9e405028203c942af04d07ae5'
@@ -40,7 +38,6 @@
   patch -Np1 -i ${srcdir}/04_fix_external_program_directories.patch
   patch -Np1 -i ${srcdir}/gdm-vt-allocation-hack.patch
   patch -Np1 -i ${srcdir}/0001-port-to-libpanel-applet-3.0.patch
-  patch -Np1 -i 
${srcdir}/0001-Fix-version-in-login-window-when-file-is-empty.patch
   patch -Np1 -i ${srcdir}/correctly-give-focus-to-user-chooser.patch
   autoreconf -fi
 

Deleted: extra-x86_64/0001-Fix-version-in-login-window-when-file-is-empty.patch
===
--- extra-x86_64/0001-Fix-version-in-login-window-when-file-is-empty.patch  
2011-03-29 06:15:27 UTC (rev 117176)
+++ extra-x86_64/0001-Fix-version-in-login-window-when-file-is-empty.patch  
2011-03-29 06:49:52 UTC (rev 117177)
@@ -1,28 +0,0 @@
-From d4b48de2495068d9b635a7ab475ace06476d5a42 Mon Sep 17 00:00:00 2001
-From: Ionut Biru ib...@archlinux.org
-Date: Mon, 6 Dec 2010 17:44:44 -0800
-Subject: [PATCH] Fix version in login window when file is empty
-
-fgets return NULL and there is no point duplicating the line with random
-value from buf.
-
-Signed-off-by: Ionut Biru ib...@archlinux.org

- gui/simple-greeter/gdm-greeter-login-window.c |1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff