Package: libcdk-perl Version: 4.9.10-3 Severity: normal Tags: patch The default path for the help files in the cdkdemo script is "./help". This means that, in order to access the help files, the user has to do either:
1) cd /usr/share/doc/libcdk-perl/examples/fulldemo ./cdkdemo or: 2) export CDKHELPDIR=/usr/share/doc/libcdk-perl/examples/fulldemo/help /usr/share/doc/libcdk-perl/examples/fulldemo/cdkdemo The simple patch attached below allows the user to do simply: /usr/share/doc/libcdk-perl/examples/fulldemo/cdkdemo Rafael Laboissiere -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libcdk-perl depends on: ii libc6 2.7-6 GNU C Library: Shared libraries ii libcdk5 5.0.20060507-1 C-based curses widget library ii libncurses5 5.6+20080119-1 Shared libraries for terminal hand ii perl 5.10.0-11.1 Larry Wall's Practical Extraction ii perl-base [perlapi-5.10.0 5.10.0-11.1 The Pathologically Eclectic Rubbis libcdk-perl recommends no packages. -- no debconf information
Index: debian/rules =================================================================== --- debian/rules (revision 32097) +++ debian/rules (working copy) @@ -16,6 +16,7 @@ PERL ?= /usr/bin/perl PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) +DEMODIR = /usr/share/doc/libcdk-perl/examples/fulldemo # Allow disabling build optimisation by setting noopt in # $DEB_BUILD_OPTIONS @@ -60,6 +61,7 @@ dh_testdir dh_testroot dh_installexamples demos examples/. fulldemo + perl -pi -e 's:"./help":"$(DEMODIR)/help":' $(TMP)$(DEMODIR)/cdkdemo dh_installdocs README dh_installchangelogs CHANGES dh_shlibdeps