Bug 220404

Summary: "Help" option on main menu nonfunctional - missing html file.
Product: [Fedora] Fedora Reporter: Mike A. Harris <mharris>
Component: viruskillerAssignee: Matthias Saou <matthias>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.0-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-02 12:56:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mike A. Harris 2006-12-20 23:44:34 UTC
Description of problem:


Version-Release number of selected component (if applicable):
viruskiller-1.0-2.fc6

How reproducible: 100%

Steps to Reproduce:
1. Start game
2. Scroll down menu and choose "Help"
  
Actual results:

Game complains about missing "/usr/share/games/viruskiller/manual.html" file.
The file is however located in the /usr/share/doc hierarchy, but the game
looks for it in the aforementioned directory and doesn't find it.


Expected results:

Selecting "Help" off the main menu should display the manual.

Additional info:

A symbolic link in the location the game is looking for the file, pointing
to where it is being packaged in documentation would probably be sufficient,
however the package version is encoded in the directory name, so that'd
have to be calculated during packaging.  If one installs with --nodocs
however, this would result in a dead symlink.  Another possibility is
using a hardlink, or even just making a copy of the file - it's small
so disk space usage shouldn't be a concern per se.  Or just move it
to where the game is looking for it and forget about putting it in the
docs section, because someone is more likely to choose it from the in-game
menu, than they are to hunt through rpm doc directories.

Minor bug, but a bug nonetheless, so I thought I'd log it...

Comment 1 Matthias Saou 2007-02-02 12:56:42 UTC
Since the manual.html file isn't actually displayed "in-game" (too bad), I've
simply added a substitution in %prep in order to have the path hardcoded in the
game to be the proper one (%{_docdir}/%{name}-%{version}/manual.html).