~ubuntu-branches/debian/jessie/sane-backends/jessie

« back to all changes in this revision

Viewing changes to README.windows

  • Committer: Package Import Robot
  • Author(s): Markus Koschany
  • Date: 2013-07-04 17:41:47 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20130704174147-tl5tzd8bwvmctka2
Tags: 1.0.23-1
* QA upload.
* New upstream release.
* This package has been orphaned. Set maintainer to the Debian QA Group.
* Bump compat level to 9 (was 5) and require debhelper >= 9.
* debian/control:
  - sane-utils: Inherit Section: graphics from source package sane-backends.
  - Remove versioned dependencies. They are trivially satisfied.
* Drop the following patches. They are merged upstream now.
  - fix_v4l_build.patch
  - hurd_path_max_fix.patch
  - sane_desc_udev+acl.patch
  - scanimage_man_batch_start.patch
  - udev_usb_suspend.patch
  - xerox_mfp_add_scx_4623fw.patch
  - xerox_mfp_fix_usb_device.patch
* Drop disable_rpath.patch because the RPATH is already removed by chrpath
  in debian/rules.
* Rebase and refresh all other patches against the new upstream relase.
* debian/rules:
  - Simplify debian/rules by using dh sequencer.
  - Build with --parallel and with autotools_dev.
  - Enable all hardening build flags.
  - Install umax_pp with sane-utils.install.
* Build-Depend on libtiff5-dev. Thanks to Michael Terry for the patch.
  (Closes: #681079)
* Build-Depend on libusb-1.0-0-dev and enable libusb1.0 support in
  debian/rules. Thanks to Martin Pitt for the report and Whoopie for the
  patch. (Closes: #687137)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SANE on Cygwin/Win32
 
1
SANE on Windows
2
2
 
3
3
Prerequisites
4
4
=============
5
5
 
6
 
To be able to compile sane-backends, you need to have Cygwin installed,
7
 
with at least the following package(s):
8
 
  - gcc
9
 
 
10
 
You can get Cygwin at http://sources.redhat.com/cygwin/
 
6
To be able to compile sane-backends, you need to have either Cygwin
 
7
or Mingw compilers and a suitable POSIX compatible environment.
 
8
 
 
9
You can get the Cygwin POSIX compatible environment for Windows
 
10
Windows and the Cygwin gcc compiler at http://www.cygwin.com
 
11
 
 
12
You can get the MSYS POSIX compatible environment for Windows and the
 
13
MinGW gcc compiler at http://www.mingw.org/wiki/MSYS
11
14
 
12
15
The scanner must be detected by Windows and not be disabled. Check
13
16
with the hardware manager.
16
19
Building
17
20
========
18
21
 
19
 
See general README for build basics. The autoconf script (configure) checks
20
 
for C++ compilers and misdetects CC (=cc = gcc) a a c++ compiler because of
21
 
the case-insensitive filesystem. If that happens, one work-around will be to
22
 
install a real C++ compiler.
23
 
 
24
 
 
25
 
Scanning
26
 
========
 
22
See general README for build basics. If a given backend fails to
 
23
compile, you can use the BACKENDS variable to limit compilation
 
24
to backends your interested in:
 
25
 
 
26
  ./configure BACKENDS=epson2
 
27
 
 
28
 
 
29
Configuring
 
30
===========
27
31
 
28
32
If you have more than one scanner, you should do the following:
29
33
 
30
34
  - run sane-find-scanner to get the device name of the scanner. The
31
 
    name is something like h0b0t6l0, meaning hba 0, bus 0, scsi id 6 and
32
 
    lun 0.
 
35
    name for scsi devices is something like h0b0t6l0, meaning hba 0, bus 0,
 
36
    scsi id 6 and lun 0.
33
37
 
34
38
  - edit the config file for the backend
35
 
    (/usr/local/etc/sane.d/xxxx.conf) and add the scanner device name on
 
39
    (/path/to/sane/etc/sane.d/xxxx.conf) and add the scanner device name on
36
40
    an empty line.
37
41
 
 
42
  - Set environment variable SANE_CONFIG_DIR to point to the directory
 
43
    where the config files are located.
 
44
 
38
45
Run "scanimage > out.pnm" to get a scan.
39
46
 
40
 
xscanimage and XSane also work. xscanimage compiles and runs out of
41
 
the box. XSane 0.92 needs a couple build fixes.
42
 
 
 
47
xscanimage ans XSane have been reported to compile and run in the past
 
48
under Cygwin.
43
49
 
44
50
Notes
45
51
=====
46
52
 
47
 
- Only SCSI and USB (with libusb-win32) scanners may work. No
48
 
  FireWire/Parallel. The Cygwin libusb port is at
49
 
  http://sourceforge.net/projects/libusb-win32.
 
53
- Only SCSI, USB (with libusb-win32), and network scanners may work. No
 
54
  FireWire/Parallel. The Cygwin libusb port can be installed
 
55
  with Cygwin setup.exe or can be compiled manually under cygwin
 
56
  or mingw using the libusb-win32 port:
 
57
  http://sourceforge.net/apps/trac/libusb-win32/wiki
50
58
 
51
 
- Tested on Windows 2000 only. Should work on Windows NT/XP too;
52
 
  may or may not work on Windows 95/98/ME.
 
59
- Tested on Windows XP, 7, and using Wine on Linux.
53
60
 
54
61
- Some scanners' backend may not work because of requirement not
55
 
  supported by Cygwin.
56
 
 
57
 
 
58
 
2004/02/07
59
 
Frank Zago.
 
62
  supported by Cygwin or MinGW.
 
63
 
 
64
 
 
65
2011/10/08