diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2010-05-12 17:39:45 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:39:45 +0200 |
commit | a4618ba2535506fb1f97790689cd9b7f8a86b2b4 (patch) | |
tree | 19c590018744bc206bc3d8085b16081fb844bd88 | |
parent | c0899227d106884b26e96c64024ea97b994c2654 (diff) |
graphics/dcraw: Updated for version 8.93
-rw-r--r-- | graphics/dcraw/dcraw.SlackBuild | 19 | ||||
-rw-r--r-- | graphics/dcraw/dcraw.info | 8 | ||||
-rw-r--r-- | graphics/dcraw/rawphoto.c | 8 | ||||
-rw-r--r-- | graphics/dcraw/slack-desc | 14 |
4 files changed, 28 insertions, 21 deletions
diff --git a/graphics/dcraw/dcraw.SlackBuild b/graphics/dcraw/dcraw.SlackBuild index afa4a8e3262b..59110d8f9623 100644 --- a/graphics/dcraw/dcraw.SlackBuild +++ b/graphics/dcraw/dcraw.SlackBuild @@ -7,10 +7,10 @@ # Copyright (c) 2007, Robby Workman <rworkman@slackbuilds.org> # All rights reserved. # -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -31,10 +31,11 @@ ### ./dcraw.SlackBuild rawphoto PRGNAM=dcraw -VERSION=8.87 +VERSION=8.93 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -44,6 +45,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi ### DCRaw build flags as suggested on the author's page. @@ -74,14 +77,18 @@ install -D -m 0755 dcraw $PKG/usr/bin/dcraw strip --strip-unneeded $PKG/usr/bin/dcraw install -D -m 0644 dcraw.1 $PKG/usr/man/man1/dcraw.1 -for lang in eo ru fr it de pt es zh_TW zh_CN nl pl hu cs ; do - install -d -m 0755 $PKG/usr/man/$lang.UTF-8/man1 +for lang in eo ru fr it de pt es zh_TW zh_CN nl pl hu cs ca sv ; do + install -d -m 0755 $PKG/usr/man/$lang.UTF-8/man1 install -m 0644 dcraw_$lang.1 $PKG/usr/man/$lang.UTF-8/man1/dcraw.1 || true # Missing man page, hence the || true above # install -d -m 0755 $PKG/usr/share/locale/$lang/LC_MESSAGES - msgfmt -o $PKG/usr/share/locale/$lang/LC_MESSAGES/dcraw.mo dcraw_$lang.po + msgfmt -o $PKG/usr/share/locale/$lang/LC_MESSAGES/dcraw.mo dcraw_$lang.po || true + # Missing po file for zh_CN language, hence the || above done +### 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 {} \; diff --git a/graphics/dcraw/dcraw.info b/graphics/dcraw/dcraw.info index 60c11e218321..449390dde542 100644 --- a/graphics/dcraw/dcraw.info +++ b/graphics/dcraw/dcraw.info @@ -1,8 +1,8 @@ PRGNAM="dcraw" -VERSION="8.87" +VERSION="8.93" HOMEPAGE="http://cybercom.net/~dcoffin/dcraw/" -DOWNLOAD="http://cybercom.net/~dcoffin/dcraw/archive/dcraw-8.87.tar.gz" -MD5SUM="a8aecc8e69a6fbb1dbe0944e4c5f1a76" +DOWNLOAD="http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-8.93.tar.gz" +MD5SUM="1ca10ba4be66962f976163c294e58579" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" -APPROVED="Erik Hanson" +APPROVED="rworkman" diff --git a/graphics/dcraw/rawphoto.c b/graphics/dcraw/rawphoto.c index e54b151bd3e4..d6f4e0400392 100644 --- a/graphics/dcraw/rawphoto.c +++ b/graphics/dcraw/rawphoto.c @@ -3,8 +3,8 @@ by Dave Coffin at cybercom dot net, user dcoffin http://www.cybercom.net/~dcoffin/ - $Revision: 1.31 $ - $Date: 2008/01/06 16:37:54 $ + $Revision: 1.32 $ + $Date: 2008/09/16 05:41:39 $ This code is licensed under the same terms as The GIMP. To simplify maintenance, it calls my command-line "dcraw" @@ -43,7 +43,7 @@ #include <libintl.h> #define _(String) gettext(String) -#define PLUG_IN_VERSION "1.1.19 - 6 January 2008" +#define PLUG_IN_VERSION "1.1.20 - 16 September 2008" static void query(void); static void run(RAWPHOTO_CONST gchar *name, @@ -106,7 +106,7 @@ static void query (void) load_return_vals); gimp_register_load_handler ("file_rawphoto_load", - "3fr,arw,bay,bmq,cine,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,ia,jpg,k25,kc2,kdc,mdc,mef,mos,mrw,nef,orf,pef,pxn,qtk,raf,raw,rdc,sr2,srf,sti,tif,x3f", ""); + "3fr,arw,bay,bmq,cine,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,ia,jpg,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,pxn,qtk,raf,raw,rdc,rw2,sr2,srf,sti,tif,x3f", ""); } static void run (RAWPHOTO_CONST gchar *name, diff --git a/graphics/dcraw/slack-desc b/graphics/dcraw/slack-desc index dba3d3e4adc5..7beb525b9671 100644 --- a/graphics/dcraw/slack-desc +++ b/graphics/dcraw/slack-desc @@ -5,15 +5,15 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler------------------------------------------------------| + |-----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: |