--- pct-scanner-scripts-0.0.4.orig/changelog +++ pct-scanner-scripts-0.0.4/changelog @@ -1,4 +1,8 @@ -2009-03-30 20:55 Jelle de Jong +2009-04-01 21:00 Jelle de Jong + + * fixed typos in descriptions in files + +2009-03-31 20:55 Jelle de Jong * changing processing script to /usr/lib/pct-scanner-scripts instead of /var/lib/pct-scanner-scripts/ @@ -6,6 +10,7 @@ * removing connections to company in manpage and descriptions * adding Homepage and Licence to version info * adding README file with currently xbindkeys notes + * fixing processbusy and scanbusy functions and dont use mktemp 2009-02-26 14:30 Jelle de Jong --- pct-scanner-scripts-0.0.4.orig/debian/changelog +++ pct-scanner-scripts-0.0.4/debian/changelog @@ -0,0 +1,71 @@ +pct-scanner-scripts (0.0.4-3ubuntu2) noble; urgency=medium + + * No change rebuild to gain buildinfo. + + -- Dimitri John Ledkov Sat, 17 Feb 2024 18:47:16 +0000 + +pct-scanner-scripts (0.0.4-3ubuntu1) oneiric; urgency=low + + * Apply patch from Dwayne Litzenberger fixing improper quoting + in the shell script. Thanks, Dwayne! (LP: #799190) + + -- Daniel T Chen Tue, 19 Jul 2011 16:33:16 -0400 + +pct-scanner-scripts (0.0.4-3) unstable; urgency=low + + * changelog + fixed gap in this changelog + * control, pct-scanner-script and pct-scanner-script.1 + fixed typos in descriptions + + * merged above changes back to upstream tarball + + -- Jelle de Jong Wed, 01 Apr 2009 22:18:18 +0200 + +pct-scanner-scripts (0.0.4-2) unstable; urgency=low + + * fixing use of mktemp function and merged changes back to upstream + tarball + + -- Jelle de Jong Tue, 31 Mar 2009 23:40:13 +0200 + +pct-scanner-scripts (0.0.4-1) unstable; urgency=low + + * New upstream release + + * copyright + fixed typo in C) > (C) sign + * watch + removed examples in watch file + * install + pct-scanner-script-process now installs to usr/lib/pct-scanner-scripts + * dirs + create usr/lib/pct-scanner-scripts instead of var/lib/pct-scanner-scripts + * control + architecture changed to any -> all + updated standards-version 3.8.0 > 3.8.1 + new package descriptions in control file + * pct-support-scripts.docs + adding pct-scanner-scripts.docs for readme file + * rules + removed dh_installexamples + moved binary-arch rules to binary-indep + + -- Jelle de Jong Tue, 31 Mar 2009 22:33:33 +0200 + +pct-scanner-scripts (0.0.3-1) unstable; urgency=low + + * New upstream release + + * updated all paths to repository locations + * added localization support + * cleaned up comments in /debian/rules + * updated copyright file with 2009 year + + -- Jelle de Jong Wed, 25 Feb 2009 01:28:38 +0100 + +pct-scanner-scripts (0.0.2-1) unstable; urgency=low + + * Initial release (Closes: #512522) + + -- Jelle de Jong Wed, 21 Jan 2009 13:51:51 +0100 --- pct-scanner-scripts-0.0.4.orig/debian/compat +++ pct-scanner-scripts-0.0.4/debian/compat @@ -0,0 +1 @@ +7 --- pct-scanner-scripts-0.0.4.orig/debian/control +++ pct-scanner-scripts-0.0.4/debian/control @@ -0,0 +1,30 @@ +Source: pct-scanner-scripts +Section: misc +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Jelle de Jong +Build-Depends: debhelper (>= 7) +Standards-Version: 3.8.1 +Homepage: https://secure.powercraft.nl/svn/packages/trunk/source/pct-scanner-scripts/ + +Package: pct-scanner-scripts +Architecture: all +Depends: sane, imagemagick, djvulibre-bin +Recommends: pdftk +Suggests: evince +Description: scan and create merged DjVu and PDF documents for archiving + This package contains a script and configuration system to easily + scan documents and create digital archives. It can create DjVu + PDF and JPEG outputs, in merged and individual files. It also has + a configuration file system where different configurations can be + defined, making it easy to switch between configurations. + . + Features: + - auto archiving in merged and individual DjVu, PDF, and JPEG files + - auto and manual resume when scanning somehow fails + - cascading configuration system, for easy customizing + - easy command-line-style bash program, with useful options + - archiving made possible with both ADF and flatbed scanners + - built for productivity and daily use + - uses bash, scanadf and other mainstream processing tools + - multilanguage commandline output --- pct-scanner-scripts-0.0.4.orig/debian/copyright +++ pct-scanner-scripts-0.0.4/debian/copyright @@ -0,0 +1,43 @@ +This package was debianized by: + + Jelle de Jong on Wed, 21 Jan 2009 13:51:51 +0100 + +It was downloaded from: + + https://secure.powercraft.nl/svn/packages/trunk/source/pct-scanner-scripts/ + http://www.powercraft.nl/ + +Upstream Author: + + Jelle de Jong + http://www.tuxcrafter.net/ + +Copyright: + + Copyright (C) 2009 by Jelle de Jong, PowerCraft Technology + +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 3 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 St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License v3 can be found in `/usr/share/common-licenses/GPL-3'. + +The Debian packaging is: + + Copyright (C) 2009, Jelle de Jong + +and is licensed under the GPLv3, see above. + --- pct-scanner-scripts-0.0.4.orig/debian/dirs +++ pct-scanner-scripts-0.0.4/debian/dirs @@ -0,0 +1,5 @@ +usr/bin +etc +etc/pct-scanner-script.conf.d +usr/lib/pct-scanner-scripts +usr/share/locale --- pct-scanner-scripts-0.0.4.orig/debian/install +++ pct-scanner-scripts-0.0.4/debian/install @@ -0,0 +1,5 @@ +50configuration etc/pct-scanner-script.conf.d +pct-scanner-script usr/bin +pct-scanner-script.conf etc +pct-scanner-script-process usr/lib/pct-scanner-scripts +locale/* usr/share/locale --- pct-scanner-scripts-0.0.4.orig/debian/pct-scanner-scripts.docs +++ pct-scanner-scripts-0.0.4/debian/pct-scanner-scripts.docs @@ -0,0 +1 @@ +README --- pct-scanner-scripts-0.0.4.orig/debian/rules +++ pct-scanner-scripts-0.0.4/debian/rules @@ -0,0 +1,62 @@ +#!/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 + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + +# Build architecture-independent files here. +binary-indep: install + dh_testdir + dh_testroot + dh_installchangelogs changelog + dh_installdocs + dh_install + dh_installman pct-scanner-script.1 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- pct-scanner-scripts-0.0.4.orig/debian/tags +++ pct-scanner-scripts-0.0.4/debian/tags @@ -0,0 +1,8 @@ +use::organizing: Data Organisation +use::scanning: Scanning +use::storing +interface::commandline: Command Line +implemented-in::shell: bash +works-with-format::djvu: DjVu +works-with-format::pdf: PDF Documents +works-with-format::jpg: JPEG, Joint Photographic Experts Group --- pct-scanner-scripts-0.0.4.orig/debian/watch +++ pct-scanner-scripts-0.0.4/debian/watch @@ -0,0 +1,5 @@ +# Compulsory line, this is a version 3 file +version=3 + +# HHTPS subversion CACERT secured +https://secure.powercraft.nl/svn/packages/trunk/source/pct-scanner-scripts/pct-scanner-scripts-(.*)\.tar\.gz --- pct-scanner-scripts-0.0.4.orig/pct-scanner-script +++ pct-scanner-scripts-0.0.4/pct-scanner-script @@ -111,7 +111,7 @@ echo " example --lineart --config mystyle0 will use the section" echo " [lineart-mystyle0] in the configuration files. There is also an" echo " OPEN=COMMAND option in the configuration file to open the combined" - echo " output file with a program of own choice, when the scan is done" + echo " output file with a program of own choice, when the scan is done." echo echo " The config system uses a priority based cascading system, the" echo " command arguments options will overwrite the settings found in" @@ -121,27 +121,27 @@ echo echo "Description:" echo " Easy scan and create merged DjVu and PDF documents for archiving" - echo " This package contains a script and configuration system to easy" + echo " This package contains a script and configuration system to easily" echo " scan documents and create a digital archiving. It can create DjVu" - echo " PDF and JPEG outputs, in merged and single files. It also has a" - echo " configuration file system where different configurations can be" - echo " defined, this makes it easy to switching between configurations." - echo " The script is designed for productivity." + echo " PDF and JPEG outputs, in merged and individual files. It also has" + echo " a configuration file system where different configurations can be" + echo " defined, making it easy to switch between configurations. The " + echo " script is designed for productivity." echo echo "Features:" - echo " - auto archiving, in merged and singe DjVu, PDF, and JPEG files" + echo " - auto archiving in merged and individual DjVu, PDF, and JPEG files" echo " - auto and manual resume when scanning somehow fails" echo " - cascading configuration system, for easy customizing" - echo " - easy command line style bash program, with useful options" - echo " - archiving made possible with both adf and normal scanners" - echo " - build for productivity and daily use" + echo " - easy command-line-style bash program, with useful options" + echo " - archiving made possible with both adf and flatbed scanners" + echo " - built for productivity and daily use" echo " - uses bash, scanadf and other mainstream processing tools" - echo " - multilanguage commandline output" + echo " - multilanguage commandline output." echo echo " This program is a helper script to easy scan and automated digital" echo " document archiving for normal and adf scanners. You can debug this" echo " script by running it as bash -x pct-scanner-script [options]. The" - echo " script is just a nice wrapper for the scanadf, DjVu and PDF tools" + echo " script is just a nice wrapper for the scanadf, DjVu and PDF tools." echo echo "Website:" echo " https://secure.powercraft.nl/svn/packages/" @@ -179,7 +179,8 @@ then mkdir --parents "$OUTDIR"/scanscript/ fi - scanbusy=$(mktemp -p "$OUTDIR"/scanscript/ .scanbusy.txt) + scanbusy="$OUTDIR"/scanscript/.scanbusy.txt + touch "$scanbusy" trap "rm -f $scanbusy" 0 1 2 3 15 } @@ -192,8 +193,8 @@ function process_busy_scan() { seconds=0 - scanbusy="$OUTDIR"/scanscript/.processbusy.txt - while [ -e "$scanbusy" ] + processbusy="$OUTDIR"/scanscript/.processbusy.txt + while [ -e "$processbusy" ] do /bin/sleep 3 seconds=$(($seconds+3)) @@ -330,7 +331,7 @@ exit 1 fi - if [ $(echo "$SOURCE" | tr [:upper:] [:lower:]) == "flatbed" ]; then + if [ "$(echo "$SOURCE" | tr '[:upper:]' '[:lower:]')" == "flatbed" ]; then EXTRA="--end-count $startcount" fi @@ -361,7 +362,7 @@ echo $"resolution: $RESOLUTION" echo $"scanning of document has started, please standby ..." scan_busy_set - scanadf $VERBOSE --device-name $DEVICE --scan-script "$COMMAND" --output-file "$OUTDIR"/scanscript/input/image-%04d.pbm --source $SOURCE --resolution $RESOLUTION --mode Lineart --compression None -x 210.000mm -y 297.000mm --start-count "$startcount" $EXTRA $EXEC_VERBOSE + scanadf $VERBOSE --device-name "$DEVICE" --scan-script "$COMMAND" --output-file "$OUTDIR"/scanscript/input/image-%04d.pbm --source "$SOURCE" --resolution "$RESOLUTION" --mode Lineart --compression None -x 210.000mm -y 297.000mm --start-count "$startcount" $EXTRA $EXEC_VERBOSE scan_busy_unset } @@ -379,7 +380,7 @@ echo $"resolution: $RESOLUTION" echo $"scanning of document has started, please standby ..." scan_busy_set - scanadf $VERBOSE --device-name $DEVICE --scan-script "$COMMAND" --output-file "$OUTDIR"/scanscript/input/image-%04d.pbm --source $SOURCE --resolution $RESOLUTION --mode Color -x 210.000mm -y 297.000mm --start-count "$startcount" $EXTRA $EXEC_VERBOSE + scanadf $VERBOSE --device-name "$DEVICE" --scan-script "$COMMAND" --output-file "$OUTDIR"/scanscript/input/image-%04d.pbm --source "$SOURCE" --resolution "$RESOLUTION" --mode Color -x 210.000mm -y 297.000mm --start-count "$startcount" $EXTRA $EXEC_VERBOSE scan_busy_unset } @@ -397,7 +398,7 @@ echo $"resolution: $RESOLUTION" echo $"scanning of document has started, please standby ..." scan_busy_set - scanadf $VERBOSE --device-name $DEVICE --scan-script "$COMMAND" --output-file "$OUTDIR"/scanscript/input/image-%04d.pbm --source $SOURCE --resolution $RESOLUTION --mode Gray -x 210.000mm -y 297.000mm --start-count "$startcount" $EXTRA $EXEC_VERBOSE + scanadf $VERBOSE --device-name "$DEVICE" --scan-script "$COMMAND" --output-file "$OUTDIR"/scanscript/input/image-%04d.pbm --source "$SOURCE" --resolution "$RESOLUTION" --mode Gray -x 210.000mm -y 297.000mm --start-count "$startcount" $EXTRA $EXEC_VERBOSE scan_busy_unset } --- pct-scanner-scripts-0.0.4.orig/pct-scanner-script-process +++ pct-scanner-scripts-0.0.4/pct-scanner-script-process @@ -36,7 +36,8 @@ then mkdir --parents "$OUTDIR"/scanscript/ fi - processbusy=$(mktemp -p "$OUTDIR"/scanscript/ .processbusy.txt) + processbusy="$OUTDIR"/scanscript/.processbusy.txt + touch "$processbusy" trap "rm -f $processbusy" 0 1 2 3 15 } --- pct-scanner-scripts-0.0.4.orig/pct-scanner-script.1 +++ pct-scanner-scripts-0.0.4/pct-scanner-script.1 @@ -24,10 +24,10 @@ .br .SH DESCRIPTION \fBpct-scanner-script\fP is a bash script and configuration system to -easy scan documents and create a digital archiving. It can create DjVu -PDF and JPEG outputs, in merged and single files. It also has a +easily scan documents and create a digital archiving. It can create DjVu +PDF and JPEG outputs, in merged and individual files. It also has a configuration system where different configurations can be defined, -this makes it easy to switching between configurations. +making it easy to switch between configurations. .PP Please use .B pct-scanner-script --help @@ -38,12 +38,12 @@ .\" respectively. .PP .B Features: - - auto archiving, in merged and singe DjVu, PDF, and JPEG files + - auto archiving in merged and individual DjVu, PDF, and JPEG files - auto and manual resume when scanning somehow fails - cascading configuration system, for easy customizing - - easy command line style bash program, with useful options - - archiving made possible with both adf and normal scanners - - build for productivity and daily use + - easy command-line-style bash program, with useful options + - archiving made possible with both adf and flatbed scanners + - built for productivity and daily use - uses bash, scanadf and other mainstream processing tools - multilanguage commandline output .SH OPTIONS @@ -54,7 +54,7 @@ This program is a helper script to easy scan and automated digital document archiving for normal and adf scanners. You can debug this script by running it as bash -x pct-scanner-script [options]. The -script is just a nice wrapper for the scanadf, DjVu and PDF tools +script is just a nice wrapper for the scanadf, DjVu and PDF tools. .SH SEE ALSO .BR scanadf (1), .br