[Clipart] Where to install?

Matthew Gates matthew at porpoisehead.net
Tue Jun 21 04:34:46 PDT 2005


Hi,

There was recently a bug https://bugs.freedesktop.org/show_bug.cgi?id=3583 
about getting an OCAL ebuild for gentoo.  I'm willing to have a go at 
making and submitting the ebuild.  Is there a standard place to put the 
OCAL files?  I suspect something like /usr/share/ocal/.

While wondering about it, I popped over to #openoffice.org on freenode, 
and asked them how OOo "finds" clipart libraries, and they said that 
there was a path in the OOo settings.  The thing is this path is for 
places where OOo's own thumbnail and index files reside, which at present 
can only be created by OOo itself.  See the contents of this debian 
package for an example of the files that need to be generated: 
http://packages.debian.org/unstable/graphics/openclipart-openoffice.org

My guess is that other applications do something similar.  Wouldn't it be 
better to define some sort of standard for how to locate / parse clipart 
libraries, and modify applications / clipart libs to conform to the 
standard?  I think yes (of course), but how might it work - any ideas?

The simplest thing I can think of it to have an environment variable, 
CLIPART_PATH, have clipart libraries regester their install locations in 
it, and have applications look in it for places to find clipart.  That 
leaves interpretting thumbnails / filtering supported file types and such 
to the applications that use the variable, but it would be a start. 
 



More information about the clipart mailing list