[sane-devel] frontends and GIMP

Major A andras@users.sourceforge.net
Tue, 22 Oct 2002 03:59:17 +0100


When I replied to the previous email, I thought of the trouble I had
myself when I tried to build SANE myself on a machine where GIMP was
installed in /usr/local/gimp. The sane-frontends configure script only
looks for header files but does not allow the specification of a
directory to look in, or at least it isn't straight-forward.

My suggestion is therefore to use gimp-config in the configure script,
this should be quite robust (GIMP came with it even in 1.0, I
think). Even if the headers and libraries haven't got any symlinks in
standard places, gimp-config is usually linked to /usr/local/bin. It
will also deal with GTK as a bonus.

Not in 1.0.9 of course.

What do you think?

  Andras

===========================================================================
Major Andras
    e-mail: andras@users.sourceforge.net
    www:    http://andras.webhop.org/
===========================================================================