[sane-devel] sane-config and pkgconfig

littlesincanada littlesincanada at yahoo.co.uk
Wed Aug 28 07:00:28 BST 2019

I'm trying to figure out what the deal is with sane-config.
The Debian package that I have installs sane-config manpage but does not 
install an actual sane-config.
However, there is a pkgconf file which we have in backends/tools.
This is related to my efforts to get xsane building properly.

One of the problems that it has on my Debian based system is that 
natively, the source tree is trying to find sane-config to ascertain the 
installed version of libsane, libs and cflags etc. However it cannot 
find it, thus we have some patches.

It should be able to use the .pc file. However, I don't know what the 
portable solution is.

Should we be able to rely on the existence of pkgconfig in the xsane 
build to locate and link with libsane?
I see code in the frontend repo to interact with sane-config, so I'm at 
a bit of a loss as to what the right direction is to take for a portable 
I think most people use pkgconfig files these days.

[Sorry if some of this has been well discussed in the past.
I'm likely going to have quite a few questions while getting up-to-speed 
on xsane.]


More information about the sane-devel mailing list