Subject: CVS commit: pkgsrc/x11/slim
From: David Brownlee
Date: 2023-03-15 14:39:17
Message id: 20230315133917.2B937FA90@cvs.NetBSD.org

Log Message:
Adjust slim default config for NetBSD

Add SLIM_LOGIN_CMD and SLIM_XSERVER_ARGUMENTS values which are
substituted into the default slim.conf, and provide more optimal
values for NetBSD

SLIM_XSERVER_ARGUMENTS: "vt05 -noretro"

  This makes the "vt05" NetBSD specific, so no longer affecting
  other platforms, plus hides the default rootweave (which would
  be replaced by a slim image shortly after startup)

SLIM_LOGIN_CMD: "/bin/sh - /etc/X11/xdm/Xsession"

  /etc/X11/xdm/Xsession is the canonical way to start an xsession
  on NetBSD. The slim shipped defaults rely on a user having
  ~/.xinitrc, otherwise the session fails back to login (which is
  a little unfriendly for new users). As a side effect we lose the
  default ability to pass the theme as a %session parameter to
  .xinitrc, but this is probably a reasonable trade off to have a
  working Out Of The Box config. As a benefit we can drop the
  dependency on bash for NetBSD (which is nice for smaller platforms).

For non NetBSD platforms xserver_arguments is now as originally
shipped, and login_cmd is as shipped modulus bash path substitution

Suggestions/adjustments for other platforms encouraged :)

Bump PKGREVISION

Files:
RevisionActionfile
1.15modifypkgsrc/x11/slim/Makefile
1.10modifypkgsrc/x11/slim/distinfo
1.5modifypkgsrc/x11/slim/patches/patch-slim.conf