Bug#334310: asymptote: Incompatibility of options with gv

2005-10-16 Thread Dylan Thurston
Package: asymptote
Version: 0.91-2
Severity: normal

asy currently calls gv with a '-nowatch' option.  The current version
of gv in unstable, 3.6.1-12, does not accept this option--it insists
on two dashes for its options ('--nowatch').  This is apparently a
recent change to gv: see

http://savannah.gnu.org/bugs/?func=detailitemitem_id=12154

Note that this bug is from February; I don't know if the gv
maintainers will act on it.  In any case, the current behaviour is
broken.  It's trivial to fix to work with recent versions of gv (add
another dash to the call in picture.cc), or you could convince the gv
maintainer to change the behaviour back.  (See the patch in
'patches/gv-3.6.1-getopt.patch' in the asymptote distribution.)  I'm
not sure whose bug this is...

Peace,
Dylan

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.1y
Locale: LANG=C, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)

Versions of packages asymptote depends on:
ii  fftw3   3.0.1-14 library for computing Fast Fourier
ii  gs  8.15-4   Transitional package
ii  gs-esp [gs] 8+8.15rc4.dfsg.1-2.1 The Ghostscript PostScript interpr
ii  gs-gpl [gs] 8.15-4   The GPL Ghostscript PostScript int
ii  imagemagick 6:6.2.4.5-0.2Image manipulation programs
ii  libc6   2.3.5-7  GNU C Library: Shared libraries an
ii  libgc1c21:6.5-1  conservative garbage collector for
ii  libgcc1 1:4.0.2-2GCC support library
ii  libncurses5 5.5-1Shared libraries for terminal hand
ii  libreadline55.0-11   GNU readline and history libraries
ii  libstdc++6  4.0.2-2  The GNU Standard C++ Library v3
ii  python  2.3.5-3  An interactive high-level object-o
ii  python-tk   2.3.5-3  Tkinter - Writing Tk applications 
ii  tetex-bin [dvips]   2.0.2-31 The teTeX binary files
ii  tetex-extra 2.0.2c-9 Additional library files of teTeX

asymptote recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#334310: asymptote: Incompatibility of options with gv

2005-10-16 Thread Hubert Chan

Hi Dylan,

Thanks for all your bug reports!

On 2005-10-16 21:33:40 -0400 Dylan Thurston [EMAIL PROTECTED] 
wrote:



asy currently calls gv with a '-nowatch' option.  The current version
of gv in unstable, 3.6.1-12, does not accept this option--it insists
on two dashes for its options ('--nowatch').  This is apparently a
recent change to gv: see

http://savannah.gnu.org/bugs/?func=detailitemitem_id=12154

Note that this bug is from February; I don't know if the gv
maintainers will act on it.


It looks like the proposed patch (which is the same as the one in 
patches/gv-3.6.1-getopt.patch) is in the CVS version of gv already.



In any case, the current behaviour is
broken.  It's trivial to fix to work with recent versions of gv (add
another dash to the call in picture.cc), or you could convince the gv
maintainer to change the behaviour back.  (See the patch in
'patches/gv-3.6.1-getopt.patch' in the asymptote distribution.)  I'm
not sure whose bug this is...


I think that for Debian, since we only have one version of gv in 
Debian to support, I will add a second dash until gv upstream releases 
a new version (which will have the patch).  And then I'll remove the 
second dash, to keep in sync with Asymptote upstream.


Hubert


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]