[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#634760: marked as done (pct-scanner-scripts: fails when device name contains whitespace)



Your message dated Sat, 16 Nov 2024 14:51:27 +0000
with message-id <E1tCK91-0090wI-Hk@fasolo.debian.org>
and subject line Bug#634760: fixed in pct-scanner-scripts 0.0.4-5
has caused the Debian Bug report #634760,
regarding pct-scanner-scripts: fails when device name contains whitespace
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
634760: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634760
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: pct-scanner-scripts
Version: 0.0.4-3
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

In Ubuntu, the attached patch was applied to achieve the following:

  * Apply patch from Dwayne Litzenberger fixing improper quoting
    in the shell script. Thanks, Dwayne! (LP: #799190)


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric-proposed'), (500, 'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-5-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u pct-scanner-scripts-0.0.4/pct-scanner-script pct-scanner-scripts-0.0.4/pct-scanner-script
--- pct-scanner-scripts-0.0.4/pct-scanner-script
+++ pct-scanner-scripts-0.0.4/pct-scanner-script
@@ -331,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
 
@@ -362,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
 }
 
@@ -380,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
 }
 
@@ -398,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
 }

--- End Message ---
--- Begin Message ---
Source: pct-scanner-scripts
Source-Version: 0.0.4-5
Done: Petter Reinholdtsen <pere@debian.org>

We believe that the bug you reported is fixed in the latest version of
pct-scanner-scripts, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 634760@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated pct-scanner-scripts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 16 Nov 2024 14:44:12 +0100
Source: pct-scanner-scripts
Architecture: source
Version: 0.0.4-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Closes: 633121 634760 705828
Changes:
 pct-scanner-scripts (0.0.4-5) unstable; urgency=medium
 .
   * QA upload.
 .
   * Added d/gbp.conf to describe branch layout.
   * Updated vcs in d/control to Salsa.
   * Updated d/gbp.conf to enforce the use of pristine-tar.
   * Updated Standards-Version from 3.8.1 to 4.7.0.
   * Use wrap-and-sort -at for debian control files.
   * Trim trailing whitespace.
   * Add missing ${misc:Depends} to Depends for pct-scanner-scripts.
   * Bump debhelper from deprecated 7 to 13.
   * Set debhelper-compat version in Build-Depends.
   * Change priority extra to priority optional.
   * Flag in d/control that root build is not needed.
   * Switched d/rules to simple dh based build.
   * Modified scripts to handle device names with space (Closes: #634760).
   * Added 1020-sane-1.0.14.patch updating script to work with
     scanadf from sane 1.0.14 (Closes: #705828).
   * Added 1030-per-user-config.patch allowing users to override
     settings in ~/.pct-scanner-script.conf (Closes: #633121).
Checksums-Sha1:
 9a1d5c57bc35bd0d2f2c66661d8f20f53b63a646 1987 pct-scanner-scripts_0.0.4-5.dsc
 4d466a0a864e059ff2f3719325692aaaa9ac7fe6 5716 pct-scanner-scripts_0.0.4-5.debian.tar.xz
 b006b0519e92d732a0255a49676bd5c40c68c7ff 6419 pct-scanner-scripts_0.0.4-5_source.buildinfo
Checksums-Sha256:
 dad1ea80ba06b8aa3c0d06c1df883b4b5becd5ef4fe226c60cc5499272192ae3 1987 pct-scanner-scripts_0.0.4-5.dsc
 4bf79064d855694c0c5937adee8f388a14494556d1f3cb1cadfaace9054d28ff 5716 pct-scanner-scripts_0.0.4-5.debian.tar.xz
 4b4663e7f138d7d7ca3ef77d3a75e5032bf5b3a5d939c416c914202a04f43c57 6419 pct-scanner-scripts_0.0.4-5_source.buildinfo
Files:
 63e7cfeb6b3be7fd8cf1a1391b58e0d6 1987 misc optional pct-scanner-scripts_0.0.4-5.dsc
 4e6302dafba684d85e55faf53f25bf0e 5716 misc optional pct-scanner-scripts_0.0.4-5.debian.tar.xz
 4219f885d61694b0b7c273dcf902f0e9 6419 misc optional pct-scanner-scripts_0.0.4-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEERqLf4owIeylOb9kkgSgKoIe6+w4FAmc4ojIACgkQgSgKoIe6
+w6cUA//R4bLl1rs1IN2hIY2xMdH/PMK/0auKAFF27BoZK8Er+3amiy48MAmGBu+
7iuy/DFAOywJUbHeoD+KXildaFPD3sXMaT62F+qUhqdvUi2tIFCfNRFveU3PmwGw
3lywEU0lUlPB9V9fMZNdEkWLIyJ+Bhiljujg/Cy/u4CGc8q6nMYA/j4+JlcfVX1g
rOzk3nZJYteAbKIstyhbx/3BKyBucomOxeBvkLbsLpkBoj+CV9YxGXF2+ZgYA4Zb
/q/JUAbhJn+KZPkEXs4MTRRFwiU0SQ5on7Tnw6hNKHNwDAWshNTcT3oq+cv4+rKr
3ckIlaHs+7/qYkQ62BNSXOWJJm3DvoCk+t6OfQzsB/ygYoXGUwp3O64ELB8TNCZk
HnRPsvVX+ZInLzbtAMThXjrX3VFjl76BclMQkrWHCd6lKGfkrQ542SRVeImBqslm
19ShLeqICbg56wp80oiHLDun0+jZLGmenlYymzxQxcw8AKOo0nfVXzUBcDMJRwsa
cxNHuAYmraf0qjAk/VE4/3U7bFIbhkGLJospaZya0IQEq6pB+N1hZhuzEil/TZqj
TWjOV+zMqQZsUpTlkQ1ysNlyNwZt0lZt8sf0jJHaCjw259doreGcfZ5wSCHotBSe
J9rOUCvohSoBJp53hHd0l7mpBbZZjb/gZpPk49niQLY4uym4Doc=
=QzAK
-----END PGP SIGNATURE-----

Attachment: pgppQScRqko5i.pgp
Description: PGP signature


--- End Message ---

Reply to: