[sane-devel] frontends and GIMP

Henning Meier-Geinitz henning at meier-geinitz.de
Tue Oct 22 09:19:40 BST 2002


Hi,

On Tue, Oct 22, 2002 at 03:59:17AM +0100, Major A wrote:
> 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.

configure uses the prepocessor, so the standard include directories
are checked. If it's a default install in /usr/local/include, it
should be found.

> 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.

Patches are welcome. We should also make sure that gtk version is
<=1.2.something, because gtk 2.0 won't work. What about neewer gimp
versions?

Bye,
  Henning



More information about the sane-devel mailing list