Port details on branch 2022Q2 |
- sane-backends API for accessing scanners, digital cameras, frame grabbers, etc
- 1.1.1_3 graphics
=0 1.1.1_3Version of this port present on the latest quarterly branch. - Maintainer: vvd@unislabs.com
 - Port Added: 2022-04-24 04:16:20
- Last Update: 2022-04-10 19:47:23
- Commit Hash: 035e778
- 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.
WWW: http://www.sane-project.org/
¦ ¦ ¦ ¦ 
- Manual pages:
-
- 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 = 1643041643
SHA256 (sane-backends-1.1.1.tar.gz) = dd4b04c37a42f14c4619e8eea6a957f4c7c617fe59e32ae2872b373940a8b603
SIZE (sane-backends-1.1.1.tar.gz) = 7447569
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.8 : lang/python38
- 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
- libintl.so : devel/gettext-runtime
- This port is required by:
- for Build
-
- editors/libreoffice
- editors/openoffice-4
- editors/openoffice-devel
- graphics/sane-airscan
- for Libraries
-
- print/hplip
Configuration Options:
- ===> The following configuration options are available for sane-backends-1.1.1_3:
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
- 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:
|