[arch-commits] Commit in lxdm/repos (20 files)
Balló György
bgyorgy at archlinux.org
Sat Nov 22 03:20:49 UTC 2014
Date: Saturday, November 22, 2014 @ 04:20:49
Author: bgyorgy
Revision: 122899
archrelease: copy trunk to community-i686, community-x86_64
Added:
lxdm/repos/community-i686/PKGBUILD
(from rev 122898, lxdm/trunk/PKGBUILD)
lxdm/repos/community-i686/Xsession
(from rev 122898, lxdm/trunk/Xsession)
lxdm/repos/community-i686/default-config.patch
(from rev 122898, lxdm/trunk/default-config.patch)
lxdm/repos/community-i686/lxdm.install
(from rev 122898, lxdm/trunk/lxdm.install)
lxdm/repos/community-i686/lxdm.pam
(from rev 122898, lxdm/trunk/lxdm.pam)
lxdm/repos/community-x86_64/PKGBUILD
(from rev 122898, lxdm/trunk/PKGBUILD)
lxdm/repos/community-x86_64/Xsession
(from rev 122898, lxdm/trunk/Xsession)
lxdm/repos/community-x86_64/default-config.patch
(from rev 122898, lxdm/trunk/default-config.patch)
lxdm/repos/community-x86_64/lxdm.install
(from rev 122898, lxdm/trunk/lxdm.install)
lxdm/repos/community-x86_64/lxdm.pam
(from rev 122898, lxdm/trunk/lxdm.pam)
Deleted:
lxdm/repos/community-i686/PKGBUILD
lxdm/repos/community-i686/Xsession
lxdm/repos/community-i686/default-config.patch
lxdm/repos/community-i686/lxdm.install
lxdm/repos/community-i686/lxdm.pam
lxdm/repos/community-x86_64/PKGBUILD
lxdm/repos/community-x86_64/Xsession
lxdm/repos/community-x86_64/default-config.patch
lxdm/repos/community-x86_64/lxdm.install
lxdm/repos/community-x86_64/lxdm.pam
---------------------------------------+
/PKGBUILD | 126 +++++++++++++++++++++++++++++++
/Xsession | 128 ++++++++++++++++++++++++++++++++
/default-config.patch | 42 ++++++++++
/lxdm.install | 34 ++++++++
/lxdm.pam | 14 +++
community-i686/PKGBUILD | 61 ---------------
community-i686/Xsession | 64 ----------------
community-i686/default-config.patch | 28 -------
community-i686/lxdm.install | 17 ----
community-i686/lxdm.pam | 7 -
community-x86_64/PKGBUILD | 61 ---------------
community-x86_64/Xsession | 64 ----------------
community-x86_64/default-config.patch | 28 -------
community-x86_64/lxdm.install | 17 ----
community-x86_64/lxdm.pam | 7 -
15 files changed, 344 insertions(+), 354 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-11-22 03:20:35 UTC (rev 122898)
+++ community-i686/PKGBUILD 2014-11-22 03:20:49 UTC (rev 122899)
@@ -1,61 +0,0 @@
-# $Id$
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: AndyRTR <andyrtr at archlinux.org>
-# Contributor: kiefer <jorgelmadrid at gmail.com>
-
-pkgname=lxdm
-pkgver=0.5.0
-pkgrel=1
-pkgdesc='Lightweight X11 Display Manager'
-arch=('i686' 'x86_64')
-url="https://sourceforge.net/projects/lxdm/"
-license=('GPL')
-groups=('lxde')
-depends=('gtk2' 'xorg-server')
-makedepends=('intltool' 'iso-codes')
-optdepends=('gtk-engines: default GTK+ theme'
- 'librsvg: display the default background')
-install=$pkgname.install
-backup=('etc/lxdm/lxdm.conf' 'etc/pam.d/lxdm' 'etc/lxdm/Xsession'
- 'etc/lxdm/PreLogin' 'etc/lxdm/LoginReady' 'etc/lxdm/PostLogin'
- 'etc/lxdm/PostLogout' 'etc/lxdm/PreReboot' 'etc/lxdm/PreShutdown')
-source=(http://downloads.sourceforge.net/lxdm/$pkgname-$pkgver.tar.xz
- default-config.patch
- lxdm.pam
- Xsession)
-md5sums=('a51686720e606ca456d7f56ae4159d1f'
- '2ba18992efef43f84061717f0550e4b6'
- 'c941ef896248bc7c03901b513490425c'
- 'd9c8f8c9e6de52dbc389696454c8f572')
-
-prepare(){
- cd "$srcdir/$pkgname-$pkgver"
-
- # Adjust Arch-specific settings
- patch -Np1 -i ../default-config.patch
-
- # Use our custom pam and Xsession files
- cp ../lxdm.pam pam/lxdm
- cp ../Xsession data/Xsession
-
- # Support for pulseaudio
- echo 'test -x /usr/bin/pax11publish && /usr/bin/pax11publish -r' >>data/PostLogout.in
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --sbindir=/usr/bin --libexecdir=/usr/lib/lxdm \
- --sysconfdir=/etc --localstatedir=/var
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- chmod 644 "$pkgdir/etc/lxdm/lxdm.conf"
-
- # Home directory
- install -dm 755 "$pkgdir/var/lib/lxdm"
- echo 'GDK_CORE_DEVICE_EVENTS=true' > "$pkgdir"/var/lib/lxdm/.pam_environment
- chown -R 121:121 "$pkgdir/var/lib/lxdm"
-}
Copied: lxdm/repos/community-i686/PKGBUILD (from rev 122898, lxdm/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-11-22 03:20:49 UTC (rev 122899)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: AndyRTR <andyrtr at archlinux.org>
+# Contributor: kiefer <jorgelmadrid at gmail.com>
+
+pkgname=lxdm
+pkgver=0.5.0
+pkgrel=2
+pkgdesc='Lightweight X11 Display Manager'
+arch=('i686' 'x86_64')
+url="https://sourceforge.net/projects/lxdm/"
+license=('GPL')
+groups=('lxde')
+depends=('gtk2' 'xorg-server')
+makedepends=('intltool' 'iso-codes')
+optdepends=('gtk-engines: default GTK+ theme'
+ 'iso-codes: show language names in language chooser'
+ 'librsvg: display the default background')
+install=$pkgname.install
+backup=('etc/lxdm/lxdm.conf' 'etc/pam.d/lxdm' 'etc/lxdm/Xsession'
+ 'etc/lxdm/PreLogin' 'etc/lxdm/LoginReady' 'etc/lxdm/PostLogin'
+ 'etc/lxdm/PostLogout' 'etc/lxdm/PreReboot' 'etc/lxdm/PreShutdown')
+source=(http://downloads.sourceforge.net/lxdm/$pkgname-$pkgver.tar.xz
+ default-config.patch
+ lxdm.pam
+ Xsession)
+md5sums=('a51686720e606ca456d7f56ae4159d1f'
+ 'f0ae6c072f151104c53a030fd7757821'
+ 'c941ef896248bc7c03901b513490425c'
+ 'd9c8f8c9e6de52dbc389696454c8f572')
+
+prepare(){
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Adjust Arch-specific settings
+ patch -Np1 -i ../default-config.patch
+
+ # Use our custom pam and Xsession files
+ cp ../lxdm.pam pam/lxdm
+ cp ../Xsession data/Xsession
+
+ # Support for pulseaudio
+ echo 'test -x /usr/bin/pax11publish && /usr/bin/pax11publish -r' >>data/PostLogout.in
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --sbindir=/usr/bin --libexecdir=/usr/lib/lxdm \
+ --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ chmod 644 "$pkgdir/etc/lxdm/lxdm.conf"
+
+ # Home directory
+ install -dm 755 "$pkgdir/var/lib/lxdm"
+ echo 'GDK_CORE_DEVICE_EVENTS=true' > "$pkgdir"/var/lib/lxdm/.pam_environment
+ chown -R 121:121 "$pkgdir/var/lib/lxdm"
+}
Deleted: community-i686/Xsession
===================================================================
--- community-i686/Xsession 2014-11-22 03:20:35 UTC (rev 122898)
+++ community-i686/Xsession 2014-11-22 03:20:49 UTC (rev 122899)
@@ -1,64 +0,0 @@
-#!/bin/sh
-#
-# LXDM wrapper to run around X sessions.
-
-echo "Running X session wrapper"
-
-if [ $# -eq 1 -a -n "$1" ]; then
- LXSESSION=$1
-else
-# default session
- LXSESSION=/usr/bin/startlxde
-fi
-
-# Load profile
-for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do
- if [ -f "$file" ]; then
- echo "Loading profile from $file";
- . "$file"
- fi
-done
-
-# Load resources
-for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do
- if [ -f "$file" ]; then
- echo "Loading resource: $file"
- xrdb -nocpp -merge "$file"
- fi
-done
-
-# Load keymaps
-for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do
- if [ -f "$file" ]; then
- echo "Loading keymap: $file"
- setxkbmap `cat "$file"`
- XKB_IN_USE=yes
- fi
-done
-
-# Load xmodmap if not using XKB
-if [ -z "$XKB_IN_USE" ]; then
- for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do
- if [ -f "$file" ]; then
- echo "Loading modmap: $file"
- xmodmap "$file"
- fi
- done
-fi
-
-unset XKB_IN_USE
-
-# Run all system xinitrc shell scripts.
-xinitdir="/etc/X11/xinit/xinitrc.d"
-if [ -d "$xinitdir" ]; then
- for script in $xinitdir/*; do
- echo "Loading xinit script $script"
- if [ -x "$script" -a ! -d "$script" ]; then
- . "$script"
- fi
- done
-fi
-
-echo "X session wrapper complete, running session $LXSESSION"
-
-exec $LXSESSION
Copied: lxdm/repos/community-i686/Xsession (from rev 122898, lxdm/trunk/Xsession)
===================================================================
--- community-i686/Xsession (rev 0)
+++ community-i686/Xsession 2014-11-22 03:20:49 UTC (rev 122899)
@@ -0,0 +1,64 @@
+#!/bin/sh
+#
+# LXDM wrapper to run around X sessions.
+
+echo "Running X session wrapper"
+
+if [ $# -eq 1 -a -n "$1" ]; then
+ LXSESSION=$1
+else
+# default session
+ LXSESSION=/usr/bin/startlxde
+fi
+
+# Load profile
+for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do
+ if [ -f "$file" ]; then
+ echo "Loading profile from $file";
+ . "$file"
+ fi
+done
+
+# Load resources
+for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do
+ if [ -f "$file" ]; then
+ echo "Loading resource: $file"
+ xrdb -nocpp -merge "$file"
+ fi
+done
+
+# Load keymaps
+for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do
+ if [ -f "$file" ]; then
+ echo "Loading keymap: $file"
+ setxkbmap `cat "$file"`
+ XKB_IN_USE=yes
+ fi
+done
+
+# Load xmodmap if not using XKB
+if [ -z "$XKB_IN_USE" ]; then
+ for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do
+ if [ -f "$file" ]; then
+ echo "Loading modmap: $file"
+ xmodmap "$file"
+ fi
+ done
+fi
+
+unset XKB_IN_USE
+
+# Run all system xinitrc shell scripts.
+xinitdir="/etc/X11/xinit/xinitrc.d"
+if [ -d "$xinitdir" ]; then
+ for script in $xinitdir/*; do
+ echo "Loading xinit script $script"
+ if [ -x "$script" -a ! -d "$script" ]; then
+ . "$script"
+ fi
+ done
+fi
+
+echo "X session wrapper complete, running session $LXSESSION"
+
+exec $LXSESSION
Deleted: community-i686/default-config.patch
===================================================================
--- community-i686/default-config.patch 2014-11-22 03:20:35 UTC (rev 122898)
+++ community-i686/default-config.patch 2014-11-22 03:20:49 UTC (rev 122899)
@@ -1,28 +0,0 @@
-diff -Naur lxdm.orig/data/lxdm.conf.in lxdm/data/lxdm.conf.in
---- lxdm.orig/data/lxdm.conf.in 2013-08-30 17:56:16.097006000 +0200
-+++ lxdm/data/lxdm.conf.in 2013-09-04 01:54:12.942117085 +0200
-@@ -23,7 +23,7 @@
-
- [server]
- ## arg used to start xserver, not fully function
--# arg=/usr/bin/X -background vt1
-+arg=/usr/bin/X -background vt1
- # uncomment this if you really want xserver listen to tcp
- # tcp_listen=1
- # uncoment this if you want reset the xserver after logou
-@@ -34,13 +34,13 @@
- gtk_theme=Clearlooks
-
- ## background of the greeter
--bg=/usr/share/backgrounds/default.png
-+# bg=/usr/share/backgrounds/default.png
-
- ## if show bottom pane
- bottom_pane=1
-
- ## if show language select control
--lang=1
-+lang=0
-
- ## if show keyboard layout select control
- keyboard=0
Copied: lxdm/repos/community-i686/default-config.patch (from rev 122898, lxdm/trunk/default-config.patch)
===================================================================
--- community-i686/default-config.patch (rev 0)
+++ community-i686/default-config.patch 2014-11-22 03:20:49 UTC (rev 122899)
@@ -0,0 +1,21 @@
+diff -Naur lxdm.orig/data/lxdm.conf.in lxdm/data/lxdm.conf.in
+--- lxdm.orig/data/lxdm.conf.in 2013-08-30 17:56:16.097006000 +0200
++++ lxdm/data/lxdm.conf.in 2013-09-04 01:54:12.942117085 +0200
+@@ -23,7 +23,7 @@
+
+ [server]
+ ## arg used to start xserver, not fully function
+-# arg=/usr/bin/X -background vt1
++arg=/usr/bin/X -background vt1
+ # uncomment this if you really want xserver listen to tcp
+ # tcp_listen=1
+ # uncoment this if you want reset the xserver after logou
+@@ -34,7 +34,7 @@
+ gtk_theme=Clearlooks
+
+ ## background of the greeter
+-bg=/usr/share/backgrounds/default.png
++# bg=/usr/share/backgrounds/default.png
+
+ ## if show bottom pane
+ bottom_pane=1
Deleted: community-i686/lxdm.install
===================================================================
--- community-i686/lxdm.install 2014-11-22 03:20:35 UTC (rev 122898)
+++ community-i686/lxdm.install 2014-11-22 03:20:49 UTC (rev 122899)
@@ -1,17 +0,0 @@
-post_install() {
- getent group lxdm > /dev/null 2>&1 && \
- groupmod -g 121 lxdm > /dev/null 2>&1 || \
- groupadd -g 121 lxdm
- getent passwd lxdm > /dev/null 2>&1 && \
- usermod -c 'Lightweight X11 Display Manager' -u 121 -g 121 -d /var/lib/lxdm -s /sbin/nologin lxdm > /dev/null 2>&1 || \
- useradd -c 'Lightweight X11 Display Manager' -u 121 -g 121 -d /var/lib/lxdm -s /sbin/nologin lxdm
- passwd -l lxdm > /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- getent passwd lxdm > /dev/null 2>&1 && userdel lxdm
-}
Copied: lxdm/repos/community-i686/lxdm.install (from rev 122898, lxdm/trunk/lxdm.install)
===================================================================
--- community-i686/lxdm.install (rev 0)
+++ community-i686/lxdm.install 2014-11-22 03:20:49 UTC (rev 122899)
@@ -0,0 +1,17 @@
+post_install() {
+ getent group lxdm > /dev/null 2>&1 && \
+ groupmod -g 121 lxdm > /dev/null 2>&1 || \
+ groupadd -g 121 lxdm
+ getent passwd lxdm > /dev/null 2>&1 && \
+ usermod -c 'Lightweight X11 Display Manager' -u 121 -g 121 -d /var/lib/lxdm -s /sbin/nologin lxdm > /dev/null 2>&1 || \
+ useradd -c 'Lightweight X11 Display Manager' -u 121 -g 121 -d /var/lib/lxdm -s /sbin/nologin lxdm
+ passwd -l lxdm > /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ getent passwd lxdm > /dev/null 2>&1 && userdel lxdm
+}
Deleted: community-i686/lxdm.pam
===================================================================
--- community-i686/lxdm.pam 2014-11-22 03:20:35 UTC (rev 122898)
+++ community-i686/lxdm.pam 2014-11-22 03:20:49 UTC (rev 122899)
@@ -1,7 +0,0 @@
-#%PAM-1.0
-auth include system-login
--auth optional pam_gnome_keyring.so
-account include system-login
-password include system-login
-session include system-login
--session optional pam_gnome_keyring.so auto_start
Copied: lxdm/repos/community-i686/lxdm.pam (from rev 122898, lxdm/trunk/lxdm.pam)
===================================================================
--- community-i686/lxdm.pam (rev 0)
+++ community-i686/lxdm.pam 2014-11-22 03:20:49 UTC (rev 122899)
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth include system-login
+-auth optional pam_gnome_keyring.so
+account include system-login
+password include system-login
+session include system-login
+-session optional pam_gnome_keyring.so auto_start
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-11-22 03:20:35 UTC (rev 122898)
+++ community-x86_64/PKGBUILD 2014-11-22 03:20:49 UTC (rev 122899)
@@ -1,61 +0,0 @@
-# $Id$
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: AndyRTR <andyrtr at archlinux.org>
-# Contributor: kiefer <jorgelmadrid at gmail.com>
-
-pkgname=lxdm
-pkgver=0.5.0
-pkgrel=1
-pkgdesc='Lightweight X11 Display Manager'
-arch=('i686' 'x86_64')
-url="https://sourceforge.net/projects/lxdm/"
-license=('GPL')
-groups=('lxde')
-depends=('gtk2' 'xorg-server')
-makedepends=('intltool' 'iso-codes')
-optdepends=('gtk-engines: default GTK+ theme'
- 'librsvg: display the default background')
-install=$pkgname.install
-backup=('etc/lxdm/lxdm.conf' 'etc/pam.d/lxdm' 'etc/lxdm/Xsession'
- 'etc/lxdm/PreLogin' 'etc/lxdm/LoginReady' 'etc/lxdm/PostLogin'
- 'etc/lxdm/PostLogout' 'etc/lxdm/PreReboot' 'etc/lxdm/PreShutdown')
-source=(http://downloads.sourceforge.net/lxdm/$pkgname-$pkgver.tar.xz
- default-config.patch
- lxdm.pam
- Xsession)
-md5sums=('a51686720e606ca456d7f56ae4159d1f'
- '2ba18992efef43f84061717f0550e4b6'
- 'c941ef896248bc7c03901b513490425c'
- 'd9c8f8c9e6de52dbc389696454c8f572')
-
-prepare(){
- cd "$srcdir/$pkgname-$pkgver"
-
- # Adjust Arch-specific settings
- patch -Np1 -i ../default-config.patch
-
- # Use our custom pam and Xsession files
- cp ../lxdm.pam pam/lxdm
- cp ../Xsession data/Xsession
-
- # Support for pulseaudio
- echo 'test -x /usr/bin/pax11publish && /usr/bin/pax11publish -r' >>data/PostLogout.in
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --sbindir=/usr/bin --libexecdir=/usr/lib/lxdm \
- --sysconfdir=/etc --localstatedir=/var
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- chmod 644 "$pkgdir/etc/lxdm/lxdm.conf"
-
- # Home directory
- install -dm 755 "$pkgdir/var/lib/lxdm"
- echo 'GDK_CORE_DEVICE_EVENTS=true' > "$pkgdir"/var/lib/lxdm/.pam_environment
- chown -R 121:121 "$pkgdir/var/lib/lxdm"
-}
Copied: lxdm/repos/community-x86_64/PKGBUILD (from rev 122898, lxdm/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-11-22 03:20:49 UTC (rev 122899)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: AndyRTR <andyrtr at archlinux.org>
+# Contributor: kiefer <jorgelmadrid at gmail.com>
+
+pkgname=lxdm
+pkgver=0.5.0
+pkgrel=2
+pkgdesc='Lightweight X11 Display Manager'
+arch=('i686' 'x86_64')
+url="https://sourceforge.net/projects/lxdm/"
+license=('GPL')
+groups=('lxde')
+depends=('gtk2' 'xorg-server')
+makedepends=('intltool' 'iso-codes')
+optdepends=('gtk-engines: default GTK+ theme'
+ 'iso-codes: show language names in language chooser'
+ 'librsvg: display the default background')
+install=$pkgname.install
+backup=('etc/lxdm/lxdm.conf' 'etc/pam.d/lxdm' 'etc/lxdm/Xsession'
+ 'etc/lxdm/PreLogin' 'etc/lxdm/LoginReady' 'etc/lxdm/PostLogin'
+ 'etc/lxdm/PostLogout' 'etc/lxdm/PreReboot' 'etc/lxdm/PreShutdown')
+source=(http://downloads.sourceforge.net/lxdm/$pkgname-$pkgver.tar.xz
+ default-config.patch
+ lxdm.pam
+ Xsession)
+md5sums=('a51686720e606ca456d7f56ae4159d1f'
+ 'f0ae6c072f151104c53a030fd7757821'
+ 'c941ef896248bc7c03901b513490425c'
+ 'd9c8f8c9e6de52dbc389696454c8f572')
+
+prepare(){
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Adjust Arch-specific settings
+ patch -Np1 -i ../default-config.patch
+
+ # Use our custom pam and Xsession files
+ cp ../lxdm.pam pam/lxdm
+ cp ../Xsession data/Xsession
+
+ # Support for pulseaudio
+ echo 'test -x /usr/bin/pax11publish && /usr/bin/pax11publish -r' >>data/PostLogout.in
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --sbindir=/usr/bin --libexecdir=/usr/lib/lxdm \
+ --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ chmod 644 "$pkgdir/etc/lxdm/lxdm.conf"
+
+ # Home directory
+ install -dm 755 "$pkgdir/var/lib/lxdm"
+ echo 'GDK_CORE_DEVICE_EVENTS=true' > "$pkgdir"/var/lib/lxdm/.pam_environment
+ chown -R 121:121 "$pkgdir/var/lib/lxdm"
+}
Deleted: community-x86_64/Xsession
===================================================================
--- community-x86_64/Xsession 2014-11-22 03:20:35 UTC (rev 122898)
+++ community-x86_64/Xsession 2014-11-22 03:20:49 UTC (rev 122899)
@@ -1,64 +0,0 @@
-#!/bin/sh
-#
-# LXDM wrapper to run around X sessions.
-
-echo "Running X session wrapper"
-
-if [ $# -eq 1 -a -n "$1" ]; then
- LXSESSION=$1
-else
-# default session
- LXSESSION=/usr/bin/startlxde
-fi
-
-# Load profile
-for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do
- if [ -f "$file" ]; then
- echo "Loading profile from $file";
- . "$file"
- fi
-done
-
-# Load resources
-for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do
- if [ -f "$file" ]; then
- echo "Loading resource: $file"
- xrdb -nocpp -merge "$file"
- fi
-done
-
-# Load keymaps
-for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do
- if [ -f "$file" ]; then
- echo "Loading keymap: $file"
- setxkbmap `cat "$file"`
- XKB_IN_USE=yes
- fi
-done
-
-# Load xmodmap if not using XKB
-if [ -z "$XKB_IN_USE" ]; then
- for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do
- if [ -f "$file" ]; then
- echo "Loading modmap: $file"
- xmodmap "$file"
- fi
- done
-fi
-
-unset XKB_IN_USE
-
-# Run all system xinitrc shell scripts.
-xinitdir="/etc/X11/xinit/xinitrc.d"
-if [ -d "$xinitdir" ]; then
- for script in $xinitdir/*; do
- echo "Loading xinit script $script"
- if [ -x "$script" -a ! -d "$script" ]; then
- . "$script"
- fi
- done
-fi
-
-echo "X session wrapper complete, running session $LXSESSION"
-
-exec $LXSESSION
Copied: lxdm/repos/community-x86_64/Xsession (from rev 122898, lxdm/trunk/Xsession)
===================================================================
--- community-x86_64/Xsession (rev 0)
+++ community-x86_64/Xsession 2014-11-22 03:20:49 UTC (rev 122899)
@@ -0,0 +1,64 @@
+#!/bin/sh
+#
+# LXDM wrapper to run around X sessions.
+
+echo "Running X session wrapper"
+
+if [ $# -eq 1 -a -n "$1" ]; then
+ LXSESSION=$1
+else
+# default session
+ LXSESSION=/usr/bin/startlxde
+fi
+
+# Load profile
+for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do
+ if [ -f "$file" ]; then
+ echo "Loading profile from $file";
+ . "$file"
+ fi
+done
+
+# Load resources
+for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do
+ if [ -f "$file" ]; then
+ echo "Loading resource: $file"
+ xrdb -nocpp -merge "$file"
+ fi
+done
+
+# Load keymaps
+for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do
+ if [ -f "$file" ]; then
+ echo "Loading keymap: $file"
+ setxkbmap `cat "$file"`
+ XKB_IN_USE=yes
+ fi
+done
+
+# Load xmodmap if not using XKB
+if [ -z "$XKB_IN_USE" ]; then
+ for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do
+ if [ -f "$file" ]; then
+ echo "Loading modmap: $file"
+ xmodmap "$file"
+ fi
+ done
+fi
+
+unset XKB_IN_USE
+
+# Run all system xinitrc shell scripts.
+xinitdir="/etc/X11/xinit/xinitrc.d"
+if [ -d "$xinitdir" ]; then
+ for script in $xinitdir/*; do
+ echo "Loading xinit script $script"
+ if [ -x "$script" -a ! -d "$script" ]; then
+ . "$script"
+ fi
+ done
+fi
+
+echo "X session wrapper complete, running session $LXSESSION"
+
+exec $LXSESSION
Deleted: community-x86_64/default-config.patch
===================================================================
--- community-x86_64/default-config.patch 2014-11-22 03:20:35 UTC (rev 122898)
+++ community-x86_64/default-config.patch 2014-11-22 03:20:49 UTC (rev 122899)
@@ -1,28 +0,0 @@
-diff -Naur lxdm.orig/data/lxdm.conf.in lxdm/data/lxdm.conf.in
---- lxdm.orig/data/lxdm.conf.in 2013-08-30 17:56:16.097006000 +0200
-+++ lxdm/data/lxdm.conf.in 2013-09-04 01:54:12.942117085 +0200
-@@ -23,7 +23,7 @@
-
- [server]
- ## arg used to start xserver, not fully function
--# arg=/usr/bin/X -background vt1
-+arg=/usr/bin/X -background vt1
- # uncomment this if you really want xserver listen to tcp
- # tcp_listen=1
- # uncoment this if you want reset the xserver after logou
-@@ -34,13 +34,13 @@
- gtk_theme=Clearlooks
-
- ## background of the greeter
--bg=/usr/share/backgrounds/default.png
-+# bg=/usr/share/backgrounds/default.png
-
- ## if show bottom pane
- bottom_pane=1
-
- ## if show language select control
--lang=1
-+lang=0
-
- ## if show keyboard layout select control
- keyboard=0
Copied: lxdm/repos/community-x86_64/default-config.patch (from rev 122898, lxdm/trunk/default-config.patch)
===================================================================
--- community-x86_64/default-config.patch (rev 0)
+++ community-x86_64/default-config.patch 2014-11-22 03:20:49 UTC (rev 122899)
@@ -0,0 +1,21 @@
+diff -Naur lxdm.orig/data/lxdm.conf.in lxdm/data/lxdm.conf.in
+--- lxdm.orig/data/lxdm.conf.in 2013-08-30 17:56:16.097006000 +0200
++++ lxdm/data/lxdm.conf.in 2013-09-04 01:54:12.942117085 +0200
+@@ -23,7 +23,7 @@
+
+ [server]
+ ## arg used to start xserver, not fully function
+-# arg=/usr/bin/X -background vt1
++arg=/usr/bin/X -background vt1
+ # uncomment this if you really want xserver listen to tcp
+ # tcp_listen=1
+ # uncoment this if you want reset the xserver after logou
+@@ -34,7 +34,7 @@
+ gtk_theme=Clearlooks
+
+ ## background of the greeter
+-bg=/usr/share/backgrounds/default.png
++# bg=/usr/share/backgrounds/default.png
+
+ ## if show bottom pane
+ bottom_pane=1
Deleted: community-x86_64/lxdm.install
===================================================================
--- community-x86_64/lxdm.install 2014-11-22 03:20:35 UTC (rev 122898)
+++ community-x86_64/lxdm.install 2014-11-22 03:20:49 UTC (rev 122899)
@@ -1,17 +0,0 @@
-post_install() {
- getent group lxdm > /dev/null 2>&1 && \
- groupmod -g 121 lxdm > /dev/null 2>&1 || \
- groupadd -g 121 lxdm
- getent passwd lxdm > /dev/null 2>&1 && \
- usermod -c 'Lightweight X11 Display Manager' -u 121 -g 121 -d /var/lib/lxdm -s /sbin/nologin lxdm > /dev/null 2>&1 || \
- useradd -c 'Lightweight X11 Display Manager' -u 121 -g 121 -d /var/lib/lxdm -s /sbin/nologin lxdm
- passwd -l lxdm > /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- getent passwd lxdm > /dev/null 2>&1 && userdel lxdm
-}
Copied: lxdm/repos/community-x86_64/lxdm.install (from rev 122898, lxdm/trunk/lxdm.install)
===================================================================
--- community-x86_64/lxdm.install (rev 0)
+++ community-x86_64/lxdm.install 2014-11-22 03:20:49 UTC (rev 122899)
@@ -0,0 +1,17 @@
+post_install() {
+ getent group lxdm > /dev/null 2>&1 && \
+ groupmod -g 121 lxdm > /dev/null 2>&1 || \
+ groupadd -g 121 lxdm
+ getent passwd lxdm > /dev/null 2>&1 && \
+ usermod -c 'Lightweight X11 Display Manager' -u 121 -g 121 -d /var/lib/lxdm -s /sbin/nologin lxdm > /dev/null 2>&1 || \
+ useradd -c 'Lightweight X11 Display Manager' -u 121 -g 121 -d /var/lib/lxdm -s /sbin/nologin lxdm
+ passwd -l lxdm > /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ getent passwd lxdm > /dev/null 2>&1 && userdel lxdm
+}
Deleted: community-x86_64/lxdm.pam
===================================================================
--- community-x86_64/lxdm.pam 2014-11-22 03:20:35 UTC (rev 122898)
+++ community-x86_64/lxdm.pam 2014-11-22 03:20:49 UTC (rev 122899)
@@ -1,7 +0,0 @@
-#%PAM-1.0
-auth include system-login
--auth optional pam_gnome_keyring.so
-account include system-login
-password include system-login
-session include system-login
--session optional pam_gnome_keyring.so auto_start
Copied: lxdm/repos/community-x86_64/lxdm.pam (from rev 122898, lxdm/trunk/lxdm.pam)
===================================================================
--- community-x86_64/lxdm.pam (rev 0)
+++ community-x86_64/lxdm.pam 2014-11-22 03:20:49 UTC (rev 122899)
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth include system-login
+-auth optional pam_gnome_keyring.so
+account include system-login
+password include system-login
+session include system-login
+-session optional pam_gnome_keyring.so auto_start
More information about the arch-commits
mailing list