Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

383 Commits   1 Branch   1 Tag
Index: X11/media/sane/backends/1.2.1/Makefile
===================================================================
--- X11/media/sane/backends/1.2.1/Makefile	(nonexistent)
+++ X11/media/sane/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: X11/media/sane/backends/1.2.1/PATCHES
===================================================================
--- X11/media/sane/backends/1.2.1/PATCHES	(nonexistent)
+++ X11/media/sane/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: X11/media/sane/backends/1.2.1/doc/scanner-in-a-network.txt
===================================================================
--- X11/media/sane/backends/1.2.1/doc/scanner-in-a-network.txt	(nonexistent)
+++ X11/media/sane/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: X11/media/sane/backends/1.2.1/sane-backends-pkg-description.in
===================================================================
--- X11/media/sane/backends/1.2.1/sane-backends-pkg-description.in	(nonexistent)
+++ X11/media/sane/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: X11/media/sane/backends/1.2.1/sane-backends-pkg-install.sh
===================================================================
--- X11/media/sane/backends/1.2.1/sane-backends-pkg-install.sh	(nonexistent)
+++ X11/media/sane/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: X11/media/sane/backends/1.2.1/sane-backends-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: X11/media/sane/backends/1.2.1
===================================================================
--- X11/media/sane/backends/1.2.1	(nonexistent)
+++ X11/media/sane/backends/1.2.1	(revision 92)

Property changes on: X11/media/sane/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
+*~
Index: products/X11/Makefile
===================================================================
--- products/X11/Makefile	(revision 91)
+++ products/X11/Makefile	(revision 92)
@@ -734,7 +734,9 @@
 REQUIRES += X11/app/cups/2.4.2-x86_32
 endif
 
+REQUIRES += X11/media/sane/backends/1.2.1
 
+
 #######
 ####### WebKit:
 #######
Index: sources/packages/m/sane/Makefile
===================================================================
--- sources/packages/m/sane/Makefile	(nonexistent)
+++ sources/packages/m/sane/Makefile	(revision 92)
@@ -0,0 +1,13 @@
+
+COMPONENT_TARGETS = $(HARDWARE_NOARCH)
+
+SOURCE_REQUIRES += ALL_DIRS
+
+
+include ../../../../build-system/core.mk
+
+
+download_clean:
+	@true
+
+.PHONY: download_clean
Index: sources/packages/m/sane/backends/Makefile
===================================================================
--- sources/packages/m/sane/backends/Makefile	(nonexistent)
+++ sources/packages/m/sane/backends/Makefile	(revision 92)
@@ -0,0 +1,56 @@
+
+COMPONENT_TARGETS = $(HARDWARE_NOARCH)
+
+
+include ../../../../../build-system/constants.mk
+
+
+url         = $(DOWNLOAD_SERVER)/sources/packages/m/sane/backends
+
+versions    = 1.2.1
+pkgname     = sane-backends
+suffix      = tar.xz
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+patches     = $(CURDIR)/patches/sane-backends-1.2.1-sane-settable.patch
+
+.NOTPARALLEL: $(patches)
+
+
+BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
+
+
+include ../../../../../build-system/core.mk
+
+
+.PHONY: download_clean
+
+
+$(tarballs):
+	@echo -e "\n======= Downloading source tarballs =======" ; \
+	 for tarball in $(tarballs) ; do \
+	   echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
+	 done ; wait
+
+$(sha1s): $(tarballs)
+	@for sha in $@ ; do \
+	   echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
+	   echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
+	   touch $$sha ; \
+	   echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
+	   sha1sum --check $$sha ; ret="$$?" ; \
+	   if [ "$$ret" == "1" ]; then \
+	     echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
+	     exit 1 ; \
+	   fi ; \
+	 done
+
+$(patches): $(sha1s)
+	@echo -e "\n======= Create Patches =======\n" ; \
+	 ( cd create-1.2.1-sane-settable-patch ; ./create.patch.sh ) ; \
+	 echo -e "\n"
+
+download_clean:
+	@rm -f $(tarballs) $(sha1s) $(patches)
Index: sources/packages/m/sane/backends/create-1.2.1-sane-settable-patch/create.patch.sh
===================================================================
--- sources/packages/m/sane/backends/create-1.2.1-sane-settable-patch/create.patch.sh	(nonexistent)
+++ sources/packages/m/sane/backends/create-1.2.1-sane-settable-patch/create.patch.sh	(revision 92)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+VERSION=1.2.1
+
+tar --files-from=file.list -xJvf ../sane-backends-$VERSION.tar.xz
+mv sane-backends-$VERSION sane-backends-$VERSION-orig
+
+cp -rf ./sane-backends-$VERSION-new ./sane-backends-$VERSION
+
+diff --unified -Nr  sane-backends-$VERSION-orig  sane-backends-$VERSION > sane-backends-$VERSION-sane-settable.patch
+
+mv sane-backends-$VERSION-sane-settable.patch ../patches
+
+rm -rf ./sane-backends-$VERSION
+rm -rf ./sane-backends-$VERSION-orig

Property changes on: sources/packages/m/sane/backends/create-1.2.1-sane-settable-patch/create.patch.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: sources/packages/m/sane/backends/create-1.2.1-sane-settable-patch/file.list
===================================================================
--- sources/packages/m/sane/backends/create-1.2.1-sane-settable-patch/file.list	(nonexistent)
+++ sources/packages/m/sane/backends/create-1.2.1-sane-settable-patch/file.list	(revision 92)
@@ -0,0 +1 @@
+sane-backends-1.2.1/include/sane/sane.h
Index: sources/packages/m/sane/backends/create-1.2.1-sane-settable-patch/sane-backends-1.2.1-new/include/sane/sane.h
===================================================================
--- sources/packages/m/sane/backends/create-1.2.1-sane-settable-patch/sane-backends-1.2.1-new/include/sane/sane.h	(nonexistent)
+++ sources/packages/m/sane/backends/create-1.2.1-sane-settable-patch/sane-backends-1.2.1-new/include/sane/sane.h	(revision 92)
@@ -0,0 +1,249 @@
+/* sane - Scanner Access Now Easy.
+   Copyright (C) 1997-1999 David Mosberger-Tang and Andreas Beck
+   This file is part of the SANE package.
+
+   This file is in the public domain.  You may use and modify it as
+   you see fit, as long as this copyright message is included and
+   that there is an indication as to what modifications have been
+   made (if any).
+
+   SANE is distributed in the hope that it will be useful, but WITHOUT
+   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+   FITNESS FOR A PARTICULAR PURPOSE.
+
+   This file declares SANE application interface.  See the SANE
+   standard for a detailed explanation of the interface.  */
+#ifndef sane_h
+#define sane_h
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * SANE types and defines
+ */
+
+#define SANE_CURRENT_MAJOR	1
+#define SANE_CURRENT_MINOR	0
+
+#define SANE_VERSION_CODE(major, minor, build)	\
+  (  (((SANE_Word) (major) &   0xff) << 24)	\
+   | (((SANE_Word) (minor) &   0xff) << 16)	\
+   | (((SANE_Word) (build) & 0xffff) <<  0))
+
+#define SANE_VERSION_MAJOR(code)	((((SANE_Word)(code)) >> 24) &   0xff)
+#define SANE_VERSION_MINOR(code)	((((SANE_Word)(code)) >> 16) &   0xff)
+#define SANE_VERSION_BUILD(code)	((((SANE_Word)(code)) >>  0) & 0xffff)
+
+#define SANE_FALSE	0
+#define SANE_TRUE	1
+
+typedef unsigned char  SANE_Byte;
+typedef int  SANE_Word;
+typedef SANE_Word  SANE_Bool;
+typedef SANE_Word  SANE_Int;
+typedef char SANE_Char;
+typedef SANE_Char *SANE_String;
+typedef const SANE_Char *SANE_String_Const;
+typedef void *SANE_Handle;
+typedef SANE_Word SANE_Fixed;
+
+#define SANE_FIXED_SCALE_SHIFT	16
+#define SANE_FIX(v)	((SANE_Word) ((v) * (1 << SANE_FIXED_SCALE_SHIFT)))
+#define SANE_UNFIX(v)	((double)(v) / (1 << SANE_FIXED_SCALE_SHIFT))
+
+typedef enum
+  {
+    SANE_STATUS_GOOD = 0,	/* everything A-OK */
+    SANE_STATUS_UNSUPPORTED,	/* operation is not supported */
+    SANE_STATUS_CANCELLED,	/* operation was cancelled */
+    SANE_STATUS_DEVICE_BUSY,	/* device is busy; try again later */
+    SANE_STATUS_INVAL,		/* data is invalid (includes no dev at open) */
+    SANE_STATUS_EOF,		/* no more data available (end-of-file) */
+    SANE_STATUS_JAMMED,		/* document feeder jammed */
+    SANE_STATUS_NO_DOCS,	/* document feeder out of documents */
+    SANE_STATUS_COVER_OPEN,	/* scanner cover is open */
+    SANE_STATUS_IO_ERROR,	/* error during device I/O */
+    SANE_STATUS_NO_MEM,		/* out of memory */
+    SANE_STATUS_ACCESS_DENIED	/* access to resource has been denied */
+  }
+SANE_Status;
+
+/* following are for later sane version, older frontends won't support */
+#if 0
+#define SANE_STATUS_WARMING_UP 12 /* lamp not ready, please retry */
+#define SANE_STATUS_HW_LOCKED  13 /* scanner mechanism locked for transport */
+#endif
+
+typedef enum
+  {
+    SANE_TYPE_BOOL = 0,
+    SANE_TYPE_INT,
+    SANE_TYPE_FIXED,
+    SANE_TYPE_STRING,
+    SANE_TYPE_BUTTON,
+    SANE_TYPE_GROUP
+  }
+SANE_Value_Type;
+
+typedef enum
+  {
+    SANE_UNIT_NONE = 0,		/* the value is unit-less (e.g., # of scans) */
+    SANE_UNIT_PIXEL,		/* value is number of pixels */
+    SANE_UNIT_BIT,		/* value is number of bits */
+    SANE_UNIT_MM,		/* value is millimeters */
+    SANE_UNIT_DPI,		/* value is resolution in dots/inch */
+    SANE_UNIT_PERCENT,		/* value is a percentage */
+    SANE_UNIT_MICROSECOND	/* value is micro seconds */
+  }
+SANE_Unit;
+
+typedef struct
+  {
+    SANE_String_Const name;	/* unique device name */
+    SANE_String_Const vendor;	/* device vendor string */
+    SANE_String_Const model;	/* device model name */
+    SANE_String_Const type;	/* device type (e.g., "flatbed scanner") */
+  }
+SANE_Device;
+
+#define SANE_CAP_SOFT_SELECT		(1 << 0)
+#define SANE_CAP_HARD_SELECT		(1 << 1)
+#define SANE_CAP_SOFT_DETECT		(1 << 2)
+#define SANE_CAP_EMULATED		(1 << 3)
+#define SANE_CAP_AUTOMATIC		(1 << 4)
+#define SANE_CAP_INACTIVE		(1 << 5)
+#define SANE_CAP_ADVANCED		(1 << 6)
+#define SANE_CAP_ALWAYS_SETTABLE	(1 << 7)
+
+#define SANE_OPTION_IS_ACTIVE(cap)	(((cap) & SANE_CAP_INACTIVE) == 0)
+#define SANE_OPTION_IS_SETTABLE(cap)	(((cap) & SANE_CAP_SOFT_SELECT) != 0)
+
+#define SANE_INFO_INEXACT		(1 << 0)
+#define SANE_INFO_RELOAD_OPTIONS	(1 << 1)
+#define SANE_INFO_RELOAD_PARAMS		(1 << 2)
+
+typedef enum
+  {
+    SANE_CONSTRAINT_NONE = 0,
+    SANE_CONSTRAINT_RANGE,
+    SANE_CONSTRAINT_WORD_LIST,
+    SANE_CONSTRAINT_STRING_LIST
+  }
+SANE_Constraint_Type;
+
+typedef struct
+  {
+    SANE_Word min;		/* minimum (element) value */
+    SANE_Word max;		/* maximum (element) value */
+    SANE_Word quant;		/* quantization value (0 if none) */
+  }
+SANE_Range;
+
+typedef struct
+  {
+    SANE_String_Const name;	/* name of this option (command-line name) */
+    SANE_String_Const title;	/* title of this option (single-line) */
+    SANE_String_Const desc;	/* description of this option (multi-line) */
+    SANE_Value_Type type;	/* how are values interpreted? */
+    SANE_Unit unit;		/* what is the (physical) unit? */
+    SANE_Int size;
+    SANE_Int cap;		/* capabilities */
+
+    SANE_Constraint_Type constraint_type;
+    union
+      {
+	const SANE_String_Const *string_list;	/* NULL-terminated list */
+	const SANE_Word *word_list;	/* first element is list-length */
+	const SANE_Range *range;
+      }
+    constraint;
+  }
+SANE_Option_Descriptor;
+
+typedef enum
+  {
+    SANE_ACTION_GET_VALUE = 0,
+    SANE_ACTION_SET_VALUE,
+    SANE_ACTION_SET_AUTO
+  }
+SANE_Action;
+
+typedef enum
+  {
+    SANE_FRAME_GRAY,	/* band covering human visual range */
+    SANE_FRAME_RGB,	/* pixel-interleaved red/green/blue bands */
+    SANE_FRAME_RED,	/* red band only */
+    SANE_FRAME_GREEN,	/* green band only */
+    SANE_FRAME_BLUE 	/* blue band only */
+  }
+SANE_Frame;
+
+/* push remaining types down to match existing backends */
+/* these are to be exposed in a later version of SANE */
+/* most front-ends will require updates to understand them */
+#if 0
+#define SANE_FRAME_TEXT  0x0A  /* backend specific textual data */
+#define SANE_FRAME_JPEG  0x0B  /* complete baseline JPEG file */
+#define SANE_FRAME_G31D  0x0C  /* CCITT Group 3 1-D Compressed (MH) */
+#define SANE_FRAME_G32D  0x0D  /* CCITT Group 3 2-D Compressed (MR) */
+#define SANE_FRAME_G42D  0x0E  /* CCITT Group 4 2-D Compressed (MMR) */
+
+#define SANE_FRAME_IR    0x0F  /* bare infrared channel */
+#define SANE_FRAME_RGBI  0x10  /* red+green+blue+infrared */
+#define SANE_FRAME_GRAYI 0x11  /* gray+infrared */
+#define SANE_FRAME_XML   0x12  /* undefined schema */
+#endif
+
+typedef struct
+  {
+    SANE_Frame format;
+    SANE_Bool last_frame;
+    SANE_Int bytes_per_line;
+    SANE_Int pixels_per_line;
+    SANE_Int lines;
+    SANE_Int depth;
+  }
+SANE_Parameters;
+
+struct SANE_Auth_Data;
+
+#define SANE_MAX_USERNAME_LEN	128
+#define SANE_MAX_PASSWORD_LEN	128
+
+typedef void (*SANE_Auth_Callback) (SANE_String_Const resource,
+				    SANE_Char *username,
+				    SANE_Char *password);
+
+extern SANE_Status sane_init (SANE_Int * version_code,
+			      SANE_Auth_Callback authorize);
+extern void sane_exit (void);
+extern SANE_Status sane_get_devices (const SANE_Device *** device_list,
+				     SANE_Bool local_only);
+extern SANE_Status sane_open (SANE_String_Const devicename,
+			      SANE_Handle * handle);
+extern void sane_close (SANE_Handle handle);
+extern const SANE_Option_Descriptor *
+  sane_get_option_descriptor (SANE_Handle handle, SANE_Int option);
+extern SANE_Status sane_control_option (SANE_Handle handle, SANE_Int option,
+					SANE_Action action, void *value,
+					SANE_Int * info);
+extern SANE_Status sane_get_parameters (SANE_Handle handle,
+					SANE_Parameters * params);
+extern SANE_Status sane_start (SANE_Handle handle);
+extern SANE_Status sane_read (SANE_Handle handle, SANE_Byte * data,
+			      SANE_Int max_length, SANE_Int * length);
+extern void sane_cancel (SANE_Handle handle);
+extern SANE_Status sane_set_io_mode (SANE_Handle handle,
+				     SANE_Bool non_blocking);
+extern SANE_Status sane_get_select_fd (SANE_Handle handle,
+				       SANE_Int * fd);
+extern SANE_String_Const sane_strstatus (SANE_Status status);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif /* sane_h */
Index: sources/packages/m/sane/backends/patches/README
===================================================================
--- sources/packages/m/sane/backends/patches/README	(nonexistent)
+++ sources/packages/m/sane/backends/patches/README	(revision 92)
@@ -0,0 +1,6 @@
+
+/* begin *
+
+   TODO: Leave some comment here.
+
+ * end */
Index: sources/packages/m/sane/backends/patches
===================================================================
--- sources/packages/m/sane/backends/patches	(nonexistent)
+++ sources/packages/m/sane/backends/patches	(revision 92)

Property changes on: sources/packages/m/sane/backends/patches
___________________________________________________________________
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
+*~
Index: sources/packages/m/sane/backends
===================================================================
--- sources/packages/m/sane/backends	(nonexistent)
+++ sources/packages/m/sane/backends	(revision 92)

Property changes on: sources/packages/m/sane/backends
___________________________________________________________________
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
+*~
Index: sources/packages/m/sane
===================================================================
--- sources/packages/m/sane	(nonexistent)
+++ sources/packages/m/sane	(revision 92)

Property changes on: sources/packages/m/sane
___________________________________________________________________
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
+*~