diff options
-rw-r--r-- | graphics/raw-thumbnailer/README | 18 | ||||
-rw-r--r-- | graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild | 19 | ||||
-rw-r--r-- | graphics/raw-thumbnailer/raw-thumbnailer.info | 8 | ||||
-rw-r--r-- | graphics/raw-thumbnailer/slack-desc | 6 |
4 files changed, 28 insertions, 23 deletions
diff --git a/graphics/raw-thumbnailer/README b/graphics/raw-thumbnailer/README index aff7dfc3fc492..65f9aed73c911 100644 --- a/graphics/raw-thumbnailer/README +++ b/graphics/raw-thumbnailer/README @@ -1,11 +1,13 @@ -This simple program generates thumbnails of digital camera raw image files -using libopenraw and GDK. It supports the same file formats as libopenraw -<http://libopenraw.freedesktop.org/wiki/FileFormats>. +This simple program generates thumbnails of digital camera raw image +files using libopenraw and GDK. It supports the same file formats as +libopenraw (http://libopenraw.freedesktop.org/wiki/FileFormats). -This thumbnailer is designed to be small, lightweight, and fast. It is -primarily intended to be used with file managers (although it could easily -be used by a photograph management program) and is used by thunar-thumbnailers. +This thumbnailer is designed to be small, lightweight and fast. It +is primarily intended to be used with file managers (although it +could easily be used by a photograph management program) and is +used by thunar-thumbnailers. - Usage: raw-thumbnailer -i input_file -o output_file -s size +Usage: raw-thumbnailer -i input_file -o output_file -s size -raw-thumbnailer requires libopenraw (also available at SlackBuilds.org). +raw-thumbnailer requires libopenraw, for which a SlackBuild script will +be avaible at SlackBuilds.org diff --git a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild index ebd625202368c..507e0b964d97d 100644 --- a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild +++ b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild @@ -1,8 +1,7 @@ #!/bin/sh # Slackware build script for raw-thumbnailer - -# Copyright 2008 Michiel van Wessem <michiel@slackbuilds.org> +# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,7 +24,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=raw-thumbnailer -VERSION=0.1 +VERSION=${VERSION:-0.2} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -47,7 +46,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -59,10 +58,15 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --prefix=/usr + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG +make install-strip DESTDIR=$PKG ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null @@ -70,8 +74,7 @@ make install DESTDIR=$PKG ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALL ChangeLog NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING INSTALL ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/graphics/raw-thumbnailer/raw-thumbnailer.info b/graphics/raw-thumbnailer/raw-thumbnailer.info index c19697889a637..386e79bfb83e5 100644 --- a/graphics/raw-thumbnailer/raw-thumbnailer.info +++ b/graphics/raw-thumbnailer/raw-thumbnailer.info @@ -1,8 +1,8 @@ PRGNAM="raw-thumbnailer" -VERSION="0.1" +VERSION="0.2" HOMEPAGE="http://code.google.com/p/raw-thumbnailer/" -DOWNLOAD="http://raw-thumbnailer.googlecode.com/files/raw-thumbnailer-0.1.tar.gz" -MD5SUM="f6980ceb4cf80104cc3912a6711544f6" +DOWNLOAD="http://raw-thumbnailer.googlecode.com/files/raw-thumbnailer-0.2.tar.gz" +MD5SUM="f107575aa32a0d53802cf5beead18bf8" MAINTAINER="Michiel van Wessem" EMAIL="michiel@slackbuilds.org" -APPROVED="rworkman" +APPROVED="dsomero" diff --git a/graphics/raw-thumbnailer/slack-desc b/graphics/raw-thumbnailer/slack-desc index 87825274c3f72..e9f6c1b7d6071 100644 --- a/graphics/raw-thumbnailer/slack-desc +++ b/graphics/raw-thumbnailer/slack-desc @@ -5,14 +5,14 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler--------------------------------------------| -raw-thumbnailer: raw-thumbnailer (Generate thumbnails from RAW images) + |-----handy-ruler------------------------------------------------------| +raw-thumbnailer: raw-thumbnailer (Short Application Description) raw-thumbnailer: raw-thumbnailer: This simple program generates thumbnails of digital camera raw-thumbnailer: raw image files using libopenraw and GDK. It supports the raw-thumbnailer: same file formats as libopenraw. raw-thumbnailer: -raw-thumbnailer: This thumbnailer is designed to be small, lightweight, +raw-thumbnailer: This thumbnailer is designed to be small, lightweight raw-thumbnailer: and fast. It is primarily intended to be used with file raw-thumbnailer: managers (although it could easily be used by a photograph raw-thumbnailer: management program) and is used by thunar-thumbnailers. |