diff --git a/srcpkgs/gdm/template b/srcpkgs/gdm/template index 13f1510e912..be345f5202f 100644 --- a/srcpkgs/gdm/template +++ b/srcpkgs/gdm/template @@ -1,6 +1,6 @@ # Template file for 'gdm' pkgname=gdm -version=3.28.4 +version=3.30.0 revision=1 build_style=gnu-configure configure_args="$(vopt_enable gir introspection) @@ -9,8 +9,7 @@ configure_args="$(vopt_enable gir introspection) --with-screenshot-dir=/var/lib/gdm/greeter --sbindir=/usr/bin --without-plymouth --with-xauth-dir=/run/gdm --with-pid-file=/run/gdm/gdm.pid --disable-systemd-journal --with-initial-vt=7 --enable-wayland-support" -hostmakedepends="automake gnome-doc-utils intltool itstool libtool pkg-config - $(vopt_if gir 'gobject-introspection')" +hostmakedepends="gnome-doc-utils itstool pkg-config $(vopt_if gir 'gobject-introspection')" makedepends="accountsservice-devel dconf elogind-devel gettext-devel glib-devel iso-codes libSM-devel libcanberra-devel nss-devel pam-devel upower-devel" depends="gnome-settings-daemon gnome-shell xorg-server xorg-server-xwayland @@ -19,9 +18,9 @@ checkdepends="check-devel" short_desc="GNOME Display Manager" maintainer="Enno Boland " license="GPL-2.0-or-later" -homepage="http://www.gnome.org" +homepage="https://wiki.gnome.org/Projects/GDM" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=799f524278eb1a663c1d693589878c12ce8fad2293a66ef336e9626e1f933a3b +checksum=84d8faf065c3d6c2212301fa1efa8e63c94583118e5e5767b6c8180f42aeca5b conf_files=" /etc/gdm/custom.conf /etc/pam.d/gdm-autologin @@ -41,19 +40,14 @@ if [ -z "$CROSS_BUILD" ]; then build_options_default+=" gir" fi -pre_configure() { - # elogind does not provide sd-daemon.h. It does provide all - # used symbols though. - sed -i "/#include <.*sd-daemon.h>/d" $(find . -name '*.[ch]') - - AUTOPOINT='intltoolize --automake -c' NOCONFIGURE=1 autoreconf -fi -} - post_install() { vinstall $FILESDIR/Xsession 755 etc/gdm sed -i "s/pam_systemd\.so/pam_elogind.so/" $DESTDIR/etc/pam.d/* + # fix udevrulesdir + mv $DESTDIR/lib/udev $DESTDIR/usr/lib + # fix with eudev sed -i 's/\\"//g; s/\[/\\[/; s/\\n/\\\\n/' $DESTDIR/usr/lib/udev/rules.d/61-gdm.rules