lxdm.talimat.yenilendi
This commit is contained in:
		
							parent
							
								
									7a93b9c625
								
							
						
					
					
						commit
						a0a803b696
					
				
					 2 changed files with 19 additions and 21 deletions
				
			
		| 
						 | 
					@ -1,4 +0,0 @@
 | 
				
			||||||
. /lib/lsb/init-functions
 | 
					 | 
				
			||||||
sed -i "s/^id:[3-5]/id:5/" /etc/inittab
 | 
					 | 
				
			||||||
echo  "Init default set to 5 in the /etc/inittab file"
 | 
					 | 
				
			||||||
ln -s /etc/init.d/lxdm /etc/rc.d/rc5.d/S90lxdm
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,14 +1,15 @@
 | 
				
			||||||
# Description: A light weight session manager for linux  
 | 
					# Description: hafif linux giriş yöneticisi
 | 
				
			||||||
# URL: http://sourceforge.net/projects/lxdm/
 | 
					# URL: http://sourceforge.net/projects/lxdm/
 | 
				
			||||||
# Packager: milisarge
 | 
					# Packager: milisarge
 | 
				
			||||||
# Depends on: iso-codes librsvg xorg-libxinerama xorg-libxrandr xorg-libxcursor xorg-libxdamage gtk2 consolekit2
 | 
					# Depends on: iso-codes librsvg xorg-libxinerama xorg-libxrandr xorg-libxcursor xorg-libxdamage gtk2 consolekit2 mate-themes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
name=lxdm
 | 
					name=lxdm
 | 
				
			||||||
version=0.5.3
 | 
					version=0.5.3
 | 
				
			||||||
release=1
 | 
					release=2
 | 
				
			||||||
source=(http://sourceforge.net/projects/lxde/files/${name}/${name}%20${version}/${name}-${version}.tar.xz
 | 
					uzun=lxdm-a548c73
 | 
				
			||||||
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
 | 
					source=(http://kaynaklar.milislinux.org/$uzun.tar.xz
 | 
				
			||||||
 | 
					https://github.com/yasarciv/lxdm-tema/archive/1.0.tar.gz
 | 
				
			||||||
lxdm.in.patch
 | 
					lxdm.in.patch
 | 
				
			||||||
lxdm.conf.in.patch
 | 
					lxdm.conf.in.patch
 | 
				
			||||||
lxdm.pam
 | 
					lxdm.pam
 | 
				
			||||||
| 
						 | 
					@ -16,24 +17,25 @@ Xsession)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
build() {
 | 
					build() {
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    cd $name-$version
 | 
					    cd $uzun
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    patch -Np1 < ../lxdm.in.patch
 | 
					    patch -Np1 < ../lxdm.in.patch
 | 
				
			||||||
    patch -Np1 < ../lxdm.conf.in.patch
 | 
					    patch -Np1 < ../lxdm.conf.in.patch
 | 
				
			||||||
   
 | 
					   
 | 
				
			||||||
    ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc \
 | 
						cp ../lxdm.pam pam/lxdm
 | 
				
			||||||
    --libexecdir=/usr/lib/lxdm --localstatedir=/var  --with-systemdsystemunitdir=no &&
 | 
						cp ../Xsession data/Xsession
 | 
				
			||||||
 | 
					   
 | 
				
			||||||
 | 
					    ./autogen.sh        
 | 
				
			||||||
 | 
					    ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc \
 | 
				
			||||||
 | 
					    	    --libexecdir=/usr/lib/lxdm --localstatedir=/var
 | 
				
			||||||
    make
 | 
					    make
 | 
				
			||||||
    make DESTDIR=$PKG install
 | 
					    make DESTDIR=$PKG install
 | 
				
			||||||
    cp ../lxdm.pam $PKG/etc/pam.d/lxdm
 | 
					 | 
				
			||||||
    cp ../Xsession $PKG/etc/lxdm/
 | 
					 | 
				
			||||||
    mkdir $PKG/etc/rc.d
 | 
					 | 
				
			||||||
    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    
 | 
					    install -dm 755 ${PKG}/var/lib/lxdm    
 | 
				
			||||||
    echo 'GDK_CORE_DEVICE_EVENTS=true' > "$PKG"/var/lib/lxdm/.pam_environment
 | 
					    echo 'GDK_CORE_DEVICE_EVENTS=true' > "$PKG"/var/lib/lxdm/.pam_environment
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    cp -r ${SRC}/lxdm-themes/* ${PKG}/usr/share/lxdm/themes
 | 
						cp -r ${SRC}/lxdm-tema-1.0/lxdm-themes/Milis-Lxdm-Tema "$PKG/usr/share/lxdm/themes"
 | 
				
			||||||
            
 | 
						cp ${SRC}/lxdm-tema-1.0/lxdm/lxdm.conf "$PKG/etc/lxdm/" 
 | 
				
			||||||
 | 
						cd /sources/milis.git/ayarlar/servisler
 | 
				
			||||||
 | 
						make DESTDIR=$PKG kur-lxdm       
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue