Port details on branch 2023Q3 |
- sane-backends API for accessing scanners, digital cameras, frame grabbers, etc
- 1.3.1_1 graphics
=65 1.3.1_1Version of this port present on the latest quarterly branch. - Maintainer: vvd@FreeBSD.org
 - Port Added: 2001-03-22 06:13:27
- Last Update: 2025-03-29 07:08:39
- Commit Hash: 12a794e
- People watching this port, also watch:: png, tiff, freetype2, unzip, libxml2
- License: GPLv2+
- WWW:
- http://www.sane-project.org/
- Description:
- SANE ("Scanner Access Now Easy") is a universal scanner interface.
This package contains the SANE libraries (this means backends and
network scanning parts) and the command line frontend scanimage.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- sane-backends>0:graphics/sane-backends
- To install the port:
- cd /usr/ports/graphics/sane-backends/ && make install clean
- To add the package, run one of these commands:
- pkg install graphics/sane-backends
- pkg install sane-backends
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: sane-backends
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1716563691
SHA256 (sane-backends-1.3.1.tar.gz) = aa82f76f409b88f8ea9793d4771fce01254d9b6549ec84d6295b8f59a3879a0c
SIZE (sane-backends-1.3.1.tar.gz) = 7432184
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.11 : lang/python311
- msgfmt : devel/gettext-tools
- Library dependencies:
-
- libpng.so : graphics/png
- libtiff.so : graphics/tiff
- libavahi-client.so : net/avahi-app
- libcurl.so : ftp/curl
- libpoppler-glib.so : graphics/poppler-glib
- libgphoto2.so : graphics/libgphoto2
- libcairo.so : graphics/cairo
- libglib-2.0.so : devel/glib20
- libintl.so : devel/gettext-runtime
- libxml2.so : textproc/libxml2
- libjpeg.so : graphics/jpeg-turbo
- This port is required by:
- for Build
-
- editors/libreoffice
- editors/openoffice-4
- editors/openoffice-devel
- graphics/epsonscan2
- graphics/p5-Image-Sane
- graphics/p5-Sane
- graphics/sane-airscan
-
Deleted ports which required this port:
- for Libraries
-
- graphics/airsaned
- graphics/kooka
- graphics/ksanecore
- graphics/libksane
- graphics/p5-Image-Sane
- graphics/sane-epkowa
- graphics/simple-scan
-
Deleted ports which required this port:
- for Run
-
- graphics/gscan2pdf
- graphics/xsane
- sysutils/scanbd
Configuration Options:
- ===> The following configuration options are available for sane-backends-1.3.1_1:
AVAHI=on: Zeroconf support via Avahi
DOCS=on: Build and/or install documentation
GPHOTO=on: Digital cameras support via libgphoto2
IEEE1284=off: Parallel port support via libieee1284 (for i386 only)
IPV6=on: IPv6 protocol support
NLS=on: Native Language Support
SNMP=off: SNMP network protocol support
USB=on: USB support
V4L=off: Video 4 Linux support
===> Use 'make config' to modify these settings
- Options name:
- graphics_sane-backends
- USES:
- compiler:c++11-lang gmake gnome jpeg libtool localbase:ldflags pathfix pkgconfig python:build gettext-tools
- pkg-message:
- For install:
- saned will log to the 'daemon' facility; this is a hard-coded
default. Also, saned has no support for SSL/TLS or cryptographic
authentication; you may wish to deploy security/stunnel to wrap
it if you have concerns about security.
If you are using a USB scanner, you should create
/usr/local/etc/devd/saned.conf to allow saned access permissions.
Currently, devfs.rules(5) has no support for USB specific filters
such as vendor, product and serial number.
Here is an example saned.conf for an Epson CX3650
multi-function scanner/printer device (assuming you are sharing
the printer function with cups):
notify 100 {
match "system" "USB";
match "subsystem" "INTERFACE";
match "type" "ATTACH";
match "cdev" "ugen[0-9].[0-9]";
match "vendor" "0x04b8";
match "product" "0x080e";
action "chown -L cups:saned /dev/$cdev && chmod -L 660 /dev/$cdev";
};
To determine which port your scanner is connected to, inspect the
output of 'usbconfig list' before and after connecting your scanner,
and note the numbers which appear after 'ugen' in the first column.
Then, use 'usbconfig -d X.Y dump_device_desc' to learn the idVendor
and idProduct fields, and plug them into the above example entry.
Finally, restart devd with the command:
# /etc/rc.d/devd restart
Please take /usr/local/etc/sane.d/dll.conf
as an example only; you may wish to enable only the 'net' backend
on client machines; be sure to point it at your scan server.
If you are setting up a scan server, you may also wish to edit
/usr/local/etc/sane.d/saned.conf
to only permit specific machines.
- Master Sites:
|