Commit graph

151 commits

Author SHA1 Message Date
wiz
92a8e1ad3c *: recursive bump for tiff shlib major bump 2023-01-03 17:36:14 +00:00
adam
cc34ee3bc6 massive revision bump after textproc/icu update 2022-11-23 16:18:32 +00:00
nia
78feb4d838 sane-backends: Shoot down Python dependency. It seems to be build-time
only and there's no reason to restrict it to Python 2, since it builds
fine with 3.10 and I can't find any evidence that Python is required
at run-time.
2022-07-21 11:04:34 +00:00
dholland
838831b9b0 Bump everything affected by the jpeg.buildlink3.mk fix. 2022-07-14 23:46:18 +00:00
adam
f5e35d538b revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
triaxx
b235e270bf sane-backends: Reorganize PLIST_VARS
pkgsrc changes:
---------------
  * Remove sm3600 variable since it is enabled for any OPSYS.
  * Remove mustek and kvs40xx variables since these backends are built if
    pthread is available. Actually it build on Linux and on other Unix-like
    systems. For Unix-like other than Linux, pthread is not enabled by default
    but we explicitly enable it in Makefile.
  * Bump revision

/!\ pint is built if sys/scanio.h exists. Feel free to add systems that implement it.
/!\ Feel free to reintroduce mustek and kvs40xx for systems that do not implement
    pthread.
2022-01-26 17:17:39 +00:00
wiz
d33ff82442 sane-backends: this needs python 2.7 during build 2022-01-08 11:47:49 +00:00
triaxx
88a3d04562 sane-backends: Remove typo 2022-01-04 16:06:54 +00:00
triaxx
0d40b60214 sane-backends: Update to 1.0.32
pkgsrc changes:
---------------
  * Set nls option to default enabled to avoid forgetting new .mo files in PLIST
    when updating.
  * Remove patch-backend_genesys_low.cpp since it has been fixed in 1.0.31.
  * Add textproc/libxml2 missing dependency thanks to verifypc.

upstream changes:
-----------------
The changes are listed in ChangeLog.
2022-01-04 16:04:39 +00:00
triaxx
dd498225d8 sane-backends: Fix PLIST
pkgsrc updates:
---------------
  * Add missing files in PLIST when nls option is enable.
  * Remove lines in PLIST.Linux that are already in PLIST (thanks to
    pkglint).
  * Bump revision.
2022-01-03 14:48:49 +00:00
nia
f8331b5844 graphics: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 10:45:53 +00:00
nia
84d3786e88 graphics: Remove SHA1 hashes for distfiles 2021-10-07 14:11:55 +00:00
gutteridge
33c677c4f7 sane-backends: fix big-endian builds
Patch from Gentoo, via Connor McLaughlan on pkgsrc-users. (Also tested
by me on NetBSD 8.2_STABLE/macppc.)
2020-08-16 22:42:09 +00:00
nia
4699a1c094 sane-backends: needs networking libs on SunOS 2020-06-25 12:44:10 +00:00
leot
ae42efdefb sane-backends: Update to 1.0.30
pkgsrc changes:
 - sane-backends seems now make jobs safe
 - Add dependency to c++11 for genesys backend
 - Remove no longer needed patch-backend_epsonds.c: now sys/time.h is included
 - Use BJNP_HOST_MAX instead of non-portable/POSIX HOST_NAME_MAX via
   patch-backend_pixma_pixma__bjnp.c
 - Update MASTER_SITES and remove it from Makefile.common: the current one is
   specific to sane-backends

Changes:
1.0.30
------
This release fixes several security related issues and a build issue.

### Backends
- `epson2`: fixes CVE-2020-12867 (GHSL-2020-075) and several memory
  management issues found while addressing that CVE
- `epsonds`: addresses out-of-bound memory access issues to fix
  CVE-2020-12862 (GHSL-2020-082) and CVE-2020-12863 (GHSL-2020-083),
  addresses a buffer overflow fixing CVE-2020-12865 (GHSL-2020-084)
  and disables network autodiscovery to mitigate CVE-2020-12866
  (GHSL-2020-079), CVE-2020-12861 (GHSL-2020-080) and CVE-2020-12864
  (GHSL-2020-081).  Note that this backend does not support network
  scanners to begin with.
- `magicolor`: fixes a floating point exception and uninitialized data
  read
- fixes an overflow in `sanei_tcp_read()`

### Build
- fixes a build issue where linker flags would become link time
  dependencies (#239)


1.0.29
------
### Backends
- adds an `escl` backend (theoretically supporting *all* AirPrint
  devices with a scan unit)
- adds support for 23 new scanner models via existing backends
- significantly changes `genesys` and `pixma` backends
- fixes bugs in `canon_dr`, `fujitsu`, `hp3900`, `mustek_usb2`,
  `plustek` and `xerox_mfp` backends
- fixes *all* compiler warnings on Debian 10 (#120)
- fixes portability issues for uClibc-ng and MacOS builds
- adds support to record and replay USB I/O traffic
- adds timestamps to debug logs

### Frontends
- fixes a 32-bit arithmetic overflow issue in `scanimage`

### Documentation
- updates translations for British English, Catalan, German,
  Ukrainian, Valencian
- adds `scangearmp2` external backend descriptions
- updates `hpaio` and `utsushi` external backend descriptions
- adds the `ChangeLogs/` directory to the source tarball (#103)

### Build
- additionally requires `libcurl` and `libxml2` to build the `escl`
  backend
- requires `libxml2` for USB I/O recording and replay functionality
- re-enables pthread support for backends that use its API directly,
  irrespective of the `pthread_t` type (#153)
- moves the `genesys` and `pixma` backends to a directory of their own


1.0.28
------
### Backends
- adds a `ricoh2` backend
- adds support for 40+ new scanner models
- significantly changes `canon_dr`, `fujitsu`, `genesys`, `gt68xx`,
  `hp5590` and, `pixma` backends
- fixes bugs in `as6e`, `avision`, `mustek` and `plustek` backends
- fixes scores of compiler warnings

### Frontends
- adds, changes and removes options for `saned` (see `man 8 saned` for
  details)
  - adds: `-l` (listen), `-D` (daemonize), `-o` (once), `-e` (stderr),
    `-u` (user)
  - removes: `-s` (syslog).
    Use `-a -d level -o -f` for the old behavior
  - changes: `-d` (debug).
    Use `-a -d level -o -f -e` for the old behavior
- `saned` now cancels scans if the data connections appears to have
  gone away (after 4 seconds by default, configurable in `saned.conf`)
- adds `--output-file` option to `scanimage`
- adds `--help` option to `scan-find-scanner`
- changes `sane-desc` to create relative hyperlinks

### Documentation
- adds translations for Catalan, Hebrew and Valencian
- updates translations for British English, Dutch, German and
  Ukrainian
- marks unmaintained backends as such
- documents USB workaround in `sane-usb` manual page

### Build
- requires a C++11 compatible compiler for the `genesys` backend
- requires a JPEG library when building the `pixma` backend
- fixes unneeded linking when not using preloadable backend support
- disables pthread support for systems with non-integral `pthread_t`
  type
- fixes USB support detection on BeOS and OS/2 at `./configure` time
- normalizes trailing whitespace in source code files.  If you have
  local patches that no longer apply, have a look at the whitespace
  ignoring options of `patch` and `git apply`.
2020-06-13 20:54:32 +00:00
rillig
27cfad54c1 graphics/sane-backends: remove unknown configure options 2020-05-31 17:19:49 +00:00
jperkin
26c1bffc9f *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +00:00
maya
e3e362f737 sane-backends: PLIST fix for Darwin, which apparently enables another backend
(it's unclear why it only gets enabled on OS X)

From clement bouvier in PR pkg/54444.
2019-08-07 15:52:13 +00:00
ryoon
852c347abe Fix nls option packaging
Reported by mueller6721 on pkgsrc-users mailing list.
Use gettext-lib from pkgsrc instead of builtin one.
This fixes PLIST problem only.
2019-07-27 00:40:50 +00:00
jperkin
55f32e331b sane-backends: Handle nls correctly. 2018-05-15 14:58:08 +00:00
jperkin
087f2456ac sane-backends: Work around broken configure tests on SunOS. 2018-05-15 13:19:50 +00:00
wiz
5e7c31d7dc sane-backends: update latex detection avoidance for recent configure
From John D. Baker on pkgsrc-users.
2018-03-31 22:39:20 +00:00
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