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

Bug#451540: marked as done (tgif: pstoepsi can't detect non-".ps" file with paths)

Your message dated Thu, 02 Sep 2010 05:02:08 +0000
with message-id <E1Or1w8-0004mM-Up@franck.debian.org>
and subject line Bug#451540: fixed in tgif 1:4.2.2-1
has caused the Debian Bug report #451540,
regarding tgif: pstoepsi can't detect non-".ps" file with paths
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

451540: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451540
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tgif
Version: 1:4.1.45-1
Severity: normal

The last condition in line 82 of pstoepsi isn't effective for
testing whether or not the input filename ends with ".ps":

  if [ . . . "$1" = "$BASE" ] ; then

because basename strips paths from the definition of "BASE".
Consider this situation:

  $ pstoepsi input.eps  result.epsi

pstoepsi correctly detects that the input filename doesn't end with
a ".ps".  But, in

  $ pstoepsi ./input.eps  result.epsi

it fails to do so, because the basename command strips "./" out from
the path.

A possible fix is to test the input-file name separately:

  case "$1" in
  *) echo $USAGE 1>&2; exit 1;;

Hope this helps,

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages tgif depends on:
ii  debconf [debconf-2.0]       1.5.16       Debian configuration management sy
ii  gettext                     0.16.1-2     GNU Internationalization utilities
ii  libc6                       2.6.1-1+b1   GNU C Library: Shared libraries
ii  libice6                     2:1.0.4-1    X11 Inter-Client Exchange library
ii  libsm6                      2:1.0.3-1+b1 X11 Session Management library
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxext6                    1:1.0.3-2    X11 miscellaneous extension librar
ii  libxmu6                     1:1.0.3-1    X11 miscellaneous utility library
ii  libxt6                      1:1.0.5-3    X11 toolkit intrinsics library

tgif recommends no packages.

-- debconf information:
  tgif/papersize: A4
  tgif/gridunits: Metric

--- End Message ---
--- Begin Message ---
Source: tgif
Source-Version: 1:4.2.2-1

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

  to main/t/tgif/tgif_4.2.2-1.debian.tar.gz
  to main/t/tgif/tgif_4.2.2-1.dsc
  to main/t/tgif/tgif_4.2.2-1_i386.deb
  to main/t/tgif/tgif_4.2.2.orig.tar.gz

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

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

Debian distribution maintenance software
Carlo Segre <segre@debian.org> (supplier of updated tgif 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@debian.org)

Hash: SHA1

Format: 1.8
Date: Wed, 01 Sep 2010 15:08:46 -0500
Source: tgif
Binary: tgif
Architecture: source i386
Version: 1:4.2.2-1
Distribution: unstable
Urgency: low
Maintainer: Carlo Segre <segre@debian.org>
Changed-By: Carlo Segre <segre@debian.org>
 tgif       - interactive 2-D drawing facility under X11
Closes: 451540 486765
 tgif (1:4.2.2-1) unstable; urgency=low
   * New upstream release (long time coming...)
   * New Maintainer: Carlo Segre <segre@debian.org> (Closes: #486765)
   * Add Build-Dep to libz-dev and libxmu-dev
   * pstoepsi:
     - Added check to reject ./file.eps input file construction.
       Thanks to Ryo Furue <furue@hawaii.edu> (Closes: #451540)
   * Removed duplicate tgif/papersize configuration entry.
   * Upgraded to Standards-Version 3.9.1
 482ef87b68dc541cf36a8820c069603b9a3e7d30 1047 tgif_4.2.2-1.dsc
 f0cc174b8c260ac70fbd558de7ede91983e25b3d 2956728 tgif_4.2.2.orig.tar.gz
 72b41271f24d563ee34978f68ac1e1f7e2c32f75 33257 tgif_4.2.2-1.debian.tar.gz
 a6e29c9807dbf28da209a5f4bfae35cd0b5c0a28 1377342 tgif_4.2.2-1_i386.deb
 65330572c0c471e7cad4401593ede8cccdf7e8d4169ca73a23d38da5c0c8d3ef 1047 tgif_4.2.2-1.dsc
 54d0e433d29c134c61c605038ce9df993b727aa6b66bb5a7b2061538b7c05295 2956728 tgif_4.2.2.orig.tar.gz
 a27d02a9cbff0f9f1404097ce9a6054cad80cd5ad21438aacede3769f00d6d31 33257 tgif_4.2.2-1.debian.tar.gz
 96fcd62f2371d1768575a36a6f41961c3e7c53f744e5015263727a965e43a0ed 1377342 tgif_4.2.2-1_i386.deb
 9e62a9cfd5f552c1b7bdbff6fc21f475 1047 graphics optional tgif_4.2.2-1.dsc
 e98f22765cd47e440b08be83c401d453 2956728 graphics optional tgif_4.2.2.orig.tar.gz
 787f44cae9406ec0c65b806b5b344c9b 33257 graphics optional tgif_4.2.2-1.debian.tar.gz
 8c2ee21fe7a54213dc36f0aba950cdd8 1377342 graphics optional tgif_4.2.2-1_i386.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: