Rarian does not index doc-base documents

Bug #208147 reported by Alexey Shumitsky
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yelp
New
Undecided
Unassigned
rarian (Debian)
Fix Released
Unknown
rarian (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Rarian can index scrollkeeper omfs but doesn't do this for doc-base, so doc-base documents are unavailable for applications used rarian - Yelp for example. To check this package "gcc-4.2-doc" (only for example, there are many others) can be installed and then one may try to search for gcc manual in Yelp which fails.

Doc-base omf files are installed somewhat differently from others: they are put into /var/lib/doc-base/omf and this location is linked to /usr/share/omf/doc-base. Rarian looks for OMF files in each directory listed by $XDG_DATA_DIRS variable plus /omf suffix which includes /usr/share/omf, but /var/lib/doc-base/omf is not searched at all. If /var/lib/doc-base/omf path was appended by hand to $XDG_DATA_DIRS rarian would find everything and documentation would be available in Yelp.

Why rarian doesn't find doc-base omfs despite they are linked to /usr/share/omf/doc-base/ ? Because it expects some directory structure to be present at /omf site - something like path-to-data/omf/name/name-LANG.omf, and so rarian will try to open /usr/share/omf/doc-base/doc-base-LANG.omf which obviously will fail.

Daniel T Chen (crimsun)
Changed in rarian:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Nicolás Alvarez (nicolas-alvarez) wrote :

I believe this is the same bug: http://bugs.debian.org/546208

Changed in rarian (Debian):
status: Unknown → New
Changed in rarian (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.