sane-project-website/old-archive/1999-09/0144.html

108 wiersze
3.2 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Wed Sep 22 17:19:51 1999 PDT" -->
<!-- sent="Wed, 22 Sep 1999 01:48:07 +0200" -->
<!-- name="Jean-François Straeten" -->
<!-- email="jfstraeten@csi.com" -->
<!-- subject="Re: gimp and xsane" -->
<!-- id="" -->
<!-- inreplyto="37E7B034.CF8D1F30@wolfsburg.de" -->
<title>sane-devel: Re: gimp and xsane</title>
<h1>Re: gimp and xsane</h1>
<b>Jean-François Straeten</b> (<a href="mailto:jfstraeten@csi.com"><i>jfstraeten@csi.com</i></a>)<br>
<i>Wed, 22 Sep 1999 01:48:07 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#144">[ date ]</a><a href="index.html#144">[ thread ]</a><a href="subject.html#144">[ subject ]</a><a href="author.html#144">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0145.html">Lee Bartolotti: "Re: gimp and xsane"</a>
<li> <b>Previous message:</b> <a href="0143.html">John Craig: "Re: Microtek E3 crashes... SOLVED!"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On Tue, Sep 21, 1999 at 06:20:04PM +0200, Oliver Rauch wrote:<br>
<i>&gt; </i><br>
<i>&gt; Robert Schwebel wrote:</i><br>
<i>&gt; </i><br>
<i>&gt; &gt; Hi Oliver!</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; Is it possible for you to add a configure switch to disable the Gimp</i><br>
<i>&gt; &gt; plugin feature in xsane? My problem is that I have Gimp-1.0.2 here (from</i><br>
<i>&gt; &gt; SuSE 6.0), don't want to update now but want to use xsane :-) At the</i><br>
<i>&gt; &gt; moment I cannot compile it because of this error you describe in the</i><br>
<i>&gt; &gt; PROBLEMS file.</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; </i><br>
<i>&gt; Hello Robert,</i><br>
<i>&gt; </i><br>
<i>&gt; please call</i><br>
<i>&gt; ./configure</i><br>
<i>&gt; and afterwards edit in the sourcedir</i><br>
<i>&gt; sane/include/sane/config.h</i><br>
<i>&gt; and comment out the line</i><br>
<i>&gt; #define HAVE_LIBGIMP_GIMP_H 1</i><br>
<i>&gt; </i><br>
<i>&gt; then you can compile xsane without gimp support.</i><br>
<p>
A friend of mine put this other workaround at the bottom of the frontend/xsane.c<br>
for xsane to compile on my machine (I'm also using Gimp 1.0.2, that wich<br>
came with the Suse 6.0) :<br>
<p>
----------------------------<br>
<p>
#undef g_message<br>
#undef g_debug<br>
#undef g_warning<br>
#undef g_error<br>
<p>
void g_message (char *s)<br>
{<br>
printf ("Msg : %s\n", s);<br>
}<br>
<p>
void g_debug (char *s)<br>
{<br>
printf ("Dbg : %s\n", s);<br>
}<br>
<br>
void g_warning (char *s)<br>
{<br>
printf ("War : %s\n", s);<br>
}<br>
<p>
void g_error (char *s)<br>
{<br>
printf ("Error : %s\n", s);<br>
<p>
}<br>
------------------------------------------------<br>
<p>
Works great.<br>
<p>
<pre>
--
<p>
<p>
J.-F. STRAETEN
<p>
<p>
<p>
<pre>
---
Mutt 0.93.1i.
Powered by SuSE Linux.
<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0145.html">Lee Bartolotti: "Re: gimp and xsane"</a>
<li> <b>Previous message:</b> <a href="0143.html">John Craig: "Re: Microtek E3 crashes... SOLVED!"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>