Package: crawl
Version: 2:0.3.3-1
Severity: normal

Within crawl, press ? to access the online documentation.  Most of the
selections do nothing, because crawl cannot find the appropriate .txt
files to display.  Using strace:

    stat("/usr/share/games/crawl/crawl_manual.txt", 0x7fff269afb40) = -1 ENOENT
    stat("/usr/share/games/crawl/tables.txt", 0x7fff269afb40) = -1 ENOENT
    stat("/usr/share/games/crawl/readme.txt", 0x7fff269afb40) = -1 ENOENT
    stat("/usr/share/games/crawl/crawl_macros.txt", 0x7fff269afb40) = -1 ENOENT
    stat("/usr/share/games/crawl/crawl_options.txt", 0x7fff269afb40) = -1 ENOENT

When running source/crawl from the unmodified upstream tarball, crawl
finds and displays these documents correctly.  Therefore the problem
is that they are not installed in the expected location by
debian/rules.  The following patch appears to fix it.

  --- debian/rules~       2007-12-10 21:54:04.381469336 +1100
  +++ debian/rules        2007-12-10 21:44:39.589283663 +1100
  @@ -37,6 +37,8 @@
          cp init.txt debian/crawl/usr/share/doc/crawl/examples/crawlrc
          cp -a source/dat/* debian/crawl/usr/share/games/crawl/
          cp -a source/lua/* debian/crawl/usr/share/games/crawl/
  +# crawl's online help menu expects these docs to be present
  +       cp -a readme.txt docs/crawl_*.txt docs/tables.txt 
debian/crawl/usr/share/games/crawl/

   # Build architecture-independent files here.
   binary-indep:


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

Kernel: Linux 2.6.22-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages crawl depends on:
ii  libc6                     2.7-4          GNU C Library: Shared libraries
ii  libdb4.4                  4.4.20-11      Berkeley v4.4 Database Libraries [
ii  libgcc1                   1:4.2.2-4      GCC support library
ii  liblua5.1-0               5.1.2-4        Simple, extensible, embeddable pro
ii  libncursesw5              5.6+20071124-1 Shared libraries for terminal hand
ii  libstdc++6                4.2.2-4        The GNU Standard C++ Library v3

crawl recommends no packages.

-- no debconf information



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

Reply via email to