[sane-devel] Getting Alpine Linux sane-backends builds compiler warning free

2017-07-22 Thread Olaf Meeuwissen
Hi Valery, I'm one of the SANE developers and am trying to get rid of all compiler warnings on a select subset of build environments. Alpine Linux is one of them and its parallel port IO support is giving me a bit of trouble. Hope you can help me out a bit. I don't see any libieee1284 packages f

Re: [sane-devel] [PATCH 3/3] saned: reorganize flags, remove run_mode SANED_RUN_DEBUG

2017-07-22 Thread Luiz Angelo Daros de Luca
The two first patches are trivial bugfixes. However, this one proposes a new organization on saned options, as shown at: https://alioth.debian.org/tracker/index.php?func=detail&aid=315747&group_id=30186&atid=410366 All flags now do one thing and normally have an opposite flag that can deactivate

[sane-devel] [PATCH 3/3] saned: reorganize flags, remove run_mode SANED_RUN_DEBUG

2017-07-22 Thread luizluca
From: Luiz Angelo Daros de Luca Flags like -a, -d and -s have many overlap effects. This patch restricts the effect of flags to a simple action. New -u (user) flag replaces -a optional argument for running saned as a different user. The code that retrieve the user info and drop privileges migra

[sane-devel] [PATCH 2/3] saned: update man for option -b

2017-07-22 Thread luizluca
From: Luiz Angelo Daros de Luca --- doc/saned.man | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/saned.man b/doc/saned.man index 34764f1f..8542d254 100644 --- a/doc/saned.man +++ b/doc/saned.man @@ -6,6 +6,9 @@ saned \- SANE network daemon .B saned .B [ \-a .I [ username ] +

[sane-devel] [PATCH 1/3] saned: fix --debug help message (output is stderr)

2017-07-22 Thread luizluca
From: Luiz Angelo Daros de Luca Man page was correct. Signed-off-by: Luiz Angelo Daros de Luca --- frontend/saned.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/saned.c b/frontend/saned.c index 2fc33216..6b97e914 100644 --- a/frontend/saned.c +++ b/frontend/sane