From 0d2913d85ed46ae688d41a477eb66c1e1b2cc615 Mon Sep 17 00:00:00 2001 From: milisbir Date: Mon, 18 Apr 2016 21:17:25 +0000 Subject: [PATCH] slim-ypk --- talimatname/genel/slim/libpng.patch | 14 -------------- talimatname/genel/slim/talimat | 12 +++++------- 2 files changed, 5 insertions(+), 21 deletions(-) delete mode 100644 talimatname/genel/slim/libpng.patch diff --git a/talimatname/genel/slim/libpng.patch b/talimatname/genel/slim/libpng.patch deleted file mode 100644 index 57b39272b..000000000 --- a/talimatname/genel/slim/libpng.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- 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; - } - diff --git a/talimatname/genel/slim/talimat b/talimatname/genel/slim/talimat index 81e4926e2..a5d13d01c 100644 --- a/talimatname/genel/slim/talimat +++ b/talimatname/genel/slim/talimat @@ -1,20 +1,17 @@ # 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 +# Packager: milisarge # 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) + http://crux.nu/~tek/slim-crux-smooth.tar.gz $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 @@ -22,8 +19,9 @@ build () { make make DESTDIR=$PKG install - mkdir $PKG/etc/rc.d - install -m 755 ../$name.rc $PKG/etc/rc.d/$name + mkdir $PKG/etc/rc.d/ + mkdir $PKG/etc/rc.d/init.d + install -m 755 ../$name.rc $PKG/etc/rc.d/init.d/$name cd ../ rm -f slim-crux-smooth/README