Index: backends/1.2.1/Makefile
===================================================================
--- backends/1.2.1/Makefile (nonexistent)
+++ backends/1.2.1/Makefile (revision 92)
@@ -0,0 +1,361 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/m/sane/backends
+
+REQUIRES = libs/eudev/3.2.10
+REQUIRES += libs/libusb/1.0.24
+REQUIRES += libs/libieee1284/0.2.11
+REQUIRES += media/libgphoto2/2.5.30
+REQUIRES += X11/media/v4l-utils/1.24.1
+REQUIRES += net/net-snmp/5.9
+REQUIRES += app/dbus/1.13.18
+REQUIRES += X11/app/cups/2.4.2
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 1.2.1
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/m/sane/backends/sane-backends-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/sane-backends-$(version)
+src_dir_name = sane-backends-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+dev_dir_name = dev-machine
+dev_dir = $(TARGET_BUILD_DIR)/$(dev_dir_name)
+
+radix_doc_dir = $(CURDIR)/doc
+
+
+####### Targets
+
+PKG_GROUP = xmedia
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+SANE_PKG_NAME = sane-backends
+SANE_PKG_VERSION = 1.2.1
+SANE_PKG_ARCH = $(TOOLCHAIN)
+SANE_PKG_DISTRO_NAME = $(DISTRO_NAME)
+SANE_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+SANE_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+SANE_PKG_SHORT_DESCRIPTION = universal scanner interface backends
+SANE_PKG_URL = $(BUG_URL)
+SANE_PKG_LICENSE = GPLv2
+SANE_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(SANE_PKG_NAME)-pkg-description
+SANE_PKG_DESCRIPTION_FILE_IN = $(SANE_PKG_NAME)-pkg-description.in
+SANE_PKG_INSTALL_SCRIPT = $(SANE_PKG_NAME)-pkg-install.sh
+
+SANE_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(SANE_PKG_NAME)-package
+
+pkg_basename = $(SANE_PKG_NAME)-$(SANE_PKG_VERSION)-$(SANE_PKG_ARCH)-$(SANE_PKG_DISTRO_NAME)-$(SANE_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate = $(call cert-name,$(pkg_archive))
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(SANE_PKG)
+
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC)),)
+OPTIMIZATION_FLAGS = -O2
+endif
+
+
+extra_configure_switches = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+extra_configure_switches += --disable-rpath
+
+extra_configure_switches += --sysconfdir=/etc
+extra_configure_switches += --localstatedir=/var/lib
+
+extra_configure_switches += --enable-locking
+extra_configure_switches += --with-lockdir=/var/lock/sane
+
+extra_configure_switches += --with-gphoto2=yes
+extra_configure_switches += --with-v4l=yes
+extra_configure_switches += --with-snmp=yes
+extra_configure_switches += --with-usb=yes
+extra_configure_switches += --with-avahi=no
+extra_configure_switches += --with-systemd=no
+
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+environment += SNMP_CONFIG_PATH=$(TARGET_DEST_DIR)/usr/bin/net-snmp-config
+environment += ac_cv_func_mmap_fixed_mapped=yes
+
+
+CFLAGS += -Wno-array-bounds -Wno-unused-function -Wno-maybe-uninitialized -Wno-bidi-chars
+CFLAGS += -Wno-format-truncation -Wno-format-overflow -Wstringop-overread -Wno-use-after-free
+CFLAGS += -Wno-nonnull
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(dev_dir)
+ # ======= build 'sane-desc' utility for development machine =======
+ @cd $(dev_dir) && \
+ CC=gcc LD=ld CFLAGS= LDFLAGS= LIBS= \
+ PKG_CONFIG_PATH=/usr/lib$(BUILD_MULTILIB_SUFFIX)/pkgconfig \
+ ../$(src_dir_name)/configure --prefix=/usr --with-group=scanner
+ @cd $(dev_dir) && $(MAKE) -C lib && $(MAKE) -C sanei && $(MAKE) -C tools sane-desc
+ # ======= build SANE for target machine =======
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && \
+ $(BUILD_ENVIRONMENT) $(environment) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @( cd $(build_dir)/tools ; \
+ mkdir -p hal udev ; \
+ ../../$(dev_dir_name)/tools/sane-desc -m hal \
+ -s $(CURDIR)/$(SRC_DIR)/doc/descriptions:$(CURDIR)/$(SRC_DIR)/doc/descriptions-external \
+ -d 0 > hal/libsane.fdi ; \
+ ../../$(dev_dir_name)/tools/sane-desc -m udev \
+ -s $(CURDIR)/$(SRC_DIR)/doc/descriptions:$(CURDIR)/$(SRC_DIR)/doc/descriptions-external \
+ -d 0 > udev/libsane.rules ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(SANE_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @( cd $(SANE_PKG)/etc/sane.d ; \
+ echo "# Uncomment the following line if hplip is installed:" >> dll.conf ; \
+ echo "hpaio" >> dll.conf ; \
+ for file in *.conf ; do \
+ mv $$file $${file}.new ; \
+ done ; \
+ )
+ # ======= install udev rules =======
+ @mkdir -p $(SANE_PKG)/lib/udev/rules.d
+ @( cd $(build_dir) ; \
+ cat tools/udev/libsane.rules \
+ | sed -e "s/GROUP=\"scanner\"/GROUP=\"lp\"/g" \
+ | sed -e "s/MODE=\"0664\"/MODE=\"0660\"/g" \
+ | sed -e "s/ACTION!=\"add\"/ACTION!=\"add|change\"/g" \
+ > $(SANE_PKG)/lib/udev/rules.d/80-libsane.rules ; \
+ )
+ # ======= install the HAL fdi file =======
+# @mkdir -p $(SANE_PKG)/usr/share/hal/fdi/policy/10osvendor
+# @( cd $(build_dir) ; \
+# cat tools/hal/libsane.fdi \
+# > $(SANE_PKG)/usr/share/hal/fdi/policy/10osvendor/10-libsane.fdi ; \
+# )
+ @mkdir -p $(SANE_PKG)/var/lock/sane
+ # ======= Install Documentation =======
+ @if [ -d $(SANE_PKG)/usr/share/man ]; then \
+ ( cd $(SANE_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(SANE_PKG)/usr/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/AUTHORS $(SRC_DIR)/COPYING $(SRC_DIR)/LICENSE \
+ $(SANE_PKG)/usr/doc/$(src_dir_name)
+ @mkdir -p $(SANE_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a INSTALL $(SANE_PKG)/usr/share/doc/$(src_dir_name) ; \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog ]; then \
+ DOCSDIR=`echo $(SANE_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ # ======= Install additional Documentation =======
+ @mkdir -p $(SANE_PKG)/usr/share/doc/$(src_dir_name)/scanner-in-a-network
+ @cp -a $(radix_doc_dir)/scanner-in-a-network.txt \
+ $(SANE_PKG)/usr/share/doc/$(src_dir_name)/scanner-in-a-network
+ # ======= remove toolchain path from target libtool *.la files =======
+ @( cd $(SANE_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libsane.la ; \
+ )
+ @( cd $(SANE_PKG)/usr/lib$(LIBSUFFIX)/sane ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libsane-*.la ; \
+ )
+ # ======= remove toolchain path from target pkg-config *.pc files =======
+ @( cd $(SANE_PKG)/usr/lib$(LIBSUFFIX)/pkgconfig ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" sane-backends.pc ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(SANE_PKG))
+ # ======= tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libsane.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libsane.la ; \
+ )
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/sane ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libsane-*.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libsane-*.la ; \
+ )
+ # ======= tune pkg-config *.pc search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/pkgconfig ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" sane-backends.pc ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" sane-backends.pc ; \
+ )
+ # ======= tune 'sane-config' script for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/bin ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" sane-config ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(SANE_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifeq ($(__ENABLE_STATIC__),yes)
+ @( cd $(SANE_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ifneq ($(PATCHELF),)
+ # ======= Set RPATH/RUNPATH for target binaries =======
+ @( cd $(SANE_PKG) ; \
+ for file in `find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_BIN_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+ # ======= Set RPATH/RUNPATH for target shared objects =======
+ @( cd $(SANE_PKG)/usr/lib$(LIBSUFFIX) ; \
+ for file in `find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_LIB_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+endif
+ @touch $@
+
+$(SANE_PKG_DESCRIPTION_FILE): $(SANE_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(SANE_PKG_DESCRIPTION_FILE) $(SANE_PKG_INSTALL_SCRIPT)
+ @cp $(SANE_PKG_DESCRIPTION_FILE) $(SANE_PKG)/.DESCRIPTION
+ @cp $(SANE_PKG_INSTALL_SCRIPT) $(SANE_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(SANE_PKG)/.REQUIRES
+ @echo "pkgname=$(SANE_PKG_NAME)" > $(SANE_PKG)/.PKGINFO ; \
+ echo "pkgver=$(SANE_PKG_VERSION)" >> $(SANE_PKG)/.PKGINFO ; \
+ echo "arch=$(SANE_PKG_ARCH)" >> $(SANE_PKG)/.PKGINFO ; \
+ echo "distroname=$(SANE_PKG_DISTRO_NAME)" >> $(SANE_PKG)/.PKGINFO ; \
+ echo "distrover=$(SANE_PKG_DISTRO_VERSION)" >> $(SANE_PKG)/.PKGINFO ; \
+ echo "group=$(SANE_PKG_GROUP)" >> $(SANE_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(SANE_PKG_SHORT_DESCRIPTION)\"" >> $(SANE_PKG)/.PKGINFO ; \
+ echo "url=$(SANE_PKG_URL)" >> $(SANE_PKG)/.PKGINFO ; \
+ echo "license=$(SANE_PKG_LICENSE)" >> $(SANE_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(SANE_PKG) && \
+ chown -R root:root . && \
+ chmod 755 var && \
+ chmod 1777 var/lock && \
+ chown 0:93 var/lock/sane && \
+ chmod 755 var/lock/sane && $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: backends/1.2.1/PATCHES
===================================================================
--- backends/1.2.1/PATCHES (nonexistent)
+++ backends/1.2.1/PATCHES (revision 92)
@@ -0,0 +1,2 @@
+
+../../../../../sources/packages/m/sane/backends/patches/sane-backends-1.2.1-sane-settable.patch -p0
Index: backends/1.2.1/doc/scanner-in-a-network.txt
===================================================================
--- backends/1.2.1/doc/scanner-in-a-network.txt (nonexistent)
+++ backends/1.2.1/doc/scanner-in-a-network.txt (revision 92)
@@ -0,0 +1,104 @@
+
+Using a Scanner in a Network
+============================
+
+This Howto describes how one can use a scanner which is connected
+to another computer over the network.
+
+
+Necessary Software
+------------------
+
+All packages which are necessary are available in a stock installation.
+This are sane and xsane for the scanner. Also the internet super-server
+daemon inetd is used (on the scannerserver) to listen to the network
+for scanner-job.
+
+
+Permissions
+-----------
+
+In order to use the device for scanning (locally or over the network) one has to be member
+of the scanner as well as the lp-group.
+
+
+Server configuration
+--------------------
+
+One has to edit the /etc/sane.d/saned.conf file. Since the inetd is used to listen to
+the network the only part one has to configure is the “Access-List”. It lists the IP-adresses
+of the computers which are allowed to access the scanner. It is possible to list single
+IP-Adresses or the adress of the whole subnet, here I use
+
+192.168.1.0/24
+
+In the /etc/inetd.conf file one needs a line
+
+sane-port stream tcp nowait root.root /usr/sbin/saned saned
+
+Be sure to have the following line in your /etc/services file
+
+sane-port 6566/tcp
+
+Afterwards you will have to restart the inetd-daemon
+
+# /etc/rc.d/rc.inetd restart
+
+
+Testing the network-settings for the server
+-------------------------------------------
+
+With the nmap command one can scan the ports and find out if the sane-port is open,
+sane uses port 6566
+
+# nmap -p 6566 192.168.1.10
+
+Starting Nmap 5.21 ( http://nmap.org ) at 2010-11-29 19:54 CET
+Nmap scan report for srv-zuhause.home.local (192.168.98.10)
+Host is up (0.0031s latency).
+PORT STATE SERVICE
+6566/tcp open unknown
+MAC Address: xx:xx:xx:xx:xx:xx (xx Computer)
+
+Nmap done: 1 IP address (1 host up) scanned in 0.23 seconds
+
+The command can be executed on the server as well as any client, the ip-adress
+is the one of the server!
+
+
+Client configuration
+--------------------
+
+On the client one has to edit the /etc/sane.d/net.conf file and add a line with
+the IP-adress of the server.
+
+#/etc/sane.d/net.conf
+192.168.1.10
+
+Theoretically it is possible to insert the DNS-name of the server (instead of it's
+IP-adress) in the net.conf file, but it didn't work here.
+
+Also be sure that in the file /etc/sane.d/dll.conf is a line with the word “net”
+
+#/etc/sane.d/dll.conf
+# enable the next line if you want to allow access through the network:
+net
+...
+
+
+Testing the client-configuration
+--------------------------------
+
+With the command scanimage -L we can check if the scanner is recognized by the system
+
+$ scanimage -L
+device `net:192.168.1.10:hpaio:/usb/PSC_1400_series?serial=CN619D724804DZ' is a Hewlett-Packard PSC_1400_series all-in-one.
+
+Now if you open xsane on the client you should be able to use the scanner.
+
+
+Sources
+--------------
+
+Originally written by Markus Hutmacher [http://docs.slackware.com/wiki:user:markush]
+source: [http://docs.slackware.com/howtos:network_services:scanning_with_sane_in_a_network]
Index: backends/1.2.1/sane-backends-pkg-description.in
===================================================================
--- backends/1.2.1/sane-backends-pkg-description.in (nonexistent)
+++ backends/1.2.1/sane-backends-pkg-description.in (revision 92)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+sane-backends: sane-backends @VERSION@ (universal scanner interface backends)
+sane-backends:
+sane-backends: SANE stands for Scanner Access Now Easy. This package contains
+sane-backends: the SANE libraries (this means backends and network scanning parts)
+sane-backends: and the command line frontend scanimage.
+sane-backends:
+sane-backends: Homepage: http://www.sane-project.org
+sane-backends:
+sane-backends: There are several graphical frontends available for SANE, see
+sane-backends: the list at http://www.sane-project.org/sane-frontends.html .
+sane-backends:
Index: backends/1.2.1/sane-backends-pkg-install.sh
===================================================================
--- backends/1.2.1/sane-backends-pkg-install.sh (nonexistent)
+++ backends/1.2.1/sane-backends-pkg-install.sh (revision 92)
@@ -0,0 +1,60 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ for file in etc/sane.d/*.new ; do
+ install_file $file
+ done
+
+ # If the netdev and avahi groups don't exist, add them
+ if ! grep "^scanner:" etc/group >/dev/null 2>&1; then
+ echo "scanner:x:93:" >>etc/group
+ fi
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: backends/1.2.1/sane-backends-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: backends/1.2.1
===================================================================
--- backends/1.2.1 (nonexistent)
+++ backends/1.2.1 (revision 92)
Property changes on: backends/1.2.1
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~