--- dcraw-8.99.orig/dcraw.1 +++ dcraw-8.99/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 --- dcraw-8.99.orig/dccleancrw.1 +++ dcraw-8.99/dccleancrw.1 @@ -0,0 +1,27 @@ +.\" +.\" 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. --- dcraw-8.99.orig/dcfujigreen.1 +++ dcraw-8.99/dcfujigreen.1 @@ -0,0 +1,30 @@ +.\" +.\" 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. --- dcraw-8.99.orig/dcfujiturn.1 +++ dcraw-8.99/dcfujiturn.1 @@ -0,0 +1,40 @@ +.\" +.\" 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. --- dcraw-8.99.orig/dcparse.1 +++ dcraw-8.99/dcparse.1 @@ -0,0 +1,25 @@ +.\" +.\" 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. --- dcraw-8.99.orig/Makefile +++ dcraw-8.99/Makefile @@ -0,0 +1,60 @@ +# Executables +CC = gcc +INSTALL= /usr/bin/install + +# Flags +CFLAGS = -I. -O4 -g -Wall + +SRC = dcraw.c parse.c fujiturn.c fuji_green.c clean_crw.c +OBJ = dcraw.o parse.o fujiturn.o fujiturn16.o fuji_green.o clean_crw.o + +# Targets +default: dcraw dcparse dcfujiturn dcfujiturn16 dcfujigreen dccleancrw + +dcraw: dcraw.o + $(CC) -o $@ dcraw.o -lm -ljpeg -llcms + +dcparse: parse.o + $(CC) -o $@ parse.o + +dcfujiturn: fujiturn.o + $(CC) -o $@ fujiturn.o + +dcfujiturn16: fujiturn16.o + $(CC) -o $@ fujiturn16.o + +dcfujigreen: fuji_green.o + $(CC) -o $@ fuji_green.o -lm + +dccleancrw: clean_crw.o + $(CC) -o $@ clean_crw.o + +clean: + rm -f core *.o + rm -f dcraw dcparse dcfujiturn dcfujigreen dccleancrw + rm -f dcfujiturn16 + +dcraw.o: dcraw.c + +parse.o: parse.c + +fixdates.o: fixdates.c + +fujiturn.o: fujiturn.c + +fujiturn16.o: fujiturn.c + $(CC) -c -D_16BIT -o $@ fujiturn.c + +fuji_green.o: fuji_green.c + $(CC) -c -include netinet/in.h -o $@ fuji_green.c + +clean_crw.o: clean_crw.c + +install: dcraw dcparse dcfujiturn dcfujiturn16 dcfujigreen dccleancrw + $(INSTALL) dcraw $(DESTDIR)/usr/bin + $(INSTALL) dcraw.1 $(DESTDIR)/usr/share/man/man1 + $(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 --- dcraw-8.99.orig/dcfujiturn16.1 +++ dcraw-8.99/dcfujiturn16.1 @@ -0,0 +1 @@ +.so man1/dcfujiturn.1 --- dcraw-8.99.orig/badpixels +++ dcraw-8.99/badpixels @@ -0,0 +1,37 @@ +# .badpixels file for my Canon PowerShot G2, serial no. 4624504380 +# dcraw will use this file if run in the same directory, or in any +# subdirectory. + +# Always use "dcraw -d -j -t 0" when locating bad pixels!! + +# Format is: pixel column, pixel row, UNIX time of death + +# This pixel went bad between August 1 and 4, 2002 + 962 91 1028350000 +# This pixel went bad between January 9 and 30, 2003 + 902 877 1043000000 + +# These are only visible in low light, so I haven't dated them: + 621 943 0 +1285 1067 0 +1286 1067 0 +2181 1532 0 + +# I swept these up 4/19/2005 + 763 36 1110000000 +1827 466 1110000000 + +# low light + 198 1288 1110000000 + 346 328 1110000000 + 429 273 1110000000 + 621 943 1110000000 + 624 874 1110000000 + 848 400 1110000000 +1682 1686 1110000000 +1892 1250 1110000000 +2234 484 1110000000 +2242 618 1110000000 + + 555 698 1135100000 # December 20-21, 2005 + 640 157 1139000000 # February 2-5, 2006 --- dcraw-8.99.orig/debian/copyright +++ dcraw-8.99/debian/copyright @@ -0,0 +1,33 @@ +This is a Debian GNU/Linux prepackaged version of dcraw +It was debianized by Steve King + +dcraw code was downloaded from: + http://www.cybercom.net/~dcoffin/dcraw/dcraw.c + http://www.cybercom.net/~dcoffin/dcraw/dcraw.1 + +Upstream Authors: + Dave Coffin (dcraw executable) + +dcraw Copyright: + 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. + + +This software may be redistributed under the terms of the GNU GPL, Version 2 +or later, found on Debian systems in the file /usr/share/common-licenses/GPL --- dcraw-8.99.orig/debian/README.Debian +++ dcraw-8.99/debian/README.Debian @@ -0,0 +1,16 @@ +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 + --- dcraw-8.99.orig/debian/changelog +++ dcraw-8.99/debian/changelog @@ -0,0 +1,200 @@ +dcraw (8.99-1~ppa1~lucid2) lucid; urgency=low + + * Backport to Lucidbleed ppa. + + -- Nicola Ferralis Wed, 11 May 2011 21:18:00 -0400 + +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 + --- dcraw-8.99.orig/debian/control +++ dcraw-8.99/debian/control @@ -0,0 +1,21 @@ +Source: dcraw +Section: graphics +Priority: extra +Maintainer: Steve King +Build-Depends: debhelper (>= 5.0.0), libjpeg-dev, liblcms1-dev +Standards-Version: 3.8.4 +Homepage: http://www.cybercom.net/~dcoffin/dcraw/ + +Package: dcraw +Priority: extra +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. + --- dcraw-8.99.orig/debian/dirs +++ dcraw-8.99/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- dcraw-8.99.orig/debian/TODO +++ dcraw-8.99/debian/TODO @@ -0,0 +1,3 @@ +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 --- dcraw-8.99.orig/debian/compat +++ dcraw-8.99/debian/compat @@ -0,0 +1 @@ +5 --- dcraw-8.99.orig/debian/rules +++ dcraw-8.99/debian/rules @@ -0,0 +1,51 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -f substvars + + $(MAKE) clean + + dh_clean + +# Build architecture-independent files here. +binary-indep: build install + +# Build architecture-dependent files here. +binary-arch: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) DESTDIR=`pwd`/debian/`dh_listpackages` install + dh_installchangelogs + dh_installdocs + dh_installexamples getsource badpixels + dh_installman dcraw.1 dcparse.1 dcfujiturn.1 dcfujiturn16.1 dccleancrw.1 dcfujigreen.1 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install