FreeBSD Bugzilla – Attachment 221725 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]
shar for the new port
sane-airscan.shar (text/plain), 4.78 KB, created by
Henry Hu
on 2021-01-19 04:44:41 UTC
(
hide
)
Description:
shar for the new port
Filename:
MIME Type:
Creator:
Henry Hu
Created:
2021-01-19 04:44:41 UTC
Size:
4.78 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: ># ># graphics/sane-airscan/ ># graphics/sane-airscan/pkg-descr ># graphics/sane-airscan/files ># graphics/sane-airscan/files/patch-airscan-bmp.c ># graphics/sane-airscan/pkg-plist ># graphics/sane-airscan/Makefile ># graphics/sane-airscan/pkg-message ># graphics/sane-airscan/distinfo ># >echo c - graphics/sane-airscan/ >mkdir -p graphics/sane-airscan/ > /dev/null 2>&1 >echo x - graphics/sane-airscan/pkg-descr >sed 's/^X//' >graphics/sane-airscan/pkg-descr << 'd3ad152c2ca14c0296745d92b5306ee3' >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 >d3ad152c2ca14c0296745d92b5306ee3 >echo c - graphics/sane-airscan/files >mkdir -p graphics/sane-airscan/files > /dev/null 2>&1 >echo x - graphics/sane-airscan/files/patch-airscan-bmp.c >sed 's/^X//' >graphics/sane-airscan/files/patch-airscan-bmp.c << 'cdb15b9575e578c502027efbbb72965e' >X--- airscan-bmp.c.orig 2021-01-19 04:38:13 UTC >X+++ airscan-bmp.c >X@@ -230,7 +230,7 @@ image_decoder_bmp_read_line (image_decoder *decoder, v >X int i, wid = bmp->info_header.biWidth; >X uint8_t *out = buffer; >X >X- if (bmp->next_line == labs(bmp->info_header.biHeight)) { >X+ if ((long)bmp->next_line == labs(bmp->info_header.biHeight)) { >X return ERROR("BMP: end of file"); >X } >X >cdb15b9575e578c502027efbbb72965e >echo x - graphics/sane-airscan/pkg-plist >sed 's/^X//' >graphics/sane-airscan/pkg-plist << '49750b02afab894df6252aad4d710e51' >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 >49750b02afab894df6252aad4d710e51 >echo x - graphics/sane-airscan/Makefile >sed 's/^X//' >graphics/sane-airscan/Makefile << 'f79415951cd6af32e4f79cb075253a43' >X# $FreeBSD$ >X >XPORTNAME= sane-airscan >XDISTVERSION= 0.99.23 >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 >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> >f79415951cd6af32e4f79cb075253a43 >echo x - graphics/sane-airscan/pkg-message >sed 's/^X//' >graphics/sane-airscan/pkg-message << '8f5e75aa6573d66b717e93777e1ca839' >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. >8f5e75aa6573d66b717e93777e1ca839 >echo x - graphics/sane-airscan/distinfo >sed 's/^X//' >graphics/sane-airscan/distinfo << 'cc550d5ef329276a6f441eb6f4491487' >XTIMESTAMP = 1611003945 >XSHA256 (alexpevzner-sane-airscan-0.99.23_GH0.tar.gz) = 0068c0df7f1e9de2f952373a24e6b9333c6c101c5ba249eb07d10a097a31f97e >XSIZE (alexpevzner-sane-airscan-0.99.23_GH0.tar.gz) = 192254 >cc550d5ef329276a6f441eb6f4491487 >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