Re: Rarian and Yelp




Also, working nicely at the moment on opensolaris aswell :)


Joe Marcus Clarke wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Don Scorgie wrote:
Requested update...

On Fri, 2007-08-03 at 19:21 -0400, Joe Marcus Clarke wrote:
On Fri, 2007-08-03 at 18:53 +0100, Don Scorgie wrote:

Yes, this appears to be working fine.  What happens is rarian goes
through each of the omf subdirectories, and adds an entry with a ghelp
name of the subdirectory name (dp->d_name).  So, if my omf subdirectory
contains:

eog     gnome-terminal

I get two rarian doc entries with ghelp names of "eog" and "gnome-termial".
So, rarian-example prints out the entries properly?  Or are you watching
the list get built in Rarian itself? [1]
I hacked rarian to print out a line for every .omf file it found and its
associated ghelp name.
I fixed Rarian to correctly handle this as of latest SVN.

I've done some more research here, and I found that when I launch yelp
via another app (e.g. eog) it is passed a ghelp URI in the format (via
libgnome):

ghelp:///usr/local/share/gnome/help/eog/C/eog.xml

Yelp breaks this down to "///usr/local/share/gnome/help/eog/C/eog.xml"
and passes that to rarian.  Rarian fails to find any documents since all
of its ghelp names are just the appid.

Since our libgnome is fairly stock, I'm really not sure how this mapping
works successfully on Linux.
Okay, that's a failure of the new resolver.  It should check the ghelp
uri to see if it's a full path before invoking rarian.  I'll fix that
soon.
Excellent!  Thanks.
This has now been fixed in latest SVN.

I meant to reply to this a while ago.  After the latest rarian and yelp
updates, all is working well with GNOME help on FreeBSD.  Thanks!

Joe

- --
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome FreeBSD org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGzbFBb2iPiv4Uz4cRAj+hAJ4oGr4jW8tVIqmqVBjtvOe8GKxe6wCfeCuv
93tJrPqb9CK/pd6fKyc3SwA=
=3Wnk
-----END PGP SIGNATURE-----
_______________________________________________
gnome-doc-devel-list mailing list
gnome-doc-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-doc-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]