lxdm.paketlendi
This commit is contained in:
parent
4b84598b50
commit
534cc5da00
|
@ -0,0 +1,20 @@
|
|||
--- a/data/lxdm.conf.in 2015-10-18 19:22:46.386331477 -0200
|
||||
+++ b/data/lxdm.conf.in 2015-10-18 19:33:38.514873184 -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
|
|
@ -0,0 +1,26 @@
|
|||
--- a/data/lxdm.in 2015-10-18 19:22:46.386331477 -0200
|
||||
+++ b/data/lxdm.in 2015-10-18 19:28:46.354787701 -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
|
|
@ -1,3 +1,3 @@
|
|||
. /lib/lsb/init-functions
|
||||
sed -i "s/^id:[3-5]/id:5/" /etc/inittab
|
||||
echo "Init default set to 5 in the ${WARNING}/etc/inittab ${NORMAL}file"
|
||||
echo "Init default set to 5 in the /etc/inittab file"
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#%PAM-1.0
|
||||
auth required pam_unix.so
|
||||
auth requisite pam_nologin.so
|
||||
account required pam_unix.so
|
||||
password required pam_unix.so
|
||||
session required pam_unix.so
|
|
@ -7,21 +7,34 @@ name=lxdm
|
|||
version=0.5.3
|
||||
release=1
|
||||
source=(http://sourceforge.net/projects/lxde/files/${name}/${name}%20${version}/${name}-${version}.tar.xz
|
||||
http://downloads.sourceforge.net/project/lxdm-init-script/lxdm-init-script-0.0.1.tar.gz)
|
||||
http://downloads.sourceforge.net/project/lxdm-init-script/lxdm-init-script-0.0.1.tar.gz
|
||||
http://dl.dropbox.com/u/4813005/lxdm/lxdm-themes.tar.gz
|
||||
lxdm.in.patch
|
||||
lxdm.conf.in.patch
|
||||
lxdm.pam)
|
||||
|
||||
build() {
|
||||
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr \
|
||||
--with-pam \
|
||||
--disable-gtk3 \
|
||||
--with-systemdsystemunitdir=no \
|
||||
--sysconfdir=/etc
|
||||
|
||||
patch -Np1 < ../lxdm.in.patch
|
||||
patch -Np1 < ../lxdm.conf.in.patch
|
||||
|
||||
|
||||
./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc \
|
||||
--libexecdir=/usr/lib/lxdm --localstatedir=/var --with-systemdsystemunitdir=no &&
|
||||
make
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
cp ../lxdm.pam $PKG/etc/pam.d/lxdm
|
||||
mkdir $PKG/etc/rc.d
|
||||
install -m 755 $SRC/lxdm-init-script/lxdm $PKG/etc/rc.d/$name
|
||||
rm -r $PKG/usr/share/lxdm/themes
|
||||
mkdir $PKG/etc/rc.d/init.d
|
||||
install -m 755 $SRC/lxdm-init-script/lxdm $PKG/etc/rc.d/init.d/$name
|
||||
|
||||
install -dm 755 ${PKG}/var/lib/lxdm
|
||||
echo 'GDK_CORE_DEVICE_EVENTS=true' > "$PKG"/var/lib/lxdm/.pam_environment
|
||||
|
||||
cp -r ${SRC}/lxdm-themes/* ${PKG}/usr/share/lxdm/themes
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue