On Tue, Aug 01, 2000 at 10:59:50PM +0200, Alexander Skwar wrote:
> Hello!
> I'm using gimp 1.1.24.  I'd like to write a RPM spec file for a plugin.  In
> RPM it is very much desirable to have the install not go to the "real"
> directory, but to prefix the install dir with some other dir.
> Can I somehow use gimptool to do this?  I thought about something like
> "gimptool --prefix ~/tmp/prefix-dir --install-admin-bin pluginfile", and

If you use the auto*stuff provided by the gimp-plugin-template module,
this should Just Work so long as you set the prefix to ~/tmp/prefix-dir/
before building the plug-in.  The autostuff works by using gimptool to
find out the paths, but not to do the actual copying.

> So, how can I find out where the plug-ins directory of gimp is?

To express the plug-in directory in terms of the prefix variable, the
configure script has this lovely little tidbit:

GIMP_PLUGIN_DIR=`gimptool --gimpplugindir | sed -e "s/$( gimptool --prefix | sed 

If you do get a spec file working with gimp-plugin-template, we'd
welcome its addition to the template for others to use.

Kevin Turner <[EMAIL PROTECTED]> | OpenPGP encryption welcome here
Plug-ins: They make GIMP do stuff.  http://gimp-plug-ins.sourceforge.net/
This list is archived at http://marc.theaimsgroup.com/?l=gimp-developer
To unsubscribe, mail [EMAIL PROTECTED]

Reply via email to