--- exifprobe-2.0.1.orig/Makefile +++ exifprobe-2.0.1/Makefile @@ -22,9 +22,10 @@ #CFLAGS += -DNATIVE_BYTEORDER_BIGENDIAN # or add to ./byteorder.h # On Solaris, you may need to use 'gmake', or edit the next line. -PREFIX ?= /usr/local -BINDIR=$(PREFIX)/bin -MANDIR=$(PREFIX)/man/man1 +INSTALL = install -d -m 644 +PREFIX ?= $(DESTDIR)/usr +BINDIR=$(PREFIX)/bin/local +MANDIR=$(PREFIX)/share/man/man1 INCLUDES=defs.h extern.h misc.h tifftags.h exiftags.h \ @@ -71,10 +72,13 @@ $(CC) -o exifprobe $(CFLAGS) $(OBJS) comptime.c -lm install: all - cp exifprobe $(BINDIR) - cp exifgrep $(BINDIR) - cp exifprobe.1 $(MANDIR) - cp exifgrep.1 $(MANDIR) + install -d $(PREFIX)/bin + install -d $(PREFIX)/share/man/man1 + install -c -m 755 exifprobe $(PREFIX)/bin + install -c -m 755 exifgrep $(PREFIX)/bin + install -c -m 644 exifprobe.1 $(PREFIX)/share/man/man1 + install -c -m 644 exifgrep.1 $(PREFIX)/share/man/man1 + # if you want HTML man pages, pick a target; I prefer man2html rman: exifprobe.1 exifgrep.1 --- exifprobe-2.0.1.orig/debian/changelog +++ exifprobe-2.0.1/debian/changelog @@ -0,0 +1,19 @@ +exifprobe (2.0.1-1fakesync1) maverick; urgency=low + + * Target version to fakesync instead build (LP: #591259). + + -- Artur Rona Tue, 08 Jun 2010 15:19:38 +0200 + +exifprobe (2.0.1-1build1) hardy; urgency=low + + * Fake-sync due to different md5sum of the .orig.tar.gz (LP: #124964). + + -- Michael Bienia Sat, 01 Dec 2007 12:02:51 +0100 + +exifprobe (2.0.1-1) unstable; urgency=low + + * Initial release (Closes: #428748) + * Fixed Makefile and emailed changes upstream + + -- Martin Albisetti Wed, 13 Jun 2007 16:31:10 +0100 + --- exifprobe-2.0.1.orig/debian/rules +++ exifprobe-2.0.1/debian/rules @@ -0,0 +1,88 @@ +#!/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 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/exifprobe.sgml > exifprobe.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + -$(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/exifprobe. + $(MAKE) install DESTDIR=$(CURDIR)/debian/exifprobe + + +# Build architecture-independent files here. +binary-indep: 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 +# dh_install + dh_installman + dh_link usr/share/doc/CHANGES_2.0.gz usr/share/doc/exifprobe/changelog.gz + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- exifprobe-2.0.1.orig/debian/copyright +++ exifprobe-2.0.1/debian/copyright @@ -0,0 +1,58 @@ +This package was debianized by Martin Albisetti on +Wed, 13 Jun 2007 16:31:10 0100. + +It was downloaded from http://www.virtual-cafe.com/~dhh/tools.d/exifprobe.d/exifprobe.html + +Upstream Author: Duane H. Hesser + +Copyright: Copyright: (C) 2005 Duane H. Hesser + +License: + +All of the files included in the EXIFPROBE distribution are: + + Copyright (C) 2005 by Duane H. Hesser. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + + + +However, there is a little note: + +"Some individual files may be covered by other copyrights." + +Not finding any evidence of such different copyright, I mailed the +author. Here is his reply: + +> There are no files in the distribution currently which bear separate +> copyrights; all files included are "personally produced". +> +> It is difficult to recall (it's been a while), but I may have intended +> to include documents with external copyrights, although that has never +> happened, and likely never will. + + +The Debian packaging is (C) 2007, Martin Albisetti and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + --- exifprobe-2.0.1.orig/debian/docs +++ exifprobe-2.0.1/debian/docs @@ -0,0 +1,7 @@ +ABOUT_PIM +CAMERA_makes_and_models +CHANGES_2.0 +CREDITS +DESCRIPTION +LICENSE.EXIFPROBE +MAKER_NOTES --- exifprobe-2.0.1.orig/debian/dirs +++ exifprobe-2.0.1/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- exifprobe-2.0.1.orig/debian/compat +++ exifprobe-2.0.1/debian/compat @@ -0,0 +1 @@ +5 --- exifprobe-2.0.1.orig/debian/control +++ exifprobe-2.0.1/debian/control @@ -0,0 +1,22 @@ +Source: exifprobe +Section: graphics +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Martin Albisetti +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: exifprobe +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Read metadata from digital pictures + Exifprobe reads image files produced by digital cameras (including + several so-called "raw" file formats) and reports the structure of + the files and the auxiliary data and metadata contained within + them. In addition to TIFF, JPEG, and EXIF, the program understands + several formats which may contain "raw" camera data, including MRW, + CIFF/CRW, JP2/JPEG2000, RAF, and X3F, as well as most most + TIFF-derived "raw" formats, including DNG, ORF, CR2, NEF, + K25/KDC/DCR, and PEF. + . + http://www.virtual-cafe.com/~dhh/tools.d/exifprobe.d/exifprobe.html