Re: WinSane (sortof)

From: Mike Bhola (mikeb@basaix.uk.ibm.com)
Date: Wed Feb 23 2000 - 08:55:22 PST

  • Next message: Dave Hill: "Re: RPM build file"

    Oliver Rauch wrote:
    >
    > Mike Bhola wrote:
    >
    > > If anyone's interested, I have successfully compiled xscanimage and
    > > scanimage using cygwin32. Of course I
    > > only bothered with the net backend (pnm works too and a lot of the other
    > > stuff compiled but I didn't test
    > > it) and you'll need an X Server for xscanimage (not too sure what the
    > > advantage of this is over exporting your DISPLAY, except that the file
    > > writes are local). I also ported xscanimage to mingw32 using winsock and
    > > gtkwin32 to give a real native Windows client. The only bit that doesn't
    > > work this way is non-blocking IO.
    > >
    > > The reason I did this was so that I could control the scanner connected
    > > to my Linux box in the upstairs back bedroom from the Win98 laptop in my
    > > lounge. It works very well apart from the fact that I have to go
    > > upstairs
    > > to change the photographs. Now if I could just train the cat....

    Unfortunately, my cat won't be able to help for a little while. He's
    broken
    both his back legs !!! (This really is true...)

    >
    > Hi Mike,
    >
    > I think about porting xsane to win32 with gtk for win32.
    >
    > Does xscanimage already work with gtk on win32?

    It doesn't quite work out of the box. I haven't yet documented all my
    changes. Most of these were related to changing the IO from UNIX sockets
    to Winsock. Even now, I have the problem with non-blocking IO. This is
    because of the way the event loop is managed in glib. I intend to work
    on this shortly. I think you can make this work using Winsock2 events
    but I don't yet have a working glib compilation environment.

    I'll let you know if I make any progress.

    > Did you have to change a lot in xscanimage?
    >

    Just the IO really as mentioned above. And my current build procedure
    is really messy and needs a lot of work.

    > Anything special I have to take care of?

    I would try compiling under cygwin first. If this works then start
    porting to mingw32.

    >
    > Bye
    > Oliver
    >
    > --
    > Homepage: http://www.wolfsburg.de/~rauch
    > sane-umax: http://www.wolfsburg.de/~rauch/sane/sane-umax.html
    > xsane: http://www.wolfsburg.de/~rauch/sane/sane-xsane.html
    > E-Mail: mailto:Oliver.Rauch@Wolfsburg.DE
    >
    > --
    > Source code, list archive, and docs: http://www.mostang.com/sane/
    > To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

    --
    

    Regards, Mike

    /* Michael Bhola AIX Systems Support Specialist */ /* IBM UK AIX Systems Support Centre NET: mikeb@basaix.uk.ibm.com */ /* DDI: +44,(0)990-225524 NOSS: NHBVM1(BHOLAM) */ /* Internal: 7-311220 IEA: IBMMAIL(GBIB1MPD) */

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 08:57:44 PST