summaryrefslogtreecommitdiff
path: root/x11/gdm/Makefile
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-11-23 22:06:49 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-11-23 22:06:49 +0000
commit728a2be8a7ddba84c7f9a72dd9200a4c46898baf (patch)
tree41a21f76341bfb67ba241b87005c5e64c22c3477 /x11/gdm/Makefile
parent4001987a54362c28815ebe05c14418f7f68adebd (diff)
downloadpkgsrc-728a2be8a7ddba84c7f9a72dd9200a4c46898baf.tar.gz
GDM is "special". If automatic VT allocation is not enabled, in order to
determine the VT it is using it will attempt to parse the X server's log file looking for the string 'using VT number '. If GDM doesn't know what VT it's using, it is unable to pass that information to ConsoleKit, so the session is treated as always inactive. Enable automatic VT allocation by default, and piggyback on the Linux/SunOS VT switching code using wsdisplay usl emulation for NetBSD. Also, PKGREVISION++
Diffstat (limited to 'x11/gdm/Makefile')
-rw-r--r--x11/gdm/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 92fe65354ee..c939174e47b 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.147 2008/11/23 02:24:36 jmcneill Exp $
+# $NetBSD: Makefile,v 1.148 2008/11/23 22:06:49 jmcneill Exp $
#
DISTNAME= gdm-2.20.7
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdm/2.20/}
EXTRACT_SUFX= .tar.bz2
@@ -72,6 +72,8 @@ SUBST_SED.desktop= -e 's/^_//g'
SUBST_SED.desktop+= -e 's|^User=gdm$$|User=${GDMOWN}|g'
SUBST_SED.desktop+= -e 's|^Group=gdm$$|Group=${GDMGRP}|g'
SUBST_SED.desktop+= -e 's|^\#GtkTheme=.*$$|GtkTheme=Clearlooks|g'
+SUBST_SED.desktop+= -e 's|^\#FirstVT=.*$$|FirstVT=5|g'
+SUBST_SED.desktop+= -e 's|^\#VTAllocation=.*$$|VTAllocation=true|g'
.if ${OPSYS} == "NetBSD"
SUBST_SED.desktop+= -e 's|^\#Logo=.*$$|Logo=${PREFIX}/share/pixmaps/NetBSD.xpm|g'
.endif