Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147713 - app-office/dia-0.95.1 help dialog error - looking in the wrong place for the help files
Summary: app-office/dia-0.95.1 help dialog error - looking in the wrong place for the ...
Status: RESOLVED DUPLICATE of bug 135817
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Low normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-15 11:34 UTC by Matt Drew (RETIRED)
Modified: 2006-12-29 07:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Drew (RETIRED) gentoo-dev 2006-09-15 11:34:09 UTC
Reproduceable: always

I believe the USE flag -gnome is required to generate this specific error.

1. dia -> Help menu -> Contents
2. Could not open help directory:  Error opening directory '/usr/share/dia/help': No such file or directory

A quick "equery files dia" shows that the help files are actually in:

/usr/share/help/dia/<language>

I believe a piece of the confusion lies in xmldocs.make:

# **********  Begin of section some packagers may need to modify  **********
# This variable (docdir) specifies where the documents should be installed.
# This default value should work for most packages.
if HAVE_GNOME
docdir = $(datadir)/gnome/help/$(docname)/$(lang)
else
docdir = $(datadir)/help/$(docname)/$(lang)
endif

The docdir variable looks to be how the orphaned directory was created - if datadir is set to /usr/share, and docname is set to dia.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-29 07:56:34 UTC

*** This bug has been marked as a duplicate of 135817 ***