--- cthumb-4.2.orig/cthumb.in +++ cthumb-4.2/cthumb.in @@ -1698,15 +1698,15 @@ print "\tgenerating $dest ... "; if ($UseMogrify) { - system "cp $src $dest"; + system "cp \"$src\" \"$dest\""; my $cmd = "mogrify -rotate \"$destRotate\" -geometry \"${destWidth}x${destHeight}>\" -quality $quality"; if ($InsertExif){ - my $new_cmd = "jhead -cmd '$cmd &i' $dest"; + my $new_cmd = "jhead -cmd '$cmd &i' \"$dest\""; if (system($new_cmd)) { print "cthumb warning: command '$new_cmd' failed: $!\n"; } else {print "done.\n";} } else { - my $new_cmd = "$cmd $dest"; + my $new_cmd = "$cmd \"$dest\""; if (system($new_cmd)) { print "cthumb warning: command '$new_cmd' failed: $!\n"; } else {print "done.\n";} } --- cthumb-4.2.orig/debian/README.Debian +++ cthumb-4.2/debian/README.Debian @@ -0,0 +1,9 @@ +cthumb for Debian +----------------- + +There is a sample cthumbrc-file in /usr/share/doc/cthumb/examples. + +There are two contributed scripts in the +/usr/share/doc/cthumb/scripts directory, see the readme's. + + -- Michael Banck , Thu, 14 Jun 2001 18:02:20 +0000 --- cthumb-4.2.orig/debian/changelog +++ cthumb-4.2/debian/changelog @@ -0,0 +1,85 @@ +cthumb (4.2-3) unstable; urgency=low + + * debian/control: Add rsync to Build-Conflict-Indep, so that it does + not get included when it is installed on the build machine; + Closes: #197824 + + -- Michael Banck Wed, 16 Jul 2003 11:36:10 +0200 + +cthumb (4.2-2) unstable; urgency=low + + * cthumb.in: Quote filenames when using mogrify to avoid errors + with blanks inside filenames; Closes: #160647 + * debian/changelog: Removed local Emacs-variables + + -- Michael Banck Tue, 7 Jan 2003 20:20:52 +0100 + +cthumb (4.2-1) unstable; urgency=low + + * New upstream release + * New maintainer address + * Bumped Standards-Version to 3.5.6.1 + + -- Michael Banck Wed, 14 Aug 2002 19:09:34 +0200 + +cthumb (4.1-1) unstable; urgency=low + + * New upstream release + + -- Michael Banck Sun, 16 Dec 2001 01:08:19 +0100 + +cthumb (4.0-1) unstable; urgency=low + + * New upstream release + * Removed executable permissions from new oak.theme + * Added imagemagick to Suggests: + + -- Michael Banck Sat, 8 Dec 2001 11:53:41 +0100 + +cthumb (3.7.1-2) unstable; urgency=low + + * Slight change in Makefile.in + * Still from 3.7.1-1: Added clean and distclean targets and + a $(themedir) variable to Makefile.in + + -- Michael Banck Mon, 26 Nov 2001 22:35:51 +0100 + +cthumb (3.7.1-1) unstable; urgency=low + + * New upstream release + * Cleaned up debian/rules + * Adjusted Makefile.in to honor --mandir and fixed $(bindir) + + -- Michael Banck Sun, 25 Nov 2001 15:22:42 +0100 + +cthumb (3.7-1) unstable; urgency=low + + * New upstream release + + -- Michael Banck Sun, 11 Nov 2001 12:15:20 +0100 + +cthumb (3.6-1) unstable; urgency=low + + * New upstream release + + -- Michael Banck Mon, 8 Oct 2001 18:06:38 +0000 + +cthumb (3.5.1-1) unstable; urgency=low + + * New upstream release + + -- Michael Banck Mon, 17 Sep 2001 23:59:15 +0200 + +cthumb (3.5.0-1) unstable; urgency=low + + * New upstream release + + -- Michael Banck Tue, 11 Sep 2001 21:35:35 +0200 + +cthumb (3.4-1) unstable; urgency=low + + * Initial Release. + * Moved /usr/share/images/cthumb to /usr/share/cthumb as those + aren't really images but themes. + + -- Michael Banck Fri, 20 Jul 2001 21:32:40 +0000 --- cthumb-4.2.orig/debian/dirs +++ cthumb-4.2/debian/dirs @@ -0,0 +1,6 @@ +usr/bin +usr/share/cthumb +usr/share/doc/cthumb +usr/share/doc/cthumb/examples +usr/share/doc/cthumb/scripts +usr/share/man/man1 --- cthumb-4.2.orig/debian/copyright +++ cthumb-4.2/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Michael Banck on +Thu, 14 Jun 2001 18:02:20 +0000. + +It was downloaded from http://puchol.com/cpg/software/cthumb + +Upstream Author is Carlos Puchol, cpg@puchol.com + +Copyright: + + 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; version 2 dated June, 1991. + + 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., 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- cthumb-4.2.orig/debian/control +++ cthumb-4.2/debian/control @@ -0,0 +1,25 @@ +Source: cthumb +Section: web +Priority: optional +Maintainer: Michael Banck +Build-Depends-Indep: debhelper (>> 3.0.0) +Build-Conflicts-Indep: rsync +Standards-Version: 3.5.6.1 + +Package: cthumb +Architecture: all +Depends: ${perl:Depends}, libwww-perl, libjpeg-progs, netpbm +Suggests: imagemagick +Description: A program to generate themable Web picture albums + cthumb allows you to create themable web picture albums, i.e. + collections of digital pictures, with small thumbnails of your pictures + and with captions. In addition, it optionally allows you to have + several views of the collection of pictures. An album is composed of a + series of pages, each composed of a collection of pictures. For each + page (and each picture), you can have several annotations per picture. + cthumb will generate several versions of the page, for each annotation + type. + . + You can customize almost everything in the way the albums look on the + screen, from the size of the thumbnails to the background and foreground + colors, the border colors, whether you want film-strips, etc. --- cthumb-4.2.orig/debian/rules +++ cthumb-4.2/debian/rules @@ -0,0 +1,54 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +#export DH_VERBOSE=1 +export DH_COMPAT=3 + +configure: configure-stamp +configure-stamp: + dh_testdir + ./configure --prefix=/usr --mandir=\$${prefix}/share/man --with-themedir=/usr/share/cthumb + touch configure-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -$(MAKE) distclean + dh_clean + +install: configure + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install prefix=$(CURDIR)/debian/cthumb/usr \ + themedir=$(CURDIR)/debian/cthumb/usr/share/cthumb + install -m 666 cthumbrc.sample $(CURDIR)/debian/cthumb/usr/share/doc/cthumb/examples + install contrib/*album $(CURDIR)/debian/cthumb/usr/share/doc/cthumb/scripts + +binary-indep: build install + + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installman + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- cthumb-4.2.orig/debian/docs +++ cthumb-4.2/debian/docs @@ -0,0 +1,4 @@ +README +TO-DO +contrib/mkalbum.readme +contrib/tree2album.readme --- cthumb-4.2.orig/debian/01_quotation_fix.patch +++ cthumb-4.2/debian/01_quotation_fix.patch @@ -0,0 +1,22 @@ +--- cthumb-4.2.orig/cthumb.in ++++ cthumb-4.2/cthumb.in +@@ -1698,15 +1698,15 @@ + + print "\tgenerating $dest ... "; + if ($UseMogrify) { +- system "cp $src $dest"; ++ system "cp \"$src\" \"$dest\""; + my $cmd = "mogrify -rotate \"$destRotate\" -geometry \"${destWidth}x${destHeight}>\" -quality $quality"; + if ($InsertExif){ +- my $new_cmd = "jhead -cmd '$cmd &i' $dest"; ++ my $new_cmd = "jhead -cmd '$cmd &i' \"$dest\""; + if (system($new_cmd)) { print "cthumb warning: command '$new_cmd' failed: $!\n"; } + else {print "done.\n";} + + } else { +- my $new_cmd = "$cmd $dest"; ++ my $new_cmd = "$cmd \"$dest\""; + if (system($new_cmd)) { print "cthumb warning: command '$new_cmd' failed: $!\n"; } + else {print "done.\n";} + } +