From: Adam S. <ad...@sc...> - 2006-10-09 18:57:30
|
Thanks for the info. On my next install of Gramps, I'll have to look at this in more detail. On Mon, 2006-10-09 at 11:00 -0700, Alex Roitman wrote: > Adam, > > On Mon, 2006-10-09 at 13:44 -0400, Adam Stein wrote: > > As for the MIME errors (those with the Unknown file type: > > application/x-extension-grdb message), I'm guessing you didn't install > > gramps in /usr. I install gramps in a non-standard place so that the > > MIME files gramps comes with aren't integrated with the rest of the > > normal GNOME MIME files. I don't know if you can tell GNOME multiple > > places to look for MIME files (maybe a GNOME expert can comment on > > this). > > Not a GNOME expert, but here's a few things on mime types. > The shared mime type system is not a gnome thing. > It's developed on freedesktop.org, so both GNOME and KDE, > as well as any other party interested in a sane and documented > way to maintain a shared mime type system, can use it: > http://www.freedesktop.org/wiki/Standards/shared-mime-info-spec > > Now, the INSTALL file in gramps source tree has an informative > section on how to install in non-default places and still have > working mime types (and hence working gramps). In short, in > the non-default install you need to use a per-user store > for mime types. Typically it is in ~/.local/share/mime > instead of /usr/share/mime dir. This allows installing without > the root privileges, under other dirs, etc. > > > What I did to integrate the Gramps MIME types is the following: > > > > cp $TOPDIR/share/mime-info/gramps.keys /usr/share/mime-info > > cp $TOPDIR/share/mime-info/gramps.mime /usr/share/mime-info > > cp $TOPDIR/share/mime/packages/gramps.xml /usr/share/mime/packages > > cp $TOPDIR/share/mime/application/x-gramps-package.xml \ > > /usr/share/mime/application > > cp $TOPDIR/share/mime/application/x-gramps.xml \ > > /usr/share/mime/application > > cp $TOPDIR/share/mime/application/x-gramps-xml.xml \ > > /usr/share/mime/application > > update-mime-database /usr/share/mime > > That will work too. Of course, uninstalling your TOPDIR gramps > will not automatically uninstall the mime types in such setup, > so you'd have to uninstall them by hand when you decide so. > > Alex > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ Gramps-users mailing list Gra...@li... https://lists.sourceforge.net/lists/listinfo/gramps-users -- Adam Stein @ Xerox Corporation Email: ad...@sc... Disclaimer: All views expressed here have been proved to be my own. [http://www.csh.rit.edu/~adam/] |