graphics/raw-thumbnailer: Updated for version 0.2

This commit is contained in:
Michiel van Wessem 2010-05-12 17:40:03 +02:00 committed by David Somero
parent 1c1db15ebc
commit d2fe3a7a7e
4 changed files with 28 additions and 23 deletions

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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.