[arch-commits] Commit in gdm/repos (12 files)
Jan Steffens
heftig at nymeria.archlinux.org
Mon Apr 15 22:27:38 UTC 2013
Date: Tuesday, April 16, 2013 @ 00:27:38
Author: heftig
Revision: 182888
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
gdm/repos/testing-i686/PKGBUILD
(from rev 182887, gdm/trunk/PKGBUILD)
gdm/repos/testing-i686/fix_external_program_directories.patch
(from rev 182887, gdm/trunk/fix_external_program_directories.patch)
gdm/repos/testing-i686/gdm.install
(from rev 182887, gdm/trunk/gdm.install)
gdm/repos/testing-x86_64/PKGBUILD
(from rev 182887, gdm/trunk/PKGBUILD)
gdm/repos/testing-x86_64/fix_external_program_directories.patch
(from rev 182887, gdm/trunk/fix_external_program_directories.patch)
gdm/repos/testing-x86_64/gdm.install
(from rev 182887, gdm/trunk/gdm.install)
Deleted:
gdm/repos/testing-i686/PKGBUILD
gdm/repos/testing-i686/fix_external_program_directories.patch
gdm/repos/testing-i686/gdm.install
gdm/repos/testing-x86_64/PKGBUILD
gdm/repos/testing-x86_64/fix_external_program_directories.patch
gdm/repos/testing-x86_64/gdm.install
-------------------------------------------------------+
/PKGBUILD | 154 ++++++++++++++++
/fix_external_program_directories.patch | 24 ++
/gdm.install | 60 ++++++
testing-i686/PKGBUILD | 77 --------
testing-i686/fix_external_program_directories.patch | 12 -
testing-i686/gdm.install | 30 ---
testing-x86_64/PKGBUILD | 77 --------
testing-x86_64/fix_external_program_directories.patch | 12 -
testing-x86_64/gdm.install | 30 ---
9 files changed, 238 insertions(+), 238 deletions(-)
Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD 2013-04-15 22:26:34 UTC (rev 182887)
+++ testing-i686/PKGBUILD 2013-04-15 22:27:38 UTC (rev 182888)
@@ -1,77 +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.8.0
-pkgrel=3
-pkgdesc="Gnome Display Manager"
-arch=(i686 x86_64)
-license=(GPL)
-url="http://www.gnome.org"
-options=('!libtool')
-depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server)
-makedepends=(itstool intltool gnome-doc-utils gobject-introspection)
-checkdepends=('check')
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
- fix_external_program_directories.patch)
-sha256sums=('4a0894ae50d1f090c6ccc450b74142243fff9ee17e2924c0f363ea51b3ba6bd5'
- 'a878680734e35c1d66252cbcfe678c3961b5ff0fa16302f8796a5e7e65ffe4a2')
-
-build() {
- cd $pkgbase-$pkgver
- patch -Np1 -i "$srcdir/fix_external_program_directories.patch"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/gdm \
- --localstatedir=/var \
- --disable-static \
- --disable-schemas-compile \
- --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
- --with-check-accelerated-directory=/usr/lib/gnome-session \
- --with-authentication-agent-directory=/usr/lib/polkit-gnome \
- --without-tcp-wrappers \
- --without-console-kit \
- --with-systemd \
- --with-default-pam-config=exherbo
-
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
-
- make
-}
-
-check() {
- cd $pkgbase-$pkgver
- 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)
- groups=(gnome)
- install=gdm.install
-
- cd $pkgbase-$pkgver
- make DESTDIR="$pkgdir" install
-
- chmod 1770 "$pkgdir/var/log/gdm"
- chmod 700 "$pkgdir/var/lib/gdm/.config/dconf"
- rm -r "$pkgdir/var/run" "$pkgdir/var/gdm"
-
-### Split libgdm
- make -C gui/libgdm DESTDIR="$pkgdir" uninstall
-}
-
-package_libgdm() {
- pkgdesc="GDM support library"
- depends=(systemd)
-
- cd $pkgbase-$pkgver
- make -C gui/libgdm DESTDIR="$pkgdir" install
-}
Copied: gdm/repos/testing-i686/PKGBUILD (from rev 182887, gdm/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-04-15 22:27:38 UTC (rev 182888)
@@ -0,0 +1,77 @@
+# $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.8.1
+pkgrel=1
+pkgdesc="Gnome Display Manager"
+arch=(i686 x86_64)
+license=(GPL)
+url="http://www.gnome.org"
+options=('!libtool')
+depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server)
+makedepends=(itstool intltool gnome-doc-utils gobject-introspection)
+checkdepends=('check')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
+ fix_external_program_directories.patch)
+sha256sums=('458c67243ca6dacc6c4aaac6846f14d2f5a0507a61e0de690fd0f5d63e19be94'
+ 'a878680734e35c1d66252cbcfe678c3961b5ff0fa16302f8796a5e7e65ffe4a2')
+
+build() {
+ cd $pkgbase-$pkgver
+ patch -Np1 -i "$srcdir/fix_external_program_directories.patch"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/gdm \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-schemas-compile \
+ --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
+ --with-check-accelerated-directory=/usr/lib/gnome-session \
+ --with-authentication-agent-directory=/usr/lib/polkit-gnome \
+ --without-tcp-wrappers \
+ --without-console-kit \
+ --with-systemd \
+ --with-default-pam-config=exherbo
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+ make
+}
+
+check() {
+ cd $pkgbase-$pkgver
+ 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)
+ groups=(gnome)
+ install=gdm.install
+
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ chmod 1770 "$pkgdir/var/log/gdm"
+ chmod 700 "$pkgdir/var/lib/gdm/.config/dconf"
+ rm -r "$pkgdir/var/run" "$pkgdir/var/gdm"
+
+### Split libgdm
+ make -C gui/libgdm DESTDIR="$pkgdir" uninstall
+}
+
+package_libgdm() {
+ pkgdesc="GDM support library"
+ depends=(systemd)
+
+ cd $pkgbase-$pkgver
+ make -C gui/libgdm DESTDIR="$pkgdir" install
+}
Deleted: testing-i686/fix_external_program_directories.patch
===================================================================
--- testing-i686/fix_external_program_directories.patch 2013-04-15 22:26:34 UTC (rev 182887)
+++ testing-i686/fix_external_program_directories.patch 2013-04-15 22:27:38 UTC (rev 182888)
@@ -1,12 +0,0 @@
-diff -Nur gdm-3.3.92.orig/gui/simple-chooser/gdm-chooser-session.c gdm-3.3.92/gui/simple-chooser/gdm-chooser-session.c
---- gdm-3.3.92.orig/gui/simple-chooser/gdm-chooser-session.c 2012-03-19 22:30:05.304823391 +0000
-+++ gdm-3.3.92/gui/simple-chooser/gdm-chooser-session.c 2012-03-19 22:30:17.004732251 +0000
-@@ -131,7 +131,7 @@
- ret = FALSE;
-
- error = NULL;
-- g_spawn_command_line_async (LIBEXECDIR "/gnome-settings-daemon", &error);
-+ g_spawn_command_line_async ("/usr/lib/gnome-settings-daemon/gnome-settings-daemon", &error);
- if (error != NULL) {
- g_warning ("Error starting settings daemon: %s", error->message);
- g_error_free (error);
Copied: gdm/repos/testing-i686/fix_external_program_directories.patch (from rev 182887, gdm/trunk/fix_external_program_directories.patch)
===================================================================
--- testing-i686/fix_external_program_directories.patch (rev 0)
+++ testing-i686/fix_external_program_directories.patch 2013-04-15 22:27:38 UTC (rev 182888)
@@ -0,0 +1,12 @@
+diff -Nur gdm-3.3.92.orig/gui/simple-chooser/gdm-chooser-session.c gdm-3.3.92/gui/simple-chooser/gdm-chooser-session.c
+--- gdm-3.3.92.orig/gui/simple-chooser/gdm-chooser-session.c 2012-03-19 22:30:05.304823391 +0000
++++ gdm-3.3.92/gui/simple-chooser/gdm-chooser-session.c 2012-03-19 22:30:17.004732251 +0000
+@@ -131,7 +131,7 @@
+ ret = FALSE;
+
+ error = NULL;
+- g_spawn_command_line_async (LIBEXECDIR "/gnome-settings-daemon", &error);
++ g_spawn_command_line_async ("/usr/lib/gnome-settings-daemon/gnome-settings-daemon", &error);
+ if (error != NULL) {
+ g_warning ("Error starting settings daemon: %s", error->message);
+ g_error_free (error);
Deleted: testing-i686/gdm.install
===================================================================
--- testing-i686/gdm.install 2013-04-15 22:26:34 UTC (rev 182887)
+++ testing-i686/gdm.install 2013-04-15 22:27:38 UTC (rev 182888)
@@ -1,30 +0,0 @@
-pkgname=gdm
-
-post_install() {
- getent group gdm >/dev/null 2>&1 || groupadd -g 120 gdm
- getent passwd gdm > /dev/null 2>&1 || usr/sbin/useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm
- passwd -l gdm > /dev/null
- chown -R gdm:gdm /var/lib/gdm > /dev/null
-
- glib-compile-schemas /usr/share/glib-2.0/schemas
- gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
- dconf update
-}
-
-pre_upgrade() {
- if [ -f /usr/share/gconf/schemas/${pkgname}.schemas ]; then
- gconfpkg --uninstall ${pkgname}
- fi
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- glib-compile-schemas /usr/share/glib-2.0/schemas
- dconf update
- gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
- getent passwd gdm >/dev/null 2>&1 && userdel gdm
- getent group gdm >/dev/null 2>&1 && groupdel gdm
-}
Copied: gdm/repos/testing-i686/gdm.install (from rev 182887, gdm/trunk/gdm.install)
===================================================================
--- testing-i686/gdm.install (rev 0)
+++ testing-i686/gdm.install 2013-04-15 22:27:38 UTC (rev 182888)
@@ -0,0 +1,30 @@
+pkgname=gdm
+
+post_install() {
+ getent group gdm >/dev/null 2>&1 || groupadd -g 120 gdm
+ getent passwd gdm > /dev/null 2>&1 || usr/sbin/useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm
+ passwd -l gdm > /dev/null
+ chown -R gdm:gdm /var/lib/gdm > /dev/null
+
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ dconf update
+}
+
+pre_upgrade() {
+ if [ -f /usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ gconfpkg --uninstall ${pkgname}
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ dconf update
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ getent passwd gdm >/dev/null 2>&1 && userdel gdm
+ getent group gdm >/dev/null 2>&1 && groupdel gdm
+}
Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2013-04-15 22:26:34 UTC (rev 182887)
+++ testing-x86_64/PKGBUILD 2013-04-15 22:27:38 UTC (rev 182888)
@@ -1,77 +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.8.0
-pkgrel=3
-pkgdesc="Gnome Display Manager"
-arch=(i686 x86_64)
-license=(GPL)
-url="http://www.gnome.org"
-options=('!libtool')
-depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server)
-makedepends=(itstool intltool gnome-doc-utils gobject-introspection)
-checkdepends=('check')
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
- fix_external_program_directories.patch)
-sha256sums=('4a0894ae50d1f090c6ccc450b74142243fff9ee17e2924c0f363ea51b3ba6bd5'
- 'a878680734e35c1d66252cbcfe678c3961b5ff0fa16302f8796a5e7e65ffe4a2')
-
-build() {
- cd $pkgbase-$pkgver
- patch -Np1 -i "$srcdir/fix_external_program_directories.patch"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/gdm \
- --localstatedir=/var \
- --disable-static \
- --disable-schemas-compile \
- --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
- --with-check-accelerated-directory=/usr/lib/gnome-session \
- --with-authentication-agent-directory=/usr/lib/polkit-gnome \
- --without-tcp-wrappers \
- --without-console-kit \
- --with-systemd \
- --with-default-pam-config=exherbo
-
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
-
- make
-}
-
-check() {
- cd $pkgbase-$pkgver
- 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)
- groups=(gnome)
- install=gdm.install
-
- cd $pkgbase-$pkgver
- make DESTDIR="$pkgdir" install
-
- chmod 1770 "$pkgdir/var/log/gdm"
- chmod 700 "$pkgdir/var/lib/gdm/.config/dconf"
- rm -r "$pkgdir/var/run" "$pkgdir/var/gdm"
-
-### Split libgdm
- make -C gui/libgdm DESTDIR="$pkgdir" uninstall
-}
-
-package_libgdm() {
- pkgdesc="GDM support library"
- depends=(systemd)
-
- cd $pkgbase-$pkgver
- make -C gui/libgdm DESTDIR="$pkgdir" install
-}
Copied: gdm/repos/testing-x86_64/PKGBUILD (from rev 182887, gdm/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-04-15 22:27:38 UTC (rev 182888)
@@ -0,0 +1,77 @@
+# $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.8.1
+pkgrel=1
+pkgdesc="Gnome Display Manager"
+arch=(i686 x86_64)
+license=(GPL)
+url="http://www.gnome.org"
+options=('!libtool')
+depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server)
+makedepends=(itstool intltool gnome-doc-utils gobject-introspection)
+checkdepends=('check')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
+ fix_external_program_directories.patch)
+sha256sums=('458c67243ca6dacc6c4aaac6846f14d2f5a0507a61e0de690fd0f5d63e19be94'
+ 'a878680734e35c1d66252cbcfe678c3961b5ff0fa16302f8796a5e7e65ffe4a2')
+
+build() {
+ cd $pkgbase-$pkgver
+ patch -Np1 -i "$srcdir/fix_external_program_directories.patch"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/gdm \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-schemas-compile \
+ --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
+ --with-check-accelerated-directory=/usr/lib/gnome-session \
+ --with-authentication-agent-directory=/usr/lib/polkit-gnome \
+ --without-tcp-wrappers \
+ --without-console-kit \
+ --with-systemd \
+ --with-default-pam-config=exherbo
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+ make
+}
+
+check() {
+ cd $pkgbase-$pkgver
+ 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)
+ groups=(gnome)
+ install=gdm.install
+
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ chmod 1770 "$pkgdir/var/log/gdm"
+ chmod 700 "$pkgdir/var/lib/gdm/.config/dconf"
+ rm -r "$pkgdir/var/run" "$pkgdir/var/gdm"
+
+### Split libgdm
+ make -C gui/libgdm DESTDIR="$pkgdir" uninstall
+}
+
+package_libgdm() {
+ pkgdesc="GDM support library"
+ depends=(systemd)
+
+ cd $pkgbase-$pkgver
+ make -C gui/libgdm DESTDIR="$pkgdir" install
+}
Deleted: testing-x86_64/fix_external_program_directories.patch
===================================================================
--- testing-x86_64/fix_external_program_directories.patch 2013-04-15 22:26:34 UTC (rev 182887)
+++ testing-x86_64/fix_external_program_directories.patch 2013-04-15 22:27:38 UTC (rev 182888)
@@ -1,12 +0,0 @@
-diff -Nur gdm-3.3.92.orig/gui/simple-chooser/gdm-chooser-session.c gdm-3.3.92/gui/simple-chooser/gdm-chooser-session.c
---- gdm-3.3.92.orig/gui/simple-chooser/gdm-chooser-session.c 2012-03-19 22:30:05.304823391 +0000
-+++ gdm-3.3.92/gui/simple-chooser/gdm-chooser-session.c 2012-03-19 22:30:17.004732251 +0000
-@@ -131,7 +131,7 @@
- ret = FALSE;
-
- error = NULL;
-- g_spawn_command_line_async (LIBEXECDIR "/gnome-settings-daemon", &error);
-+ g_spawn_command_line_async ("/usr/lib/gnome-settings-daemon/gnome-settings-daemon", &error);
- if (error != NULL) {
- g_warning ("Error starting settings daemon: %s", error->message);
- g_error_free (error);
Copied: gdm/repos/testing-x86_64/fix_external_program_directories.patch (from rev 182887, gdm/trunk/fix_external_program_directories.patch)
===================================================================
--- testing-x86_64/fix_external_program_directories.patch (rev 0)
+++ testing-x86_64/fix_external_program_directories.patch 2013-04-15 22:27:38 UTC (rev 182888)
@@ -0,0 +1,12 @@
+diff -Nur gdm-3.3.92.orig/gui/simple-chooser/gdm-chooser-session.c gdm-3.3.92/gui/simple-chooser/gdm-chooser-session.c
+--- gdm-3.3.92.orig/gui/simple-chooser/gdm-chooser-session.c 2012-03-19 22:30:05.304823391 +0000
++++ gdm-3.3.92/gui/simple-chooser/gdm-chooser-session.c 2012-03-19 22:30:17.004732251 +0000
+@@ -131,7 +131,7 @@
+ ret = FALSE;
+
+ error = NULL;
+- g_spawn_command_line_async (LIBEXECDIR "/gnome-settings-daemon", &error);
++ g_spawn_command_line_async ("/usr/lib/gnome-settings-daemon/gnome-settings-daemon", &error);
+ if (error != NULL) {
+ g_warning ("Error starting settings daemon: %s", error->message);
+ g_error_free (error);
Deleted: testing-x86_64/gdm.install
===================================================================
--- testing-x86_64/gdm.install 2013-04-15 22:26:34 UTC (rev 182887)
+++ testing-x86_64/gdm.install 2013-04-15 22:27:38 UTC (rev 182888)
@@ -1,30 +0,0 @@
-pkgname=gdm
-
-post_install() {
- getent group gdm >/dev/null 2>&1 || groupadd -g 120 gdm
- getent passwd gdm > /dev/null 2>&1 || usr/sbin/useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm
- passwd -l gdm > /dev/null
- chown -R gdm:gdm /var/lib/gdm > /dev/null
-
- glib-compile-schemas /usr/share/glib-2.0/schemas
- gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
- dconf update
-}
-
-pre_upgrade() {
- if [ -f /usr/share/gconf/schemas/${pkgname}.schemas ]; then
- gconfpkg --uninstall ${pkgname}
- fi
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- glib-compile-schemas /usr/share/glib-2.0/schemas
- dconf update
- gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
- getent passwd gdm >/dev/null 2>&1 && userdel gdm
- getent group gdm >/dev/null 2>&1 && groupdel gdm
-}
Copied: gdm/repos/testing-x86_64/gdm.install (from rev 182887, gdm/trunk/gdm.install)
===================================================================
--- testing-x86_64/gdm.install (rev 0)
+++ testing-x86_64/gdm.install 2013-04-15 22:27:38 UTC (rev 182888)
@@ -0,0 +1,30 @@
+pkgname=gdm
+
+post_install() {
+ getent group gdm >/dev/null 2>&1 || groupadd -g 120 gdm
+ getent passwd gdm > /dev/null 2>&1 || usr/sbin/useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm
+ passwd -l gdm > /dev/null
+ chown -R gdm:gdm /var/lib/gdm > /dev/null
+
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ dconf update
+}
+
+pre_upgrade() {
+ if [ -f /usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ gconfpkg --uninstall ${pkgname}
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ dconf update
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ getent passwd gdm >/dev/null 2>&1 && userdel gdm
+ getent group gdm >/dev/null 2>&1 && groupdel gdm
+}
More information about the arch-commits
mailing list