HPLIP (HP Linux Imaging & Printing) is an HP-developed solution for printing,
scanning, and faxing with HP inkjet and laser printers in Linux. The HPLIP
project provides printing support for 3,171 printer and scanner models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy), Business
Inkjet, LaserJet, Edgeline Multi-function Printers,LaserJet MFPs and ScanJets.
===> The following configuration options are available for hplip-3.26.6:
DOCS=on: Build and/or install documentation
FAX=off: PC Send Fax support
NETWORK=on: Network/JetDirect support
SCAN=on: Scanning support
X11=on: Graphical User Interface (Qt)
XSANE=off: Install XSane for scanning (implies SCAN)
===> Use 'make config' to modify these settings
print/hplip: use USE_GNOME=pygobject3 helper
The helper is equivalent to the previous explicit dependency
declaration so no functional or metadata changes.
With hat: gnome
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.
Document in CHANGES.
PR: 266034
Exp-run by: antoine
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D36349
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 )
print: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@geeksrus.net>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com>
* Alexander Vereeken <Alexander88207@protonmail.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alonso Cardenas Marquez <acm@FreeBSD.org>
* Andreas Klemm <andreas@FreeBSD.org>
* Andreas Klemm <andreas@klemm.gtn.com>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Anish Mistry <amistry@am-productions.biz>
(Only the first 15 lines of the commit message are shown above )
print/hplip(-plugin): update to 3.22.2
- Convert post-patch to real patches because they are easier to
maintain.
- Fix a NULL dereference in the scanner backend when D-Bus isn't
running.
- Depend on sysutils/py-distro to make hp-toolbox (Device Manager) work
again.
- Upstream switched to Avahi for mDNS support. Rename the SNMP option
to NETWORK because it's not just SNMP now.
- Don't install some programs related to uninstalling and upgrading of
HPLIP and the installation of firmware plugins because they circumvent
the package system.
- Install icons in share/icons so desktops can choose an appropriate
resolution.
Portions taken from a patch by Oleg Sidorkin <osidorkin@gmail.com>.
PR: 255586, 257034, 257512
PyQt: Update sip to 6.5.0, reintroduce sip4 and simplify PyQt framework.
SIP:
As mentioned in the update from sip to sip5, this is a transitional version
to remove what is deprecated in sip4.
Sip6 completely removes the deprecated parts.
Unfortunately, some ports — mostly cura things — can not use sip6, so we
reintroduce sip4.
PyQt:
At the same time, we took the opportunity to simplify PyQT and propose only one
package as for devel/pyside2. */py-qt5-* have been merged — excepted chart,
networkauth and webengine — into devel/py-qt5-pyqt.
This allows us to be in adequacy with the packages that the author of these
(Only the first 15 lines of the commit message are shown above )
*/*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Approved by: portmgr (blanket)
Follow up on graphics/py-pillow6 port removal in r559976
The graphics/py-pillow6 port was removed in r559976 as it was for
Python 2.7 only and no longer referenced in the default cases.
However it was still defined in Mk/Uses/python.mk in PY_PILLOW,
leaving a dangling reference.
Remove it from Mk/Uses/python.mk, leaving only the Python 3
version of that port, graphics/py-pillow, defined and bump the
minimal verion of Python to 3.6 for affected ports.
print/hplip and print/hplip-plugin: Handover maintainership to tijl
Thanks very much to Tijl for offering to take on maintaining these ports
since I haven't been able to find enough time.
Approved by: tijl (new maintainer)
Fix mDNS support for network printers.
At least on FreeBSD 13, SO_REUSEPORT is no longer sufficient when Avahi
already uses port 5353. It seems that port reuse is only allowed for
processes from the same user now. But even if Avahi is not running and
port 5353 is available my printer still failed to be detected. According
to RFC 6762 only fully compliant queriers should be using that port which
HPLIP isn't. I suspect the printer is sending responses that HPLIP can't
parse. Patch HPLIP to use a simple socket (dynamically allocated port)
which is enough for the one-shot mDNS queries it performs.
Now my printer is detected by "hp-probe --method=mdns" and xsane can find
the scanner part using the hpaio plugin.
PR: 247723
Approved by: maintainer timeout (19 days)
Update py-sip to 4.19.21 and qscintilla2 to 2.11.4
- Update py-sip to 4.19.21
- Update qscintilla2 to 2.11.4
- Replace MASTER_SITE_RIVERBANK with https versions
- Replace QSCI2_DISTNAME to match with the new one
PR: 245308
Approved by: tcberner (mentor)
Exp-run by: antoine
graphics/py-pillow: Update to 7.0.0
* Repo-Copy the Pillow 6.2.2 release to graphics/py-pillow6 to retain
backwards compatibility for Python 2 consumers as the Pillow 7.0.0 release
dropped the support for Python 2.
* Apply conditional statements to use either Pillow 7.x or Pillow 6.x for
consumers that can be built for Python 2 or newer.
* Exceptions are ports that can be built only for either Python 2 or
Python 3. For the first case, consumers are just assigned to the
repo-copied graphics/py-pillow6.
* Also remove Pillow from BUILD_DEPENDS of math/py-PyWavelets as it is not
listed in setup.py as a build dependency [1] and relax the version
(Only the first 15 lines of the commit message are shown above )
- Update HPLIP package to 3.19.11 release
- Unbreak build with python 3.8+ by provide full path to cpython includes
PR: 242055
Submitted by: myself
Approved by: maintainer (woodsb02)
print/hplip: Fix runtime with graphics/py-pillow 6.0.0
Fix a possible runtime error in installers/dcheck.py when graphics/py-pillow
is updated to 6.0.0, which removed the previously deprecated constant
Image.VERSION .
PR: 238072, 237426 (related)
Approved by: woodsb02 (maintainer)
Fix Qt5 symbol version scripts to put the catch-all clause first. When
a symbol matches multiple clauses the last one takes precedence. If the
catch-all is last it captures everything. In the case of Qt5 libraries
this caused all symbols to have a Qt_5 label while some should have
Qt_5_PRIVATE_API. This only affects lld because GNU ld always gives the
catch-all lowest priority.
Older versions of Qt5Webengine exported some memory allocation symbols from
the bundled Chromium. Version 5.9 stopped exporting these [1] but the
symbols were kept as weak wrappers for the standard allocation functions to
maintain binary compatibility. [2][3] The problem is that the call to the
standard function in these weak wrappers is only resolved to the standard
function if there's a call to this standard function in other parts of
Qt5Webengine, because only then is there a non-weak symbol that takes
precedence over the weak one. If there's no such non-weak symbol the call
(Only the first 15 lines of the commit message are shown above )
Mark QT4 ports/functionality for removal on 2019-03-15
While here, chase some KDE4 ports and functionality, these are scheduled for
removal on 2018-12-31. Change the default option/flavor to QT5 where applicable
or use alternative toolkits like GTK.
Submitted by: tcberner
Reviewed by: adridg, jhale, rene, tcberner
Approved by: portmgr (implicit, flavor hook)
Differential Revision: https://reviews.freebsd.org/D17741
pyqt: Change install directories for Python flavor support
* PyQt could not be installed for multiple Python versions at
the same time, as there were conflicting files.
This patch creates Python-version versioned directories for
all these, and further installs binaries with a version number.
* Note, there might be some hickups for software that depends on
on of the .so's provided by PyQt5, which might not be found
anymore autmotically, and maybe need some LD-flaggery.
* Update PyQt5 to 5.10.1
* Mark www/py-qt5-webengine broken. It is unforuntately no longer
compatible with the old qt5-webengine-5.9.4 we ship.
PR: 232745
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D8714
print/hplip and print/hplip-plugin: Fix URL and LICENSE information.
The URL change reflects a recent website change by HP, and was
preventing print/hplip-plugin from fetching correctly.
The LICENSE change reflects the fact that the introductory license
to the python source files mention that a later version of the GPL
can optionally be used.
PR: 224435
PR: 224408
Submitted by: Mason Loring Bliss <mason@blisses.org>
Reported by: jhb
Reviewed by: jhb
MFH: 2017Q4
print/hplip: Improve option logic for X11, QT4, QT5
If X11 option is disabled, the configure args should not enable
QT4 or QT5, and their dependencies should not be added.
PR: 218213
Reported by: Tom Francis <thomas.francis.jr@pobox.com>
Reviewed by: Kevin Oberman <rkoberman@gmail.com>
print/hplip: Apply shebangfix to hpps and pstotiff filters
This was causing some print jobs to fail with this error in
/var/log/cups/error_log:
[Job XX] env: python: No such file or directory
[Job XX] PID XXXXX (/usr/local/libexec/cups/filter/hpps) stopped with status 127
(File too large)
Tidy up a few other items in the port Makefile whilst here.
MFH: 2017Q1
Switch ports to use USE_PYQT=<foo> instead of using RUN_- and BUILD_DEPENDS
pyqt.mk provides USE_PYQT=<list> to depend on its components. Convert the ports
not yet using it to it.
Reviewed by: rakuco, mat
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D9261
print/hplip and print/hplip-plugin: Update to 3.16.10
- FAX option now depends on py-reportlab v3 rather than v2 (deprecated)
- Clean up RUN_DEPENDS syntax and OPTIONS whitespace
- Remove line which set unused variable PYTHON_SITELIBDIR_REL
Changes this release:
http://hplipopensource.com/hplip-web/release_notes.html
Approved by: adamw (mentor, implicit)
print/hplip: Revert r424931 - do not install static CUPS ppd drivers
This was specifically disabled in r410825.
The PPD files are generated automatically when you setup a printer and
the bundled PPDs are generated for an older version of CUPS.
Reported by: tijl
Approved by: adamw (mentor, implicit)
Reassign makc's ports back to the pool.
See "Maintainer Reset" in
https://www.freebsd.org/portmgr/policies_contributors.html. makc's last commit
was in March 31st (r412218), and his ports have been timing out since at least
July (r418155).
I also emailed him 2 weeks ago and have received no response so far.
Add a patch to print/cups and print/hplip to disable detaching of ulpt(4).
This isn't needed on FreeBSD and it always fails because the process doesn't
have the required privileges.
Add a sample devd configuration file to print/cups that gives users in group
cups access to USB printers. [1]
Submitted by: hselasky, Alexander Zagrebin <alex@zagrebin.ru> [1]
Combine print/cups-base, print/cups-client and print/cups-image into
print/cups and update it to 2.1.3. Also remove print/cups-pstoraster,
improve print/cups-filters, print/foomatic-* and update print/hplip to
3.16.2.
Long description:
First some background. When you hand a file to cups it sets up a chain of
filter programs that converts the file to something a printer understands.
Each filter has a cost associated with it and cups tries to find the
cheapest chain. Costs used to be configured in such a way that files were
first converted to PostScript. This could then be manipulated further (e.g.
putting multiple pages on one sheet) before finally being sent to a
PostScript printer or another filter like pstoraster which produces a raster
format understood by non-PostScript printer drivers. Nowadays most filters
(Only the first 15 lines of the commit message are shown above )
- Split ghostscript into X11-independent and -dependent parts:
* print/ghostscript{7,8,9,9-agpl}-base
Installs Ghostscript binary, libgs, and related files.
These ports do not depend on X11 libraries (i.e. x11* devices
are not available). USES=ghostscript will set dependency on
one of them depending on GHOSTSCRIPT_DEFAULT.
The default device is set to "display" or "bbox".
* print/ghostscript{7,8,9,9-agpl}-x11
Installs a shared library which provides X11 support to
the installed Ghostscript binaries. x11* devices will be
(Only the first 15 lines of the commit message are shown above )
Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl
PR: 201201 (exp-run)
Approved by: portmgr (mat@)
Exp run by: antione@ (previous patch)
Differential Revision: https://reviews.freebsd.org/D2938
print/hplip:
- Update to 3.14.10 [1]
- Fix detection of libusb v1.0 and build with it now
- Enable JetDirect and scanning support by default (requested by pkg users)
- hplip modifies etc/sane.d/dll.conf witch belongs to sane-backends port,
and writes to this file in staging area. Add commented entry for it in plist
to pacify staging checks.
print/hplip-plugin:
- Update to 3.14.10
- Add missing entry to plist
- Pass MAKE_ENV for installer to prevent writing to ${HOME}
PR 197245 [1]
Submitted by: chris@bsdjunk.com
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)