Package: libgv-tcl Version: 2.20.2-3 Severity: important Tags: patch
1) Libraries are placed under /usr/lib/tcltk/graphviz/tcl/. While /usr/lib/tcltk in tcl libs search path, and it search one directory down of it's search path for libraries -- it misses Tcldot and other TCL package from this .deb without some manual intervention. Small change to debian/libgv-tcl.install fixes this problem 2) The tkspline library, while correctly build, does not appear in pkgIndex.tcl file -- and there fore does not load in tcl by "package require Tkspline" Setting proper TK_PKGINDEX in configure.ac depends on variable "$HAVE_TK", which never appears in any other part of configure. Changing it to "$use_tk" = "Yes" and re-running autoconf fixes the problem -- System Information: Debian Release: 5.0 APT prefers oldstable APT policy: (500, 'oldstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=ru_RU.koi8-r, LC_CTYPE=ru_RU.koi8-r (charmap=KOI8-R) Shell: /bin/sh linked to /bin/bash Versions of packages libgv-tcl depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libcairo2 1.6.4-7 The Cairo 2D vector graphics libra ii libexpat1 2.0.1-4 XML parsing C library - runtime li ii libfontconfig1 2.6.0-3 generic font configuration library ii libfreetype6 2.3.7-2 FreeType 2 font engine, shared lib ii libgcc1 1:4.3.3-3 GCC support library ii libgd2-xpm 2.0.36~rc1~dfsg-3 GD Graphics Library version 2 ii libglib2.0-0 2.16.6-1 The GLib library of C routines ii libgraphviz4 2.20.2-3 rich set of graph drawing tools ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii libltdl3 1.5.26-4 A system independent dlopen wrappe ii libpango1.0-0 1.20.5-3 Layout and rendering of internatio ii libpng12-0 1.2.27-2 PNG library - runtime ii libstdc++6 4.3.3-3 The GNU Standard C++ Library v3 ii libx11-6 2:1.1.5-2 X11 client-side library ii libxpm4 1:3.5.7-1 X11 pixmap library ii tk8.4 8.4.19-2 Tk toolkit for Tcl and X11, v8.4 - ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime libgv-tcl recommends no packages. libgv-tcl suggests no packages. -- no debconf information
--- graphviz-2.20.2/configure.ac 2008-06-26 03:17:56.000000000 +0400 +++ ./graphviz-2.20.2.patched/configure.ac 2009-03-27 20:15:26.641887077 +0300 @@ -2527,7 +2527,7 @@ if test "x$SWIG" != "x"; then TCL_PKGINDEX_SWIG="gv/pkgIndex.tcl" fi - if test "$HAVE_TK" = "1"; then + if test "$use_tk" = "Yes"; then TK_PKGINDEX="tkspline/pkgIndex.tcl" fi fi
--- graphviz-2.20.2/debian/libgv-tcl.install 2009-03-28 13:18:41.000000000 +0300 +++ ./graphviz-2.20.2.patched/debian/libgv-tcl.install 2009-03-27 19:36:25.504964755 +0300 @@ -1,4 +1,4 @@ -usr/lib/graphviz/tcl usr/lib/tcltk/graphviz +usr/lib/graphviz/tcl/* usr/lib/tcltk/graphviz usr/share/man/man3/gv_tcl.3 usr/share/man/man3/gdtclft.3 usr/share/man/man3/tkspline.3