summaryrefslogtreecommitdiffstats
path: root/lxdm
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /lxdm
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'lxdm')
-rw-r--r--lxdm/.footprint.i68645
-rw-r--r--lxdm/.footprint.x86_6445
-rw-r--r--lxdm/.md5sum.i6865
-rw-r--r--lxdm/.md5sum.x86_645
-rw-r--r--lxdm/Pkgfile37
-rw-r--r--lxdm/lxdm-Xsession.patch14
-rw-r--r--lxdm/lxdm-pam.patch8
-rw-r--r--lxdm/lxdm.patch26
8 files changed, 185 insertions, 0 deletions
diff --git a/lxdm/.footprint.i686 b/lxdm/.footprint.i686
new file mode 100644
index 000000000..eda188b4e
--- /dev/null
+++ b/lxdm/.footprint.i686
@@ -0,0 +1,45 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/lxdm/
+-rwxr-xr-x root/root etc/lxdm/LoginReady
+-rwxr-xr-x root/root etc/lxdm/PostLogin
+-rwxr-xr-x root/root etc/lxdm/PostLogout
+-rwxr-xr-x root/root etc/lxdm/PreLogin
+-rwxr-xr-x root/root etc/lxdm/PreReboot
+-rwxr-xr-x root/root etc/lxdm/PreShutdown
+-rwxr-xr-x root/root etc/lxdm/Xsession
+-rw-r----- root/root etc/lxdm/lxdm.conf
+drwxr-xr-x root/root etc/pam.d/
+-rw-r--r-- root/root etc/pam.d/lxdm
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/lxdm/
+-rwxr-xr-x root/root usr/lib/lxdm/lxdm-greeter-gdk
+-rwxr-xr-x root/root usr/lib/lxdm/lxdm-greeter-gtk
+-rwxr-xr-x root/root usr/lib/lxdm/lxdm-numlock
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/lxdm
+-rwxr-xr-x root/root usr/sbin/lxdm-binary
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/backgrounds/
+-rw-r--r-- root/root usr/share/backgrounds/default.png
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/lxdm.mo
+drwxr-xr-x root/root usr/share/lxdm/
+-rw-r--r-- root/root usr/share/lxdm/lxdm.glade
+drwxr-xr-x root/root usr/share/lxdm/themes/
+drwxr-xr-x root/root usr/share/lxdm/themes/Industrial/
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/greeter.ui
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/gtkrc
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/index.theme
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/lang.png
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/login.png
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/session.png
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/shade.png
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/wave.svg
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/lxdm/
+drwxr-xr-x root/root var/run/
+drwxr-xr-x root/root var/run/lxdm/
diff --git a/lxdm/.footprint.x86_64 b/lxdm/.footprint.x86_64
new file mode 100644
index 000000000..eda188b4e
--- /dev/null
+++ b/lxdm/.footprint.x86_64
@@ -0,0 +1,45 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/lxdm/
+-rwxr-xr-x root/root etc/lxdm/LoginReady
+-rwxr-xr-x root/root etc/lxdm/PostLogin
+-rwxr-xr-x root/root etc/lxdm/PostLogout
+-rwxr-xr-x root/root etc/lxdm/PreLogin
+-rwxr-xr-x root/root etc/lxdm/PreReboot
+-rwxr-xr-x root/root etc/lxdm/PreShutdown
+-rwxr-xr-x root/root etc/lxdm/Xsession
+-rw-r----- root/root etc/lxdm/lxdm.conf
+drwxr-xr-x root/root etc/pam.d/
+-rw-r--r-- root/root etc/pam.d/lxdm
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/lxdm/
+-rwxr-xr-x root/root usr/lib/lxdm/lxdm-greeter-gdk
+-rwxr-xr-x root/root usr/lib/lxdm/lxdm-greeter-gtk
+-rwxr-xr-x root/root usr/lib/lxdm/lxdm-numlock
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/lxdm
+-rwxr-xr-x root/root usr/sbin/lxdm-binary
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/backgrounds/
+-rw-r--r-- root/root usr/share/backgrounds/default.png
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/lxdm.mo
+drwxr-xr-x root/root usr/share/lxdm/
+-rw-r--r-- root/root usr/share/lxdm/lxdm.glade
+drwxr-xr-x root/root usr/share/lxdm/themes/
+drwxr-xr-x root/root usr/share/lxdm/themes/Industrial/
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/greeter.ui
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/gtkrc
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/index.theme
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/lang.png
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/login.png
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/session.png
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/shade.png
+-rw-r--r-- root/root usr/share/lxdm/themes/Industrial/wave.svg
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/lxdm/
+drwxr-xr-x root/root var/run/
+drwxr-xr-x root/root var/run/lxdm/
diff --git a/lxdm/.md5sum.i686 b/lxdm/.md5sum.i686
new file mode 100644
index 000000000..64f2406f6
--- /dev/null
+++ b/lxdm/.md5sum.i686
@@ -0,0 +1,5 @@
+1d0688e088edab7c3c563263eb2f9654 lxdm-0.3.0.tar.gz
+9bdf95adb74d81d4b6b6176fb1142090 lxdm-Xsession.patch
+b20fe3c8487a039050986d60e45233a9 lxdm-pam.patch
+baed9055e8825a5511712bc095197519 lxdm.patch
+5d32f3f7124242c50384d0f785495af3 pakxe-01.xcf.png
diff --git a/lxdm/.md5sum.x86_64 b/lxdm/.md5sum.x86_64
new file mode 100644
index 000000000..64f2406f6
--- /dev/null
+++ b/lxdm/.md5sum.x86_64
@@ -0,0 +1,5 @@
+1d0688e088edab7c3c563263eb2f9654 lxdm-0.3.0.tar.gz
+9bdf95adb74d81d4b6b6176fb1142090 lxdm-Xsession.patch
+b20fe3c8487a039050986d60e45233a9 lxdm-pam.patch
+baed9055e8825a5511712bc095197519 lxdm.patch
+5d32f3f7124242c50384d0f785495af3 pakxe-01.xcf.png
diff --git a/lxdm/Pkgfile b/lxdm/Pkgfile
new file mode 100644
index 000000000..ae33142d0
--- /dev/null
+++ b/lxdm/Pkgfile
@@ -0,0 +1,37 @@
+# Description: Display manager leger (partie de lxde)
+# URL: http://sourceforge.net/projects/lxdm/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: xorg-libxinerama, xorg-libxrandr, xorg-libxcursor, xorg-libxdamage, gtk, consolekit
+# Run on: gtk,consolekit
+
+name=lxdm
+version=0.3.0
+release=3
+source=(http://downloads.sourceforge.net/project/lxdm/lxdm%20${version}/$name-$version.tar.gz
+ lxdm-Xsession.patch lxdm.patch lxdm-pam.patch \
+ http://nutyx.meticul.eu/files/patchs/xfdesktop/pakxe-01.xcf.png)
+
+build() {
+ cd $name-$version
+ ./configure --sysconfdir=/etc \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/lxdm
+ make
+
+ patch -Np0 < ../lxdm.patch
+ patch -Np0 < ../lxdm-Xsession.patch
+
+ make DESTDIR=$PKG install
+
+ install -m644 $SRC/lxdm-pam.patch $PKG/etc/pam.d/lxdm
+
+ mkdir -p $PKG/var/run/lxdm
+ mkdir -p $PKG/var/lib/lxdm
+
+ sed -i -e "s/libexec/lib\/lxdm/" $PKG/etc/lxdm/lxdm.conf
+ mkdir -p $PKG/usr/share/backgrounds
+ install -m644 $SRC/pakxe-01.xcf.png \
+ $PKG//usr/share/backgrounds/default.png
+}
+
diff --git a/lxdm/lxdm-Xsession.patch b/lxdm/lxdm-Xsession.patch
new file mode 100644
index 000000000..a9ba63233
--- /dev/null
+++ b/lxdm/lxdm-Xsession.patch
@@ -0,0 +1,14 @@
+--- data/Xsession.orig 2010-01-31 20:48:08.695677408 -0200
++++ data/Xsession 2010-01-31 20:47:48.260223292 -0200
+@@ -2,6 +2,11 @@
+
+ # use bash for "exec -l", howto run login shell by /bin/sh ?
+
++[[ -f /etc/profile ]] && . /etc/profile
++[[ -f "$HOME/.profile" ]] && . "$HOME/.profile"
++[[ -f /etc/xprofile ]] && . /etc/xprofile
++[[ -f "$HOME/.xprofile" ]] && . "$HOME/.xprofile"
++
+ if [ $# -eq 1 -a -n "$1" ]; then
+ LXSESSION=$1
+ else
diff --git a/lxdm/lxdm-pam.patch b/lxdm/lxdm-pam.patch
new file mode 100644
index 000000000..3f5df04a7
--- /dev/null
+++ b/lxdm/lxdm-pam.patch
@@ -0,0 +1,8 @@
+#%PAM-1.0
+auth requisite pam_nologin.so
+auth required pam_env.so
+auth required pam_unix.so
+account required pam_unix.so
+session required pam_limits.so
+session required pam_unix.so
+password required pam_unix.so
diff --git a/lxdm/lxdm.patch b/lxdm/lxdm.patch
new file mode 100644
index 000000000..a703a386d
--- /dev/null
+++ b/lxdm/lxdm.patch
@@ -0,0 +1,26 @@
+--- data/lxdm.orig 2010-01-24 16:58:42.262866825 -0200
++++ data/lxdm 2010-01-19 11:56:34.308668692 -0200
+@@ -1,21 +1,13 @@
+ #!/bin/sh
+
+-[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
+-
+-if [ -z "$LANG" -a -e /etc/sysconfig/language ]; then
+- . /etc/sysconfig/language
+- if [ -n "$RC_LANG"]; then
+- LANG=$RC_LANG
+- fi
++if [ -r /etc/profile.d/locale.sh ]; then
++ . /etc/profile.d/locale.sh
+ fi
+
+ if [ -n "$LANG" ]; then
+ export LANG
+ fi
+
+-[ -f /etc/sysconfig/desktop ] && . /etc/sysconfig/desktop
+-[ -f /etc/sysconfig/windowmanager ] && . /etc/sysconfig/windowmanager
+-
+ if [ -n "$DEFAULT_WM" ]; then
+ PREFERRED=$DEFAULT_WM
+ fi