debian/0000775000000000000000000000000012172707241007173 5ustar debian/source/0000775000000000000000000000000012167007011010463 5ustar debian/source/format0000664000000000000000000000001412167007011011671 0ustar 3.0 (quilt) debian/patches/0000775000000000000000000000000012172707057010627 5ustar debian/patches/remove_LO_line_from_manpage.diff0000664000000000000000000000035712172257372017077 0ustar Fixing lintian warning for a manpage --- a/dcraw.1 +++ b/dcraw.1 @@ -10,7 +10,6 @@ .\" http://www.cybercom.net/~dcoffin .\" .TH dcraw 1 "May 14, 2009" -.LO 1 .SH NAME dcraw - command-line decoder for raw digital photos .SH SYNOPSIS debian/patches/add_autotools.diff0000664000000000000000000000344012172707057014323 0ustar Add configure.in and Makefile.in for a rudimentary AutoTools build system --- /dev/null +++ b/Makefile.in @@ -0,0 +1,43 @@ +#! /bin/sh + +SHELL = /bin/sh +INSTALL= /usr/bin/install +CC = @CC@ +CFLAGS = -I@srcdir@ @CFLAGS@ +CPPFLAGS = @CPPFLAGS@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +.SUFFIXES: +.SUFFIXES: .c .o + +OBJ = dcraw.o parse.o fujiturn.o fujiturn16.o fuji_green.o clean_crw.o @LIBOBJS@ + +all: $(OBJ) + $(CC) @LDFLAGS@ -o dcraw dcraw.o -ljpeg -llcms -ljasper @LIBS@ + $(CC) @LDFLAGS@ -o dcparse parse.o @LIBS@ + $(CC) @LDFLAGS@ -o dcfujiturn fujiturn.o @LIBS@ + $(CC) @LDFLAGS@ -o dcfujiturn16 fujiturn16.o @LIBS@ + $(CC) @LDFLAGS@ -o dcfujigreen fuji_green.o @LIBS@ + $(CC) @LDFLAGS@ -o dccleancrw clean_crw.o @LIBS@ + +fujiturn16.o: fujiturn.c + $(CC) @CFLAGS@ @CPPFLAGS@ -c -D_16BIT -o $@ fujiturn.c + +fuji_green.o: fuji_green.c +# $(CC) @CFLAGS@ @CPPFLAGS@ -c -include netinet/in.h -o $@ fuji_green.c + $(CC) @CFLAGS@ @CPPFLAGS@ -c -o $@ fuji_green.c + +clean: + rm -f $(OBJ) + rm -f config.h config.log config.status\ + config.cache + rm -f dcraw dcparse dcfujiturn dcfujigreen dccleancrw + rm -f dcfujiturn16 + +install: dcraw dcparse dcfujiturn dcfujiturn16 dcfujigreen dccleancrw + $(INSTALL) dcraw $(DESTDIR)/usr/bin + $(INSTALL) dcparse $(DESTDIR)/usr/bin + $(INSTALL) dcfujiturn $(DESTDIR)/usr/bin + $(INSTALL) dcfujiturn16 $(DESTDIR)/usr/bin + $(INSTALL) dcfujigreen $(DESTDIR)/usr/bin + $(INSTALL) dccleancrw $(DESTDIR)/usr/bin --- /dev/null +++ b/configure.in @@ -0,0 +1,13 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(dcraw.c) + +dnl Checks for programs. +AC_PROG_CC + +dnl Checks for libraries. +AC_CHECK_LIB(m, main) + +dnl AC_CHECK_FUNC(getopt_long, , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"]) +dnl AC_SUBST(LIBOBJS)dnl + +AC_OUTPUT(Makefile) debian/patches/series0000664000000000000000000000006412172707217012042 0ustar add_autotools.diff remove_LO_line_from_manpage.diff debian/manpages/0000775000000000000000000000000012167007011010756 5ustar debian/manpages/dcparse.10000664000000000000000000000113212167007011012456 0ustar .\" .\" Manpage for dcparse .\" Copyright 2004, Steve King .\" This file may be distributed without restriction. .\" .TH dcparse 1 "Mar 17, 2005" .SH NAME dcparse - Extract embeded thumbnail image and print CIFF/TIFF data to screen .br .SH SYNOPSIS .B dcparse file1.crw file2.crw ... .br .SH DESCRIPTION This utility reads data directly from RAW digital photo files. .B dcparse prints internal CIFF/TIFF data, and creates a file called .B .thumb which is generally a JPEG file. The CIFF/TIFF data is technical in nature. .SH "SEE ALSO" dcraw(1) .SH AUTHOR Written by Steve King for debian. debian/manpages/dcfujiturn16.10000664000000000000000000000002612167007011013362 0ustar .so man1/dcfujiturn.1 debian/manpages/dcfujigreen.10000664000000000000000000000133012167007011013322 0ustar .\" .\" Manpage for dcfujigreen .\" Copyright 2006, Steve King .\" This file may be distributed without restriction. .\" .TH dcfujigreen 1 "Jun 27, 2006" .SH NAME dcfujigreen - Alternative processing for Fuji RAW images .br .SH SYNOPSIS .B dcfujigreen file1 file2 .br .SH DESCRIPTION Fuji RAW green channel output alternative to dcraw. .br Fuji digital cameras use a sum/difference encoding for the colour data. This means that the green channel is roughly equivalent to a black and white image. .br This utility can be used in place of .B dcraw(1) to retrieve a black and white image. It is much quicker than dcraw, but is doing a lot less. .SH "SEE ALSO" dcraw(1), dcfujiturn(1) .SH AUTHOR Written by Steve King for debian. debian/manpages/dcfujiturn.10000664000000000000000000000173012167007011013216 0ustar .\" .\" Manpage for dcfujiturn,dcfujiturn16 .\" Copyright 2006, Steve King .\" This file may be distributed without restriction. .\" .TH dcfujiturn 1 "Jun 27, 2006" .SH NAME dcfujiturn/dcfujiturn16 - Alternative rotation for dcraw processed images .br .SH SYNOPSIS dcraw \-c \-j dscf0000.raf | .B dcfujiturn > dscf0000.ppm .br dcraw \-c \-j \-4 dscf0000.raf | .B dcfujiturn16 > dscf0000.ppm .br .SH DESCRIPTION UNIX filter to correct the 45-degree rotation in images from Fuji digital cameras. .br Some Fuji digital cameras have a unique CCD sensor placed at a 45 degree angle. The raw output for this sensor is rotated relative to other camera brands. .B dcfujiturn and .B dcfujiturn16 provide an alternative to the automatic rotation present in dcraw producing a larger resolution image. .br .B dcfujiturn16 works on 16 bit linear ppm data if you are using .B dcraw -4 to generate your output .SH "SEE ALSO" dcraw(1), dcfuji_green(1) .SH AUTHOR Written by Steve King for debian. debian/manpages/dccleancrw.10000664000000000000000000000116412167007011013147 0ustar .\" .\" Manpage for dccleancrw .\" Copyright 2006, Steve King .\" This file may be distributed without restriction. .\" .TH dccleancrw 1 "Jun 27, 2006" .SH NAME dccleancrw - Canon (CRW) RAW photo file recovery utility .br .SH SYNOPSIS .B dccleancrw crw_0001.crw crw_0002.crw ... .br .SH DESCRIPTION Because they are parsed from the end, Canon CRW files become unreadable if garbage data is appended to them, as often happens when files are recovered from damaged media. This program truncates CRW files to the correct size. .br .SH "SEE ALSO" dcraw(1) .SH AUTHOR Written by Dave Coffin. .br man page by Steve King for debian. debian/dcraw.manpages0000664000000000000000000000023012167007011011773 0ustar dcraw.1 debian/manpages/dccleancrw.1 debian/manpages/dcfujigreen.1 debian/manpages/dcparse.1 debian/manpages/dcfujiturn.1 debian/manpages/dcfujiturn16.1debian/compat0000664000000000000000000000000212167007011010361 0ustar 9 debian/control0000664000000000000000000000156712172707237010614 0ustar Source: dcraw Section: graphics Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Steve King Build-Depends: debhelper (>= 9), dh-autoreconf, libjpeg-dev, liblcms1-dev, libjasper-dev Standards-Version: 3.9.4 Homepage: http://www.cybercom.net/~dcoffin/dcraw/ Package: dcraw Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: gphoto2, netpbm Description: decode raw digital camera images This utility converts the native (RAW), format of various digital cameras into netpbm portable pixmap (.ppm) image. Supports the following models: Canon, Kodak, Olympus, Nikon, Fuji, Minolta and Sigma (see http://www.cybercom.net/~dcoffin/dcraw/ for full list) Note: This utility does not read directly from the cameras, only the files after they have been downloaded, use gphoto2 for that. debian/TODO0000664000000000000000000000031712167007011007654 0ustar 1) Since 8.78 dcraw has added i18n support. This needs to be included in the debian package. Since the build process is somewhat different, I need to rewrite the scripts I use to make the .deb package debian/changelog0000664000000000000000000001646012172707124011054 0ustar dcraw (9.19-1.1ubuntu1) saucy; urgency=low * Adjust autotools patch to work with ld --as-needed - update debian/patches/add_autotools.diff -- Micah Gersten Sun, 21 Jul 2013 02:31:26 -0500 dcraw (9.19-1.1) unstable; urgency=low * Non-maintainer upload. * New upstream release (Closes: #617543) * Use Autoconf for the build system * Clean up debian/rules * depend on debhelper >= 9, to fix a lintian warning * Switch to 3.0 (quilt); all previous patches are in a single patch * Convert copyright file to DEB-5 format * Increase debian/format to '9', no changes * Enable hardening compiler flags * Properly escape 'minus' signs in man page dcfujiturn.1 * Remove compiler flag -include netinet/in.h from fuji_green.c. Apparently it is not needed. * Update to standards version 3.9.4: no changes * Add targets build-arch and build-indep. They are not actually needed, and hence only forward to build-stamp * debian/control: remove Priority field for the binary package, it is inherited from the source package * Build-depend on libjasper-dev * Move getsource script from orig.tar.gz into debian directory, because it is not from upstream * Fix code in getsource that parses upstream version number * Remove example file 'badpixels' * Updated README.Debian -- Oliver Sander Sat, 20 Jul 2013 18:35:51 +0200 dcraw (8.99-1) unstable; urgency=low * New upstream version. (Closes: #506705, #523789, #519604) -- Steve King Fri, 12 Feb 2010 14:29:24 +0000 dcraw (8.86-1) unstable; urgency=low * New upstream version. (Closes: #489931) * Remove .LO lines from man pages * Added Homepage reference to source stanza -- Steve King Fri, 25 Jul 2008 09:58:25 +0100 dcraw (8.80-1) unstable; urgency=low * Modified Makefile: -O4 instead of -03 * Modified Makefile: removed "-s" flag from $(CC) lines * Closes: #411920 * Closes: #436707 * Now distributed under a different license * Closes: #431883 * Closes: #424663 * New upstream version -- Steve King Wed, 14 Nov 2007 10:01:57 +0000 dcraw (8.39-1) unstable; urgency=low * New upstream version * Maintainer email change -- Steve King Sun, 24 Sep 2006 21:27:50 +0100 dcraw (8.38-1) unstable; urgency=low * New upstream version * Packaged .badpixels as examples/badpixels -- Steve King Sun, 17 Sep 2006 20:34:11 +0100 dcraw (8.23-1) unstable; urgency=low * Removed substvars * Made compliant to debian-policy 3.7.2.1 * Removed build dependancy on libc6-dev * Added fujiturn/fuji_green and clean_crw (Closes: #351364) * New upsream version (Closes: #368856) * Removed dcfixdates, dcwrap (no longer maintained upstream) -- Steve King Mon, 26 Jun 2006 13:48:05 +0000 dcraw (7.94-1) unstable; urgency=low * New upstream version (Closes: #341370) * Checked against debian policy and debhelper and a few minor corrections made * Added build script "getsource" installed in examples (should be considered * alpha quality) -- Steve King Wed, 21 Dec 2005 16:01:39 +0000 dcraw (7.17-1) unstable; urgency=low * New upstream version (Close: #306606) -- Steve King Sat, 30 Apr 2005 19:17:37 +0100 dcraw (7.02-1) unstable; urgency=low * New upstream version * Fixes a typo in the Makefile which caused dcparse to be installed with an absolute path. (Closes: #300105) * Modified source priority to extra -- Steve King Sat, 19 Mar 2005 09:26:21 +0000 dcraw (7.00-1) unstable; urgency=low * New upstream version * Support for automatically or manually rotating images (if your * camera has support) * Support for Canon D20 (among others) * Closes: #274603 * Modified synopsis to remove initial capital letter * Closes: #293383 * Includes the fixdates and parse binaries for reading internal dates * and retriving thumbnail images from certain files (experts only) * Added /usr/share/doc/dcraw/examples/dcrwap, from D. Coffin's web site -- Steve King Thu, 10 Mar 2005 22:40:54 +0000 dcraw (5.88-1) unstable; urgency=low * New upstream version * Closes: #241165: Produces wrong color in output file * Closes: #258298: Please package new version -- Steve King Fri, 6 Aug 2004 20:52:50 +0100 dcraw (5.73-1) unstable; urgency=low * New upstream version -- Steve King Sat, 17 Apr 2004 09:46:51 +0100 dcraw (5.71-1) unstable; urgency=low * New upstream version -- Steve King Tue, 6 Apr 2004 19:55:33 +0100 dcraw (5.53-1) unstable; urgency=low * New upstream version: * New Camera Support: Pentax Optio S4, * Nikon D70, Minolta DiMAGE A2, and Olympus C8080WZ * Significant speed improvements (Uses about 70% of cpu time compared * with 5.43-1 on my data) * Native support for cameras using lossless jpeg * (Avoids licensing problems with 3rd party lossless jpeg support) -- Steve King Sun, 22 Feb 2004 08:02:24 +0000 dcraw (5.43-1) unstable; urgency=low * New upstream version (support for Sony DSC-F828) -- Steve King Sat, 10 Jan 2004 14:25:19 +0000 dcraw (5.18-1) unstable; urgency=low * New upstream version (support for Phase One medium format digital backs) * Changed Makefile to -O3 for slightly faster operation * Patch for Segfault on 64bit architectures -- Steve King Fri, 21 Nov 2003 14:35:04 +0000 dcraw (5.08-1) unstable; urgency=low * New upstream version -- Steve King Wed, 15 Oct 2003 14:40:25 +0100 dcraw (5.05-1) unstable; urgency=low * New upstream version -- Steve King Sun, 12 Oct 2003 15:44:12 +0100 dcraw (5.02-1) unstable; urgency=low * New upstream version * Removed reference to lossless jpeg support in debian/control description * Changed source http reference and upstream authors contact details * Removed the Makefile from _orig.tar.gz. Makefile was added by me. * Changed debian/control dependance from libc6 to ${shlibs:Depends} for ia64 * closes: Bug#213473 -- Steve King Tue, 30 Sep 2003 18:42:11 +0100 dcraw (4.88-4) unstable; urgency=low * Built on an unstable system * Removed lossless jpeg support due to licensing (See README.Debian) -- Steve King Sun, 31 Aug 2003 20:13:23 +0100 dcraw (4.88-3) unstable; urgency=low * Removed debian/compat and added "export DH_COMPAT=3W to debian/rules -- Steve King Thu, 31 Jul 2003 07:27:08 +0100 dcraw (4.88-2) unstable; urgency=low * Reworded debian/copyright file * Removed some unnecessary cruft from debian/rules * Modified Makefile to install man page into /usr/share/man/man1 -- Steve King Wed, 30 Jul 2003 18:04:07 +0100 dcraw (4.88-1) unstable; urgency=low * Upstream update -- Steve King Tue, 29 Jul 2003 21:56:12 +0100 dcraw (4.87-1) unstable; urgency=low * Initial Release. * closes: Bug#194280 -- Steve King Thu, 10 Jul 2003 10:55:29 +0100 debian/copyright0000664000000000000000000000245612167010716011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: dcraw Upstream-Contact: Dave Coffin Source: dcraw code was downloaded from: http://www.cybercom.net/~dcoffin/dcraw/dcraw.c http://www.cybercom.net/~dcoffin/dcraw/dcraw.1 Files: * Copyright: 1997-2004 by Dave Coffin License: GPL-2+ dcraw.c -- Dave Coffin's raw photo decoder Copyright 1997-2004 by Dave Coffin, dcoffin a cybercom o net . This is a command-line ANSI C program to convert raw photos from any digital camera on any computer running any operating system. . Attention! Some parts of this program are restricted under the terms of the GNU General Public License. Such code is enclosed in "BEGIN GPL BLOCK" and "END GPL BLOCK" declarations. . All the code currently under GPL is specific to Foveon cameras. This began in Revision 1.237. . To lawfully redistribute dcraw.c, you must either (a) include full source code for all executable files containing restricted functions, (b) remove these functions, re-implement them, or copy them from an earlier, non-GPL Revision of dcraw.c, or (c) purchase a license from the author. Files: debian/* Copyright: Steve King License: GPL-2+ /usr/share/common-licenses/GPL-2debian/getsource0000775000000000000000000000430012167007011011106 0ustar #!/bin/bash PATH=/usr/bin:/bin set -x set -u set -e DCRAWHOME=http://www.cybercom.net/~dcoffin/dcraw/ WGET=wget http_proxy= export http_proxy TMPFILE=dcraw.c_new TEMPLATEDIR=dcraw-template # Get the new source ${WGET} -O ${TMPFILE} ${DCRAWHOME}dcraw.c # grep for the current version #NEWVERSION=$(grep -i v[0-9][.][0-9][0-9] ${TMPFILE} | sed -e 's/^.*Raw Photo Decoder.*v\([0-9][.][0-9][0-9]\).*$/\1/') NEWVERSION=$(grep -i '^#define DCRAW_VERSION "[0-9][.][0-9][0-9]"$' ${TMPFILE} | sed -e 's/^#define DCRAW_VERSION "\([0-9][.][0-9][0-9]\)"$/\1/') if [ -z "${NEWVERSION}" ] then echo "error: Could not get new version number" exit 1 fi # Build a working directory WORKDIR=dcraw-${NEWVERSION} if [ -d ${WORKDIR} ] then echo "Working directory for current version already exists. stop" exit 0 fi rm -rf ${WORKDIR} mkdir ${WORKDIR} mv ${TMPFILE} ${WORKDIR}/dcraw.c cp "${0}" "${WORKDIR}/getsource" # Get the other bits and pieces cd ${WORKDIR} ${WGET} ${DCRAWHOME}dcraw.1 #${WGET} ${DCRAWHOME}dcwrap ${WGET} ${DCRAWHOME}parse.c #${WGET} ${DCRAWHOME}fixdates.c ${WGET} ${DCRAWHOME}fujiturn.c ${WGET} ${DCRAWHOME}fuji_green.c ${WGET} ${DCRAWHOME}clean_crw.c ${WGET} ${DCRAWHOME}.badpixels cd .. # Build the .orig tar file rm -rf ${WORKDIR}.orig cp -a ${WORKDIR} ${WORKDIR}.orig mv ${WORKDIR}/.badpixels ${WORKDIR}/badpixels #tar -cvzf ${WORKDIR}.orig.tar.gz ${WORKDIR}.orig #rm -rf ${WORKDIR}.orig # Build a template directory with apt-get source rm -rf ${TEMPLATEDIR} mkdir ${TEMPLATEDIR} cd ${TEMPLATEDIR} apt-get source dcraw cd .. # Copy in the template debian bits and pieces cp -a ${TEMPLATEDIR}/dcraw-*/debian ${WORKDIR} #cp -a ${TEMPLATEDIR}/dcraw-*/dcfixdates.1 ${WORKDIR} cp -a ${TEMPLATEDIR}/dcraw-*/dcparse.1 ${WORKDIR} cp -a ${TEMPLATEDIR}/dcraw-*/Makefile ${WORKDIR} cp -a ${TEMPLATEDIR}/dcraw-*/dcfujiturn.1 ${WORKDIR} cp -a ${TEMPLATEDIR}/dcraw-*/dcfujiturn16.1 ${WORKDIR} cp -a ${TEMPLATEDIR}/dcraw-*/dccleancrw.1 ${WORKDIR} cp -a ${TEMPLATEDIR}/dcraw-*/dcfujigreen.1 ${WORKDIR} # Prep the changelog cd ${WORKDIR} dch --newversion=${NEWVERSION}-1 egrep '\$Date: [0-9]{4}/[0-9]+/[0-9]+ [0-9]+:[0-9]+:[0-9]+.*\$$' dcraw.c >> debian/README.Debian vi debian/README.Debian dpkg-buildpackage -rfakeroot debian/dirs0000664000000000000000000000003312167007011010043 0ustar usr/bin usr/share/man/man1 debian/README.Debian0000664000000000000000000000123712167007011011227 0ustar dcraw for Debian ---------------- This is a snapshot of dcraw downloaded on 12th Feb 2010 Date in package: $Date: 2009/12/25 18:51:16 $ I personally have a Canon EOS 10D and have found the output from dcraw comparable to software supplied by Canon (which is for windows only of course). Typically, I have found, dcraw produces improved contrast images making better use of the available dynamic range. There is also a plugin for the gimp to read raw images directly. -- Steve King I have replaced this with a new snapshot downloaded on 30th Apr 2013 Date in package: $Date: 2012/12/23 19:25:36 $ -- Oliver Sander debian/rules0000775000000000000000000000007412167007011010244 0ustar #!/usr/bin/make -f %: dh $@ --with autoreconf --parallel debian/dcraw.examples0000664000000000000000000000002112172256570012030 0ustar debian/getsource