Le mardi 24 janvier 2012 14:01:29 Jean-Fran?ois Pr?vost a ?crit :
> Hello,
>
> Having bought an Iriscan Express 2, after reading that Sane supported
> it, I just plugged it in on my up to date Ubuntu machine (x64).
>
> The device is well detected and after installing the firmware (.fw) it
> is re
On Tuesday 24 January 2012, Chris Bagwell wrote:
> On Mon, Jan 23, 2012 at 5:05 PM, Ruediger Meier
wrote:
> > From: Ruediger Meier
> >
> > Now we will find getaddrinfo and getnameinfo on win32 systems.
> > Note it should be even safe to use that macro for all systems
> > instead of trying AC_CHE
bian.org/pipermail/sane-devel/attachments/20120124/7b84f25c/attachment.html>
On Mon, Jan 23, 2012 at 5:05 PM, Ruediger Meier wrote:
> From: Ruediger Meier
>
> We want to use it later to do checks for getaddrinfo and getnameinfo
> more portable.
> ---
> ?acinclude.m4 | ? 57 +
> ?1 files changed, 57 insertions(+), 0 de
On Mon, Jan 23, 2012 at 5:05 PM, Ruediger Meier wrote:
> From: Ruediger Meier
>
> We have to do this on win32 before doing winsock2 stuff. It affects the
> whole application so don't know wheather it's right to startup and clean
> it here within the net backend.
Hmm, I wonder if the net.c backen
On Mon, Jan 23, 2012 at 5:05 PM, Ruediger Meier wrote:
> From: Ruediger Meier
>
> ---
> ?backend/net.c | ? ?5 +
> ?1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/backend/net.c b/backend/net.c
> index 5946a1b..03133d3 100644
> --- a/backend/net.c
> +++ b/backend/net.c
> @@ -
On Mon, Jan 23, 2012 at 5:05 PM, Ruediger Meier wrote:
> From: Ruediger Meier
>
> Here I just want to fix conflicts for win32 systems. Generally I'd say
> that we should never "#define socklen_t int" within config.h. But this
> may decide somebody else.
>
> Note this patch may break the build on
On Mon, Jan 23, 2012 at 5:05 PM, Ruediger Meier wrote:
> From: Ruediger Meier
>
> Now we will find getaddrinfo and getnameinfo on win32 systems.
> Note it should be even safe to use that macro for all systems instead of
> trying AC_CHECK_FUNCS first. For now I don't want to do such risky things
>
From: Ruediger Meier
---
ChangeLog |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2983e24..1eef9a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-23 Ruediger Meier
+ * acinclude.m4, backend/net.c, backend/net.h, con
From: Ruediger Meier
Even win32 seems to be ipv6 capable now.
---
acinclude.m4 | 22 +-
configure| 22 +-
2 files changed, 26 insertions(+), 18 deletions(-)
diff --git a/acinclude.m4 b/acinclude.m4
index 7cc4228..d498a7b 100644
--- a/acinclude.m4
From: Ruediger Meier
We have to do this on win32 before doing winsock2 stuff. It affects the
whole application so don't know wheather it's right to startup and clean
it here within the net backend.
---
backend/net.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff
From: Ruediger Meier
We need this on win32. This shouldn't break anything on other systems.
---
backend/net.c | 15 +--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/backend/net.c b/backend/net.c
index 03133d3..0cd7f51 100644
--- a/backend/net.c
+++ b/backend/net.
From: Ruediger Meier
---
backend/net.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/backend/net.c b/backend/net.c
index 5946a1b..03133d3 100644
--- a/backend/net.c
+++ b/backend/net.c
@@ -2363,7 +2363,12 @@ sane_set_io_mode (SANE_Handle handle, SANE_Bool
non_bloc
From: Ruediger Meier
Now we have only one place where we could implement "turning off
non-blocking I/O" platform dependent.
---
backend/net.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/net.c b/backend/net.c
index f3800d9..5946a1b 100644
--- a/backend/net.c
From: Ruediger Meier
---
backend/net.c | 18 +++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/backend/net.c b/backend/net.c
index dea36ce..f3800d9 100644
--- a/backend/net.c
+++ b/backend/net.c
@@ -64,9 +64,21 @@
#include
#include
-#include
-#include
-
From: Ruediger Meier
We are doing this allthough these includes are needed in net.h because
1. net.h doesn't have all necessary includes anyway
2. net.c includes the missing headers before net.h
3. we want to add more platform dependent ifdefs to net.c only
---
backend/net.c |1 +
backend/ne
From: Ruediger Meier
Building net backend will still fail but how else we could try it.
---
acinclude.m4 |5 +++--
configure| 10 ++
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/acinclude.m4 b/acinclude.m4
index 38d1819..7cc4228 100644
--- a/acinclude.m4
+++ b
From: Ruediger Meier
---
sanei/sanei_udp.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/sanei/sanei_udp.c b/sanei/sanei_udp.c
index ab316ea..e9e2bfe 100644
--- a/sanei/sanei_udp.c
+++ b/sanei/sanei_udp.c
@@ -50,6 +50,9 @@
#ifdef HAVE_WINSOCK2_H
#include
#endif
+
From: Ruediger Meier
Here I just want to fix conflicts for win32 systems. Generally I'd say
that we should never "#define socklen_t int" within config.h. But this
may decide somebody else.
Note this patch may break the build on systems where socklen_t is
available now but the right headers are n
From: Ruediger Meier
Now we will find getaddrinfo and getnameinfo on win32 systems.
Note it should be even safe to use that macro for all systems instead of
trying AC_CHECK_FUNCS first. For now I don't want to do such risky things
things and leave it as is.
---
configure| 169 ++
From: Ruediger Meier
---
configure|2 +-
configure.in |2 +-
include/sane/config.h.in |6 ++
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index ba864b0..4c9dfcd 100755
--- a/configure
+++ b/configure
@@ -8009,7 +
From: Ruediger Meier
We want to use it later to do checks for getaddrinfo and getnameinfo
more portable.
---
acinclude.m4 | 57 +
1 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/acinclude.m4 b/acinclude.m4
index d91c733..3
From: Ruediger Meier
v2:
1) PEBKAC fixes in macro SANE_CHECK_NETDB_FUNC
2) ChangeLog updated
3) rebased on 6aeb0527
This patch-set ports the net backend to win32. Maybe we
could build a useful native (non-cygwin) xsane (saned client) on
Windows now.
You can pull this patch-set also from my pr
23 matches
Mail list logo