Use ktsuss to get admin rights for gdmsetup.

Tweak DESCR and regen PLIST while here.
This commit is contained in:
ajacoutot 2009-10-14 08:20:19 +00:00
parent a29b9353ca
commit 2ec29de8e9
4 changed files with 21 additions and 8 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.66 2009/10/13 23:22:45 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.67 2009/10/14 08:20:19 ajacoutot Exp $
COMMENT= GNOME display manager
GNOME_PROJECT= gdm
GNOME_VERSION= 2.20.10
PKGNAME= ${DISTNAME}p8
PKGNAME= ${DISTNAME}p9
HOMEPAGE= http://projects.gnome.org/gdm/
@ -25,7 +25,8 @@ WANTLIB += pthread-stubs util wrap xcb xml2 z
BUILD_DEPENDS= ::x11/gnome/zenity
RUN_DEPENDS= :sox-*:audio/sox \
:hicolor-icon-theme-*:x11/hicolor-icon-theme \
::x11/gnome/zenity
::x11/gnome/zenity \
::sysutils/ktsuss
LIB_DEPENDS= rsvg-2::x11/gnome/librsvg \
gnomecanvas-2.>=2002::x11/gnome/libgnomecanvas
@ -61,6 +62,7 @@ FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples \
pre-configure:
${SUBST_CMD} \
${WRKSRC}/config/{Init.in,PostSession.in,PreSession.in,Xsession.in,XKeepsCrashing}
${WRKSRC}/config/{Init.in,PostSession.in,PreSession.in,Xsession.in,XKeepsCrashing} \
${WRKSRC}/gui/gdmsetup.desktop.in.in
.include <bsd.port.mk>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gui_gdmsetup_desktop_in_in,v 1.1 2009/10/14 08:20:19 ajacoutot Exp $
--- gui/gdmsetup.desktop.in.in.orig Wed Oct 14 10:03:27 2009
+++ gui/gdmsetup.desktop.in.in Wed Oct 14 10:03:55 2009
@@ -3,7 +3,7 @@ Encoding=UTF-8
_Name=Login Window
_Comment=Configure GDM login window appearance and behavior
TryExec=@sbindir@/gdmsetup
-Exec=@sbindir@/gdmsetup
+Exec=${LOCALBASE}/bin/ktsuss @sbindir@/gdmsetup
Icon=gdmsetup
StartupNotify=true
Terminal=false

View File

@ -1,4 +1,4 @@
Gdm (the GNOME Display Manager) is a highly configurable
reimplementation of xdm, the X Display Manager. Gdm allows you to log
GDM (the GNOME Display Manager) is a highly configurable
reimplementation of xdm, the X Display Manager. GDM allows you to log
into your system with the X Window System running and supports running
several different X sessions on your local machine at the same time.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.25 2009/10/13 23:22:45 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.26 2009/10/14 08:20:19 ajacoutot Exp $
%%SHARED%%
@bin bin/gdm-dmx-reconnect-proxy
bin/gdmXnest
@ -253,7 +253,6 @@ share/omf/gdm/gdm-ko.omf
share/omf/gdm/gdm-oc.omf
share/omf/gdm/gdm-sv.omf
share/omf/gdm/gdm-uk.omf
share/pixmaps/
share/pixmaps/faces/
share/pixmaps/faces/astronaut.jpg
share/pixmaps/faces/baseball.png