Wykres commitów

179 Commity (6e67a846960d08cdfc3db8ba9a6e6302a9b296c6)

Autor SHA1 Wiadomość Data
Max Vorobiev 1694389461 *** empty log message *** 2002-07-06 09:59:17 +00:00
Henning Geinitz a8c8969925 Check for usb_get_busses to make sure, we have at least version 0.1.6 of
libusb. Fixed strncasecomp test for OS/2.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-03 12:09:29 +00:00
Henning Geinitz e102b51932 Added HAVE_LIBUSB #define. Added OS/2 substitution for strncasecmp.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-03 09:00:47 +00:00
Henning Geinitz 9a36a3dd0c Added some sanity checks. Configure now stops if one of the essential headers
isn't found.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-06-09 09:09:54 +00:00
Henning Geinitz c4948333ae Print CPPFLAGS, CFLAGS, LDFLAGS and LIBS for easier debugging. Moved
AC_SUBST to the variable definitions they belong to.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-06-07 16:43:07 +00:00
Henning Geinitz fa42114a14 Added option --disable-local-backends to configure. Only net and dll will be
compiled if set. Also a warning is printed.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-06-02 18:56:56 +00:00
Frank Zago 8cdb1af5e1 Added test for long long. Fixed declaration for HAVE_ASM_IO_H. 2002-05-29 05:34:11 +00:00
Henning Geinitz 8d5dbae38e Warnings enabled by default.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-05-27 22:30:04 +00:00
Oliver Rauch b063ac70d4 Oliver Rauch:
- changed configure/configure.in V_EXTRA to "-cvs"
2002-05-27 20:35:24 +00:00
Henning Geinitz a4924fbba9 Set version to 1.0.8. Disabled warnings by default.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-05-24 23:03:31 +00:00
Oliver Rauch 589f86b1bd Oliver Rauch <Oliver.Rauch@Rauch-Domain.DE>
added cvs code freeze markers for sane 1.0.8
renamed version from "1.0.7-cvs" to "1.0.8-pre1"
2002-05-22 19:37:25 +00:00
Henning Geinitz cb6aadd8fa Fixed 16 bit pnm output. The byte-order was wrong for little-endian
systems. Based on code from Roland Roberts <roland@astrofoto.org>.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-05-09 13:41:28 +00:00
Matthew Duggan 2cb1402344 Added check for new libieee1284 version, also updated code to reflect
interface changes.  Required due to critical bug fixes in 0.1.5.
2002-04-12 00:29:57 +00:00
Henning Geinitz 7f316583eb Added work-around for asm/io.h problems.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-07 14:50:18 +00:00
Henning Geinitz 15d3c1c4e3 Added checks for libieee1284. Enable canon_pp backend if found. Patch from
"Matthew Duggan" <stauff@guarana.org>.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-01 22:49:02 +00:00
Henning Geinitz ebe5be801c Another try to get the DISTCLEAN_FILES working.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-29 16:46:37 +00:00
Henning Geinitz 78a279218b Update to libtool 1.4.2. Included local changes: use soname "libsane" for all
os but AIX. Use "normal" shared libs (.so) instead of archives on AIX. Use 1
instead of 2 as major number with Irix.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-24 14:19:11 +00:00
Henning Geinitz fa8fd9e9f4 Use only shared libraries by default. Fixed file patterns for distclean
targets.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-21 20:26:54 +00:00
Henning Geinitz 96195decb5 Added tools/sane-desc.el to output files.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-20 22:59:59 +00:00
Abel Deuring 4f70616c01 configure.in, configure, include/sanei/config.h.in
sanei/sanei_scsi.c: Added HAVE_SG_TARGET_STATUS for compatibility
with old Linux sg.h versions

Abel
2002-03-10 14:34:11 +00:00
Henning Geinitz b6b3496b00 Added wrapper for inet_pton(). If this function is not available, try first
inet_aton() and then inet_addr().
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-14 19:34:52 +00:00
Henning Geinitz e3cbda553c Added global list of file patterns for "make distclean". Some "make clean"
and "make distclean" cleanup and additions.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-13 20:48:29 +00:00
Henning Geinitz c1d3afc64f Link to functions in lib/ only if they are not available on the system. Use
AC_PROG_LIBTOOL instead of the deprecated AM_PROG_LIBTOOL.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-10 18:35:29 +00:00
Henning Geinitz c62b16eca3 Version is 1.0.7-cvs. Enable warnings by default. Don't use "-ansi" for HPUX.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-04 23:24:36 +00:00
Henning Geinitz 6c70042b14 Include <sys/types.h> and <sys/ipc.h> also when checking for struct semun in
<sys/sem.h>. This fixes a compilation problem on FreeBSD.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-02 17:09:00 +00:00
Henning Geinitz befe15b5ee New vesrion: 1.0.7. Disabled extra version.
Disabeld warnings by default.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-28 23:08:55 +00:00
Henning Geinitz 5a1ea1bcd2 Only define union semun if not already defined in <sys/sem.h>. Fixes
compilation bugs on Irix and FreeBSD.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-27 18:24:47 +00:00
Peter Fales cbf1b2287b Disable gphoto2 unless specifically requested by the user, and the
right version is found
2002-01-17 03:17:23 +00:00
Peter Fales 96f9410737 configure.in, configure, acinclude.m4, aclocal.m4 - Improvements
to the way gphoto2 is detected and used based on using
gphoto2-config.
2002-01-16 02:20:02 +00:00
Henning Geinitz 077d7b3a5c Added V_EXTRA version number to mark CVS versions (-cvs) and
snapshots/betas (e.g. -beta1). V_EXTRA=-pre1 would result in
"sane-backends-1.0.7-pre1(.tar.gz)". For release, V_EXTRA is empty.
Added NUMBER_VERSION to avoid confusing sane-config and
frontends that rely on numbered versions.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-08 18:47:26 +00:00
Stéphane Voltz 4ee000d7dd - added help text file for '--enable-parport-directio' configure
option
2002-01-08 06:05:11 +00:00
Henning Geinitz bdb2579640 Added option --enable-translations to configure. I18N support is
disabled by default.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-07 22:21:22 +00:00
Henning Geinitz 2f8ce37aaf Added check for inet_ntop().
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-06 20:40:09 +00:00
Henning Geinitz c095f0339b Changed order of tests for libsocket and libsyslog to avoid problems
with OS/2. Small spelling and format fixes.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-12-28 21:16:46 +00:00
Abel Deuring 1909b7f500 Replaced the configure option --enable-diretio with --enable-scsi-directio
and --enable-parport-directio.

NOTE: While I know, what the SCSI direct IO means, I have no idea, what
direct IO means in the context of the parport, so somebody needs to add
some useful description about parport direct io to configure.in and to
README (or README.linux)
2001-12-28 13:26:12 +00:00
Henning Geinitz 8f69f4d89e Enabled warnings by default.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-11-04 20:20:48 +00:00
Petter Reinholdtsen 514da4e0d4 Wiped old repository. Imported v1.0.1. 1999-08-09 18:06:01 +00:00
Henning Geinitz 3eb79da70c New version: 1.0.6. Disabled warnings by default.
Henning Meier-Geinitz <henning@meier-geinitz.de>
1994-10-29 21:50:05 +00:00
Peter Fales af99c7fdd3 Changes to start using gphoto2 libraries in gphoto2 backend 2001-09-13 00:33:38 +00:00
Peter Fales 0785164f3b Disable gphoto2 backend if gphoto2 binary is not found 2001-09-10 23:09:47 +00:00
Henning Geinitz d56ab68164 Fixed bug concerning libusb that broke compilation on NetBSD.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-08-16 21:13:16 +00:00
Henning Geinitz 12413ecc40 Enabled warnings by default.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-07-02 21:24:24 +00:00
Henning Geinitz c86c6b2eaf Disabled warnings by default.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-30 14:42:49 +00:00
Oliver Rauch f08e2a1260 2001-06-25 Oliver Rauch <Oliver.Rauch@Rauch-Domain.DE>
* configure/configure.in: changed version to 1.0.5
2001-06-25 16:41:54 +00:00
Henning Geinitz c5e220a415 Link to djpeg only once.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-09 14:46:57 +00:00
Henning Geinitz b77a094ee7 Check for sys/sem.h and disable snapscan if it isn't available.
Removed "//" (C++-style comment) from config.h.in.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-09 10:38:40 +00:00
Henning Geinitz 5a17b6691c Check for struct flock and define it if necessary.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-31 20:48:57 +00:00
Henning Geinitz 63ecaa6fb7 Fixed u_int* bug for Tru64 by including sys/bitypes.h.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-26 09:33:22 +00:00
Henning Geinitz 2bd3590d7e Detect presence of libusb and enable sm3600 backend.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-16 19:04:13 +00:00
Henning Geinitz 89697be051 Test for linux/ppdev.h (for umax_pp backend). 2001-05-03 19:36:36 +00:00
Henning Geinitz a7fef568e8 Don't use -ansi for Solaris. On some Solaris installations
compilation breaks with -ansi.
2001-05-02 19:56:11 +00:00
Henning Geinitz df0742d5e5 Added support for Solaris sgen SCSI driver (patch from Juergen Keil
<jk@tools.de>).
2001-05-01 21:08:42 +00:00
Henning Geinitz f8395cabc5 2001-04-22 Henning Meier-Geinitz <henning@meier-geinitz.de>
* PROBLEMS: Point to pnm/saned security risks.
	* TODO: Removed the entries about epson usb mis-detection and check
	  for installed sane versions.
	* configure configure.in backend/Makefile.in: Added detection of older
	  versions of SANE. The pnm backend is now disabled by default.
	* backend/dll.c backend/dll.desc: Fixed file descriptor leak (found by
	  Douglas Gilbert). New version: 1.0.2.
	* backend/net.desc: Added Jochen Eisinger's email address as contact
	  for the net backend.
	* doc/sane-pnm.man: Point to pnm/saned security risks.
2001-04-22 20:01:24 +00:00
Henning Geinitz 245fe873a3 2001-04-19 Henning Meier-Geinitz <henning@meier-geinitz.de>
* AUTHORS: Added Michael Herder and me for pnm. Updated my email
	  address.
	* TODO: Removed pnm entry about adding more options. Added entry about
	  epson backend freezing when trying to detect non-epson USB scanner.
	  Added entry about adding contact adresses to .desc files. Added
	  comment about me working on a sane man page. Removed entry about OS/2
	  problems in sanei_scsi.c.
	* configure configure.in: Removed a newline in --help message.
	* backend/pnm.c: Added several options: gamma tables
	  (-> arrays), resolution option (word list), read only test option
	  (SANE_CAP_SOFT_DETECT), several options for returning status codes
	  in sane_read (all of this is from Michael Herder <crapsite@gmx.net>).
	  Added build version info, print version information in sane_init.
	  Use ../include/sane/ for includes. Version is 1.0.1.
	* backend/pnm.desc: Updated contact info and version.
2001-04-19 21:10:20 +00:00
Petter Reinholdtsen 7651dd5a13 Try to guess how to set runtime link path, and make it easier to extend. 2001-04-16 17:23:37 +00:00
Petter Reinholdtsen ebf5508966 Clean up warning flag handling. 2001-04-16 17:16:58 +00:00
Henning Geinitz 7f1cd21dcc 2001-04-16 Henning Meier-Geinitz <hmg@gmx.de>
* README: Updated xsane link.
	* configure configure.in backend/dll.c backend/dll.desc
	  backend/net.c backend/net.desc include/sane/config.h.in
	  Yet another change in the version system for dll and net.
	  For sane_init return the version of the package but use
	  own internal version number in the source (printed with
	  debugging enabled) and in *.desc. The internal versions
	  of both net and dll are set to 1.0.1. Please increase the
	  build number with every change on the source files.
	* doc/realeases.txt -> doc/releases.txt. Fixed spelling error.
	  Added entries about sane-backends.html, sane.ps, man pages,
	  platforms page.
2001-04-16 12:21:34 +00:00
Abel Deuring 2480c257f6 sanei_scsi.c: Fixed a buf in the rror handling for the Linux SG driver v3.x;
disabled direct IO by default
2001-04-10 22:37:59 +00:00
Henning Geinitz 43f4972b38 2001-04-08 Henning Meier-Geinitz <hmg@gmx.de>
* backend/mustek.c backend/mustek.desc backend/mustek.CHANGES
	  Added detection of the TA for the Paragon 1200 SP Pro. Added
	  warning about not supported Trust scanners. Changed description
	  of contarst and brightness settings. Backend status is "stable"
	  now. New version: 1.0-106.
	* acinclude.m4 aclocal.m4: Fixed comment concerning dc240.
	* configure configure.in include/sane/config.h.in: Added test for
	  socklen_t in sys/socket.h. This fixes the compilation problem on
	  Irix.
	* doc/sane-avision.man doc/sane-ricoh.man doc/sane-s9036.man
	  doc/sane-tamarack.man: find-scanner is now called
	  sane-find-scanner and installed on the system so it's not
	  necessary to point to the tools directory.
	* frontend/scanimage.c: Fixed too long line in output.
	* sane-config.in: Name is sane-config again (was sane-backends-config
	  due to the renaming of the package).
	* TODO: Removed entry about net.c not compiling on Irix and
	  references to find-scanner in the man pages. Updated numbers of
	  the compilation warnings. Still too many, however.
2001-04-08 15:52:53 +00:00
Henning Geinitz dd0b9dae71 2001-04-07 Henning Meier-Geinitz <hmg@gmx.de>
* backend/sc240.c backend/dc240.h backend/dc240.conf
	  backend/dc240.desc backend/dll.conf doc/sane-dc240.man:
	  Added dc240 backend for the Kodak DC240 Digital camera (from
	  Peter Fales <peter@fales.com>).
	* doc/Makefile.in: Added sane-dc240 in section 5.
	* backend/Makefile.in: Added dc240.
	* configure configure.in: If the jpeg libs are not available,
	  dc240 is also disabled.
	* AUTHORS: Added entry for dc240 and updated email address of
	  Peter Fales.
	* NEWS: First version of the news entry for 1.0.5.
	* PROJECTS: Removed dc240. Added Microrec ScanMaker 3600.
	* README: Added dc240.
	* TODO: Removed dc240. Added entry about keep-alive mechanism in saned.
	* sane-backends.lsm: Added dc240.
	* testsuite/.cvsignore: New file. Added entry for Makefile.
2001-04-07 18:58:36 +00:00
Petter Reinholdtsen e3d1db65fb Really move definition of SCSIBUFFERSIZE from CFLAGS to config.h.
(forgot part of the patch last time.)
2001-02-22 09:58:04 +00:00
Petter Reinholdtsen d2fcb41f45 Started on runtime test suite. Currently only tests if PNM test
scanning works.
2001-02-22 09:53:05 +00:00
Petter Reinholdtsen b3529806c0 Move definition of HAVE_DEV_URANDOM and SCSIBUFFERSIZE from
CFLAGS to config.h.
2001-01-14 23:45:27 +00:00
Henning Geinitz fc07267c14 2000-12-23 Henning Meier-Geinitz <hmg@gmx.de>
* NEWS: Added date of release.
	* TODO: Removed entries about PATH_MAX, sanei_scsi_find_devices, and
	  shm.h. Added entry about the necessity to check HAVE_SYS_SHM_H.
	* configure configure.in include/sane/config.h.in: Default to
	  --enable-warnings again. Don't set "-ansi" for OS/2. Test for
	  sys/shm.h.
	* backend/GUIDE: Moved to doc/backend-writing.txt.
	* doc/backend-writing.txt: New file (moved from backend/GUIDE).
	  Added comments about sanei-backend.h and PATH_MAX.
	* include/sane/sanei_backend.h: Added define for PATH_MAX (if
	  necessary).
	* sanei/sanei_scsi.c: Implemented sanei_scsi_find_devices for FreeBSD
	  (from ports@FreeBSD.org).
	* tools/Makefile.in: Use INSTALL_SCRIPT instead of INSTALL_PROGRAM for
	  sane-config (from ports@FreeBSD.org).
2000-12-23 16:06:12 +00:00
Henning Geinitz 03b9c96bd8 sane-backends 1.0.4 was released. End of code freeze.
2000-12-22  Henning Meier-Geinitz <hmg@gmx.de>

        * configure configure.in: Changed version to 1.0.4 and package to
	  sane-backend (from Oliver Rauch <Oliver.Rauch@Wolfsburg.DE).
        * sane.lsm Removed (renamed to sane-backends.lsm).
	* sane-backends.lsm New file. Package name is sane-backends instead
	  of sane and added additional maintainer: Oliver Rauch (from
	  Oliver Rauch <Oliver.Rauch@Wolfsburg.DE).
2000-12-22 16:49:54 +00:00
Henning Geinitz 3fd6008d27 2000-12-16 Henning Meier-Geinitz <hmg@gmx.de>
* configure configure.in: Disable warnings by default for release.
	* sanei/sanei_wire.c: Fixed typo.
2000-12-16 10:37:25 +00:00
Oliver Rauch 7510b8c5dc 2000-12-04 Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>
* removed usage of gettext, problem with -lintl should be solved:
          - removed usage of gettext from lib/getopt.c
          - removed test for libintl/gettext in configure[.in]                                                                     - removed intllib from frontend/Makfile.in
2000-12-04 20:58:29 +00:00
Oliver Rauch b7aa813cb5 Added test by Henning Meier Geinitz: SANE_CHECK_JPEG to aclocal.m4 and configure[.in]
Oliver Rauch
2000-11-28 20:29:32 +00:00
Henning Geinitz 9c35c327bf 2000-11-25 Henning Meier-Geinitz <hmg@gmx.de>
* configure configure.in acinclude.m4 aclocal.m4
	  include/sane/config.h.in: Added test for PTAL library and headers
	  (patch from David Paschal <paschal@rcsis.co>). Some reformating of
	  the output of configure --help.

	* backend/GUIDE: Updated entry about #include.
2000-11-25 17:51:16 +00:00
Oliver Rauch 1c4be9f321 changed configure.in: dynamic library loading does work again 2000-11-24 22:34:22 +00:00
Oliver Rauch 64e2bdf50d 2000-11-22 Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>
* changed configure.in, configure frontend/Makefile.in
          and backend/Makfile.in:
          The shared libraries required by the backends are linked to
          the backends (they have been linked to the frontends before).
          Only libintl is linked to the frontend.
        * changed tool/sane-config.in, sane-config --libs => "-lsane",
          all other libraries are linked to the backend libs now
2000-11-24 15:24:55 +00:00
Oliver Rauch c0faabae14 2000-11-22 Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>
* changed configure.in and frontend/Makefile.in,
          "-lintl" is not added to @LIBS@ any more, @INTLLIBS@
          is defined instead now, this is necessary because "-lintl"
          has to be added to the frontends and not to a backend and
          sane-config --libs must not list it.
2000-11-23 22:57:22 +00:00
Oliver Rauch 9ad7c2dbb1 2000-11-22 Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>
* removed xcam.c xscanimage.c sane-style.rc progress.c progress.h                                                                      preview.c preview.h preferences.c preferences.h gtkglue.c gtkglue.h
          from frontend/

        * removed parts for xcam and xscanimage from frontend/Makefile.in,
          configure.in and updated confiugre
2000-11-23 21:29:35 +00:00
Oliver Rauch de057e1374 2000-11-22 Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>
* changed configure and configure.in, removed test for sting.h/strings.h
          this is not needed because we use strchr instead (always in string.h)
          of index (sometimes in string.h, sometimes in strings.h)
                                                                                                                                                 * changed ltconfig for aix4*, repleace -o $objdir/$soname by -o $lib,
          the shared libraries are handled correct now
2000-11-22 23:10:45 +00:00
Jochen Eisinger 2d81337c4d 2000-11-20 Jochen Eisinger <jochen.eisinger@gmx.net>
* configure configure.in: Added test for /dev/urandom and
	  index() in string.h or strings.h
	* backend/net.c: Fixed SANE_NET_AUTHORIZE call handling
	* doc/net.tex: Clarified definition of SANE_NET_AUTHORIZE, added
	  definition of MD5 authorization
	* doc/sane.tex: Upgraded to version 1.0.2, changed definition of
	  SANE_MAX_USERNAME_LEN & SANE_MAX_PASSWORD_LEN to 128 chars
	* doc/saned.man: added description of SANE_CONFIG_DIR/saned.users
	* doc/scanimage.man: added description of ~/.sane/pass and
	  --accept-md5-only
	* frontend/saned.c: implemented user authorization on a per backend
	  basis
	* frontend/scanimage.c: fixed bug (option -b wasn't present)
	  implemented auth_callback
	* include/sane/sane.h: changed definition of SANE_MAX_USERNAME_LEN &
	  SANE_MAX_PASSWORD_LEN to 128 chars
	* lib/Makefile.in sanei/Makefile.in: updated Makefiles
2000-11-20 18:49:12 +00:00
Henning Geinitz 6666417fba 2000-08-15 Henning Meier-Geinitz <hmg@gmx.de>
* configure configure.in: Default to --enable-warnings again.
2000-08-15 18:28:39 +00:00
Petter Reinholdtsen 438641c2fd Merge devel (v1.0.3) into head branch. 2000-08-12 15:08:49 +00:00
Petter Reinholdtsen e430d89004 Merged main branch with current DEVEL_1_9. 2000-03-05 13:54:44 +00:00
Petter Reinholdtsen 89c4637f0a Initial revision 1999-08-09 18:05:39 +00:00