desktop/nitrogen: Fixed (Handle icons and removed old patch)

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-29 07:26:53 -04:00 committed by Robby Workman
parent 6142ca91e2
commit 21a14c84e0
2 changed files with 4 additions and 22 deletions

View file

@ -1,15 +0,0 @@
--- ./src/Thumbview.cc.orig 2009-12-08 04:48:35.741511086 -0600
+++ ./src/Thumbview.cc 2009-12-08 04:49:33.443508029 -0600
@@ -19,11 +19,11 @@
*/
+#include <png.h>
#include "main.h"
#include "Thumbview.h"
#include "md5.h"
#include <glib/gstdio.h>
-#include <png.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

View file

@ -5,19 +5,17 @@
# Based on the slackbuilds.org template
PRGNAM=nitrogen
PRGNAM=nitrogen
VERSION=20120806_692fdf7
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README"
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -56,8 +54,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
#patch -p1 < $CWD/Thumbview.patch
./bootstrap
CFLAGS="$SLKCFLAGS" \
@ -85,6 +81,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}