# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./pkg-descr # ./pkg-plist # ./Makefile # ./pkg-message # ./distinfo # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' Xsane-airscan -- Linux support of Apple AirScan (eSCL) compatible document Xscanners X XIf you are a lucky owner of scanner or MFP which works via network with Apple Xdevices, I have a good news for you: now your scanner works with Linux as well! X XIn theory, this backend should work with any scanner that supports the eSCL Xprotocol (unofficially known as AirScan or AirPrint scanning). In practice, it Xwas tested on several devices from Canon, Kyocera and HP, and this list Xconstantly grows, though slowly, so feedback regarding other devices is very Xwelcomed. X XApple maintains a comprehensive list of compatible devices, but please note, Xthis list contains not only scanners and MFP, but pure printers as well. X XTo use this backend, you don't need to install ScanGear from Canon, HPLIP from XHP or some other proprietary software from hardware vendor. This backend works Xdirectly with your device and doesn't depend on a 3rd party closed source Xcomponents. X XWWW: https://github.com/alexpevzner/sane-airscan 0e313719ff012ceaf97a028d51caa8f5 echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6' X@sample etc/sane.d/airscan.conf.sample Xetc/sane.d/dll.d/airscan Xlib/sane/libsane-airscan.so.1 Xshare/man/man5/sane-airscan.5.gz Xshare/man/man1/airscan-discover.1.gz Xbin/airscan-discover ef3e7f63841ae908ba397c2bef1fbad6 echo x - ./Makefile sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' X# $FreeBSD$ X XPORTNAME= sane-airscan XDISTVERSION= 0.99.24 XCATEGORIES= graphics X XMAINTAINER= henry.hu.sh@gmail.com XCOMMENT= Scanner Access Now Easy - Apple AirScan (eSCL) driver X XLICENSE= GPLv2 XLICENSE_FILE= ${WRKSRC}/LICENSE X XLIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ X libavahi-client.so:net/avahi-app \ X libavahi-glib.so:net/avahi-app \ X libjpeg.so:graphics/jpeg-turbo \ X libsoup-2.4.so:devel/libsoup \ X libxml2.so:textproc/libxml2 \ X libpng16.so:graphics/png \ X libgnutls.so:security/gnutls X XBUILD_DEPENDS= sane-backends>0:graphics/sane-backends X XUSES= gmake pkgconfig gettext-runtime XUSE_GNOME= glib20 XUSE_GITHUB= yes XGH_ACCOUNT= alexpevzner X XMAKE_ARGS= CC=${CC} PKG_CONFIG=pkgconf X XMANPAGES= sane-airscan.5 airscan-discover.1 X Xpost-install: X @${MV} ${STAGEDIR}${PREFIX}/etc/sane.d/airscan.conf \ X ${STAGEDIR}${PREFIX}/etc/sane.d/airscan.conf.sample X X.include 464ef7c6571951809b23e262cbe26e19 echo x - ./pkg-message sed 's/^X//' >./pkg-message << '9f51c313804c544b8024c5640d645b0a' XTo make the automatic discovery work, you need to have avahi-daemon running. XMake sure that X X avahi_daemon_enable="YES" X Xis in /etc/rc.conf, and start the avahi-daemon service. Some other program, Xsuch as firefox, may also bind to the mDNS port (5353), so make sure that Xavahi-daemon can bind to the port. X XTo quickly check if your scanner can be discovered, run X X avahi-browse -r _uscan._tcp X XYou should see your scanner listed in the result. 9f51c313804c544b8024c5640d645b0a echo x - ./distinfo sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XTIMESTAMP = 1612928781 XSHA256 (alexpevzner-sane-airscan-0.99.24_GH0.tar.gz) = 723ec0a139943d268615082d76ab860d7aa24a5d2b53763f49ecec4293b3d934 XSIZE (alexpevzner-sane-airscan-0.99.24_GH0.tar.gz) = 192523 aec8793adfd5b7c3f00e62ae41a09ac2 exit