debian/0000775000000000000000000000000011755617352007204 5ustar debian/README.Debian0000664000000000000000000000046311755617342011247 0ustar dares for Debian ---------------- Dares can use H2cdimage (ftp://ftp.heise.de/pub/ct/ctsi/h2cdimage.zip) files to rescue data from heavily damaged optical discs. But beware: H2cdimage is only available in binary form for win32. -- Michael Hanke , Sat, 1 Oct 2005 09:26:36 +0200 debian/changelog0000664000000000000000000000362011755617342011056 0ustar dares (0.6.5-7) unstable; urgency=low * Bump Standards-Version to 3.9.3. * debian/control: Add Vcs-* * Drop support qt3-gui (Closes: #604346) -- TANIGUCHI Takaki Sat, 19 May 2012 13:17:09 +0900 dares (0.6.5-6) unstable; urgency=low * debian/patches/01_fix_ftbfs_binutils-gold.patch: fix FTBFS --as-neeed (Closes: #616695) -- TANIGUCHI Takaki Tue, 05 Apr 2011 14:42:46 +0900 dares (0.6.5-5) unstable; urgency=low * New maintainer (Closes: #528616) * changed patch management with quilt. * debian/compat: 7 * debian/source/format: 3.0 (quilt) * debian/control: - Standards-Version: 3.9.1 (no changes necessary) -- TANIGUCHI Takaki Tue, 02 Nov 2010 10:53:30 +0900 dares (0.6.5-4) unstable; urgency=low * Bumped Standards-version to 3.8.0 - no changes necessary. * Updated menu file to the new structure (Closes: #496224). Thanks to Bill Allombert for reporting this bug. * Added the word 'Copyright' to debian/copyright, to satisfy lintian. -- Michael Hanke Mon, 01 Sep 2008 09:13:32 +0200 dares (0.6.5-3) unstable; urgency=low * Bumped Standards-version to 3.7.2 - no changes necessary. * Drop Florian from Uploaders on his own request. * Add missing include directive for GCC 4.3 compatibility. (Closes: #417143) -- Michael Hanke Fri, 29 Jun 2007 11:34:20 +0200 dares (0.6.5-2) unstable; urgency=low * Explicitly call qmake-qt3 instead of simply qmake when building the package. * Added -g build flag for all binaries. * Added selection of compiler optimization flags via DEB_BUILD_OPTIONS. -- Michael Hanke Fri, 28 Oct 2005 14:00:45 +0200 dares (0.6.5-1) unstable; urgency=low * Added manpage. * Initial Release (Closes: #331129). -- Michael Hanke Sat, 22 Oct 2005 20:35:40 +0200 debian/compat0000664000000000000000000000000211755617342010401 0ustar 7 debian/control0000664000000000000000000000116111755617342010605 0ustar Source: dares Section: utils Priority: optional Maintainer: TANIGUCHI Takaki Build-Depends: debhelper (>= 7.0.50~), libmagic-dev, libncurses-dev Vcs-Git: git://git.debian.org/collab-maint/dares.git Vcs-Browser: http://git.debian.org/?p=collab-maint/dares.git;a=summary Standards-Version: 3.9.3 Package: dares Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: rescue files from damaged CDs and DVDs (ncurses-interface) Dares scans a CD/DVD image or a CD/DVD for files. This also works when the filesystem (ISO-9660 or UDF) on the disc is damaged and cannot be mounted anymore. debian/copyright0000664000000000000000000000226011755617342011136 0ustar This package was debianized by Michael Hanke on Sat, 1 Oct 2005 09:26:36 +0200. It was downloaded from ftp://ftp.heise.de/pub/ct/ctsi/dares.tgz Copyright (C) 2002 Oliver Diedrich Copyright (C) 2005 c't Magazin fuer Computertechnik, Heise Zeitschriften Verlag http://www.ctmagazin.de License: This package 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; either version 2 of the License, or (at your option) any later version. This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1310, USA. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/dares-qt.10000664000000000000000000000370411755617342011011 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .TH "DARES" "1" "Oktober 2005" "Michael Hanke" "" .SH "NAME" \fBdares\fR \- rescue files from damaged CDs and DVDs .SH "SYNOPSIS" \fBdares\fR \-i \fIimage\fR \-s \fIpath\fR [\-h2i \fIh2i_file\fR] [\-a] [\-m] [\-l\fIlogfile\fR] .br \fBdares\-qt\fR [\-i \fIimage\fR] [\-s \fIpath\fR] [\-h2i \fIh2i_file\fR] [\-a] [\-m] [\-l\fIlogfile\fR] .SH "DESCRIPTION" \fBDares\fR scans a CD/DVD image or a CD/DVD and tries to find files. It does not depend on filesystem information, but instead uses the \fBMagic library\fR to identify files. Doing it this way \fBDares\fR can recover files even when the filesystem (ISO\-9660 or UDF) on the disc is damaged and cannot be mounted anymore. .PP Dares can use H2cdimage (ftp://ftp.heise.de/pub/ct/ctsi/h2cdimage.zip) files to rescue data from heavily damaged optical discs. .SH "OPTIONS" .TP \fB\-i\fR CD/DVD image file or device. .TP \fB\-s\fR Directory where the rescued files shall be stored. .TP \fB\-h2i\fR Optional \fIh2i\fR file for the CD/DVD image. .TP \fB\-a\fR Store all found files without any user interaction. .TP \fB\-m\fR Use Mime types instead of a description. \fB\-l\fR Logfile (default: dares.log) .SH "AUTHOR" \fBdares\fR was written by Oliver Diedrich . .PP This manual page was written by Michael Hanke , for the Debian project (but may be used by others). debian/dares-qt.dirs0000664000000000000000000000001011755617342011575 0ustar usr/bin debian/dares-qt.docs0000664000000000000000000000006411755617342011575 0ustar doc/README.deutsch debian/README.Debian doc/HISTORY debian/dares-qt.manpages0000664000000000000000000000002211755617342012432 0ustar debian/dares-qt.1 debian/dares-qt.menu0000664000000000000000000000021111755617342011603 0ustar ?package(dares-qt): \ needs="X11" \ section="Applications/File Management" \ title="DaRes" \ command="/usr/bin/dares-qt" debian/dares.10000664000000000000000000000370411755617342010367 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .TH "DARES" "1" "Oktober 2005" "Michael Hanke" "" .SH "NAME" \fBdares\fR \- rescue files from damaged CDs and DVDs .SH "SYNOPSIS" \fBdares\fR \-i \fIimage\fR \-s \fIpath\fR [\-h2i \fIh2i_file\fR] [\-a] [\-m] [\-l\fIlogfile\fR] .br \fBdares\-qt\fR [\-i \fIimage\fR] [\-s \fIpath\fR] [\-h2i \fIh2i_file\fR] [\-a] [\-m] [\-l\fIlogfile\fR] .SH "DESCRIPTION" \fBDares\fR scans a CD/DVD image or a CD/DVD and tries to find files. It does not depend on filesystem information, but instead uses the \fBMagic library\fR to identify files. Doing it this way \fBDares\fR can recover files even when the filesystem (ISO\-9660 or UDF) on the disc is damaged and cannot be mounted anymore. .PP Dares can use H2cdimage (ftp://ftp.heise.de/pub/ct/ctsi/h2cdimage.zip) files to rescue data from heavily damaged optical discs. .SH "OPTIONS" .TP \fB\-i\fR CD/DVD image file or device. .TP \fB\-s\fR Directory where the rescued files shall be stored. .TP \fB\-h2i\fR Optional \fIh2i\fR file for the CD/DVD image. .TP \fB\-a\fR Store all found files without any user interaction. .TP \fB\-m\fR Use Mime types instead of a description. \fB\-l\fR Logfile (default: dares.log) .SH "AUTHOR" \fBdares\fR was written by Oliver Diedrich . .PP This manual page was written by Michael Hanke , for the Debian project (but may be used by others). debian/dares.dirs0000664000000000000000000000001011755617342011153 0ustar usr/bin debian/dares.docs0000664000000000000000000000003711755617342011153 0ustar doc/README.deutsch doc/HISTORY debian/dares.manpages0000664000000000000000000000001711755617342012014 0ustar debian/dares.1 debian/install0000664000000000000000000000003711755617342010574 0ustar frontend/ncurses/dares usr/bin debian/patches/0000775000000000000000000000000011755617342010632 5ustar debian/patches/00-makefile.patch0000664000000000000000000000257411755617342013655 0ustar --- dares-0.6.5.orig/Makefile +++ dares-0.6.5/Makefile @@ -1,7 +1,7 @@ all : qt ncurses qt : - cd frontend/qt && qmake && make + cd frontend/qt && qmake-qt3 "DEB_BUILD_OPTIONS=$$DEB_BUILD_OPTIONS" && make ncurses : cd frontend/ncurses && make --- dares-0.6.5.orig/frontend/qt/qt.pro +++ dares-0.6.5/frontend/qt/qt.pro @@ -20,11 +20,16 @@ DEPENDPATH += ../../include +# care for Debian build options +contains( DEB_BUILD_OPTIONS, noopt ) { +QMAKE_CXXFLAGS_RELEASE -= -O2 +QMAKE_CXXFLAGS_RELEASE += -O0 +} win32:LIBS += ..\..\lib\dares.lib linux-g++:LIBS += -lmagic -linux-g++:QMAKE_CXXFLAGS += -pedantic -Wno-long-long +linux-g++:QMAKE_CXXFLAGS += -g -pedantic -Wno-long-long CONFIG += depend_includepath --- dares-0.6.5.orig/frontend/qt/main.cpp +++ dares-0.6.5/frontend/qt/main.cpp @@ -28,6 +28,7 @@ #include #include +#include #define PROG_NAME "DAta REScue (C) 2005 c't" --- dares-0.6.5.orig/frontend/ncurses/Makefile +++ dares-0.6.5/frontend/ncurses/Makefile @@ -3,9 +3,17 @@ C_FILE = ../../backend/dares.c display.c CC = gcc -CFLAGS = -g -O2 -Wall +CFLAGS = -g -Wall LDFLAGS = -Wall -lncurses -lmagic +# care for Debian build options +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + + dares : $(OBJ) $(CC) $(LDFLAGS) -o dares $(OBJ) $(OBJ) : $(H_FILE) debian/patches/01_fix_ftbfs_binutils-gold.patch0000664000000000000000000000063611755617342016766 0ustar Index: dares-0.6.5/frontend/ncurses/Makefile =================================================================== --- dares-0.6.5.orig/frontend/ncurses/Makefile 2011-03-06 17:51:03.730609000 +0000 +++ dares-0.6.5/frontend/ncurses/Makefile 2011-03-06 17:51:23.994609000 +0000 @@ -15,7 +15,7 @@ dares : $(OBJ) - $(CC) $(LDFLAGS) -o dares $(OBJ) + $(CC) -o dares $(OBJ) $(LDFLAGS) $(OBJ) : $(H_FILE) clean : debian/patches/series0000664000000000000000000000006311755617342012046 0ustar 00-makefile.patch 01_fix_ftbfs_binutils-gold.patch debian/rules0000775000000000000000000000025311755617342010263 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_build: $(MAKE) ncurses override_dh_auto_clean: -[ ! -f frontend/ncurses/Makefile ] || $(MAKE) -C frontend/ncurses clean debian/source/0000775000000000000000000000000011755617342010503 5ustar debian/source/format0000664000000000000000000000001411755617342011711 0ustar 3.0 (quilt)