debian/0000755000000000000000000000000011731434033007165 5ustar debian/control0000644000000000000000000000172511731433757010611 0ustar Source: page-crunch Section: text Priority: optional Maintainer: Sylvain Beucler Uploaders: David Cobac Build-Depends: debhelper (>= 7.0.50~) Build-Depends-Indep: gettext Standards-Version: 3.9.3 Homepage: http://wfr.tcl.tk/279 Package: page-crunch Architecture: all # ghostscript: ps2pdf # xpdf-utils | poppler-utils: pdftops, pdfinfo # psutils: psnup, psbook, pstops, psselect Depends: ${misc:Depends}, tk8.4 | wish, psutils, ghostscript, xpdf-utils | poppler-utils Recommends: gv | postscript-viewer, xpdf | pdf-viewer Description: PDF and PS manipulation for printing needs Converts PDF and PS files to new PDF and PS documents with several sheets on the same page, or with resized or rotated sheets. It also can generate a book ready to print. . It acts as a graphical frontend to psutils programs, like psnup and psbook, and runs viewers such as xpdf and gv for preview once the processing is done. The GUI is made in Tcl/Tk. debian/compat0000644000000000000000000000000211731431035010362 0ustar 7 debian/changelog0000644000000000000000000000455311731433776011063 0ustar page-crunch (1.0.1-3) unstable; urgency=low * Switch to 3.0 (quilt) package source format * Bump Standards-Version to 3.9.3 * Add alternate wish dependency so the package can work with newer tcl * Call 'wish' instead of 'tclsh' on startup so as to avoid using a version of tcl with no matching tk (closes: #664218) -- Sylvain Beucler Sun, 18 Mar 2012 19:57:52 +0100 page-crunch (1.0.1-2) unstable; urgency=low * Bump Standards-Version to 3.8.4 * Fix debhelper-but-no-misc-depends by adding ${misc:Depends} in binary package dependencies * Use new Homepage: field in debian/control instead of embedding that information in the package description * Update menu category to Applications/Text * Renamed debian/UPGRADE to more standard debian/README.source * Update copyright years for packaging and bump GPL to v3 * Improve description * Update dependency: gs-common -> ghostscript -- Sylvain Beucler Sun, 06 Jun 2010 20:58:36 +0200 page-crunch (1.0.1-1) unstable; urgency=low * New upstream release (take input filename into account when it's entered manually instead of using the file browser) -- Sylvain Beucler Sun, 5 Nov 2006 11:45:26 +0100 page-crunch (1.0-1) unstable; urgency=low * New upstream release: select appropriate Tcl version (closes: #387323) -- Sylvain Beucler Tue, 26 Sep 2006 11:50:46 +0200 page-crunch (0.9.9-1) unstable; urgency=low * New release: packaging and i18n (closes: #384235) * Simplify packaging by delegating to upstream's Makefile. -- Sylvain Beucler Wed, 30 Aug 2006 17:52:39 +0200 page-crunch (0.9.5-1) unstable; urgency=low * New release * Clean-up * Use debhelper 5 -- Sylvain Beucler Mon, 7 Aug 2006 12:25:00 +0200 page-crunch (0.9-1) unstable; urgency=low * updated to the new upstream version. -- Georges Khaznadar Sun, 14 Sep 2003 18:56:40 +0200 page-crunch (0.7.2-1) unstable; urgency=low * updated to the new upstream version. * adapted the copyright file to reflect the change in upstream source location. -- Georges Khaznadar Sat, 13 Sep 2003 19:21:16 +0200 page-crunch (0.7-1) unstable; urgency=low * Initial Release. -- Georges Khaznadar Sun, 7 Sep 2003 21:56:58 +0200 debian/page-crunch.menu0000644000000000000000000000016411731427242012254 0ustar ?package(page-crunch):needs="X11" section="Applications/Text"\ title="Page-crunch" command="/usr/bin/page-crunch" debian/rules.old0000755000000000000000000000205111731427242011024 0ustar #!/usr/bin/make -f # Copyright (C) 2006 Sylvain Beucler # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright # notice and this notice are preserved. # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 .PHONY: build build-indep build-arch \ binary-indep binary-arch binary \ clean get-orig-source build: build-arch: build-indep: # nothing # Build architecture-independent files here. binary-indep: build-indep dh_testdir dh_testroot make install PREFIX=/usr DESTDIR=$(CURDIR)/debian/page-crunch dh_installchangelogs -i dh_installdocs -i dh_installmenu -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # Build architecture-dependent files here. binary-arch: build-arch # nothing binary: binary-indep binary-arch clean: dh_testdir dh_testroot dh_clean make clean rpm: fakeroot alien --to-rpm ../page-crunch_`dpkg-parsechangelog | grep Version | sed s'/Version: //'`_all.deb mv *.rpm .. debian/copyright0000644000000000000000000000241211731427242011123 0ustar Upstream sources * Homepage: http://wfr.tcl.tk/279 * Releases: http://dcobac.free.fr/tcl/page-crunch/ Upstream copyright Copyright (C) 2003, 2004, 2006 David Cobac 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; either version 2 of the License, or (at your option) any later version 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 Street, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2. The Debian packaging is Copyright (C) 2003 Georges Khaznadar , Copyright (C) 2006, 2010, Sylvain Beucler and is licensed under the GPL, either version 3, or (at your option) any later version, see `/usr/share/common-licenses/GPL-3'. debian/patches/0000755000000000000000000000000011731433437010623 5ustar debian/patches/series0000644000000000000000000000001711731431443012031 0ustar use_wish.patch debian/patches/use_wish.patch0000644000000000000000000000113011731432524013461 0ustar Description: Call 'wish' instead of 'tclsh' on startup so as to avoid using a version of tcl with no matching tk Forwarded: private mail Author: Sylvain Beucler Last-Update: 2012-03-18 Index: page-crunch-1.0.1/page-crunch.tcl =================================================================== --- page-crunch-1.0.1.orig/page-crunch.tcl 2006-11-04 08:28:37.000000000 +0100 +++ page-crunch-1.0.1/page-crunch.tcl 2012-03-18 20:07:17.000000000 +0100 @@ -1,6 +1,6 @@ #!/bin/sh # the next line restarts using wish \ -exec tclsh "$0" "$@" +exec wish "$0" "$@" # page-crunch.tcl # debian/rules0000755000000000000000000000155211731430675010260 0ustar #!/usr/bin/make -f # -*- makefile -*- # # 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. # # Modified to make a template file for a multi-binary package with separated # build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS # For 'make install'. export PREFIX=/usr %: dh $@ override_dh_auto_install: make install PREFIX=/usr DESTDIR=$(CURDIR)/debian/page-crunch rpm: fakeroot alien --to-rpm ../page-crunch_`dpkg-parsechangelog | grep Version | sed s'/Version: //'`_all.deb mv *.rpm .. debian/source/0000755000000000000000000000000011731427614010474 5ustar debian/source/format0000644000000000000000000000001311731427614011701 0ustar 3.0 (quilt)debian/README.source0000644000000000000000000000233011731427242011346 0ustar How to upgrade the Debian package? Here's the 1.0 -> 1.0.1 upgrade procedure: $ ls page-crunch_1.0-1_all.deb page-crunch_1.0-1.dsc page-crunch_1.0-1.diff.gz page-crunch_1.0.orig.tar.gz $ dpkg-source -x page-crunch_1.0-1.dsc dpkg-source: extracting page-crunch in page-crunch-1.0 dpkg-source: unpacking page-crunch_1.0.orig.tar.gz dpkg-source: applying ./page-crunch_1.0-1.diff.gz $ cd page-crunch-1.0/ $ uscan page-crunch: Newer version (1.0.1) available on remote site: http://dcobac.free.fr/tcl/page-crunch/page-crunch-1.0.1.tar.gz (local version is 1.0) page-crunch: Successfully downloaded updated package page-crunch-1.0.1.tar.gz and symlinked page-crunch_1.0.1.orig.tar.gz to it $ uupdate ../page-crunch-1.0.1.tar.gz New Release will be 1.0.1-1. -- Untarring the new sourcecode archive ../page-crunch-1.0.1.tar.gz Success! The diffs from version 1.0-1 worked fine. Remember: Your current directory is the OLD sourcearchive! Do a "cd ../page-crunch-1.0.1" to see the new package $ cd ../page-crunch-1.0.1/ $ dch # Edit the changelog entry $ debuild # [...] $ sudo debi # Test the installed package Once your package is ready, you can follow the instructions at: http://mentors.debian.net/cgi-bin/maintainer-intro debian/watch0000644000000000000000000000037511731427242010227 0ustar # With this file you can run the "uscan" command # to check for upstream updates and more. # Compulsory line, this is a version 3 file version=3 # Examine the releases directory via HTTP: http://dcobac.free.fr/tcl/page-crunch/page-crunch-(.*)\.tar.gz