2016-04-09 16:19:25 +02:00
|
|
|
# $NetBSD: Makefile,v 1.67 2016/04/09 14:19:25 richard Exp $
|
Begining with version 1.0.4 the sane package from http://www.mostang.com/sane/
has been split into two packages: backends and frontends.
We do the same split in pkgsrc and create two new packages.
This is the sane-backends package (based on the old sane package).
Changes since sane 1.0.3:
* New backends: as6e, nec, pie.
* Updated backends: artec (v0.5.15), avision (v0.2.1), epson (v0.1.39),
hp (v0.93), mustek (v1.0-102), mustek_pp (v0.9-devel), plustek (v0.38),
sharp (v0.32), umax (v1.0-21).
* Moved frontends xscanimage and xcam to a new package (sane-frontends).
* Added authentification with encrypted passwords.
* Installation of shared libraries on AIX is supported now.
* Fixed compilation bugs on Irix and FreeBSD.
* Better debug output on platforms not supporting vararg macros.
* Better documentation about SANE devicenames.
* Bugfixes.
2001-02-21 20:53:27 +01:00
|
|
|
|
2016-04-09 16:19:25 +02:00
|
|
|
PKGREVISION= 4
|
2002-02-10 01:50:41 +01:00
|
|
|
.include "Makefile.common"
|
2013-04-06 05:45:05 +02:00
|
|
|
COMMENT= API for access to scanners, digital cameras, frame grabbers, etc
|
Begining with version 1.0.4 the sane package from http://www.mostang.com/sane/
has been split into two packages: backends and frontends.
We do the same split in pkgsrc and create two new packages.
This is the sane-backends package (based on the old sane package).
Changes since sane 1.0.3:
* New backends: as6e, nec, pie.
* Updated backends: artec (v0.5.15), avision (v0.2.1), epson (v0.1.39),
hp (v0.93), mustek (v1.0-102), mustek_pp (v0.9-devel), plustek (v0.38),
sharp (v0.32), umax (v1.0-21).
* Moved frontends xscanimage and xcam to a new package (sane-frontends).
* Added authentification with encrypted passwords.
* Installation of shared libraries on AIX is supported now.
* Fixed compilation bugs on Irix and FreeBSD.
* Better debug output on platforms not supporting vararg macros.
* Better documentation about SANE devicenames.
* Bugfixes.
2001-02-21 20:53:27 +01:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
DISTNAME= sane-backends-${SANE_VERSION}
|
2006-06-08 16:14:11 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
Begining with version 1.0.4 the sane package from http://www.mostang.com/sane/
has been split into two packages: backends and frontends.
We do the same split in pkgsrc and create two new packages.
This is the sane-backends package (based on the old sane package).
Changes since sane 1.0.3:
* New backends: as6e, nec, pie.
* Updated backends: artec (v0.5.15), avision (v0.2.1), epson (v0.1.39),
hp (v0.93), mustek (v1.0-102), mustek_pp (v0.9-devel), plustek (v0.38),
sharp (v0.32), umax (v1.0-21).
* Moved frontends xscanimage and xcam to a new package (sane-frontends).
* Added authentification with encrypted passwords.
* Installation of shared libraries on AIX is supported now.
* Fixed compilation bugs on Irix and FreeBSD.
* Better debug output on platforms not supporting vararg macros.
* Better documentation about SANE devicenames.
* Bugfixes.
2001-02-21 20:53:27 +01:00
|
|
|
|
2007-06-08 22:50:55 +02:00
|
|
|
# lib/Makefile.in builds .o files and then .a, but rules for shlibs,
|
|
|
|
# while apparently independent, cause libtool to create .o again,
|
|
|
|
# making it possible for the ar step of the .a build to fail to find
|
|
|
|
# the .o
|
|
|
|
MAKE_JOBS_SAFE= NO
|
|
|
|
|
2012-01-02 23:26:39 +01:00
|
|
|
USE_TOOLS+= msgfmt msgmerge pkg-config
|
Changes 1.0.14:
* New backends: u12
* Updated backends: artec, artec_eplus48u, as6e, avision, canon630u,
canon_pp, epson, fujitsu, gphoto2, gt68xx, hp, matsushita, mustek,
mustek_pp, mustek_usb, plustek, plustek_pp, sm3600, snapscan, teco1, teco2,
u12, umax, umax_pp, v4l.
* Added scripts for USB hotplugging (Linux)
* Added Danish translation. Updated other translations.
* sane-find-scanner knows about more chipsets now.
* Portability fixes (especially for MacOS X, NetBSD, OpenBSD, and OS/2).
* Build system fixes.
* Documentation updates.
* Bugfixes.
Changes 1.0.13:
* New backends: mustek_pp_ccd (for Mustek parport CCD scanners),
plustek_pp (for Plustek parport scanners, splitted from the plustek backend).
* Updated backends: avision, canon630u, coolscan, epson, fujitsu, gphoto2,
gt68xx, hp, hp5400, mustek, mustek_pp, pie, plustek, snapscan, teco2, test,
umax, umax_pp.
* New internal interface for parport scanners.
* Networking (IPv6 + subnet support) fixes + updates.
* sane-find-scanner can detect some USB scanner chipsets now.
* Better support for threading.
* Port to MS Windows (Cygwin).
* Portability fixes (especially for FreeBSD, MacOS X, OS/2).
* Build system improvements.
* Added new (Bulgarian, Czech and Italian) and updated existing translations.
* The level of support for scanners is now: unsupported, minimal, basic, good,
complete or untested (instead of alpha, beta, stable).
* Documentation updates.
* Bugfixes.
2004-05-03 14:45:58 +02:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2004-03-20 22:18:41 +01:00
|
|
|
|
2004-06-15 15:32:53 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gphoto2=no
|
Update to 1.0.16. Use pkgsrc's config file framework.
New with 1.0.16, released 2005-08-07:
* New backends: genesys, sm3840
* Updated backends: avision, canon, coolscan, epson, gphoto2, gt68xx, mustek,
mustek_pp, niash, plustek, plustek_pp, qcam, sm3600, snapscan, teco2,
umax_pp, v4l.
* More functionality/fixes for sanei_usb and sanei_pp.
* Added sanei_access to allow locking of SANE devices.
* Hotplug updates.
* scanimage updates.
* Portability fixes (especially for OS/2, 64bit platforms, BeOS+ZETA).
* Added Polish translation. Updated other translations. Fixed format strings.
* Documentation updates.
* Bugfixes.
2005-09-27 11:29:56 +02:00
|
|
|
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/sane-${SANE_VERSION}
|
2011-08-30 03:30:01 +02:00
|
|
|
CONFIGURE_ARGS+= --without-snmp
|
2012-09-25 01:10:59 +02:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
2004-06-15 15:32:53 +02:00
|
|
|
|
Update to 1.0.17:
New with 1.0.17, released 2005-12-18:
* New backends: hp4200 (HP ScanJet 4200), lexmark (Lexmark X1100 series),
mustek_usb2 (Mustek BearPaw 2448 TA Pro)
* Updated backends: artec_eplus48u, avision, canon, epson, fujitsu, genesys,
gt68xx, microtek2, mustek_pp, plustek, plustek_pp, sm3600, snapscan, umax_pp.
* Hotplug/udev updates.
* scanimage fixes.
* sane-find-scanner finds more chipsets.
* Build system fixes/updates. make now calls makedepend.
* Several fixes in SANE internal functions (sanei).
* Portability fixes (especially for MacOSX, FreeBSD, OpenBSD, OS/2).
* Updated translations.
* Documentation updates.
* Bugfixes.
2005-12-31 01:03:24 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2010-12-27 16:07:52 +01:00
|
|
|
PLIST_VARS+= mustek pint sm3600
|
2008-04-13 00:42:57 +02:00
|
|
|
|
2015-01-09 17:34:19 +01:00
|
|
|
.if (${OPSYS} == "SunOS") || (${OPSYS} == "Linux") || (${OPSYS} == "DragonFly") || (${OPSYS} == "FreeBSD")
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.sm3600= yes
|
2010-12-27 16:07:52 +01:00
|
|
|
.elif (${OPSYS} == "Darwin")
|
|
|
|
PLIST.mustek= yes
|
|
|
|
PLIST.sm3600= yes
|
2004-03-20 22:18:41 +01:00
|
|
|
.else
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.pint= yes
|
|
|
|
PLIST.sm3600= yes
|
2004-03-20 22:18:41 +01:00
|
|
|
.endif
|
|
|
|
|
Update to 1.0.16. Use pkgsrc's config file framework.
New with 1.0.16, released 2005-08-07:
* New backends: genesys, sm3840
* Updated backends: avision, canon, coolscan, epson, gphoto2, gt68xx, mustek,
mustek_pp, niash, plustek, plustek_pp, qcam, sm3600, snapscan, teco2,
umax_pp, v4l.
* More functionality/fixes for sanei_usb and sanei_pp.
* Added sanei_access to allow locking of SANE devices.
* Hotplug updates.
* scanimage updates.
* Portability fixes (especially for OS/2, 64bit platforms, BeOS+ZETA).
* Added Polish translation. Updated other translations. Fixed format strings.
* Documentation updates.
* Bugfixes.
2005-09-27 11:29:56 +02:00
|
|
|
OWN_DIRS+= ${PKG_SYSCONFDIR}/sane.d
|
|
|
|
EGDIR= ${PREFIX}/share/examples/sane
|
|
|
|
.for f in abaton.conf agfafocus.conf apple.conf artec.conf \
|
|
|
|
artec_eplus48u.conf avision.conf bh.conf canon.conf canon630u.conf \
|
Update to 1.0.20, set LICENSE.
New with 1.0.20, released 2009-05-03:
* New backends: canon_dr (Canon DR-series), coolscan3 (Nikon LS & Coolscan),
rts8891 (Umax & HP 44xx), xerox_mfp (Samsung/Xerox/Dell MFPs)
* Many backends updated.
* 75 more scanner models supported.
* New build system (thanks Chris and Olaf).
* Avahi support (thanks Julien).
* More network scanners supported
* Epson backend deprecated, use epson2
* Coolscan2 backend deprecated, use coolscan3
* Internal SCSI, USB, threading, TCP & UDP code updates.
* Updated HAL and udev support.
* Improved saned configuration.
* Scanimage updates.
* Updated translations.
* Documentation updates.
* Bugfixes.
2009-08-15 19:53:11 +02:00
|
|
|
canon_dr.conf cardscan.conf coolscan.conf coolscan2.conf coolscan3.conf \
|
2010-12-27 16:07:52 +01:00
|
|
|
dc210.conf dc240.conf dc25.conf dell1600n_net.conf dll.conf dmc.conf \
|
Update sane-backends to 1.0.25.
New with 1.0.25, released 2015-10-03:
* New backends: epsonds (Epson DS, PX and WF series),
pieusb (PIE and Reflecta film/slide scanners).
* Support for JPG and PNG output format in scanimage.
* Significant enhancements to avision, canon_dr, epjitsu, fujitsu, genesys,
kodakaio and pixma backends.
* Minor updates, bugfixes or scanners added in several backends.
* 300 new scanner models supported.
* Workaround for USB3 problems in Linux kernel.
* Added code for IR functionality.
* Documentation and translation updates.
* Bugfixes (threading, networking, udev rules).
2015-10-25 11:39:13 +01:00
|
|
|
epjitsu.conf epson.conf epson2.conf epsonds.conf fujitsu.conf \
|
Update to 1.0.19.
Remove sane-backends-hp3900 option, support is now enabled by default.
New with 1.0.19, released 2008-02-10:
* New backends: cardscan (Corex Cardscan 800c), epjitsu (Epson-based Fujitsu),
epson2 (various Epson scanners), hp3900 (HP ScanJet 3970 and more),
hp5590 (HP ScanJet 5590 and more), hpljm1005 (HP LaserJet M1005 and more),
hs2p (Ricoh IS400 series)
* Updated backends: abaton, agfafocus, apple, artec, artec_eplus48u, as6e,
avision, canon, coolscan, coolscan2, dc25, dell1600n_net, dll, epson,
fujitsu, genesys, gt68xx, hp3500, ibm, lexmark, microtek, microtek2, mustek,
nec, net, pie, pint, pixma, plustek, plustek_pp, ricoh, s9036, sm3600,
sm3840, snapscan, sp15c, st400, tamarack, teco2, test, u12, umax, umax1220u,
umax_pp
* Scanimage detects more chipsets.
* Internal scsi, usb, tcp and udp code updates.
* Basic HAL .fdi creation support
* Build system updates.
* Updated translations.
* Documentation updates.
* Bugfixes.
2008-04-13 23:43:39 +02:00
|
|
|
genesys.conf gt68xx.conf hp.conf hp3900.conf \
|
2010-09-19 17:06:18 +02:00
|
|
|
hp4200.conf hp5400.conf hs2p.conf ibm.conf kodak.conf leo.conf lexmark.conf \
|
Update to 1.0.17:
New with 1.0.17, released 2005-12-18:
* New backends: hp4200 (HP ScanJet 4200), lexmark (Lexmark X1100 series),
mustek_usb2 (Mustek BearPaw 2448 TA Pro)
* Updated backends: artec_eplus48u, avision, canon, epson, fujitsu, genesys,
gt68xx, microtek2, mustek_pp, plustek, plustek_pp, sm3600, snapscan, umax_pp.
* Hotplug/udev updates.
* scanimage fixes.
* sane-find-scanner finds more chipsets.
* Build system fixes/updates. make now calls makedepend.
* Several fixes in SANE internal functions (sanei).
* Portability fixes (especially for MacOSX, FreeBSD, OpenBSD, OS/2).
* Updated translations.
* Documentation updates.
* Bugfixes.
2005-12-31 01:03:24 +01:00
|
|
|
ma1509.conf matsushita.conf \
|
Update to 1.0.20, set LICENSE.
New with 1.0.20, released 2009-05-03:
* New backends: canon_dr (Canon DR-series), coolscan3 (Nikon LS & Coolscan),
rts8891 (Umax & HP 44xx), xerox_mfp (Samsung/Xerox/Dell MFPs)
* Many backends updated.
* 75 more scanner models supported.
* New build system (thanks Chris and Olaf).
* Avahi support (thanks Julien).
* More network scanners supported
* Epson backend deprecated, use epson2
* Coolscan2 backend deprecated, use coolscan3
* Internal SCSI, USB, threading, TCP & UDP code updates.
* Updated HAL and udev support.
* Improved saned configuration.
* Scanimage updates.
* Updated translations.
* Documentation updates.
* Bugfixes.
2009-08-15 19:53:11 +02:00
|
|
|
microtek.conf microtek2.conf mustek.conf mustek_usb.conf \
|
|
|
|
nec.conf net.conf \
|
Update sane-backends to 1.0.25.
New with 1.0.25, released 2015-10-03:
* New backends: epsonds (Epson DS, PX and WF series),
pieusb (PIE and Reflecta film/slide scanners).
* Support for JPG and PNG output format in scanimage.
* Significant enhancements to avision, canon_dr, epjitsu, fujitsu, genesys,
kodakaio and pixma backends.
* Minor updates, bugfixes or scanners added in several backends.
* 300 new scanner models supported.
* Workaround for USB3 problems in Linux kernel.
* Added code for IR functionality.
* Documentation and translation updates.
* Bugfixes (threading, networking, udev rules).
2015-10-25 11:39:13 +01:00
|
|
|
p5.conf pie.conf pieusb.conf pixma.conf plustek.conf plustek_pp.conf \
|
2010-09-19 17:06:18 +02:00
|
|
|
ricoh.conf rts8891.conf \
|
Update to 1.0.20, set LICENSE.
New with 1.0.20, released 2009-05-03:
* New backends: canon_dr (Canon DR-series), coolscan3 (Nikon LS & Coolscan),
rts8891 (Umax & HP 44xx), xerox_mfp (Samsung/Xerox/Dell MFPs)
* Many backends updated.
* 75 more scanner models supported.
* New build system (thanks Chris and Olaf).
* Avahi support (thanks Julien).
* More network scanners supported
* Epson backend deprecated, use epson2
* Coolscan2 backend deprecated, use coolscan3
* Internal SCSI, USB, threading, TCP & UDP code updates.
* Updated HAL and udev support.
* Improved saned configuration.
* Scanimage updates.
* Updated translations.
* Documentation updates.
* Bugfixes.
2009-08-15 19:53:11 +02:00
|
|
|
s9036.conf saned.conf sceptre.conf sharp.conf sm3840.conf snapscan.conf \
|
Update to 1.0.18.
Reanem hp3900 option to sane-backends-hp3900, and add legacy
handling for the old option name.
New with 1.0.18, released 2006-07-02:
* New backends: dell1600n_net (Dell 1600n), hp3500 (HP ScanJet 3500 series),
pixma (Canon Pixma series), stv680 (Aiptek Pencam and similar).
* Updated backends: avision, canon, dll, epson, fujitsu, genesys, gt68xx,
microtek2, mustek_pp, niash, plustek, snapscan, sp15c, test, u12, umax1220u.
* Scanimage batch mode fixes.
* Scanner lists contain USB vendor/product ids and some statistics now.
* Udev/hotplug lists are generated autmatically from the .desc files now.
* Portability fixes (especially for DragonFlyBSD and HP/UX).
* Build system updates.
* Updated translations.
* Documentation updates.
* Bugfixes.
2006-08-06 00:41:49 +02:00
|
|
|
sp15c.conf st400.conf stv680.conf \
|
|
|
|
tamarack.conf teco1.conf teco2.conf teco3.conf \
|
Update to 1.0.20, set LICENSE.
New with 1.0.20, released 2009-05-03:
* New backends: canon_dr (Canon DR-series), coolscan3 (Nikon LS & Coolscan),
rts8891 (Umax & HP 44xx), xerox_mfp (Samsung/Xerox/Dell MFPs)
* Many backends updated.
* 75 more scanner models supported.
* New build system (thanks Chris and Olaf).
* Avahi support (thanks Julien).
* More network scanners supported
* Epson backend deprecated, use epson2
* Coolscan2 backend deprecated, use coolscan3
* Internal SCSI, USB, threading, TCP & UDP code updates.
* Updated HAL and udev support.
* Improved saned configuration.
* Scanimage updates.
* Updated translations.
* Documentation updates.
* Bugfixes.
2009-08-15 19:53:11 +02:00
|
|
|
test.conf u12.conf umax.conf umax1220u.conf umax_pp.conf xerox_mfp.conf
|
Update to 1.0.16. Use pkgsrc's config file framework.
New with 1.0.16, released 2005-08-07:
* New backends: genesys, sm3840
* Updated backends: avision, canon, coolscan, epson, gphoto2, gt68xx, mustek,
mustek_pp, niash, plustek, plustek_pp, qcam, sm3600, snapscan, teco2,
umax_pp, v4l.
* More functionality/fixes for sanei_usb and sanei_pp.
* Added sanei_access to allow locking of SANE devices.
* Hotplug updates.
* scanimage updates.
* Portability fixes (especially for OS/2, 64bit platforms, BeOS+ZETA).
* Added Polish translation. Updated other translations. Fixed format strings.
* Documentation updates.
* Bugfixes.
2005-09-27 11:29:56 +02:00
|
|
|
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/sane.d/${f}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.if (${OPSYS} == "Linux")
|
2011-07-31 22:05:58 +02:00
|
|
|
. for f in qcam.conf v4l.conf
|
Update to 1.0.16. Use pkgsrc's config file framework.
New with 1.0.16, released 2005-08-07:
* New backends: genesys, sm3840
* Updated backends: avision, canon, coolscan, epson, gphoto2, gt68xx, mustek,
mustek_pp, niash, plustek, plustek_pp, qcam, sm3600, snapscan, teco2,
umax_pp, v4l.
* More functionality/fixes for sanei_usb and sanei_pp.
* Added sanei_access to allow locking of SANE devices.
* Hotplug updates.
* scanimage updates.
* Portability fixes (especially for OS/2, 64bit platforms, BeOS+ZETA).
* Added Polish translation. Updated other translations. Fixed format strings.
* Documentation updates.
* Bugfixes.
2005-09-27 11:29:56 +02:00
|
|
|
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/sane.d/${f}
|
2011-07-31 22:05:58 +02:00
|
|
|
. endfor
|
Update to 1.0.16. Use pkgsrc's config file framework.
New with 1.0.16, released 2005-08-07:
* New backends: genesys, sm3840
* Updated backends: avision, canon, coolscan, epson, gphoto2, gt68xx, mustek,
mustek_pp, niash, plustek, plustek_pp, qcam, sm3600, snapscan, teco2,
umax_pp, v4l.
* More functionality/fixes for sanei_usb and sanei_pp.
* Added sanei_access to allow locking of SANE devices.
* Hotplug updates.
* scanimage updates.
* Portability fixes (especially for OS/2, 64bit platforms, BeOS+ZETA).
* Added Polish translation. Updated other translations. Fixed format strings.
* Documentation updates.
* Bugfixes.
2005-09-27 11:29:56 +02:00
|
|
|
.endif
|
|
|
|
|
2006-06-08 16:14:11 +02:00
|
|
|
.include "options.mk"
|
2015-08-16 22:24:23 +02:00
|
|
|
.include "../../devel/libusb1/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-libusb_1_0
|
2012-01-02 23:26:39 +01:00
|
|
|
.if (${OPSYS} == "Linux")
|
|
|
|
.include "../../graphics/libv4l/buildlink3.mk"
|
|
|
|
.endif
|
2010-12-27 16:07:52 +01:00
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2006-01-12 02:21:27 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
Begining with version 1.0.4 the sane package from http://www.mostang.com/sane/
has been split into two packages: backends and frontends.
We do the same split in pkgsrc and create two new packages.
This is the sane-backends package (based on the old sane package).
Changes since sane 1.0.3:
* New backends: as6e, nec, pie.
* Updated backends: artec (v0.5.15), avision (v0.2.1), epson (v0.1.39),
hp (v0.93), mustek (v1.0-102), mustek_pp (v0.9-devel), plustek (v0.38),
sharp (v0.32), umax (v1.0-21).
* Moved frontends xscanimage and xcam to a new package (sane-frontends).
* Added authentification with encrypted passwords.
* Installation of shared libraries on AIX is supported now.
* Fixed compilation bugs on Irix and FreeBSD.
* Better debug output on platforms not supporting vararg macros.
* Better documentation about SANE devicenames.
* Bugfixes.
2001-02-21 20:53:27 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|