diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2010-07-02 03:16:31 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-02 07:45:57 -0500 |
commit | 44501af5fd7ee1f1424e6f9a3d1e0d414f50469e (patch) | |
tree | 817a4743ca776b971f213eb461097c68badef9af | |
parent | 7de471a0238a4ea255e7fe17cc330396599c6a87 (diff) | |
download | slackbuilds-44501af5fd7ee1f1424e6f9a3d1e0d414f50469e.tar.gz |
graphics/dcraw: Updated for version 9.03.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | graphics/dcraw/README | 8 | ||||
-rw-r--r-- | graphics/dcraw/dcraw.SlackBuild | 35 | ||||
-rw-r--r-- | graphics/dcraw/dcraw.info | 6 | ||||
-rw-r--r-- | graphics/dcraw/slack-desc | 12 |
4 files changed, 28 insertions, 33 deletions
diff --git a/graphics/dcraw/README b/graphics/dcraw/README index f9471ae3e5..0afe23650d 100644 --- a/graphics/dcraw/README +++ b/graphics/dcraw/README @@ -1,6 +1,8 @@ DCRaw is software for processing RAW image files generated by a host of digital cameras. DCRaw by itself only provides a command line interface for image processing. DCRaw can also build with a gimp plugin so images -can be edited/exported with gimp - if you want to build the gimp plugin, -then run the build script with the "rawphoto" argument: - ./dcraw.SlackBuild rawphoto +can be edited/exported with gimp. + +If you want to build the gimp plugin, then run the build script as below: + +RAWPHOTO=yes ./dcraw.SlackBuild diff --git a/graphics/dcraw/dcraw.SlackBuild b/graphics/dcraw/dcraw.SlackBuild index 4eb9689821..022b2909d1 100644 --- a/graphics/dcraw/dcraw.SlackBuild +++ b/graphics/dcraw/dcraw.SlackBuild @@ -6,7 +6,7 @@ # Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) # Copyright (c) 2007, Robby Workman <rworkman@slackbuilds.org> # All rights reserved. -# + # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # @@ -25,23 +25,19 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -### We're including the rawphoto.c file which builds an extra gimp plugin -### If you want to build the rawphoto gimp plug-in, invoke the script -### with "rawphoto" option (without the quotes) as $1 -- that is: -### ./dcraw.SlackBuild rawphoto +# We're including the rawphoto.c file which builds an extra gimp plugin +# If you want to build the rawphoto gimp plug-in, invoke the script as: +# RAWPHOTO=yes ./dcraw.SlackBuild PRGNAM=dcraw -VERSION=8.99 +VERSION=9.03 BUILD=${BUILD:-1} - TAG=${TAG:-_SBo} -# 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 @@ -65,11 +61,13 @@ else LIBDIRSUFFIX="" fi -### DCRaw build flags as suggested on the author's page. -### builds with support for jpeg, png, lcms and tiff +# DCRaw build flags as suggested on the author's page. +# builds with support for jpeg, png, lcms and tiff DCRAW_BUILD_FLAGS="-lm -ljpeg -llcms -lpng -ltiff" -set -e # Exit on most errors +set -e # Exit on most errors + +RAWPHOTO=${RAWPHOTO:-no} rm -fr $TMP/$PRGNAM $PKG mkdir -p $TMP $PKG $OUTPUT @@ -102,22 +100,17 @@ for lang in eo ru fr it de pt es zh_TW zh_CN pl hu cs ca sv ; do # Missing po file for zh_CN language, hence the || above done -### remove any empty directories +# remove any empty directories find $PKG -depth -empty -type d -exec rmdir '{}' \; # Compress man pages -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -if [ "$1" == "rawphoto" ]; then +if [ "${RAWPHOTO}" = "yes" ]; then if [ -x /usr/bin/gimptool-2.0 ]; then /usr/bin/gimptool-2.0 --build $CWD/rawphoto.c install -D -m 0755 rawphoto $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/rawphoto - else - echo "Unable to build the rawphoto gimp plugin - is gimp installed?" - sleep 5 fi fi diff --git a/graphics/dcraw/dcraw.info b/graphics/dcraw/dcraw.info index a9089cf009..4b461e8158 100644 --- a/graphics/dcraw/dcraw.info +++ b/graphics/dcraw/dcraw.info @@ -1,8 +1,8 @@ PRGNAM="dcraw" -VERSION="8.99" +VERSION="9.03" HOMEPAGE="http://cybercom.net/~dcoffin/dcraw/" -DOWNLOAD="http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-8.99.tar.gz" -MD5SUM="b6469a5ac64ac6e974022b00f09fb465" +DOWNLOAD="http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-9.03.tar.gz" +MD5SUM="06e3a853ac17a6d8124d11d53cfb4f7a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Nishant Limbachia" diff --git a/graphics/dcraw/slack-desc b/graphics/dcraw/slack-desc index dba3d3e4ad..ec0820ec39 100644 --- a/graphics/dcraw/slack-desc +++ b/graphics/dcraw/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler------------------------------------------------------| dcraw: DCRaw (command line tool to decode raw digital photos) -dcraw: +dcraw: dcraw: dcraw is a command line tool to decode raw digital photos dcraw: written by Dave Coffin. It supports many raw photo formats dcraw: for numerous digital camera manufacturers. -dcraw: +dcraw: dcraw: Home Page: http://cybercom.net/~dcoffin/dcraw/ -dcraw: -dcraw: -dcraw: -dcraw: +dcraw: +dcraw: +dcraw: +dcraw: |