FreeBSD Bugzilla – Attachment 222357 Details for
Bug 245540
[NEW PORT] graphics/sane-airscan: AirScan backend for SANE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
updated shar
sane-airscan.shar (text/plain), 4.19 KB, created by
Henry Hu
on 2021-02-11 03:59:29 UTC
(
hide
)
Description:
updated shar
Filename:
MIME Type:
Creator:
Henry Hu
Created:
2021-02-11 03:59:29 UTC
Size:
4.19 KB
patch
obsolete
># 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 ># ./files ># ./files/patch-Makefile ># ./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 c - ./files >mkdir -p ./files > /dev/null 2>&1 >echo x - ./files/patch-Makefile >sed 's/^X//' >./files/patch-Makefile << '3802d65bae4517a361f36e1d3a4f890a' >X--- Makefile.orig 2021-02-11 03:53:12 UTC >X+++ Makefile >X@@ -29,7 +29,8 @@ >X >X CC = gcc >X COMPRESS = gzip -n >X-CFLAGS += -O2 -g -W -Wall -Werror -pthread $(CPPFLAGS) >X+CFLAGS ?= -O2 -g -W -Wall -Werror >X+CFLAGS += -pthread $(CPPFLAGS) >X PKG_CONFIG = pkg-config >X STRIP = -s >X INSTALL = install >3802d65bae4517a361f36e1d3a4f890a >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 libsoup-2.4.so:devel/libsoup \ >X libpng16.so:graphics/png \ >X libgnutls.so:security/gnutls >XBUILD_DEPENDS= sane-backends>0:graphics/sane-backends >X >XUSES= gettext-runtime gmake jpeg pkgconfig >XUSE_GNOME= glib20 libxml2 >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 <bsd.port.mk> >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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 245540
:
213294
|
213295
|
213296
|
221725
|
222316
|
222317
|
222318
|
222320
|
222357
|
227699