Commit graph

136 commits

Author SHA1 Message Date
Dima Panov
f680dcc72d print/hplip[-plugin]: update to 3.20.3 release
PR:		245405
Submitted by:	fluffy
Approved by:	maintainer (timeout, 21d)
Relnotes:	https://developers.hp.com/hp-linux-imaging-and-printing/release_notes
2020-04-27 11:13:32 +00:00
Loïc Bartoletti
5ead0a2f78 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
2020-04-11 05:04:40 +00:00
Antoine Brodin
1bf9457272 Convert the tree to use PY_PILLOW
With hat:	portmgr
Originally submitted by:	kai
2020-03-24 19:54:57 +00:00
Ben Woods
8d176ae708 print/hplip: Bump PORTREVISION post r527054
PR:		244373
Reported by:	vvd@unislabs.com
2020-02-24 23:46:25 +00:00
Ben Woods
960afe536a print/hplip: Change USE_GNOME dependency from pygobject to pygobject3
PR:		244373
Submitted by:	vvd@unislabs.com
2020-02-24 23:06:35 +00:00
Kai Knoblich
74174b2661 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
  requirements of Pillow for www/py-wagtail.

Release Notes:

* https://pillow.readthedocs.io/en/latest/releasenotes/index.html

Backward Incompatible Changes (7.0.0):

* https://pillow.readthedocs.io/en/latest/releasenotes/7.0.0.html#backwards-incompatible-changes

Detailed Changelog:

* https://github.com/python-pillow/Pillow/blob/7.0.0/CHANGES.rst

PR:		243665
Submitted by:	sunpoet (patch for 7.0.0 and repo-copied version)
Reviewed by:	koobs [1], sunpoet
Approved by:	koobs (maintainer)
Differential Revision:	https://reviews.freebsd.org/D23713
2020-02-24 11:36:15 +00:00
Ben Woods
8b7787b64f print/hplip and print/hplip-plugin: Update to 3.19.12
Changes this release:
  https://developers.hp.com/hp-linux-imaging-and-printing/release_notes

PR:		242589
Submitted by:	fluffy
Submitted by:	Neel Chauhan <neel@neelc.org> (earlier patch version)
2019-12-23 09:53:38 +00:00
Dima Panov
2c4467d099 - 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)
2019-11-18 11:51:54 +00:00
Ben Woods
7c78a485cb print/hplip: Update to 3.19.10
print/hplip-plugin: Update to 3.19.6

Changes this release:
  https://developers.hp.com/hp-linux-imaging-and-printing/release_notes

PR:		241528
Reported by:	S Joseph <josephatwork@gmail.com>
2019-11-04 12:34:40 +00:00
Ben Woods
dbd5afd600 print/hplip and print/hplip-plugin: Update to 3.18.6
Changes this release:
  https://developers.hp.com/hp-linux-imaging-and-printing/release_notes

PR:		240428
Submitted by:	asomers
2019-11-03 15:06:31 +00:00
Rene Ladan
d2eb50ab00 Clean up final leftovers from Qt4.
Submitted by:	rene
Reviewed by:	mat, tcberner
Differential Revision:	https://reviews.freebsd.org/D20725
2019-06-26 11:52:23 +00:00
Kai Knoblich
0c4024a80b 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)
2019-06-02 21:00:06 +00:00
Antoine Brodin
63f5eeef8a Bump a few PORTREVISIONs after r498529
With hat:	portmgr
2019-04-10 06:18:31 +00:00
Tobias C. Berner
fb845aaf8c print/hplip: remove remnants of QT4 option
Approved by:	portmgr (implicit)
2019-03-16 23:40:09 +00:00
Tobias C. Berner
a489225ef6 print/hplip: remove QT4 option (Qt4 deprecation)
Approved by:	portmgr (implicit)
2019-03-16 17:47:30 +00:00
Tijl Coosemans
1bf487d3e7 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
in the weak wrapper resolves to the weak wrapper itself creating an infinite
call loop that overflows the stack and causes a crash.  Some of the
allocation functions are variants of C++ new and delete and it probably
depends on the compiler whether these variants are used in other parts of
Qt5Webengine.

Remove the weak wrappers (make them Linux specific).  This isn't binary
compatible but we are already breaking that with the changes to the symbol
versions.

[1] 5c2cbfccf9
[2] 2ed5054e3a
[3] 009f5ebb4b

Bump all ports that depend on Qt5.

PR:		234070
Exp-run by:	antoine
Approved by:	kde (adridg)
2019-01-16 11:13:44 +00:00
Rene Ladan
99d6d12a38 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
2018-12-02 15:41:47 +00:00
Tobias C. Berner
cc8a667aa2 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
2018-11-22 20:18:37 +00:00
Mathieu Arnold
8dcaabcd6e Add PY_FLAVOR to Python module dependencies.
Sponsored by:	Absolight
2018-05-22 13:15:13 +00:00
Ben Woods
3f74c0178a print/hplip: Fix pkg-plist when X11 disabled but QT4 or QT5 enabled
PR:		222989
Reported by:	freebsd@dreamchaser.org
2017-12-24 08:49:05 +00:00
Ben Woods
89b406a398 print/hplip and print/hplip-plugin: Update to 3.17.11
Changes this release:
  https://developers.hp.com/hp-linux-imaging-and-printing/release_notes
2017-12-24 07:10:45 +00:00
Ben Woods
dc2e9866a1 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
2017-12-19 05:47:40 +00:00
Ben Woods
01e0be3f0e print/hplip and print/hplip-plugin: Update to 3.17.9
Changes this release:
  http://hplipopensource.com/hplip-web/release_notes.html
2017-09-22 09:04:22 +00:00
Ben Woods
1d5b475d0f print/hplip: Fix gui crash due to incorrect reference to /etc/hplip.conf
Reported by:	Keith <fischerking1905@yahoo.co.jp>
MFH:		2017Q3
2017-09-22 08:21:51 +00:00
Ben Woods
bef583da78 print/hplip[-plugin]: Update to 3.17.7
Changes this release:
  http://hplipopensource.com/hplip-web/release_notes.html
2017-08-14 11:36:57 +00:00
Ben Woods
0f1ce0f48c print/hplip: Update to 3.17.4
Changes this release:
  http://hplipopensource.com/hplip-web/release_notes.html
2017-05-16 23:05:45 +00:00
Ben Woods
44d4ec4bb8 print/hplip: Add runtime dependency on devel/py-sip
Reported by:	Manish Jain <bourne.identity@hotmail.com>
2017-05-16 14:32:38 +00:00
Ben Woods
2c1539af0b print/hplip: Tidy up options ordering to be alphabetical 2017-04-02 10:37:41 +00:00
Ben Woods
5e0d053d34 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>
2017-04-02 10:34:06 +00:00
Ben Woods
b7aeb88b93 print/hplip: Add Qt5 support and make Qt5 the default GUI widget set
PR:		217814
Submitted by:	Kevin Oberman <rkoberman@gmail.com>
2017-03-27 13:25:20 +00:00
Ben Woods
141526d5aa 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
2017-02-25 11:29:26 +00:00
Tobias C. Berner
4c7d30bb70 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
2017-02-04 13:37:15 +00:00
Alexey Dokuchaev
a83aa892bb - Spell `LICENSE_FILE' variable correctly
- Fix some nearby bogosities (when noticed)
2017-02-04 07:57:42 +00:00
Ben Woods
121306ee2b print/hplip and print/hplip-plugin: Update to 3.16.11
Changes this release:
  http://hplipopensource.com/hplip-web/release_notes.html

Approved by:	adamw (mentor, implicit)
2016-12-19 14:47:31 +00:00
Ben Woods
9f467b36d1 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)
2016-10-30 15:18:03 +00:00
Ben Woods
8227569076 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)
2016-10-30 14:20:07 +00:00
Ben Woods
159562ffc0 print/hplip: Bump PORTREVISION after r424931
Approved by:	adamw (mentor, implicit)
MFH:		2016Q4
2016-10-30 07:18:29 +00:00
Ben Woods
55d10894dd print/hplip: Enable install of static CUPS ppd drivers
This is as per the upstream recommendations here:
  http://hplipopensource.com/hplip-web/install/manual/distros/freebsd.html

Reported by:	Michael Wagner <mikepwagner@mikepwagner.net>
Approved by:	adamw (mentor, implicit)
MFH:		2016Q4
2016-10-30 07:13:15 +00:00
Ben Woods
2ea128e160 print/hplip and print/hplip-plugin: Take maintainership
Approved by:	adamw (mentor, implicit)
2016-10-22 06:08:34 +00:00
Raphael Kubo da Costa
366a97ec37 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.
2016-10-20 15:58:12 +00:00
Tijl Coosemans
fb92e8597c Fix build with CUPS 2.2.x. 2016-10-18 10:58:49 +00:00
Ben Woods
a8ac872b69 print/hplip and print/hplip-plugin: Update to 3.16.9
Changes this release:
  http://hplipopensource.com/hplip-web/release_notes.html

Approved by:	makc (maintainer timeout), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D8031
2016-10-15 00:40:28 +00:00
Ben Woods
8d850ed6c5 print/hplip and print/hplip-plugin: Update to 3.16.8
print/hplip:

- Add LICENSE details
- Changes USE_OPENSSL=yes to USES=ssl
- Create empty directories for pkg-plist @dir entries
- Reformat patches with makepatch (pet portlint)
- Move ${PREFIX}/etc/sane.d/dll.conf to ${PREFIX}/etc/sane.d/dll.d/hpaio
  during post-install, rather than editing ${PREFIX}/etc/sane.d/dll.conf
  during @exec and @unexec during pkg-plist

print/hplip-plugin:

- Re-order LICENSE block (pet portlint)

Changes this release:

http://hplipopensource.com/hplip-web/release_notes.html

Reviewed by:	mat (mentor)
Approved by:	makc (maintainer timeout), adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D7812
2016-09-24 10:26:42 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Tijl Coosemans
4ccfcd4411 Remove pkg-message. It's no longer needed and causing confusion.
PR:		207920
2016-03-21 11:35:29 +00:00
Tijl Coosemans
abe394d3ce Fix pkg-plist when FAX option is on. 2016-03-17 09:24:24 +00:00
Tijl Coosemans
420c6d6b94 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]
2016-03-14 11:40:58 +00:00
Grzegorz Blach
4cf4b55217 Fix plist when SNMP is off
PR:		207921
Reviewed by:	tijl
Approved by:	Portmgr blanket approval
2016-03-13 11:13:29 +00:00
Tijl Coosemans
59272d1017 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
have been moved from cups to cups-filters and they have been configured to
use PDF as an intermediate format instead of PostScript.

Merging of cups-base, cups-client and cups-image into print/cups:
- cups-image provides a library to work with the cups raster format.  It is
  only used to implement filters and printer drivers and these only exist
  in the context of a cups server so there's no need to separate this from
  cups-base.
- cups-client provides a library that allows applications to print via cups.
  It is possible to use the library to access a remote cups server without
  running a local cups server, but such a setup is discouraged and the
  configuration file to set this up has been marked deprecated.  It is
  better to run a local cups server and let that talk to the remote cups
  server because then you have the benefits of local job queuing in case the
  remote server is down or busy.  Given this and the fact that without
  filters cups-base is now smaller than it used to be it makes sense to
  merge the ports.  The patch also adds options IPPTOOL, DOCS and NLS which
  when disabled make the new cups package smaller than the current
  cups-client package.  Merging the ports also prevents problems with
  options like ZEROCONF being configured differently in both ports.
- print/cups was a metaport that depended on cups-base and some filters.
  There isn't really a need for such a metaport so cups-base can be renamed
  to cups.  The filters can be depended on by printer drivers such as hplip
  if they need them.

Additional changes to the new print/cups:
- Clean up the patches.  They seem to have been regenerated with post-patch
  changes included.
- Add a patch to prevent intermediate conversion to PDF when a PostScript
  file is sent to a PostScript printer when cups-filters is installed.
- Fix the PAM configuration file.
- Add a patch to let the server search /usr/local/share/ppd like on Linux so
  other ports don't have to add links to it.
- Remove ulpt(4) helper scripts.  The port uses libusb with ugen(4).
- Remove support for mDNSResponder.  cups-filters only supports Avahi.
- Combine ICONS and XDG_OPEN options into an X11 option to support WITHOUT_X11.
- Optionally depend on colord for ICC profile support.
- Various smaller changes.

Changes to print/cups-filters:
- Let the cups_browsed rc.d script depend on cupsd and avahi_daemon instead
  of LOGIN.
- Development of foomatic-filters has been moved to cups-filters so let this
  port install foomatic related files and add foomatic-filters to CONFLICTS.
- Fix location of liblouis tables.
- Add patch to fix ICC support.

Changes to print/cups-pstoraster:
This port is essentially an old version of Ghostscript plus a cups filter.
It's no longer developed.  This commit removes it and changes existing
dependencies to print/cups-filters which depends on print/ghostscript* and
includes a gstoraster filter that can handle both PostScript and PDF.

Changes to print/foomatic-db*:
Remove old MASTER_SITES and dependencies and eliminate PKGNAMEPREFIX.

Changes to print/foomatic-filters:
Install beh backend with its original name again and add cups-filters to
CONFLICTS.

Changes to print/hplip:
- Stop installing hpijs/foomatic-rip support.  This is no longer supported
  upstream.
- Stop installing hpcups PPDs.  These are now automatically generated.  The
  bundled PPDs are generated for an older version of cups.
- Rename the QT option to X11 to support WITHOUT_X11.
- Simplify the patches now that ports are installed in a staging area.
- Add a patch to set SO_REUSEPORT (next to SO_REUSEADDR) on the mDNS socket
  like avahi-daemon does.  This fixes Zeroconf support for HP network
  printers.

PR:		207746
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-11 11:53:42 +00:00
Max Brazhnikov
c7c32639cc Convert my ports to new options helpers 2015-08-25 10:03:08 +00:00