[arch-commits] Commit in xdm-archlinux/repos (10 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:45:40 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:45:39
  Author: felixonmars
Revision: 658224

archrelease: copy trunk to community-staging-any

Added:
  xdm-archlinux/repos/community-staging-any/
  xdm-archlinux/repos/community-staging-any/PKGBUILD
    (from rev 658221, xdm-archlinux/trunk/PKGBUILD)
  xdm-archlinux/repos/community-staging-any/Xresources
    (from rev 658221, xdm-archlinux/trunk/Xresources)
  xdm-archlinux/repos/community-staging-any/Xsetup
    (from rev 658221, xdm-archlinux/trunk/Xsetup)
  xdm-archlinux/repos/community-staging-any/Xstartup
    (from rev 658221, xdm-archlinux/trunk/Xstartup)
  xdm-archlinux/repos/community-staging-any/arch.xpm.gz
    (from rev 658221, xdm-archlinux/trunk/arch.xpm.gz)
  xdm-archlinux/repos/community-staging-any/buttons
    (from rev 658222, xdm-archlinux/trunk/buttons)
  xdm-archlinux/repos/community-staging-any/xdm-archlinux.install
    (from rev 658222, xdm-archlinux/trunk/xdm-archlinux.install)
  xdm-archlinux/repos/community-staging-any/xdm-archlinux.service
    (from rev 658222, xdm-archlinux/trunk/xdm-archlinux.service)
  xdm-archlinux/repos/community-staging-any/xdm-config
    (from rev 658222, xdm-archlinux/trunk/xdm-config)

-----------------------+
 PKGBUILD              |   38 +++++++++++++++++++++++++++++++++
 Xresources            |   55 ++++++++++++++++++++++++++++++++++++++++++++++++
 Xsetup                |    9 +++++++
 Xstartup              |    7 ++++++
 buttons               |   15 +++++++++++++
 xdm-archlinux.install |   10 ++++++++
 xdm-archlinux.service |   11 +++++++++
 xdm-config            |   23 ++++++++++++++++++++
 8 files changed, 168 insertions(+)

Copied: xdm-archlinux/repos/community-staging-any/PKGBUILD (from rev 658221, xdm-archlinux/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 12:45:39 UTC (rev 658224)
@@ -0,0 +1,38 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Truls Becken <becken at stud.ntnu.no>
+# Contributor: whompus
+
+pkgname=xdm-archlinux
+pkgver=0.7
+pkgrel=2
+pkgdesc="An XDM setup that looks better than the defaults"
+arch=(any)
+license=('GPL')
+url="https://xorg.freedesktop.org"
+depends=('xorg-xdm' 'bash'
+	 'xorg-xmessage' 'xorg-xclock' 'xorg-xsetroot' 'xorg-xwininfo' 'xorg-xkill'
+	 'ttf-bitstream-vera' 'terminus-font')
+backup=(etc/X11/xdm/archlinux/Xsetup
+	etc/X11/xdm/archlinux/Xresources)
+install=xdm-archlinux.install
+source=(xdm-config
+	Xsetup
+	Xstartup
+	Xresources
+	buttons
+	arch.xpm.gz
+	xdm-archlinux.service)
+sha256sums=('c79853a4fb674c505b8d542b19320eb6fcb0ec9e836b6fd986ba70691c93e370'
+            '12720450ec5430e8c8875f75b8045b88cc8155e03fc97841c28eca5d278e102d'
+            '7f9d62c29425f03f098d42b68d6d8bbd2335be6235a83f6142cfa4e9f8a4727a'
+            'a94c88acd9d277da093e910d6aebf6eccbf2aae4248fd9170fb1c4239fb87cf7'
+            '9edbf630b1748d188544117938f604de08173ea865d7e485de8ac99ec9d38ac0'
+            '625087946ff746d87fde41da490dbd28bdc9c23c6ff25a915d2ea4b5ef08ebfd'
+            'eb79a6bcb03c3909afea88ac63aba0464e6f07ae32ca29130b016dc0207f5a6a')
+
+package() {
+  mkdir -p "$pkgdir"/etc/X11/xdm/archlinux
+  cp arch.xpm buttons xdm-config Xresources Xsetup Xstartup "$pkgdir"/etc/X11/xdm/archlinux
+  chmod 0755 "$pkgdir"/etc/X11/xdm/archlinux/{Xsetup,Xstartup,buttons}
+  install -Dm0644 "$srcdir"/xdm-archlinux.service "$pkgdir"/usr/lib/systemd/system/xdm-archlinux.service
+}

Copied: xdm-archlinux/repos/community-staging-any/Xresources (from rev 658221, xdm-archlinux/trunk/Xresources)
===================================================================
--- community-staging-any/Xresources	                        (rev 0)
+++ community-staging-any/Xresources	2020-07-07 12:45:39 UTC (rev 658224)
@@ -0,0 +1,55 @@
+xlogin*translations:#override \
+	Ctrl<Key>R:abort-display()\n\
+	<Key>F1:set-session-argument(failsafe) finish-field()\n\
+	<Key>Return:set-session-argument() finish-field()\n\
+	Ctrl<Key>Return:set-session-argument(failsafe) finish-field()\n\
+
+xlogin*greeting:CLIENTHOST\040login
+xlogin*namePrompt:Username:\040
+xlogin*passwdPrompt:Password:\040
+xlogin*fail:incorrect
+xlogin*greetFace:Bitstream\040Vera\040Sans\040Mono-36:style=Bold
+xlogin*promptFace:xos4\040Terminus-24:style=Bold
+xlogin*face:xos4\040Terminus-20
+xlogin*failFace:xos4\040Terminus-24:style=Bold
+xlogin*shdColor:#223377
+xlogin*hiColor:#223377
+xlogin*inpColor: #223377
+xlogin*greetColor:yellow
+xlogin*promptColor:grey80
+xlogin*failColor:red
+xlogin*logoFileName:/etc/X11/xdm/archlinux/arch.xpm
+xlogin*echoPasswd: true
+xlogin*echoPasswdChar: *
+
+*borderWidth: 0
+*foreground: grey80
+*background: #223377
+*background: #223377
+
+XClock*analog:false
+XClock*strftime:(%A)\040%F\040%T
+XClock*update:1
+XClock*render:false
+XClock*font:-xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1
+XClock.width:640
+
+Xmessage*message.scrollVertical:whenNeeded
+Xmessage*message.scrollHorizontal:Never
+Xmessage*Command.highlightThickness:2
+Xmessage*Command.internalWidth:8
+Xmessage*Command.internalHeight:8
+Xmessage*Command.shapeStyle:rectangle
+Xmessage*Command.font:-xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1
+Xmessage*font:-xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1
+
+XConsole*verbose:true
+XConsole*exitOnFail:true
+
+Chooser*geometry:700x500
+Chooser*allowShellResize:false
+Chooser*viewport.forceBars:true
+Chooser*label.font:-*-terminus-*-*-*-*-*-*-*-*-*-*-*
+Chooser*label.label:XDMCP\040Host\040Menu\040from\040CLIENTHOST
+Chooser*list.font:-*-terminus-*-*-*-*-*-*-*-*-*-*-*
+Chooser*Command.font:-*-terminus-*-*-*-*-*-*-*-*-*-*-*

Copied: xdm-archlinux/repos/community-staging-any/Xsetup (from rev 658221, xdm-archlinux/trunk/Xsetup)
===================================================================
--- community-staging-any/Xsetup	                        (rev 0)
+++ community-staging-any/Xsetup	2020-07-07 12:45:39 UTC (rev 658224)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+## the root window should have this color
+xsetroot -solid "#223377" -cursor_name left_ptr
+
+## these are all optional
+/etc/X11/xdm/archlinux/buttons -geometry -0-0 &
+xclock -geometry +0-0 &
+# xconsole -daemon -geometry 640x200-0+0

Copied: xdm-archlinux/repos/community-staging-any/Xstartup (from rev 658221, xdm-archlinux/trunk/Xstartup)
===================================================================
--- community-staging-any/Xstartup	                        (rev 0)
+++ community-staging-any/Xstartup	2020-07-07 12:45:39 UTC (rev 658224)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Get rid of all clients started by Xsetup
+xwininfo -root -children | grep '  0x' | cut -d' ' -f6 | xargs -n1 xkill -id
+
+# Register a login (derived from GiveConsole as follows:)
+exec /usr/bin/sessreg  -a -w /var/log/wtmp -u /var/run/utmp 	-x /etc/X11/xdm/Xservers -l $DISPLAY -h "" $USER

Copied: xdm-archlinux/repos/community-staging-any/arch.xpm.gz (from rev 658221, xdm-archlinux/trunk/arch.xpm.gz)
===================================================================
(Binary files differ)

Copied: xdm-archlinux/repos/community-staging-any/buttons (from rev 658222, xdm-archlinux/trunk/buttons)
===================================================================
--- community-staging-any/buttons	                        (rev 0)
+++ community-staging-any/buttons	2020-07-07 12:45:39 UTC (rev 658224)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+xmessage -buttons reboot,halt,poweroff "$@" ""
+
+case "$?" in
+	101)
+		/usr/bin/systemctl reboot
+		;;
+	102)
+		/usr/bin/systemctl halt
+		;;
+	103)
+		/usr/bin/systemctl poweroff
+		;;
+esac

Copied: xdm-archlinux/repos/community-staging-any/xdm-archlinux.install (from rev 658222, xdm-archlinux/trunk/xdm-archlinux.install)
===================================================================
--- community-staging-any/xdm-archlinux.install	                        (rev 0)
+++ community-staging-any/xdm-archlinux.install	2020-07-07 12:45:39 UTC (rev 658224)
@@ -0,0 +1,10 @@
+post_install() {
+  cat << EOF
+  If you want an xconsole on the login screen, or don't want the clock or
+  halt and reboot buttons, edit /etc/X11/xdm/archlinux/Xsetup
+EOF
+}
+
+post_upgrade() {
+  post_install $1
+}

Copied: xdm-archlinux/repos/community-staging-any/xdm-archlinux.service (from rev 658222, xdm-archlinux/trunk/xdm-archlinux.service)
===================================================================
--- community-staging-any/xdm-archlinux.service	                        (rev 0)
+++ community-staging-any/xdm-archlinux.service	2020-07-07 12:45:39 UTC (rev 658224)
@@ -0,0 +1,11 @@
+[Unit]
+Description=X-Window Display Manager
+After=systemd-user-sessions.service
+
+[Service]
+ExecStart=/usr/bin/xdm -nodaemon -config /etc/X11/xdm/archlinux/xdm-config
+Type=notify
+NotifyAccess=all
+
+[Install]
+Alias=display-manager.service

Copied: xdm-archlinux/repos/community-staging-any/xdm-config (from rev 658222, xdm-archlinux/trunk/xdm-config)
===================================================================
--- community-staging-any/xdm-config	                        (rev 0)
+++ community-staging-any/xdm-config	2020-07-07 12:45:39 UTC (rev 658224)
@@ -0,0 +1,23 @@
+DisplayManager.authDir:		/var/lib/xdm
+DisplayManager.errorLogFile:	/var/log/xdm.log
+DisplayManager.pidFile:		/var/run/xdm.pid
+DisplayManager.keyFile:		/etc/X11/xdm/xdm-keys
+DisplayManager.servers:		/etc/X11/xdm/Xservers
+DisplayManager.accessFile:	/etc/X11/xdm/Xaccess
+DisplayManager.willing:		su nobody -s /bin/sh -c /etc/X11/xdm/Xwilling
+
+DisplayManager*authorize:	true
+
+DisplayManager._0.setup:	/etc/X11/xdm/archlinux/Xsetup
+DisplayManager._0.startup:	/etc/X11/xdm/archlinux/Xstartup
+DisplayManager._0.reset:	/etc/X11/xdm/TakeConsole
+
+DisplayManager*chooser:		/usr/lib/X11/xdm/chooser
+DisplayManager*resources:	/etc/X11/xdm/archlinux/Xresources
+DisplayManager*session:		/etc/X11/xdm/Xsession
+DisplayManager*authComplain:	true
+DisplayManager*startup:		/etc/X11/xdm/archlinux/Xstartup
+DisplayManager*reset:		/etc/X11/xdm/Xreset
+DisplayManager*loginmoveInterval:	10
+
+DisplayManager.requestPort:	0


More information about the arch-commits mailing list