summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/nitrogen/Thumbview.patch15
-rw-r--r--desktop/nitrogen/nitrogen.SlackBuild11
2 files changed, 4 insertions, 22 deletions
diff --git a/desktop/nitrogen/Thumbview.patch b/desktop/nitrogen/Thumbview.patch
deleted file mode 100644
index c9940fd53b..0000000000
--- a/desktop/nitrogen/Thumbview.patch
+++ /dev/null
@@ -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>
diff --git a/desktop/nitrogen/nitrogen.SlackBuild b/desktop/nitrogen/nitrogen.SlackBuild
index b76970e77d..0902fd8519 100644
--- a/desktop/nitrogen/nitrogen.SlackBuild
+++ b/desktop/nitrogen/nitrogen.SlackBuild
@@ -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}