Your message dated Thu, 13 Sep 2007 15:47:01 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#425505: fixed in gs-common 0.3.13-0.1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gs-common
Version: 0.3.13
Severity: important

Hi,

In version 0.3.12, you introduced a change that did this:
diff -bur gs-common-0.3.11/scripts/pdf2ps gs-common-0.3.12/scripts/pdf2ps
--- gs-common-0.3.11/scripts/pdf2ps     2006-10-20 21:50:35.000000000 +0200
+++ gs-common-0.3.12/scripts/pdf2ps     2007-05-22 09:49:31.000000000 +0200
@@ -16,18 +16,24 @@
        shift
 done
 
-if [ $# -eq 2 ] 
+if [ -t 1 ]
 then
+    if [ $# -eq 2 ]
+    then
     outfile=$2
-elif [ $# -eq 1 ]
-then
+    elif [ $# -eq 1 ]
+    then
     outfile=`basename "$1" \.pdf`.ps
-else
+    else
     echo "Usage: `basename $0` [-dASCII85EncodePages=false] 
[-dLanguageLevel=1|2|3] input.pdf [output.ps]" 1>&2
     exit 1
+    fi
+    OUTFILE="-sOutputFile=$outfile"
+else
+OUTFILE="-sOutputFile=%stdout%"
 fi
 
 # Doing an initial 'save' helps keep fonts from being flushed between pages.
 # We have to include the options twice because -I only takes effect if it
 # appears before other options.
-exec $GS_EXECUTABLE $OPTIONS -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite 
"-sOutputFile=$outfile" $OPTIONS -c save pop -f "$1"
+exec $GS_EXECUTABLE $OPTIONS -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite 
$OPTIONS -c save pop -f "$1"

------------------------

Why are you checking if fd 1 is a tty ([ -t 1 ]) ?

I don't see the point, and the consequence is that when pdf2ps is executed
without an attached tty, the "output file" argument is ignored, and the
postscript file is outputted to stdout.

This problem causes other packages to fail to build (e.g opensp, #423818), so
it would be great if you could fix this ASAP.

Thank you,
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |


--- End Message ---
--- Begin Message ---
Source: gs-common
Source-Version: 0.3.13-0.1

We believe that the bug you reported is fixed in the latest version of
gs-common, which is due to be installed in the Debian FTP archive:

gs-common_0.3.13-0.1.dsc
  to pool/main/g/gs-common/gs-common_0.3.13-0.1.dsc
gs-common_0.3.13-0.1.tar.gz
  to pool/main/g/gs-common/gs-common_0.3.13-0.1.tar.gz
gs-common_0.3.13-0.1_all.deb
  to pool/main/g/gs-common/gs-common_0.3.13-0.1_all.deb



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lucas Nussbaum <[EMAIL PROTECTED]> (supplier of updated gs-common 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 13 Sep 2007 17:10:59 +0200
Source: gs-common
Binary: gs-common
Architecture: source all
Version: 0.3.13-0.1
Distribution: unstable
Urgency: low
Maintainer: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
Changed-By: Lucas Nussbaum <[EMAIL PROTECTED]>
Description: 
 gs-common  - Common files for different Ghostscript releases
Closes: 425505
Changes: 
 gs-common (0.3.13-0.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Reverted change in 0.3.13: no longer test if stdout is a tty. This
     change caused packages to fail to build. Closes: #425505.
Files: 
 845aae1be08fb575bfdd65483ecd54a4 607 text optional gs-common_0.3.13-0.1.dsc
 eae412438de79f65fb7b3af8ec877fe9 37973 text optional 
gs-common_0.3.13-0.1.tar.gz
 b86f9170c530e57711fe8a38338a2991 52814 text optional 
gs-common_0.3.13-0.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG6VjA2hliNwI7P08RAnNsAKDHz+KM0oA76hy4HbXvdr8HtuHauQCcDpBs
4AJ6Fxph2HXsCE73J4rHStI=
=3FXp
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to