sane-project-website/old-archive/2000-02/0312.html

186 wiersze
6.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: WinSane (sortof)</TITLE>
<META NAME="Author" CONTENT="Mike Bhola (mikeb@basaix.uk.ibm.com)">
<META NAME="Subject" CONTENT="Re: WinSane (sortof)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: WinSane (sortof)</H1>
<!-- received="Wed Feb 23 08:57:13 2000" -->
<!-- isoreceived="20000223165713" -->
<!-- sent="Wed, 23 Feb 2000 16:55:22 +0000" -->
<!-- isosent="20000223165522" -->
<!-- name="Mike Bhola" -->
<!-- email="mikeb@basaix.uk.ibm.com" -->
<!-- subject="Re: WinSane (sortof)" -->
<!-- id="38B410FA.25A34504@basaix.uk.ibm.com" -->
<!-- inreplyto="38B40D9D.B72FB1B0@wolfsburg.de" -->
<STRONG>From:</STRONG> Mike Bhola (<A HREF="mailto:mikeb@basaix.uk.ibm.com?Subject=Re:%20WinSane%20(sortof)&In-Reply-To=&lt;38B410FA.25A34504@basaix.uk.ibm.com&gt;"><EM>mikeb@basaix.uk.ibm.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Feb 23 2000 - 08:55:22 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0313.html">Dave Hill: "Re: RPM build file"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0311.html">Oliver Rauch: "Re: WinSane (sortof)"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0311.html">Oliver Rauch: "Re: WinSane (sortof)"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#312">[ date ]</A>
<A HREF="index.html#312">[ thread ]</A>
<A HREF="subject.html#312">[ subject ]</A>
<A HREF="author.html#312">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Oliver Rauch wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Mike Bhola wrote:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; If anyone's interested, I have successfully compiled xscanimage and
</EM><BR>
<EM>&gt; &gt; scanimage using cygwin32. Of course I
</EM><BR>
<EM>&gt; &gt; only bothered with the net backend (pnm works too and a lot of the other
</EM><BR>
<EM>&gt; &gt; stuff compiled but I didn't test
</EM><BR>
<EM>&gt; &gt; it) and you'll need an X Server for xscanimage (not too sure what the
</EM><BR>
<EM>&gt; &gt; advantage of this is over exporting your DISPLAY, except that the file
</EM><BR>
<EM>&gt; &gt; writes are local). I also ported xscanimage to mingw32 using winsock and
</EM><BR>
<EM>&gt; &gt; gtkwin32 to give a real native Windows client. The only bit that doesn't
</EM><BR>
<EM>&gt; &gt; work this way is non-blocking IO.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; The reason I did this was so that I could control the scanner connected
</EM><BR>
<EM>&gt; &gt; to my Linux box in the upstairs back bedroom from the Win98 laptop in my
</EM><BR>
<EM>&gt; &gt; lounge. It works very well apart from the fact that I have to go
</EM><BR>
<EM>&gt; &gt; upstairs
</EM><BR>
<EM>&gt; &gt; to change the photographs. Now if I could just train the cat....
</EM><BR>
<P>Unfortunately, my cat won't be able to help for a little while. He's
<BR>
broken
<BR>
both his back legs !!! (This really is true...)
<BR>
<P><EM>&gt;
</EM><BR>
<EM>&gt; Hi Mike,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I think about porting xsane to win32 with gtk for win32.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Does xscanimage already work with gtk on win32?
</EM><BR>
<P>It doesn't quite work out of the box. I haven't yet documented all my
<BR>
changes. Most of these were related to changing the IO from UNIX sockets
<BR>
to Winsock. Even now, I have the problem with non-blocking IO. This is
<BR>
because of the way the event loop is managed in glib. I intend to work
<BR>
on this shortly. I think you can make this work using Winsock2 events
<BR>
but I don't yet have a working glib compilation environment.
<BR>
<P>I'll let you know if I make any progress.
<BR>
<P><EM>&gt; Did you have to change a lot in xscanimage?
</EM><BR>
<EM>&gt;
</EM><BR>
<P>Just the IO really as mentioned above. And my current build procedure
<BR>
is really messy and needs a lot of work.
<BR>
<P><EM>&gt; Anything special I have to take care of?
</EM><BR>
<P>I would try compiling under cygwin first. If this works then start
<BR>
porting to mingw32.
<BR>
<P><EM>&gt;
</EM><BR>
<EM>&gt; Bye
</EM><BR>
<EM>&gt; Oliver
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Homepage: <A HREF="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</A>
</EM><BR>
<EM>&gt; sane-umax: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-umax.html">http://www.wolfsburg.de/~rauch/sane/sane-umax.html</A>
</EM><BR>
<EM>&gt; xsane: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-xsane.html">http://www.wolfsburg.de/~rauch/sane/sane-xsane.html</A>
</EM><BR>
<EM>&gt; E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@Wolfsburg.DE?Subject=Re:%20WinSane%20(sortof)&In-Reply-To=&lt;38B410FA.25A34504@basaix.uk.ibm.com&gt;">Oliver.Rauch@Wolfsburg.DE</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20WinSane%20(sortof)&In-Reply-To=&lt;38B410FA.25A34504@basaix.uk.ibm.com&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><PRE>
--
<P>Regards, Mike
<P>/* Michael Bhola AIX Systems Support Specialist */
/* IBM UK AIX Systems Support Centre NET: <A HREF="mailto:mikeb@basaix.uk.ibm.com?Subject=Re:%20WinSane%20(sortof)&In-Reply-To=&lt;38B410FA.25A34504@basaix.uk.ibm.com&gt;">mikeb@basaix.uk.ibm.com</A> */
/* DDI: +44,(0)990-225524 NOSS: NHBVM1(BHOLAM) */
/* Internal: 7-311220 IEA: IBMMAIL(GBIB1MPD) */
<P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20WinSane%20(sortof)&In-Reply-To=&lt;38B410FA.25A34504@basaix.uk.ibm.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0313.html">Dave Hill: "Re: RPM build file"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0311.html">Oliver Rauch: "Re: WinSane (sortof)"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0311.html">Oliver Rauch: "Re: WinSane (sortof)"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#312">[ date ]</A>
<A HREF="index.html#312">[ thread ]</A>
<A HREF="subject.html#312">[ subject ]</A>
<A HREF="author.html#312">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Wed Feb 23 2000 - 08:57:44 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>