--- dcraw-8.36.orig/Makefile +++ dcraw-8.36/Makefile @@ -0,0 +1,36 @@ +# Executables +CC = gcc +INSTALL= /usr/bin/install + +# Flags +CFLAGS = -I. -O3 -g -Wall + +SRC = dcraw.c parse.c fixdates.c +OBJ = dcraw.o parse.o fixdates.o + +# Targets +default: dcraw dcparse dcfixdates + +dcraw: dcraw.o + $(CC) -s -o $@ dcraw.o -lm -ljpeg -llcms + +dcparse: parse.o + $(CC) -s -o $@ parse.o + +dcfixdates: fixdates.o + $(CC) -s -o $@ fixdates.o + +clean: + rm -f core *.o dcraw dcparse dcfixdates + +dcraw.o: dcraw.c + +parse.o: parse.c + +fixdates.o: fixdates.c + +install: dcraw dcparse dcfixdates + $(INSTALL) dcraw $(DESTDIR)/usr/bin + $(INSTALL) dcraw.1 $(DESTDIR)/usr/share/man/man1 + $(INSTALL) dcparse $(DESTDIR)/usr/bin + $(INSTALL) dcfixdates $(DESTDIR)/usr/bin --- dcraw-8.36.orig/debian/dirs +++ dcraw-8.36/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- dcraw-8.36.orig/debian/control +++ dcraw-8.36/debian/control @@ -0,0 +1,20 @@ +Source: dcraw +Section: graphics +Priority: extra +Maintainer: Steve King +Build-Depends: debhelper (>= 5.0.0), libjpeg-dev, liblcms1-dev +Standards-Version: 3.6.2.1 + +Package: dcraw +Priority: extra +Architecture: any +Depends: ${shlibs: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.36.orig/debian/rules +++ dcraw-8.36/debian/rules @@ -0,0 +1,50 @@ +#!/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 + + $(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 dcwrap getsource + dh_installman dcraw.1 dcfixdates.1 dcparse.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 --- dcraw-8.36.orig/debian/changelog +++ dcraw-8.36/debian/changelog @@ -0,0 +1,181 @@ +dcraw (8.36-0ubuntu1) edgy; urgency=low + + * New upstream release + * Adding support for Nikon D80 + * Adding support for Panasonic DMC-LX2 + * Adding support for Canon EOS 400D + * Improved support for the Nikon D200 + * Correctly display long exposure times for CRW files + + -- VETSEL Patrice Thu, 7 Sep 2006 08:17:19 +0200 + +dcraw (8.31-0ubuntu1) edgy; urgency=low + + * New upstream release + * Add -llcms to the Makefile for building with LittleCMS + + -- Hubert Figuiere Sun, 20 Aug 2006 21:01:59 -0400 + +dcraw (7.94-1ubuntu1) dapper; urgency=low + + * Resynchonise with Debian. + * debian/control: added build-depend on liblcms1-dev + + -- Benjamin Montgomery Sat, 31 Dec 2005 14:01:46 -0600 + +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.65-0ubuntu2) breezy; urgency=low + + * Reverted maintainer. + + -- Hubert Figuiere Thu, 22 Sep 2005 21:15:33 -0400 + +dcraw (7.65-0ubuntu1) breezy; urgency=low + + * New upstream version. + * Package compat level = 4 + * Add liblcms support + + -- Hubert Figuiere Thu, 22 Sep 2005 03:17:20 -0400 + +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.36.orig/debian/compat +++ dcraw-8.36/debian/compat @@ -0,0 +1 @@ +5 --- dcraw-8.36.orig/debian/substvars +++ dcraw-8.36/debian/substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.3.5-1), libjpeg62 --- dcraw-8.36.orig/debian/README.Debian +++ dcraw-8.36/debian/README.Debian @@ -0,0 +1,22 @@ +dcraw for Debian +---------------- + +This is a snapshot of dcraw downloaded on 26 Dec 2005 + $Date: 2005/12/18 21:02:19 $ + +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. + +I have added "getsource" a script I use to build dcraw. This includes +the shell code to build the .orig.tar.gz file (this is not distributed +by the author) + +dcparse, also in examples, is the author's example wrapper script. + + -- Steve King + --- dcraw-8.36.orig/debian/copyright +++ dcraw-8.36/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.36.orig/getsource +++ dcraw-8.36/getsource @@ -0,0 +1,73 @@ +#!/bin/bash +# Script to get new version, .orig and make packaging changes + +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/') + +# 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 + +# Get the other bits and pieces +cd ${WORKDIR} +${WGET} ${DCRAWHOME}dcraw.1 +${WGET} ${DCRAWHOME}dcwrap +${WGET} ${DCRAWHOME}parse.c +${WGET} ${DCRAWHOME}fixdates.c + +cd .. + +# Build the .orig tar file +rm -rf ${WORKDIR}.orig +cp -a ${WORKDIR} ${WORKDIR}.orig + +#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} + +# 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 --- dcraw-8.36.orig/dcfixdates.1 +++ dcraw-8.36/dcfixdates.1 @@ -0,0 +1 @@ +.so man1/dcparse.1 --- dcraw-8.36.orig/dcparse.1 +++ dcraw-8.36/dcparse.1 @@ -0,0 +1,33 @@ +.\" +.\" Manpage for dcparse and dcfixdates +.\" Copyright 2004, Steve King +.\" This file may be distributed without restriction. +.\" +.TH dcparse/dcfixdates 1 "Mar 17, 2005" +.LO 1 +.SH NAME +dcparse - Extract embeded thumbnail image and print CIFF/TIFF data to screen +.br +dcfixdates - Reset photo file date from that recorded by the camera +.SH SYNOPSIS +.B dcparse +file1.crw file2.crw ... +.br +.B dcfixdates +file1 file2 ... +.SH DESCRIPTION +These two utilities read 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. + +.B dcfixdates +reads time data, recorded by the camera when the picture was taken, and +resets the date of the file. For this to work effectively the camera time +should be set to Universal Time. +.SH "SEE ALSO" +dcraw(1) +.SH AUTHOR +Written by Steve King for debian.