--- recoverjpeg-1.1.1.orig/sort-pictures +++ recoverjpeg-1.1.1/sort-pictures @@ -33,7 +33,7 @@ } identify > /dev/null 2>&1 || dependencies -exif > /dev/null 2>&1 || dependencies +exif --help > /dev/null 2>&1 || dependencies for i in image?????*.jpg; do d=`destdir $i` --- recoverjpeg-1.1.1.orig/recoverjpeg.c +++ recoverjpeg-1.1.1/recoverjpeg.c @@ -205,7 +205,7 @@ int page_size; off_t offset; unsigned char *format; - char c; + int c; read_size = 128*1024*1024; block_size = 512; --- recoverjpeg-1.1.1.orig/debian/copyright +++ recoverjpeg-1.1.1/debian/copyright @@ -0,0 +1,23 @@ +This package was debianized by Cyril Bouthors on +Fri, 31 Dec 2004 09:17:05 +0300. + +It was downloaded from http://www.rfc1149.net/download/recoverjpeg/ + +Copyright: + +Upstream Author: Samuel Tardieu + +License: + +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. + +On Debian systems, the complete text of the GNU General Public License +can be found in /usr/share/common-licenses/GPL file. --- recoverjpeg-1.1.1.orig/debian/dirs +++ recoverjpeg-1.1.1/debian/dirs @@ -0,0 +1 @@ +usr/bin --- recoverjpeg-1.1.1.orig/debian/docs +++ recoverjpeg-1.1.1/debian/docs @@ -0,0 +1 @@ +README --- recoverjpeg-1.1.1.orig/debian/compat +++ recoverjpeg-1.1.1/debian/compat @@ -0,0 +1 @@ +5 --- recoverjpeg-1.1.1.orig/debian/changelog +++ recoverjpeg-1.1.1/debian/changelog @@ -0,0 +1,44 @@ +recoverjpeg (1.1.1-1.3) unstable; urgency=low + + * Non-maintainer upload. + * Remove cruft from .diff.gz that somehow got in there during my last + upload + + -- Wouter Verhelst Sat, 06 Sep 2008 22:57:06 +0200 + +recoverjpeg (1.1.1-1.2) unstable; urgency=low + + * Non-maintainer upload. + * recoverjpeg.c: Fix incorrect assumption about char signedness, which + breaks on architectures where char is unsigned (powerpc, s390, and + arm); Closes: #404717. + * debian/compat, debian/rules: bump debhelper compat level to 5 + * debian/control: Add 'Suggests: imagemagick, exif' to debian/control, + since sort-pictures wants to use those. + * sort-pictures: Modify first exif call to 'exif --help', so that it + won't incorrectly determine that exif is not on disk. + * debian/rules: don't ignore make exit state on 'make distclean'; + silences lintian warning. + * debian/control: Bump Standards-Version to 3.8.0 (no changes applicable to + recoverjpeg) + + -- Wouter Verhelst Mon, 25 Aug 2008 23:30:52 +0200 + +recoverjpeg (1.1.1-1.1) unstable; urgency=high + + * NMU + * Fix license issue: recoverjpeg is GPLv2 only. (Closes: #434150) + + -- Aurélien GÉRÔME Sun, 02 Dec 2007 02:04:02 +0100 + +recoverjpeg (1.1.1-1) unstable; urgency=low + + * New upstream release + + -- Cyril Bouthors Mon, 30 May 2005 10:49:24 +0300 + +recoverjpeg (1.0-1) unstable; urgency=low + + * Initial Release. + + -- Cyril Bouthors Fri, 31 Dec 2004 09:17:05 +0300 --- recoverjpeg-1.1.1.orig/debian/control +++ recoverjpeg-1.1.1/debian/control @@ -0,0 +1,15 @@ +Source: recoverjpeg +Section: graphics +Priority: optional +Maintainer: Cyril Bouthors +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.8.0 + +Package: recoverjpeg +Architecture: any +Depends: ${shlibs:Depends} +Suggests: imagemagick, exif +Description: Recover jpeg pictures from a filesystem image + Recoverjpeg tries to identify jpeg pictures from a filesystem image. + To achieve this goal, it scans the filesystem image and looks for a + jpeg structure at blocks starting at 512 bytes boundaries. --- recoverjpeg-1.1.1.orig/debian/rules +++ recoverjpeg-1.1.1/debian/rules @@ -0,0 +1,80 @@ +#!/usr/bin/make -f +# 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 + +config.status: configure + dh_testdir + CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + +build: build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean +# ifneq "$(wildcard /usr/share/misc/config.sub)" "" +# cp -f /usr/share/misc/config.sub config.sub +# endif +# ifneq "$(wildcard /usr/share/misc/config.guess)" "" +# cp -f /usr/share/misc/config.guess config.guess +# endif + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/recoverjpeg + +# 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 +# dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# 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