SANE ("Scanner Access Now Easy") is a universal scanner interface.
This package contains the SANE libraries (this means backends and
network scanning parts) and the command line frontend scanimage.
===> The following configuration options are available for sane-backends-1.4.0_3:
AVAHI=on: Zeroconf support via Avahi
DOCS=on: Build and/or install documentation
GPHOTO=on: Digital cameras support via libgphoto2
IEEE1284=off: Parallel port support via libieee1284 (for i386 only)
IPV6=on: IPv6 protocol support
NLS=on: Native Language Support
SNMP=off: SNMP network protocol support
USB=on: USB support
V4L=off: Video 4 Linux support
===> Use 'make config' to modify these settings
graphics/sane-backends: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
graphics/sane-backends failed to build with clang 15:
jpegtopdf.c:204:5: error: incompatible pointer to integer conversion assigning
to 'long' from 'char *(int, int)' [-Wint-conversion]
tz = timezone;
^ ~~~~~~~~
scanimage.c:1248:42: warning: call to undeclared function 'basename'; ISO C99
and later do not support implicit function declarations
[-Wimplicit-function-declaration]
png_set_iCCP(*png_ptr, *info_ptr, basename(icc_profile),
PNG_COMPRESSION_TYPE_BASE, icc_buffer, icc_size);
^
scanimage.c:1248:42: error: incompatible integer to pointer conversion passing
'int' to parameter of type 'png_const_charp' (aka 'const char *')
[-Wint-conversion]
png_set_iCCP(*png_ptr, *info_ptr, basename(icc_profile),
PNG_COMPRESSION_TYPE_BASE, icc_buffer, icc_size);
^~~~~~~~~~~~~~~~~~~~~
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
graphics: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Abel Chow <ozsanh45vds001@sneakemail.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Ade Lovett <ade@lovett.com>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Hayward <xelah@xelah.com>
* Alex Ivasyuv <siegerstein@pochta.ru>
* Alex Samorukov <samm@os2.kiev.ua>
(Only the first 15 lines of the commit message are shown above )
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.
PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
textproc/libxml2: bump all dependencies
This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd733f67a9fc0dc00ab45268bdc236246
graphics/poppler: update to 21.12
Release 21.12.0:
core:
* Add API to add images
* CairoOutputDev: Fix de-duping of Flate images
* Fix crash on broken files when using non-default
ENABLE_ZLIB_UNCOMPRESS. Issue #393
* Minor code improvements
glib:
* Add API for validation of signatures
* Add API to read/save to file descriptor
utils:
* pdftohtml: Reduce sensitivity of duplicate detection. Issue #1117
build system:
* Increase C++ standard to 17
Exp-run by: antoine
PR: 260344
graphics/poppler: update to 21.08.0
Release 21.08.0:
core:
* Add API to allow addition and modification of outlines into a PDF
* Use additional samples to test for constant parts of an axial
gradient
* forms: Create fallback fonts for some well known font names
* Support reading the PDF Version from the Catalog
* Fix XRef::copy when there are modified objects
* Take into account that Date string may be in unicode
* JBIG2Stream: Fix regression in "Do not consider a size-0 to be an
error"
* Replace a local bubble sort implementation by std::sort
* Fix issues with malformed files
build system:
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 21.07.0
Release 21.07.0:
core:
* JBIG2Stream: Do not consider a size-0 to be an error. Issue #535
* PSOutputDev: fix off-by-one error for image masking in L1/L2 output.
Issue #1088
* CairoOutputDev: Fix memory leak on broken files
* Minor code improvements
build system:
* set C standard to 11 without extensions
Exp-run by: antoine
PR: 256981
graphics/poppler: update to 21.06.0
Release 21.06.0:
core:
* Fix rendering of some extended latin1 characters in annotations.
Issue #1070
* Support some not so well formed documents with password. Issue #1083
* Add API to get notified if the xref is reconstructed
* Add somewhat fancier left/right signature visual representation
* Fix crashes in malformed files
* Minor code improvements
qt6:
* Change some functions to return std::unique_ptr
qt5/qt6:
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 21.05.0
Release 21.05.0:
core:
* Fix crashes in malformed files
* Export SplashFont* symbols used by Scribus
* Minor code improvements
qt5/qt6:
* Make sure new signatures are always properly oriented
* Allow to pass the border width when signing
glib:
* Enhance find to support multi-line matching
utils:
* pdftoppm: Fix regression when using single scaleTo. Issue #1062
build system:
* Allow to disable building manual tests
PR: 255562
Exp-run by: antoine
graphics/poppler: update to 21.04.0
Release 21.04.0:
core:
* Hide symbols by default
* TextSelectionDumper: fix word order for RTL text
* Fix rendering of text in some files. Issue #1052
* Implement rendering of Masks of Image subtype. Issue #1058
* Forms: fix unclicking standalone form buttons. Issue #1034
glib:
* Expose more fields from MediaRendition in PopplerMedia
* Use stock glib macro to define boxed type
* Remove incorrecly used volatile from enum type registration code
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 21.03.0
Release 21.03.0:
core:
* Fix parsing text in some broken pdf files. Issue #1040
* Fix memory issue when using threads. Issue #1050
* TextSelectionDumper: Fix getText() for space after word
* Change signature of OutputDev:tilingPatternFill
* Make PDFDocBuilder return a std::unique_ptr
* Improve well formed check for shading functions
* Fix leak in case of fread failing
* Fix memory leak in broken file in JBIG2Stream::readGenericBitmap
* PSOutputDev: Fix stack overflow in broken files
glib:
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 21.02
Release 21.02.0:
core:
* GfxCal*ColorSpace: introduce Bradford transform for chromatic
adaptation
* Fix memory leak if saving the file fails
* Internal code improvements
* Fix various issues handling broken files
* Make checkedAdd work for long long in MSVC
qt5:
* Properly export NewSignatureData class
* Fix regression in QIODeviceOutStream + MSVC
qt6:
* Properly export NewSignatureData class
* Fix regression in QIODeviceOutStream + MSVC
utils:
* pdftohtml: Fix error() parameter type
PR: 253183
Exp-run by: antoine
graphics/poppler: update to 20.11.0
Release 20.11.0:
core:
* More work on rendering of standalone Annot Widgets. Issue #806
* Fix crashes in embedded file handling on broken files. Issue #967
* Fix uninitialized memory read on broken files
* Save a bit of memory in Dict data
cpp:
* Fix crashes in embedded file handling on broken files. Issue #966
utils:
* pdftohtml: HTML and XML output includes font opacity.
(Only the first 15 lines of the commit message are shown above )
graphics/poppler: update to 20.09.0
Release 20.09.0:
core:
* Compability fix for Forms
* Fix fetching of Objects failing in some cases
* Fix clearing date in Annot setModified/setDate
* TextSelectionPainter: support glyphless fonts
* Splash: Don't try read past end of image
* avoid abort() on large memory allocation
* Fix memory leak on broken files
* Fix potential invalid memory read
* Small code improvements
qt5:
(Only the first 15 lines of the commit message are shown above )
graphics/sane-backends: Update to 1.0.28
This adds support for some modern scanners like the CanoScan LiDE 400.
- Take maintainership for a while
Changes: https://gitlab.com/sane-project/backends/-/tags/1.0.28
PR: 241225
Submitted by: mq <freebsd@sosend.de>
graphics/sane-backends: Add --without-api-spec
Avoid auto-activating building of API spec docs when pdflatex, etc.
are installed in the build environment.
PR: 235319
graphics/sane-backends: Actually update to 1.0.27
The current version is 1.0.25 with a wrongly named distfile which
fails to fetch from the fossies.org mirror with a size mismatch.
The update to 1.0.27 in r444767 also shows that the checksum and
size have not changed in distinfo in that commit. Full changes
between the distfiles from 1.0.27_4 & 1.0.27_5 can be found at [1].
- Remove dead alioth.debian.org mirror
- Remove some no longer needed patches
[1] https://people.freebsd.org/~tobik/logs/sane-backends-1.0.27.diff
ABI: https://abi-laboratory.pro/tracker/timeline/sane-backends/
PR: 229653
Submitted by: Peter Wullinger <freebsd@dhke.de>
graphics/sane-backends: Remove bogus interactive pkg-deinstall script
Half of the script is never run and the other half tries to stop
saned and asks an interactive question outside of pkg's control if
saned happens to be still running which will stall pkg-delete(8)
indefinitely.
graphics/sane-backends: Make reproducible
- Don't add a timestamp at build time to the docs
- While here add missing USES=jpeg
PR: 223620
Submitted by: Michael Kotlyar <mdk369@nyu.edu>
- Update to 1.0.25 [1]
- Add option for v4l [1]
- Use more option helpers [1]
- Removed CUPS option since CUPS requirement has been dropped upstream [1]
While here:
- Convert to USES=localbase
- Regenerate some patches [1]
This version also includes support for Canon LiDE 220 scanners. [2]
PR: 203799 [1], 200788 [2]
Submitted by: Ports Fury [1], avg@ [2]
Import upstream git commit 37523b867d411c2f82d08128246be7e38bc9812c:
Bugfix in kodakaio.c to fix segfault when non kodak scanners return
unexpected data via avahi auto discovery
graphics/sane-backends: Remove obsolete post-extract target
This was needed with the crazy distfile scheme from the previous version,
but not it doesn't do anything.
- Add dependency on multimedia/libv4l, package links to it
when available on system
- Add missing options to OPTIONS_DEFINE
- Change GPHOTO2 option to global GPHOTO
- Use options helpers
- Add support for STAGEDIR
Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.
Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.
If a port used other USE_GNOME items it was untouched.
The ports that used other USES were fixed by hand.
PR: ports/177081
Reviewed by: bapt
Approved by: portmgr (miwi)
Relative to the problem mentioned in the PR, fix the rc.d script
to avoid a circular dependency problem which adversely affects
other scripts, including those in the base.
Specifically, it's impossible to have both:
REQUIRE: LOGIN
and
BEFORE: NETWORKING
Since this services runs as an unprivileged user, LOGIN wins.
While I'm here, apply various other cleanups, including adding
KEYWORD: shutdown, putting the elements in more typical order,
fixing some syntax issues, etc.
Bump PORTREVISION due to the previous incarnation of the rc.d
script being actually pathological, rather than just slightly
wacky.
PR: ports/165928
Submitted by: Matt Dawson <matt@chronos.org.uk>
Feature safe: yes