malfs mekanizma guncelleme
This commit is contained in:
parent
917cb3f91a
commit
ca25ae6046
|
@ -0,0 +1,14 @@
|
|||
--- a/image.cpp 2012-06-26 04:20:14.000000000 -0400
|
||||
+++ b/image.cpp 2012-06-27 11:41:34.000000000 -0400
|
||||
@@ -781,7 +781,11 @@
|
||||
(png_infopp) NULL);
|
||||
}
|
||||
|
||||
+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
|
||||
+ if (setjmp(png_jmpbuf((png_ptr)))) {
|
||||
+#else
|
||||
if (setjmp(png_ptr->jmpbuf)) {
|
||||
+#endif
|
||||
goto png_destroy;
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.d/slim: start/stop slim
|
||||
#
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
/usr/bin/slim -d
|
||||
;;
|
||||
stop)
|
||||
killall /usr/bin/slim
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 2
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 [start|stop|restart]"
|
||||
;;
|
||||
esac
|
||||
|
||||
# End of file
|
|
@ -0,0 +1,35 @@
|
|||
# Description: a graphical login utility
|
||||
# URL: http://sourceforge.net/projects/slim.berlios
|
||||
# Packager: Simone Rota, sip at crux dot nu
|
||||
# Maintainer: Thomas Penteker, tek at serverop dot de
|
||||
# Depends on: xorg-xauth libjpeg-turbo libpng cmake
|
||||
|
||||
name=slim
|
||||
version=1.3.6
|
||||
release=1
|
||||
source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz \
|
||||
http://crux.nu/~tek/slim-crux-smooth.tar.gz libpng.patch $name.rc)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
|
||||
#patch -i ../libpng.patch -p1
|
||||
|
||||
# do NOT build slimlock (because of pam)
|
||||
sed -i -e 's:${MANDIR}:/usr/man:g' -e '224d' CMakeLists.txt
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
mkdir $PKG/etc/rc.d
|
||||
install -m 755 ../$name.rc $PKG/etc/rc.d/$name
|
||||
cd ../
|
||||
|
||||
rm -f slim-crux-smooth/README
|
||||
cp -r slim-crux-smooth $PKG/usr/share/slim/themes/crux-smooth
|
||||
chmod 0644 $PKG/usr/share/slim/themes/crux-smooth/*
|
||||
|
||||
# no systemd support
|
||||
rm -r $PKG/lib $PKG/usr/man/man1/slimlock.1
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
# Description: X authority file utility
|
||||
# URL: http://xorg.freedesktop.org
|
||||
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
||||
# Depends on: xorg-server
|
||||
|
||||
name=xorg-xauth
|
||||
version=1.0.9
|
||||
release=2
|
||||
source=(http://xorg.freedesktop.org/releases/individual/app/xauth-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd xauth-$version
|
||||
|
||||
./configure --prefix=/usr
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
Loading…
Reference in New Issue