[sane-devel] PATCH: Make creation of output files of scanimage batch mode atomic

2009-01-14 Thread Julien BLACHE
"m. allan noah" wrote: > True enough, So, instead of using mktemp at all, why not do something > like append '.part' to the image name? I think that is a little more > clear to the end user if they find some hanging around after a > scanimage crash or something. Absolutely, especially if this al

[sane-devel] Avision bug (was: Re: Suicidal Child Process - SANE)

2009-01-14 Thread m. allan noah
On Sun, Jan 11, 2009 at 8:46 AM, m. allan noah wrote: > On Sun, Jan 11, 2009 at 8:10 AM, Mattias Ellert > wrote: >> 22 dec 2008 kl. 02.31 skrev m. allan noah: >> On Tue, Dec 9, 2008 at 10:48 AM, Mattias Ellert wrote: > > m?n 2008-12-08 klockan 09:46 -0500 skrev m. allan noah: >

[sane-devel] Small build fixes

2009-01-14 Thread Chris Bagwell
On 1/14/2009 6:12 PM, Pierre Willenbrock wrote: > Hi list, > > i tried to build sane with different source and build directories and > ended up needing the attached patch to tools/Makefile.in. I am not sure > if i got the build-directory creation right, but it works for different > source/build dir

[sane-devel] PATCH: Make creation of output files of scanimage batch mode atomic

2009-01-14 Thread Julien BLACHE
"Simon Matter" wrote: > 3) from what I understand using mktemp() here is not less secure than what > scanimage does when writing output files anyway. Your previous mail implies that you're writing to /tmp, which is another story entirely... If you're not, that's acceptable. JB. -- Julien BLAC

[sane-devel] PATCH: Make creation of output files of scanimage batch mode atomic

2009-01-14 Thread Simon Matter
> "Simon Matter" wrote: > > Hi, > >> It creates a temp file using (unsecure) mktemp(3) and writes to it > >> Would be nice if that one could go into CVS. > > Regardless of anything else in the patch, you know what you have to do > if you want that to happen

[sane-devel] PATCH: Make creation of output files of scanimage batch mode atomic

2009-01-14 Thread Julien BLACHE
"Simon Matter" wrote: Hi, > It creates a temp file using (unsecure) mktemp(3) and writes to it > Would be nice if that one could go into CVS. Regardless of anything else in the patch, you know what you have to do if you want that to happen :-) JB. --

[sane-devel] PATCH: Make creation of output files of scanimage batch mode atomic

2009-01-14 Thread Simon Matter
debian.org/pipermail/sane-devel/attachments/20090114/77c31834/attachment.bin

[sane-devel] Epson SX600FW support

2009-01-14 Thread Chris Bagwell
On 1/14/2009 12:00 PM, Thibaut GIRKA wrote: > Hi, > I bought an Epson SX600FW scanner/printer, and it doesn't work with SANE > (at least the version in debian/testing). > When I do "scanimage -L", here is what I get: > "[epson2] Cannot send this command to a networked scanner" > I have recently

[sane-devel] sane runs in windows without cygwin

2009-01-14 Thread Ilia Sotnikov
On Wed, Jan 14, 2009 at 7:06 PM, m. allan noah wrote: > There has been some discussion of moving to some other SCM lately, so > any branching might want to wait for that, but certainly you could try > to apply your changes to a current cvs checkout, and at least produce > a patch? I have CVS writ

[sane-devel] Epson SX600FW support

2009-01-14 Thread Thibaut GIRKA
n=E9e?= Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090114/78bd4d9b/attachment.pgp

[sane-devel] sane runs in windows without cygwin

2009-01-14 Thread Ilia Sotnikov
On Wed, Jan 14, 2009 at 6:24 PM, m. allan noah wrote: > Understood. How complex do you feel your changes were to get the > sane-backends side working? Reasonable to #ifdef into mainline? Not really complex but would take some time because the abovementioned repository based on post-1.0.18 SANE ba

[sane-devel] sane runs in windows without cygwin

2009-01-14 Thread Ilia Sotnikov
On Wed, Jan 14, 2009 at 5:51 PM, m. allan noah wrote: > > Yes- I had forgotten about that. So now we have dll, net, and fujitsu > backends, and scanimage natively building? > Not with 'fujitsu' backend in the version I've mentioned, however, as Michael got the success with it, would be easy to me

[sane-devel] sane runs in windows without cygwin

2009-01-14 Thread Julien BLACHE
"m. allan noah" wrote: > Yes- I had forgotten about that. So now we have dll, net, and fujitsu > backends, and scanimage natively building? For some value of "natively" and "building" as far as fujitsu is concerned, from what I've read. Ugh. JB. -- Julien BLACHE

[sane-devel] sane runs in windows without cygwin

2009-01-14 Thread Ilia Sotnikov
On Wed, Jan 14, 2009 at 4:25 PM, m. allan noah wrote: > 2009/1/13 Michael Cronenworth : >> Hello, >> >> I've had success in building sane with MinGW, MSYS, and libusb-win32-0.12. >> During my initial work I was unable to find much of anything about such a >> feat as most people settled for Cygwin.

[sane-devel] network scanning on a HP Color LaserJet CM2320fxi MFP ?

2009-01-14 Thread Louis-David Mitterrand
Hi, I am trying to configure network scanning on this new MFP without success. The hp-makeuri tool (from the hplip package) returns: % hp-makeuri -s 10.0.3.103 error: Device does not support scan. I have a /etc/sane.d/dll.d/hplip file wich contains: hpaio but "scanimag

[sane-devel] PATCH: Make creation of output files of scanimage batch mode atomic

2009-01-14 Thread m. allan noah
On Wed, Jan 14, 2009 at 3:06 PM, Julien BLACHE wrote: > "Simon Matter" wrote: > >> 3) from what I understand using mktemp() here is not less secure than what >> scanimage does when writing output files anyway. True enough, So, instead of using mktemp at all, why not do something like append '.pa

[sane-devel] sane runs in windows without cygwin

2009-01-14 Thread m. allan noah
On Wed, Jan 14, 2009 at 11:38 AM, Ilia Sotnikov wrote: > On Wed, Jan 14, 2009 at 6:24 PM, m. allan noah wrote: >> Understood. How complex do you feel your changes were to get the >> sane-backends side working? Reasonable to #ifdef into mainline? > > Not really complex but would take some time bec

[sane-devel] sane runs in windows without cygwin

2009-01-14 Thread m. allan noah
On Wed, Jan 14, 2009 at 11:05 AM, Ilia Sotnikov wrote: > On Wed, Jan 14, 2009 at 5:51 PM, m. allan noah wrote: >> >> Yes- I had forgotten about that. So now we have dll, net, and fujitsu >> backends, and scanimage natively building? >> > > Not with 'fujitsu' backend in the version I've mentioned,

[sane-devel] sane runs in windows without cygwin

2009-01-14 Thread m. allan noah
On Wed, Jan 14, 2009 at 10:45 AM, Ilia Sotnikov wrote: > On Wed, Jan 14, 2009 at 4:25 PM, m. allan noah wrote: >> 2009/1/13 Michael Cronenworth : >>> Hello, >>> >>> I've had success in building sane with MinGW, MSYS, and libusb-win32-0.12. >>> During my initial work I was unable to find much of a

[sane-devel] How best to distribute the m4 directory?

2009-01-14 Thread Olaf Meeuwissen
Chris Bagwell writes: > Ah yes, I hadn't thought about looking at iscan source code yet; > although I'd recently installed the binary to play with on my new > Epson Artisan 800. FTR, supported as of iscan-2.14.0. > I just looked at iscan now and it is indeed a great starting point > for this ta

[sane-devel] sane runs in windows without cygwin

2009-01-14 Thread m. allan noah
2009/1/13 Michael Cronenworth : > Hello, > > I've had success in building sane with MinGW, MSYS, and libusb-win32-0.12. > During my initial work I was unable to find much of anything about such a > feat as most people settled for Cygwin. Excellent news! > Some caveats: > 1. I ripped out all backe