--- ufraw-0.10.orig/nikon_curve.c +++ ufraw-0.10/nikon_curve.c @@ -110,7 +110,7 @@ printf("NOTE: If a resolution is not specified, a default one will be used.\n"); printf(" If the -o option is not specified, default files will be used.\n\n"); printf("Example:\n"); - printf("NikonCurveGenerator -sr 65536 -or 256 curveFile -o exportFile\n"); + printf("%s -sr 65536 -or 256 curveFile -o exportFile\n", args[0]); //signal that processing cannot occur return NC_ERROR; --- ufraw-0.10.orig/config.sub +++ ufraw-0.10/config.sub @@ -1,9 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. -timestamp='2006-02-23' +timestamp='2006-09-20' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -240,7 +241,7 @@ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ @@ -248,7 +249,8 @@ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ - | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -274,21 +276,19 @@ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | score \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b \ - | strongarm \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ - | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; - m32c) - basic_machine=$basic_machine-unknown - ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown @@ -318,7 +318,7 @@ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* \ + | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ @@ -329,7 +329,7 @@ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ - | m32r-* | m32rle-* \ + | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ @@ -358,23 +358,21 @@ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; - m32c-*) - ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -912,6 +910,10 @@ sb1el) basic_machine=mipsisa64sb1el-unknown ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; sei) basic_machine=mips-sei os=-seiux @@ -1128,7 +1130,7 @@ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sparc | sparcv8 | sparcv9 | sparcv9b) + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) @@ -1217,7 +1219,7 @@ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos*) + | -skyos* | -haiku* | -rdos* | -toppers*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1369,6 +1371,12 @@ # system, and we'll never get to this point. case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; *-acorn) os=-riscix1.2 ;; @@ -1378,9 +1386,9 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff - ;; + c4x-* | tic4x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 --- ufraw-0.10.orig/config.guess +++ ufraw-0.10/config.guess @@ -1,9 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, +# Inc. -timestamp='2006-02-23' +timestamp='2006-07-02' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -210,7 +211,7 @@ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) - echo powerppc-unknown-mirbsd${UNAME_RELEASE} + echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} @@ -770,6 +771,8 @@ case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac @@ -780,9 +783,6 @@ i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; - i*:MSYS_NT-*:*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 @@ -790,10 +790,10 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[345]*) + x86:Interix*:[3456]*) echo i586-pc-interix${UNAME_RELEASE} exit ;; - EM64T:Interix*:[345]*) + EM64T:Interix*:[3456]*) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) @@ -831,6 +831,9 @@ arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; @@ -989,7 +992,7 @@ LIBC=gnulibc1 # endif #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun) + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout --- ufraw-0.10.orig/debian/ufraw.dirs +++ ufraw-0.10/debian/ufraw.dirs @@ -0,0 +1 @@ +usr/bin --- ufraw-0.10.orig/debian/ufraw.install +++ ufraw-0.10/debian/ufraw.install @@ -0,0 +1,7 @@ +ufraw /usr/bin +ufraw-batch /usr/bin +nikon-curve /usr/bin +ufraw.desktop /usr/share/applications +ufraw.png /usr/share/pixmaps +ufraw-mime.xml /usr/share/mime/packages +ufraw.schemas /usr/share/gconf/schemas --- ufraw-0.10.orig/debian/gimp-ufraw.install +++ ufraw-0.10/debian/gimp-ufraw.install @@ -0,0 +1 @@ +ufraw-gimp /usr/lib/gimp/2.0/plug-ins/ --- ufraw-0.10.orig/debian/docs +++ ufraw-0.10/debian/docs @@ -0,0 +1,3 @@ +README +TODO +MANIFEST --- ufraw-0.10.orig/debian/ufraw.links +++ ufraw-0.10/debian/ufraw.links @@ -0,0 +1 @@ +usr/share/man/man1/ufraw.1 usr/share/man/man1/ufraw-batch.1 \ No newline at end of file --- ufraw-0.10.orig/debian/changelog +++ ufraw-0.10/debian/changelog @@ -0,0 +1,162 @@ +ufraw (0.10-1ubuntu1) feisty; urgency=low + + * Merge from debian unstable, remaining changes: + - build-depend on libexiv2-dev >= 0.12 + + -- Michael Bienia Fri, 15 Dec 2006 15:27:41 +0100 + +ufraw (0.10-1) unstable; urgency=low + + * New upstream release. + * Update maintainer address. + * Install mime info. + + -- Hubert Chan Sun, 29 Oct 2006 15:16:29 -0500 + +ufraw (0.9.1-2) unstable; urgency=low + + * Rebuild against new libexiv2. + - libexiv2 package is now properly versioned. (closes: #387348) + + -- Hubert Chan Tue, 26 Sep 2006 01:43:08 -0400 + +ufraw (0.9.1-1ubuntu3) feisty; urgency=low + + * Rebuild against exiv2 0.12 + + -- Jonathan Riddell Wed, 13 Dec 2006 12:12:19 +0000 + +ufraw (0.9.1-1ubuntu1) edgy; urgency=low + + * Merge from debian unstable. + + -- Ubuntu Merge-o-Matic Fri, 18 Aug 2006 23:29:27 +0100 + +ufraw (0.9.1-1) unstable; urgency=low + + * New upstream release. + * Compile nikon-curve. + + -- Hubert Chan Wed, 16 Aug 2006 21:16:11 -0600 + +ufraw (0.9.1-0ubuntu1) edgy; urgency=low + + * New upstream release + + -- Hubert Figuiere Mon, 14 Aug 2006 15:54:01 -0400 + +ufraw (0.9-1) unstable; urgency=low + + * New upstream release. + + -- Hubert Chan Fri, 4 Aug 2006 13:20:07 -0400 + +ufraw (0.9-0ubuntu2) edgy; urgency=low + + * Added watch file + + -- Hubert Figuiere Thu, 10 Aug 2006 16:34:34 -0400 + +ufraw (0.9-0ubuntu1) edgy; urgency=low + + * New upstream release + * Update to standard 3.7.2 + + -- Hubert Figuiere Wed, 9 Aug 2006 13:06:23 -0400 + +ufraw (0.8.1-2) unstable; urgency=low + + * Rebuild against new libexiv2. + * Register .desktop file. + + -- Hubert Chan Wed, 21 Jun 2006 15:34:52 -0400 + +ufraw (0.8.1-1) unstable; urgency=low + + * New upstream release. (closes: #361009) + - no longer use -mcpu=powerpc flag (closes: #361060) + * New maintainer. (Thanks to Matthias for his maintainership.) + * Remove unneeded -fno-loop-optimize flag on powerpc, since default compiler + is now GCC 4. + * Build-depend on libexiv-dev, and configure with --with-exiv2. + (closes: #341471) + - drop build-depend on libexif, because it seems to be buggy. + * Build-depend on Perl, to build manpage. + * Complete copyright information. + * Bump standards version to 3.7.2. (no changes) + * Bump debhelper compatibility level to 5. + * Install readme files in all packages. + * Change package description as per upstream's request. + + -- Hubert Chan Wed, 14 Jun 2006 00:19:48 -0400 + +ufraw (0.8.1-0ubuntu1) edgy; urgency=low + + * New upstream release + * Fix description. Closes Malone #49854. + * Handle files from 30D (upstream change). Closes Malone #45798. + + -- Hubert Figuiere Wed, 5 Jul 2006 15:28:56 -0400 + +ufraw (0.5+cvs20051021-1) unstable; urgency=medium + + * Merge with current Upstream. + * Fix for interpolation errors (black pixels). + + -- Matthias Urlichs Tue, 25 Oct 2005 22:15:50 +0200 + +ufraw (0.5+cvs20051013-1) unstable; urgency=low + + * Updated to current CVS, including dcraw 7.77 and new interpolation + algorithm. + + -- Matthias Urlichs Tue, 18 Oct 2005 09:35:43 +0200 + +ufraw (0.4+cvs20050818-1) unstable; urgency=low + + * Updated to current CVS, including dcraw 7.50. + + -- Matthias Urlichs Fri, 19 Aug 2005 11:04:04 +0200 + +ufraw (0.4+cvs20050714-2) unstable; urgency=low + + * Add standalone version. + - Depend on current libexif. + + -- Matthias Urlichs Fri, 19 Aug 2005 10:17:15 +0200 + +ufraw (0.4+cvs20050714-1) unstable; urgency=low + + * Import Upstream CVS. + - Various UTF-8 fixes. + + -- Matthias Urlichs Thu, 14 Jul 2005 23:18:35 +0200 + +ufraw (0.4-1) unstable; urgency=low + + * New Upstream version. + - Closes:#294195 + + -- Matthias Urlichs Sun, 13 Feb 2005 16:33:49 +0100 + +ufraw (0.2-3) unstable; urgency=low + + * Conflicts: with gimp-dcraw for usability reasons. + + -- Matthias Urlichs Sun, 16 Jan 2005 13:41:56 +0100 + +ufraw (0.2-2) unstable; urgency=low + + * Rebuild against gimp-2.2. + + -- Matthias Urlichs Wed, 22 Dec 2004 09:14:48 +0100 + +ufraw (0.2-1) unstable; urgency=low + + * Initial Release. + Closes:#283385 + * updated to latest dcraw version + + -- Matthias Urlichs Sun, 28 Nov 2004 17:27:03 +0100 + + --- ufraw-0.10.orig/debian/control +++ ufraw-0.10/debian/control @@ -0,0 +1,40 @@ +Source: ufraw +Section: graphics +Priority: optional +Maintainer: Hubert Chan +Build-Depends: debhelper (>= 5), libgimp2.0-dev (>= 2.2), libjpeg62-dev, liblcms-dev, libtiff4-dev | libtiff-dev, libexiv2-dev (>= 0.12), perl +Standards-Version: 3.7.2 + +Package: ufraw +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, desktop-file-utils +Description: standalone importer for raw camera images + This is a standalone tool to import raw data from high-end digital cameras. + . + The Unidentified Flying Raw (UFRaw) is a utility for converting and + manipulating raw images from digital cameras. It can be used as a + stand-alone tool or as a Gimp plug-in, and images can be batch + processed using the command-line interface. UFRaw reads most existing + raw formats using Dave Coffin's raw conversion utility DCRaw, and it + supports basic color management using Little CMS, allowing the user to + apply color profiles. + . + Homepage: http://ufraw.sourceforge.net/ + +Package: gimp-ufraw +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, gimp (>= 2.2), gimp (<< 2.3) +Conflicts: gimp-dcraw +Description: gimp importer for raw camera images + This is a graphical tool to import raw data from high-end digital cameras + into the Gimp. + . + The Unidentified Flying Raw (UFRaw) is a utility for converting and + manipulating raw images from digital cameras. It can be used as a + stand-alone tool or as a Gimp plug-in, and images can be batch + processed using the command-line interface. UFRaw reads most existing + raw formats using Dave Coffin's raw conversion utility DCRaw, and it + supports basic color management using Little CMS, allowing the user to + apply color profiles. + . + Homepage: http://ufraw.sourceforge.net/ --- ufraw-0.10.orig/debian/nikon-curve.1 +++ ufraw-0.10/debian/nikon-curve.1 @@ -0,0 +1,42 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH NIKON-CURVE 1 "16 Aug 2006" +.\" Please adjust this date whenever revising the manpage. +.SH NAME +nikon-curve \- generate interpolation data from Nikon tone curves +.SH SYNOPSIS +\fB nikon-curve\fR [ \fIoptions and input file\fP ] +.SH DESCRIPTION +\fBnikon-curve\fP reads in a Nikon NTC/NCV or NEF file, interprets its tone +curve, and writes out a simple ASCII file containing a table of interpolation +values. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-h +Show summary of options. +.TP +.B \-o +Specify output file. +.TP +.B \-sr +Specify sampling resolution. Default is 65536. +.TP +.B \-or +Specify output resolution. Default is 256. +.TP +.B \-nef +Specify an NEF file to get tone curve data from. +.PP +The \-or and \-sr options are ignored for NEF files. +.PP +NOTE: If a resolution is not specified, a default one will be used. +If the -o option is not specified, default files will be used. +.SH EXAMPLE +.RS +nikon-curve -sr 65536 -or 256 curveFile -o exportFile +.RE +.SH AUTHOR +nikon-curve was written by Shawn Freeman and Udi Fuchs. +.PP +This manual page was written by Hubert Chan , +for the Debian project (but may be used by others). --- ufraw-0.10.orig/debian/copyright +++ ufraw-0.10/debian/copyright @@ -0,0 +1,70 @@ +The Debian package has been created by Matthias Urlichs +on Sun, 28 Nov 2004 17:27:03 +0100. + +The current Debian maintainer is Hubert Chan . + +The original source was been downloaded from: http://ufraw.sourceforge.net/ + +Upstream Authors: + +UFRaw was written by Udi Fuchs, +and contains code by Pawel T. Jochym , +Dave Coffin (http://www.cybercom.net/~dcoffin/), +and Shawn Freeman. It also contains code from liblcms. + +License: + +The original source was released under the GPL version 2. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The file dcraw.c, written by Dave Coffin, is released under the following +license: + + 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. + Any code not declared GPL is free for all uses. + + Starting in Revision 1.237, the code to support Foveon cameras + is under GPL. + + 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. + +The portions taken from liblcms is released under the MIT license: + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. --- ufraw-0.10.orig/debian/compat +++ ufraw-0.10/debian/compat @@ -0,0 +1 @@ +5 --- ufraw-0.10.orig/debian/rules +++ ufraw-0.10/debian/rules @@ -0,0 +1,105 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +endif + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + test -r /usr/share/misc/config.sub && \ + cp -f /usr/share/misc/config.sub config.sub || \ + test -r config.sub + test -r /usr/share/misc/config.guess && \ + cp -f /usr/share/misc/config.guess config.guess || \ + test -r config.guess + #mkdir -p m4 + #test -r /usr/share/aclocal/libgcrypt.m4 && \ + # cp -f /usr/share/aclocal/libgcrypt.m4 m4 || \ + # test -r m4/libgcrypt.m4 + + #touch NEWS AUTHORS ChangeLog + # if test -f ltmain.sh ; then touch ltmain.sh; else libtoolize -c --force --automake; mv l*.m4 m4; fi + if test -f aclocal.m4 ; then touch aclocal.m4; else aclocal-1.9 -I m4; fi + if test -f config.h.in ; then touch config.h.in; else autoheader2.50; fi + if test -f Makefile.in ; then find . -name Makefile.in -exec touch {} \; ;\ + else automake-1.9 --gnu --copy --add-missing; fi + + if test -f configure ; then touch configure; else autoconf2.50 -I . ; fi + + -$(MAKE) distclean + + -rm autom4te.cache + -rm config.log + + dh_clean + +config: config-stamp +config-stamp: configure + dh_testdir + chmod +x configure + CFLAGS="$(CFLAGS)" \ + ./configure --enable-maintainer-mode \ + --prefix=/usr --libexecdir=/usr/lib/ \ + --with-exiv2 --enable-extras --enable-mime + touch config-stamp + +build: build-stamp +build-stamp: config + dh_testdir + + $(MAKE) + + touch build-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs +# nothing to do, the rest is done by dh_install. + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs -n -A + dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf + dh_installmime + dh_gconf +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_desktop -pufraw + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: config build clean binary-indep binary-arch binary install --- ufraw-0.10.orig/debian/gimp-ufraw.dirs +++ ufraw-0.10/debian/gimp-ufraw.dirs @@ -0,0 +1 @@ +usr/lib/gimp/2.0/plug-ins --- ufraw-0.10.orig/debian/ufraw.manpages +++ ufraw-0.10/debian/ufraw.manpages @@ -0,0 +1,2 @@ +ufraw.1 +debian/nikon-curve.1