graphics/dcraw: Updated for version 8.93

This commit is contained in:
Nishant Limbachia 2010-05-12 17:39:45 +02:00 committed by Robby Workman
parent c0899227d1
commit a4618ba253
4 changed files with 28 additions and 21 deletions

View File

@ -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
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 {} \;

View File

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

View File

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

View File

@ -5,7 +5,7 @@
# 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 is a command line tool to decode raw digital photos