Commit graph

129 commits

Author SHA1 Message Date
wiz
a354322623 sane-backends: update to 1.0.27.
New with 1.0.27 (see Note 1), released 2017-05-22:

* Significant enhancements to canon_dr, epjitsu, epsonds, fujitsu,
  genesys, hp3500, pixma and xerox-mfp backends.
* Minor updates, bugfixes or scanners added in several backends.
* 30+ new scanner models supported.
* Made libusb-1.0 the default for USB support (see Note 2).
* Switched code from C90 to C99 (Thanks to Volker Diels-Grabsch).
* Updated Linux USB3 workaround (see Note 3).
* Documentation and translation updates.
* Bugfixes (Avahi, threading, USB, ICC/PNG/JPEG, etc).
* Reduced compiler warnings, improved code (see Note 4).

Note 1: There is no 1.0.26 release of sane-backends. That number was
skipped so that our development version numbers would more clearly be
an extension of the prior release. This should make packaging a little
easier for our downstream users.

Note 2: On all systems, the --enable-libusb* flags are now ignored.
Instead, the --with-usb and --without-usb flags now control support.
When neither is given, USB support will be enabled if possible and
disabled otherwise.  If --with-usb is requested but not possible,
./configure will fail.  There is no support to prefer libusb-0.1 over
libusb-1.0.  When libusb-1.0 is not found, libusb-0.1 will be tried.

Note 3: The Linux USB3 workaround which was added in version 1.0.25 is
now disabled by default. If you have difficulty using a scanner which
previously worked, or intermittent scanner availability, try setting
the new environment variable SANE_USB_WORKAROUND=1 before starting
your frontend.

Note 4: A special thanks goes to Olaf Meeuwissen for picking up the
janitorial duties in sane-backends. He has found and fixed a large
number of long-standing bugs, curated our bug tracker, improved our
build scripts and docs, and provided user support. Thank you Olaf!
2018-02-25 21:22:07 +00:00
jperkin
12f4248063 sane-backends: Set _XOPEN_SOURCE correctly. 2018-01-31 10:43:03 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
richard
2533a8a982 enable SunOS to use experimental libusb1 support.
bump PKGREVISION
2016-04-09 14:19:25 +00:00
martin
a5fb0413cd Fix usb bulk reads on big endian 64bit platforms.
Closes PR pkg/50340.
2016-03-15 09:14:03 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
leot
37dc252893 Fix PLIST issues on Linux.
Thanks to jperkin@!
2016-01-29 20:51:20 +00:00
wiz
af03480e91 Replace patch with upstream version. 2015-11-11 12:40:03 +00:00
agc
efd9ad4549 Remove duplicate SHA512 digests that crept in. 2015-11-04 17:41:15 +00:00
agc
7f810a359f Add SHA512 digests for distfiles for graphics category
Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 21:33:50 +00:00
leot
d4ea8f3287 INT_MIN and DBL_MIN are respectively included in <limits.h> and <float.h>.
Fixes build on Linux.
PKGREVISION++

Noted and patch provided by Matthias Ferdinand via pkgsrc-users@.
2015-11-02 18:42:50 +00:00
wiz
811cc48964 Remove some obsolete patches.
Add upstream bug report URLs for some others.

XXX:
patch-a[bhijk] are not sent upstream since I don't understand the need.
2015-10-27 11:29:35 +00:00
wiz
a786d013e1 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 10:39:13 +00:00
leot
331540a72f Recursive bump for graphics/sane-backends. 2015-08-16 22:00:37 +00:00
leot
0fdeab4c4f Update graphics/sane-backends to sane-backends-1.0.24.
ok wiz@.

Changes:
* Significant enhancements to pixma, genesys, kodakaio, fujitsu, canon_dr.
* Minor updates, bugfixes or scanners added in several backends.
* Added new testsuite
* 51 new scanner models supported.
* USB support improvements.
* Improved build system (mingw64, bug fixes, default pthread on Linux).
* Documentation updates.
* Bugfixes.
2015-08-16 20:24:23 +00:00
rumko
ed95490c24 graphics/sane-backends: fix build on FreeBSD due to PLIST problems
Like on some other platforms, sane-pint is not available on fbsd, so
don't include in the PLIST.

Ok@ wiz
2015-01-09 16:34:19 +00:00
rodent
a0a1f2e57c Fixes:
COMMENT should not be longer than 70 characters.
 COMMENT should not begin with 'A'.
 COMMENT should not begin with 'An'.
 COMMENT should not begin with 'a'.
 COMMENT should not end with a period.
 COMMENT should start with a capital letter.

pkglint warnings. Some files also got minor formatting, spelling, and style
corrections.
2013-04-06 03:45:05 +00:00
ryoon
2f98e7e2c1 Fix PR pkg/47308
Fix invalid PLIST subst.
2012-12-12 08:40:27 +00:00
ryoon
a696eda828 Fix PR pkg/47308
SOL_SOCKET etc. are defined in sys/socket.h on DragonFly.

I have tested on DragonFly/i386 3.0.1.

And remove empty patch file.
2012-12-11 16:32:36 +00:00
ryoon
60c9acf791 Fix PLIST.
Thanks for wiz@.

I have tested only on NetBSD current.
I will check PLIST on other platform later.
2012-12-10 12:31:34 +00:00
ryoon
6277ad089d Update to 1.0.23
* Update MASTER_SITES to MASTER_SITE_LOCAL

Changelog:
New with 1.0.23, released 2012-08-19:

* New backends: kvs40xx (Panasonic KV-S40xx),
  kodakaio (Kodak AiO ESP and Hero)
* Significant enhancements to several backends.
* 30 new scanner models supported.
* V4L support improvements.
* Improvements for builds on multiple platforms.
* Improved udev rules.
* Updated software deskew algorithm.
* Documentation updates.
* Bugfixes.
2012-12-10 12:06:50 +00:00
asau
08f35c7155 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 14:10:39 +00:00
wiz
39fdd27fd5 Fix SYSCONFDIR support. Bump PKGREVISION. 2012-09-24 23:10:59 +00:00
wiz
f98e8b0585 Add inet6 to default suggested options. It's 2012. 2012-06-12 15:45:54 +00:00
hans
49f54d893d On both SunOS 5.10 and 5.11 sm3600 is built. 2012-03-21 18:16:41 +00:00
wiz
833922aab2 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:39:49 +00:00
sbd
7ae0494e91 Get sane-backends building on Linux again by adding a buildlink for
graphics/libv4l and updateing PLIST.Linux
2012-01-02 22:26:39 +00:00
gdt
e93defd3f7 Forcibly disable compiling with SNMP.
On systems with netsnmp, configure sort of finds SNMP, and adds
-lnetsnmp.  This is wrong because the package doesn't depend on
netsnmp, and problematic because then looking for getenv() fails.

No PKGREVISION++ because this doesn't change the behavior in cases
that previously resulted in a successful build.
2011-08-30 01:30:01 +00:00
schnoebe
aa4dd6102b Add an option to select/suppress SNMP support.
(configure was finding libsnmp.so if net-snmp was installed, but
 net-snmp wasn't buildlink'd in. It would build just fine if net-snmp
 wasn't installed.)
2011-08-15 01:56:33 +00:00
gls
4dd43a54e7 Add sys/socket.h to backend/magicolor.c and backend/xerox_mfp-tcp.c.
Should fix PR pkg/45196 by Alex Hornung.
2011-07-31 20:05:58 +00:00
wiz
35230df5db # used by graphics/sane-frontends/Makefile 2011-07-12 13:19:26 +00:00
wiz
a65e44b2a7 # used by graphics/sane-frontends/Makefile 2011-07-12 13:19:09 +00:00
wiz
490a71930d Update to 1.0.22:
New with 1.0.22, released 2011-02-13:

* New backends: kvs20xx (Panasonic KV-S20xx),
  magicolor (Konica-Minolta )
* Significant enhancements to several backends.
* More than 80 new scanner models supported.
* Support many more networked scanners.
* Added -A option to scanimage
* Improved build system.
* Improved USB support.
* Improved udev rules.
* Documentation updates.
* Bugfixes.
2011-07-12 12:19:40 +00:00
rumko
68b8130ae5 graphics/sane-backends: add upstream bug report for PR pkg/44193
ok@ wiz
2011-01-30 18:04:23 +00:00
obache
e4f2b2e8a3 At the previous bump to 1.0.21nb1, dependency on libtiff was added,
so also need to add buildlink libtiff here.
PR#44298.
2010-12-31 15:38:24 +00:00
adam
b5421a8f84 Fixed building on Mac OS X; fixed PLIST; added tiff dependency for dell1600n 2010-12-27 15:07:52 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +00:00
wiz
fb2c0c2fed Fix typo, noted by Rumko. 2010-12-08 09:35:29 +00:00
wiz
44d8515e83 Fix build on DragonFly, from Rumko in PR 44193. 2010-12-06 12:16:03 +00:00
wiz
67cc1aaf8f Update to 1.0.21:
New with 1.0.21, released 2010-04-25:

* New backends: kodak (Kodak i18xx), kvs1025 (Panasonic KV-S10xx),
  p5 (Primax PagePartner)
* 224 more scanner models supported.
* Many backends updated.
* Improved compilation on uncommon platforms.
* More consistent option naming.
* Scanimage no longer writes image to tty.
* Modern translation infrastructure.
* Improved saned network daemon.
* Internal SCSI, USB, threading, TCP & UDP code updates.
* Updated HAL and udev support.
* New sanei_magic image processing library.
* Documentation updates.
* Bugfixes.
2010-09-19 15:06:18 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
wiz
9efdbdf75d Fix xsane build by adding back a symbol that was, according to Debian,
accidentally removed in 1.0.20.
Bump PKGREVISION.
2009-09-04 23:09:06 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
hasso
e695afdffc * Make it link on DragonFly and maybe some others (sane_find_scanner needs
to be linked against libcam).
* Fix PLIST for platforms not building sane-pint backend.
* Bump PKGREVISION.
2009-08-20 03:53:20 +00:00
wiz
f93b3b9314 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 17:53:11 +00:00
joerg
24ce9c6c39 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 20:05:39 +00:00
joerg
3a3c07bc30 Remove @dirrm entries from PLISTs 2009-06-14 17:59:04 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
reed
0c65c64d91 Fix comment. 2008-04-17 20:24:38 +00:00