diff options
Diffstat (limited to 'extra/gdm/PKGBUILD')
-rw-r--r-- | extra/gdm/PKGBUILD | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/extra/gdm/PKGBUILD b/extra/gdm/PKGBUILD index 6c225a409..0f922cf8e 100644 --- a/extra/gdm/PKGBUILD +++ b/extra/gdm/PKGBUILD @@ -1,28 +1,34 @@ -# $Id: PKGBUILD 188471 2013-06-14 19:27:51Z heftig $ +# $Id: PKGBUILD 191808 2013-07-30 23:19:36Z jgc $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Maintainer: Jan de Groot <jgc@archlinux.org> pkgbase=gdm pkgname=(gdm libgdm) -pkgver=3.8.3 +pkgver=3.8.4 pkgrel=1 pkgdesc="Gnome Display Manager" arch=('i686' 'x86_64' 'mips64el') 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) +depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server xorg-xhost) +makedepends=(itstool intltool yelp-tools gobject-introspection) checkdepends=('check') source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver::3}/$pkgbase-$pkgver.tar.xz - fix_external_program_directories.patch) -sha256sums=('1d0ed61ac2b184c62acb0d09a5b7c03793b5793599dbb6888d7fe8d1fb6e8da2' - 'a878680734e35c1d66252cbcfe678c3961b5ff0fa16302f8796a5e7e65ffe4a2') + fix_external_program_directories.patch arch-pam.patch) +sha256sums=('db40fb66bf476721b6d333abe0bfed7feacdca7d492f971c86a3f1e5cccdb447' + 'a878680734e35c1d66252cbcfe678c3961b5ff0fa16302f8796a5e7e65ffe4a2' + 'b5c225784c3107564cb9685e41dfecdb20b8ea2415905c4119c96748c4e68003') -build() { +prepare() { cd $pkgbase-$pkgver - patch -Np1 -i "$srcdir/fix_external_program_directories.patch" + patch -Np1 -i ../fix_external_program_directories.patch + patch -Np1 -i ../arch-pam.patch + AUTOPOINT='intltoolize --automake -c' autoreconf -fi +} +build() { + cd $pkgbase-$pkgver ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ @@ -37,7 +43,7 @@ build() { --without-tcp-wrappers \ --without-console-kit \ --with-systemd \ - --with-default-pam-config=exherbo + --with-default-pam-config=arch 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 @@ -62,8 +68,7 @@ package_gdm() { cd $pkgbase-$pkgver make DESTDIR="$pkgdir" install - chmod 1770 "$pkgdir/var/log/gdm" - chmod 700 "$pkgdir/var/lib/gdm/.config/dconf" + chmod 711 "$pkgdir/var/log/gdm" rm -r "$pkgdir/var/run" "$pkgdir/var/gdm" ### Split libgdm |