sane-project-website/old-archive/2001-07/0027.html

105 wiersze
3.6 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: bug in sane-frontends/src/gtkglue.c and support for</TITLE>
<META NAME="Author" CONTENT="Franz Bakan (fbakan@gmx.net)">
<META NAME="Subject" CONTENT="bug in sane-frontends/src/gtkglue.c and support for gimp-plugin OS/2">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>bug in sane-frontends/src/gtkglue.c and support for gimp-plugin OS/2</H1>
<!-- received="Mon Jul 2 15:34:29 2001" -->
<!-- isoreceived="20010702223429" -->
<!-- sent="Tue, 03 Jul 2001 00:12:50 +0200 (CDT)" -->
<!-- isosent="20010702221250" -->
<!-- name="Franz Bakan" -->
<!-- email="fbakan@gmx.net" -->
<!-- subject="bug in sane-frontends/src/gtkglue.c and support for gimp-plugin OS/2" -->
<!-- id="200107022234.f62MYRw30562@panda.mostang.com" -->
<STRONG>From:</STRONG> Franz Bakan (<A HREF="mailto:fbakan@gmx.net?Subject=Re:%20bug%20in%20sane-frontends/src/gtkglue.c%20and%20support%20for%20gimp-plugin%20OS/2&In-Reply-To=&lt;200107022234.f62MYRw30562@panda.mostang.com&gt;"><EM>fbakan@gmx.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Jul 02 2001 - 15:12:50 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0028.html">Oliver Rauch: "Re: What's the status of sanei-thread?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0026.html">Oliver Neukum: "Announcing the first release of a new driver for HP53xx scanners"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#27">[ date ]</A>
<A HREF="index.html#27">[ thread ]</A>
<A HREF="subject.html#27">[ subject ]</A>
<A HREF="author.html#27">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>1.
<BR>
<P>#ifdef HAVE_OS2_H
<BR>
<P>has to be either changed to
<BR>
<P>#ifdef __EMX__
<BR>
<P>or
<BR>
<P>a check for os2.h has to be included in configure.in
<BR>
<P>At the moment HAVE_OS2_H is not defined
<BR>
and so replacement for ':' in filenames does not work
<BR>
<P>2.
<BR>
<P>to make xscanimage work as plugin for the latest
<BR>
gimp-version available on OS/2 (gimp121) a small
<BR>
modification is necessary in xscanimage.c
<BR>
<P>this magical line must be added before gimp_main() call:
<BR>
<P>#ifdef __EMX__
<BR>
&nbsp;&nbsp;&nbsp;set_gimp_PLUG_IN_INFO(&amp;PLUG_IN_INFO);
<BR>
#endif
<BR>
&nbsp;&nbsp;&nbsp;result = gimp_main (argc, argv);
<BR>
<P>Franz
<BR>
<P><P><P><PRE>
--
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:%20bug%20in%20sane-frontends/src/gtkglue.c%20and%20support%20for%20gimp-plugin%20OS/2&In-Reply-To=&lt;200107022234.f62MYRw30562@panda.mostang.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0028.html">Oliver Rauch: "Re: What's the status of sanei-thread?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0026.html">Oliver Neukum: "Announcing the first release of a new driver for HP53xx scanners"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#27">[ date ]</A>
<A HREF="index.html#27">[ thread ]</A>
<A HREF="subject.html#27">[ subject ]</A>
<A HREF="author.html#27">[ 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>Mon Jul 02 2001 - 15:37:32 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>