Package: tulip
Version: 3.1.2-2.3
Severity: normal
Tags: patch

Steps to reproduce:
1) aptitude install tulip tulip-doc
2) tulip
3) Help->Contents

Expected results:
3) Help is shown

Actual results:
3) help is not shown and tulip prints

File does not exist: /usr/share/tulip/profile.adp Profile 
'/usr/share/tulip/profile.adp' does not exist!


More info
1) I was able to see the help by adding a symlink and uncompresing
profile.adb.gz:

sudo ln -sf /usr/share/doc/tulip-doc /usr/share/tulip
pushd /usr/share/tulip
sudo gunzip profile.adp.gz 

2) Here's a proposed patch:

--- tulip-3.1.2/debian/rules    2010-02-17 09:38:47.000000000 -0500
+++ tulip-3.1.2.new/debian/rules        2010-02-17 08:23:39.000000000 -0500
@@ -113,7 +113,7 @@
        dh_installdocs
 
        dh_installchangelogs 
-       dh_compress
+       dh_compress -Xprofile.adp
        dh_fixperms
        dh_installdeb
        dh_gencontrol
--- tulip-3.1.2/library/tulip/src/TlpTools.cpp  2009-03-13 07:26:18.000000000 
-0400
+++ tulip-3.1.2.new/library/tulip/src/TlpTools.cpp      2010-02-17 
08:26:09.000000000 -0500
@@ -109,7 +109,7 @@
   // one dir up to initialize the doc dir
   pos = TulipLibDir.length() - 2;
   pos = TulipLibDir.rfind("/", pos);
-  tulipDocDir=TulipLibDir.substr(0, pos + 1)+"share/tulip/";
+  tulipDocDir=TulipLibDir.substr(0, pos + 1)+"share/doc/tulip-doc/";
   TulipDocProfile=tulipDocDir+"profile.adp";
   TulipUserHandBookIndex=tulipDocDir+"userHandbook/html/index.html";
 

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages tulip depends on:
ii  libc6                    2.10.2-6        Embedded GNU C Library: Shared lib
ii  libfreetype6             2.3.11-1        FreeType 2 font engine, shared lib
ii  libgcc1                  1:4.4.3-2       GCC support library
ii  libgl1-mesa-swx11 [libgl 7.6.1-1         A free implementation of the OpenG
ii  libglew1.5               1.5.1-8         The OpenGL Extension Wrangler - ru
ii  libglu1-mesa [libglu1]   7.6.1-1         The OpenGL utility library (GLU)
ii  libjpeg62                6b-16.1         The Independent JPEG Group's JPEG 
ii  libpng12-0               1.2.42-2        PNG library - runtime
ii  libqt4-assistant         4:4.5.3-4       Qt 4 assistant module
ii  libqt4-network           4:4.5.3-4       Qt 4 network module
ii  libqt4-opengl            4:4.5.3-4       Qt 4 OpenGL module
ii  libqt4-xml               4:4.5.3-4       Qt 4 XML module
ii  libqtcore4               4:4.5.3-4       Qt 4 core module
ii  libqtgui4                4:4.5.3-4       Qt 4 GUI module
ii  libstdc++6               4.4.3-2         The GNU Standard C++ Library v3
ii  libtulip-3.1             3.1.2-2.3       Tulip graph library - core runtime
ii  libtulip-ogl-3.1         3.1.2-2.3       Tulip graph library - OpenGL runti
ii  libtulip-pluginsmanager- 3.1.2-2.3       Tulip graph library - Qt/OpenGL GU
ii  libtulip-qt4-3.1         3.1.2-2.3       Tulip graph library - Qt/OpenGL GU
ii  libxml2                  2.7.6.dfsg-2+b1 GNOME XML library
ii  ttf-dejavu-core          2.30-2          Vera font family derivate with add

tulip recommends no packages.

Versions of packages tulip suggests:
ii  tulip-doc                     3.1.2-2.3  Documentation for the Tulip graph-

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to