kopia lustrzana https://gitlab.com/sane-project/website
154 wiersze
5.5 KiB
HTML
154 wiersze
5.5 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: [dev] sane-config questions</TITLE>
|
|
<META NAME="Author" CONTENT="Henning Meier-Geinitz (hmg-ml@gmx.de)">
|
|
<META NAME="Subject" CONTENT="Re: [dev] sane-config questions">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: [dev] sane-config questions</H1>
|
|
<!-- received="Sun Apr 8 07:26:58 2001" -->
|
|
<!-- isoreceived="20010408142658" -->
|
|
<!-- sent="Sun, 8 Apr 2001 16:44:49 +0200" -->
|
|
<!-- isosent="20010408144449" -->
|
|
<!-- name="Henning Meier-Geinitz" -->
|
|
<!-- email="hmg-ml@gmx.de" -->
|
|
<!-- subject="Re: [dev] sane-config questions" -->
|
|
<!-- id="20010408164449.A3100@vortex.swb.de" -->
|
|
<!-- inreplyto="3AD06494.9A184298@rauch-domain.de" -->
|
|
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:hmg-ml@gmx.de?Subject=Re:%20[dev]%20sane-config%20questions&In-Reply-To=<20010408164449.A3100@vortex.swb.de>"><EM>hmg-ml@gmx.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Sun Apr 08 2001 - 07:44:49 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0069.html">mh: "Re: [dev] New and updated backends (pnm patch)"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0067.html">Oliver Rauch: "Re: [dev] sane-config questions"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0067.html">Oliver Rauch: "Re: [dev] sane-config questions"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#68">[ date ]</A>
|
|
<A HREF="index.html#68">[ thread ]</A>
|
|
<A HREF="subject.html#68">[ subject ]</A>
|
|
<A HREF="author.html#68">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Hi,
|
|
<BR>
|
|
<P>On Sun, Apr 08, 2001 at 03:16:04PM +0200, Oliver Rauch wrote:
|
|
<BR>
|
|
<EM>> > 1. The name of the installed file is sane-config, however
|
|
</EM><BR>
|
|
<EM>> > sane-config --help talks about "sane-backends-config". Probably
|
|
</EM><BR>
|
|
<EM>> > because of the change of the package name. Should we just hardcode
|
|
</EM><BR>
|
|
<EM>> > the name to sane-config?
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Yes, I suggest we keep the name "sane-config".
|
|
</EM><BR>
|
|
|
|
<BR>
|
|
Ok, I will change this.
|
|
<BR>
|
|
<P><EM>> > 3. TODO talks about "--exec-prefix=" and "--prefix=". Is this for
|
|
</EM><BR>
|
|
<EM>> > sane-config? The help message says that sane-config has these
|
|
</EM><BR>
|
|
<EM>> > options and they seem to work? What is this entry talking about?
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> gtk and gimp have this option to overwrite the stored paths
|
|
</EM><BR>
|
|
<EM>> when the administrator moved the packages. I think we should
|
|
</EM><BR>
|
|
<EM>> make sane-config to work conform to gtk- and gimp-config.
|
|
</EM><BR>
|
|
<P>I see. So --prefix prints the current prefix and --prefix=... sets it
|
|
<BR>
|
|
to a new value? I'm asking because I try to write a test for configure
|
|
<BR>
|
|
to test for SANE already installed on the system at a different prefix.
|
|
<BR>
|
|
Something like:
|
|
<BR>
|
|
<P>AC_PATH_PROG(SANE_CONFIG_PATH, sane-config, no)
|
|
<BR>
|
|
AC_CHECK_HEADER(sane/sane.h, SANE_H_EXISTS="yes")
|
|
<BR>
|
|
<P>[...]
|
|
<BR>
|
|
<P>if test "$SANE_CONFIG_PATH" != "no" ; then
|
|
<BR>
|
|
SANE_INSTALLED_VERSION=$SANE_CONFIG_PATH --version
|
|
<BR>
|
|
SANE_INSTALLED_PREFIX=$SANE_CONFIG_PATH --prefix
|
|
<BR>
|
|
if test "$SANE_INSTALLED_PREFIX" != "$prefix" ; then
|
|
<BR>
|
|
echo "*** WARNING: SANE is already installed (version $SANE_INSTALLED_VERSION). The old"
|
|
<BR>
|
|
echo "*** installation is at $SANE_INSTALLED_PREFIX while it will now be installed"
|
|
<BR>
|
|
echo "*** at $prefix. It is recommended to uninstall"
|
|
<BR>
|
|
echo "*** the old SANE version before installing the new one to avoid problems."
|
|
<BR>
|
|
fi
|
|
<BR>
|
|
else
|
|
<BR>
|
|
if test "$SANE_H_EXISTS" = "yes" ; then
|
|
<BR>
|
|
echo "*** Warning: An old version of SANE was detected."
|
|
<BR>
|
|
fi
|
|
<BR>
|
|
fi
|
|
<BR>
|
|
<P>I don't know yet how to detect the prefix of older versions of SANE
|
|
<BR>
|
|
that don't come with sane-config...
|
|
<BR>
|
|
<P>Bye,
|
|
<BR>
|
|
Henning
|
|
<BR>
|
|
<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:%20[dev]%20sane-config%20questions&In-Reply-To=<20010408164449.A3100@vortex.swb.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0069.html">mh: "Re: [dev] New and updated backends (pnm patch)"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0067.html">Oliver Rauch: "Re: [dev] sane-config questions"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0067.html">Oliver Rauch: "Re: [dev] sane-config questions"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#68">[ date ]</A>
|
|
<A HREF="index.html#68">[ thread ]</A>
|
|
<A HREF="subject.html#68">[ subject ]</A>
|
|
<A HREF="author.html#68">[ 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>Sun Apr 08 2001 - 07:28:42 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|