[sane-devel] Schedule for release of sane-backends 1.0.25

Olaf Meeuwissen paddy-hack at member.fsf.org
Sat Sep 12 04:42:31 UTC 2015

Hi Luiz,

Luiz Angelo Daros de Luca writes:

> Thanks for the mention Olaf,
> Adding more to the subject, there are more patches (including some not
> mine) which would be interesting to be upstreamed:

Thanks for the pointers.

> https://github.com/luizluca/openwrt-packages/tree/sane/utils/sane-backends/patches
> I'll try to explain their motivations:
> * 002-remove-uneeded.patch: as configure does not offer an option to
> disable docs and tests, this was done with a patch. I would be interesting
> to have --disable-docs and --disable-testsuites

This should be done through configure options, as you suggest.

> * 010-dont-add-host-include-path.patch: search for header using absolute
> path is problematic by itself. For cross-compiling, this is prohibit as
> headers are not from the host machine.

The changes in this patch should all be effectively in.  The CUPS stuff
is commented out, the libsystemd changes and /usr/local/include removal
were committed recently.

> * 020-inb_outb.patch: this is already commented in previous message to
> maillist
> * 030-musl.patch: the u_char/u_long fix. Maybe some autoconf check could
> deal with this.

These I'll get to in their respective threads on the list.

> * 040-remove-cups-deps.patch: this I got from sane-devel, so it is already
> merged.

I think I pointed that out ;-)

> * 050-remove_linked_libs_for_unused_preload.patch: Currently, libsane link
> is somehow bruteforce. It links any library a backend might need. As
> already commented inside the Makefile, the correct behavior would be to
> link only libraries for those backends built-in libsane. As I'm not using
> built-in backends, I simply removed them. This would need some autoconf
> magic for a proper fix.

Ideally, all backends should link against all the libraries they depend
upon, taking into account dependencies that can be controlled via
configure time options.  Figuring that out for all, what, 90 or so
backends is a pretty time consuming job.

> * 060-dont_detatch_after_join.patch: another one I sent the list. This was
> discussed in list but not fix merged.

I'll have a look at that.

> * 070-sane-backends-1.0.24-format-security.patch: this is from fedora. I
> got a gcc error because the usage of -Werror=format-security. Current sane
> git code is different from 1.0.24 and I did not checked calmly if it still
> needed.

That one went in in 8082a42e according to git blame.

> And there are more patches at fedora that might be interesting too:
> http://pkgs.fedoraproject.org/cgit/sane-backends.git/plain/

I'll put going through them on my todo list but if anyone gets through
them before me that'd be great ;-)

Hope this helps,
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
Support Free Software               Support the Free Software Foundation
https://my.fsf.org/donate                        https://my.fsf.org/join

More information about the sane-devel mailing list