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

Jan de Groot jgc at archlinux.org
Wed Oct 12 20:52:57 UTC 2016


    Date: Wednesday, October 12, 2016 @ 20:52:57
  Author: jgc
Revision: 278506

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  gdm/repos/extra-i686/0002-Xsession-Don-t-start-ssh-agent-by-default.patch
    (from rev 278505, gdm/trunk/0002-Xsession-Don-t-start-ssh-agent-by-default.patch)
  gdm/repos/extra-i686/PKGBUILD
    (from rev 278505, gdm/trunk/PKGBUILD)
  gdm/repos/extra-i686/gdm.install
    (from rev 278505, gdm/trunk/gdm.install)
  gdm/repos/extra-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch
    (from rev 278505, gdm/trunk/0002-Xsession-Don-t-start-ssh-agent-by-default.patch)
  gdm/repos/extra-x86_64/PKGBUILD
    (from rev 278505, gdm/trunk/PKGBUILD)
  gdm/repos/extra-x86_64/gdm.install
    (from rev 278505, gdm/trunk/gdm.install)
Deleted:
  gdm/repos/extra-i686/0002-Xsession-Don-t-start-ssh-agent-by-default.patch
  gdm/repos/extra-i686/PKGBUILD
  gdm/repos/extra-i686/gdm.install
  gdm/repos/extra-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch
  gdm/repos/extra-x86_64/PKGBUILD
  gdm/repos/extra-x86_64/gdm.install

-------------------------------------------------------------------+
 /0002-Xsession-Don-t-start-ssh-agent-by-default.patch             |   62 +++
 /PKGBUILD                                                         |  184 ++++++++++
 /gdm.install                                                      |   14 
 extra-i686/0002-Xsession-Don-t-start-ssh-agent-by-default.patch   |   31 -
 extra-i686/PKGBUILD                                               |   92 -----
 extra-i686/gdm.install                                            |    7 
 extra-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch |   31 -
 extra-x86_64/PKGBUILD                                             |   92 -----
 extra-x86_64/gdm.install                                          |    7 
 9 files changed, 260 insertions(+), 260 deletions(-)

Deleted: extra-i686/0002-Xsession-Don-t-start-ssh-agent-by-default.patch
===================================================================
--- extra-i686/0002-Xsession-Don-t-start-ssh-agent-by-default.patch	2016-10-12 20:52:51 UTC (rev 278505)
+++ extra-i686/0002-Xsession-Don-t-start-ssh-agent-by-default.patch	2016-10-12 20:52:57 UTC (rev 278506)
@@ -1,31 +0,0 @@
-From 8bf4d553ba9e7a5978ed8920ca0b06e624de2eda Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-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/extra-i686/0002-Xsession-Don-t-start-ssh-agent-by-default.patch (from rev 278505, gdm/trunk/0002-Xsession-Don-t-start-ssh-agent-by-default.patch)
===================================================================
--- extra-i686/0002-Xsession-Don-t-start-ssh-agent-by-default.patch	                        (rev 0)
+++ extra-i686/0002-Xsession-Don-t-start-ssh-agent-by-default.patch	2016-10-12 20:52:57 UTC (rev 278506)
@@ -0,0 +1,31 @@
+From 8bf4d553ba9e7a5978ed8920ca0b06e624de2eda Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+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
+

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2016-10-12 20:52:51 UTC (rev 278505)
+++ extra-i686/PKGBUILD	2016-10-12 20:52:57 UTC (rev 278506)
@@ -1,92 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=gdm
-pkgname=(gdm libgdm)
-pkgver=3.22.0+1+g3d2aa55
-pkgrel=1
-pkgdesc="Display manager and login screen"
-arch=(i686 x86_64)
-license=(GPL)
-url="https://wiki.gnome.org/Projects/GDM"
-depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server xorg-server-xwayland xorg-xhost)
-makedepends=(yelp-tools intltool gobject-introspection git)
-checkdepends=('check')
-_commit=3d2aa559a4a7decc8b6568de6b41cf9f94170613  # master
-source=("git://git.gnome.org/gdm#commit=$_commit"
-        0002-Xsession-Don-t-start-ssh-agent-by-default.patch)
-sha256sums=('SKIP'
-            '9449da0b6ee58aa3fde65e6d8d1f30513e4176a7dc6d176f17f320ce82cb1d82')
-
-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 \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib/gdm \
-    --localstatedir=/var \
-    --disable-static \
-    --disable-schemas-compile \
-    --enable-gdm-xsession \
-    --enable-ipv6 \
-    --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
-    --with-check-accelerated-directory=/usr/lib/gnome-session \
-    --with-default-pam-config=arch \
-    --with-default-path=/usr/local/bin:/usr/local/sbin:/usr/bin \
-    --with-gnome-settings-daemon-directory=/usr/lib/gnome-settings-daemon \
-    --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)
-  install=gdm.install
-
-  cd $pkgbase
-  make DESTDIR="$pkgdir" install
-
-  chown -R 120:120 "$pkgdir/var/lib/gdm"
-
-  # Unused or created at start
-  rm -r "$pkgdir"/var/{cache,log,run}
-
-### 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)
-
-  cd $pkgbase
-  make -C libgdm DESTDIR="$pkgdir" install
-  install -Dm644 "$srcdir/org.gnome.login-screen.gschema.xml" \
-    "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.login-screen.gschema.xml"
-}

Copied: gdm/repos/extra-i686/PKGBUILD (from rev 278505, gdm/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2016-10-12 20:52:57 UTC (rev 278506)
@@ -0,0 +1,92 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=gdm
+pkgname=(gdm libgdm)
+pkgver=3.22.1
+pkgrel=1
+pkgdesc="Display manager and login screen"
+arch=(i686 x86_64)
+license=(GPL)
+url="https://wiki.gnome.org/Projects/GDM"
+depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server xorg-server-xwayland xorg-xhost)
+makedepends=(yelp-tools intltool gobject-introspection git)
+checkdepends=('check')
+_commit=4eb6575fdbd0e0dda9b209f6b4731edf990fde98  # tags/3.22.1^0
+source=("git://git.gnome.org/gdm#commit=$_commit"
+        0002-Xsession-Don-t-start-ssh-agent-by-default.patch)
+sha256sums=('SKIP'
+            '9449da0b6ee58aa3fde65e6d8d1f30513e4176a7dc6d176f17f320ce82cb1d82')
+
+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 \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/gdm \
+    --localstatedir=/var \
+    --disable-static \
+    --disable-schemas-compile \
+    --enable-gdm-xsession \
+    --enable-ipv6 \
+    --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
+    --with-check-accelerated-directory=/usr/lib/gnome-session \
+    --with-default-pam-config=arch \
+    --with-default-path=/usr/local/bin:/usr/local/sbin:/usr/bin \
+    --with-gnome-settings-daemon-directory=/usr/lib/gnome-settings-daemon \
+    --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)
+  install=gdm.install
+
+  cd $pkgbase
+  make DESTDIR="$pkgdir" install
+
+  chown -R 120:120 "$pkgdir/var/lib/gdm"
+
+  # Unused or created at start
+  rm -r "$pkgdir"/var/{cache,log,run}
+
+### 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)
+
+  cd $pkgbase
+  make -C libgdm DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir/org.gnome.login-screen.gschema.xml" \
+    "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.login-screen.gschema.xml"
+}

Deleted: extra-i686/gdm.install
===================================================================
--- extra-i686/gdm.install	2016-10-12 20:52:51 UTC (rev 278505)
+++ extra-i686/gdm.install	2016-10-12 20:52:57 UTC (rev 278506)
@@ -1,7 +0,0 @@
-post_install() {
-  if ! getent passwd gdm >/dev/null; then
-    groupadd -g 120 gdm
-    useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm
-    passwd -ql gdm
-  fi
-}

Copied: gdm/repos/extra-i686/gdm.install (from rev 278505, gdm/trunk/gdm.install)
===================================================================
--- extra-i686/gdm.install	                        (rev 0)
+++ extra-i686/gdm.install	2016-10-12 20:52:57 UTC (rev 278506)
@@ -0,0 +1,7 @@
+post_install() {
+  if ! getent passwd gdm >/dev/null; then
+    groupadd -g 120 gdm
+    useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm
+    passwd -ql gdm
+  fi
+}

Deleted: extra-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch
===================================================================
--- extra-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch	2016-10-12 20:52:51 UTC (rev 278505)
+++ extra-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch	2016-10-12 20:52:57 UTC (rev 278506)
@@ -1,31 +0,0 @@
-From 8bf4d553ba9e7a5978ed8920ca0b06e624de2eda Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-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/extra-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch (from rev 278505, gdm/trunk/0002-Xsession-Don-t-start-ssh-agent-by-default.patch)
===================================================================
--- extra-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch	                        (rev 0)
+++ extra-x86_64/0002-Xsession-Don-t-start-ssh-agent-by-default.patch	2016-10-12 20:52:57 UTC (rev 278506)
@@ -0,0 +1,31 @@
+From 8bf4d553ba9e7a5978ed8920ca0b06e624de2eda Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+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
+

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2016-10-12 20:52:51 UTC (rev 278505)
+++ extra-x86_64/PKGBUILD	2016-10-12 20:52:57 UTC (rev 278506)
@@ -1,92 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=gdm
-pkgname=(gdm libgdm)
-pkgver=3.22.0+1+g3d2aa55
-pkgrel=1
-pkgdesc="Display manager and login screen"
-arch=(i686 x86_64)
-license=(GPL)
-url="https://wiki.gnome.org/Projects/GDM"
-depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server xorg-server-xwayland xorg-xhost)
-makedepends=(yelp-tools intltool gobject-introspection git)
-checkdepends=('check')
-_commit=3d2aa559a4a7decc8b6568de6b41cf9f94170613  # master
-source=("git://git.gnome.org/gdm#commit=$_commit"
-        0002-Xsession-Don-t-start-ssh-agent-by-default.patch)
-sha256sums=('SKIP'
-            '9449da0b6ee58aa3fde65e6d8d1f30513e4176a7dc6d176f17f320ce82cb1d82')
-
-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 \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib/gdm \
-    --localstatedir=/var \
-    --disable-static \
-    --disable-schemas-compile \
-    --enable-gdm-xsession \
-    --enable-ipv6 \
-    --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
-    --with-check-accelerated-directory=/usr/lib/gnome-session \
-    --with-default-pam-config=arch \
-    --with-default-path=/usr/local/bin:/usr/local/sbin:/usr/bin \
-    --with-gnome-settings-daemon-directory=/usr/lib/gnome-settings-daemon \
-    --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)
-  install=gdm.install
-
-  cd $pkgbase
-  make DESTDIR="$pkgdir" install
-
-  chown -R 120:120 "$pkgdir/var/lib/gdm"
-
-  # Unused or created at start
-  rm -r "$pkgdir"/var/{cache,log,run}
-
-### 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)
-
-  cd $pkgbase
-  make -C libgdm DESTDIR="$pkgdir" install
-  install -Dm644 "$srcdir/org.gnome.login-screen.gschema.xml" \
-    "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.login-screen.gschema.xml"
-}

Copied: gdm/repos/extra-x86_64/PKGBUILD (from rev 278505, gdm/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2016-10-12 20:52:57 UTC (rev 278506)
@@ -0,0 +1,92 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=gdm
+pkgname=(gdm libgdm)
+pkgver=3.22.1
+pkgrel=1
+pkgdesc="Display manager and login screen"
+arch=(i686 x86_64)
+license=(GPL)
+url="https://wiki.gnome.org/Projects/GDM"
+depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server xorg-server-xwayland xorg-xhost)
+makedepends=(yelp-tools intltool gobject-introspection git)
+checkdepends=('check')
+_commit=4eb6575fdbd0e0dda9b209f6b4731edf990fde98  # tags/3.22.1^0
+source=("git://git.gnome.org/gdm#commit=$_commit"
+        0002-Xsession-Don-t-start-ssh-agent-by-default.patch)
+sha256sums=('SKIP'
+            '9449da0b6ee58aa3fde65e6d8d1f30513e4176a7dc6d176f17f320ce82cb1d82')
+
+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 \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/gdm \
+    --localstatedir=/var \
+    --disable-static \
+    --disable-schemas-compile \
+    --enable-gdm-xsession \
+    --enable-ipv6 \
+    --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
+    --with-check-accelerated-directory=/usr/lib/gnome-session \
+    --with-default-pam-config=arch \
+    --with-default-path=/usr/local/bin:/usr/local/sbin:/usr/bin \
+    --with-gnome-settings-daemon-directory=/usr/lib/gnome-settings-daemon \
+    --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)
+  install=gdm.install
+
+  cd $pkgbase
+  make DESTDIR="$pkgdir" install
+
+  chown -R 120:120 "$pkgdir/var/lib/gdm"
+
+  # Unused or created at start
+  rm -r "$pkgdir"/var/{cache,log,run}
+
+### 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)
+
+  cd $pkgbase
+  make -C libgdm DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir/org.gnome.login-screen.gschema.xml" \
+    "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.login-screen.gschema.xml"
+}

Deleted: extra-x86_64/gdm.install
===================================================================
--- extra-x86_64/gdm.install	2016-10-12 20:52:51 UTC (rev 278505)
+++ extra-x86_64/gdm.install	2016-10-12 20:52:57 UTC (rev 278506)
@@ -1,7 +0,0 @@
-post_install() {
-  if ! getent passwd gdm >/dev/null; then
-    groupadd -g 120 gdm
-    useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm
-    passwd -ql gdm
-  fi
-}

Copied: gdm/repos/extra-x86_64/gdm.install (from rev 278505, gdm/trunk/gdm.install)
===================================================================
--- extra-x86_64/gdm.install	                        (rev 0)
+++ extra-x86_64/gdm.install	2016-10-12 20:52:57 UTC (rev 278506)
@@ -0,0 +1,7 @@
+post_install() {
+  if ! getent passwd gdm >/dev/null; then
+    groupadd -g 120 gdm
+    useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm
+    passwd -ql gdm
+  fi
+}



More information about the arch-commits mailing list