[sane-devel] Building xsane

Olaf Meeuwissen paddy-hack at member.fsf.org
Sat Aug 17 10:36:26 BST 2019

Hi Ralph,

Sorry for the much belated follow-up.

littlesincanada writes:

> Hi,
> On 2019-07-26 10:04 p.m., Olaf Meeuwissen wrote:
>> Wheezy was the most recent Debian release that I was able to build XSane
>> on without extra work.  I guess someone could take a look at the patches
>> used to build on Debian Buster (released earlier this month) and see
>> what can be used to make XSane compile on a more recent distribution.
> I use Linux Mint based on Ubuntu, so it makes sense for me to unpack the
> build bundle to see what custom patches they use.

I bet they used very little in addition to what Debian added.

> I actually managed to get it to build with a couple of line changes.
> I think there was some deprecated functionality in libpng that has now
> been properly removed.
> The two offending lines were referencing elements of a structure that is
> now opaque.

Good to hear it's not anything major.

> I could create a branch for xsane updates if you like with the changes
> so far, but I will refer back to build for my distro to see what they
> did to make it work.

By all means create and push a branch to the xsane project.
Whoops!  I checked just now and saw you already did that.  When
done and happy with the changes, create a merge request and assign it
to me.

> There are also a *lot* of compiler warnings regarding ignored function
> returns.
> I don't know how critical they are but they make me nervous.
> I will look into them also.

Much appreciated!

Hope this helps,
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join

More information about the sane-devel mailing list