Commit graph

117 commits

Author SHA1 Message Date
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
Hiroki Sato
27470e1676 - 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
   enabled when the library is available.

   This depends on *-base (RUN_DEPENDS).  USES=ghostscript:x11
   will set dependency on one of them.

- Fix integer overflow reported as CVE-2015-3228.

- Update Uses/ghostscript.mk:

 * Add x11 keyword.  nox11 keyword is now obsolete.

 * Use packagename in *_DEPENDS line to prevent relationship between
   -base and -x11 packages from being broken.

- Fix x11/nox11 keyword and bump PORTREVISION in ports using
  USES=ghostscript to update dependency of pre-compiled packages.
2015-08-22 17:48:35 +00:00
Koop Mast
68f883edfc 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
2015-07-16 20:53:28 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Max Brazhnikov
e3804536c7 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
2015-02-10 12:17:36 +00:00
Antoine Brodin
115aba45f3 Cleanup plist 2014-11-13 07:41:17 +00:00
William Grzybowski
665bdeccca print/hplip: switch from py-imaging to py-pillow
- USES python

With hat:	python
Approved by:	portmgr (bdrewery, implicit)
2014-10-12 15:35:19 +00:00
Gerald Pfeifer
15945f8122 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)
2014-09-10 20:50:31 +00:00
Tijl Coosemans
ab02e2b2c5 - Convert to USES=libtool and INSTALL_TARGET=install-strip
- Remove references to PTHREAD_LIBS
2014-07-08 18:56:33 +00:00
Boris Samorodov
43bfd9dd57 Use foomatic-rip (from print/foomatic-filters) as foomatic-rip-hplip.
Discussed at:	freebsd-ports@
Tested by:	O. Hartmann <ohartman@zedat.fu-berlin.de>
Approved by:	makc (maintainer)
MFH:		2014Q2
2014-04-28 19:45:23 +00:00
Max Brazhnikov
b584a9b615 print/hplip:
- Update to 3.14.4
- Install statically generated cups ppd files
- Add patch to fix ioctl warning

print/hplip-plugin:
- Update to 3.14.4
- Add stage support via fake hplip installation
2014-04-18 09:35:12 +00:00
Max Brazhnikov
be88475b80 Update to 3.14.1 2014-01-23 08:39:00 +00:00
Max Brazhnikov
19c2e6288c - Don't restrict USE_PYTHON to 2.x only
- Convert to USES=dos2unix
- More source files need path fixes [1]
- Use options helpers
- Clean up after removing support for FreeBSD < 8.0

Reported by:	Nick Withers <nick.withers at anu.edu.au> via email [1]
2014-01-07 10:39:41 +00:00
Max Brazhnikov
21646392b0 - Support staging
- Use new LIB_DEPENDS syntax
- Use options helpers
- Convert to USES
- Minor changes/fixes
2013-10-23 13:08:41 +00:00
Dmitry Marakasov
27d195667d - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with [np])
Approved by:	portmgr (bdrewery)
2013-10-22 13:59:53 +00:00
Baptiste Daroussin
6c6152ff82 Add NO_STAGE all over the place in preparation for the staging support (cat: print) 2013-09-20 22:43:59 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Max Brazhnikov
6b184e8052 Update to 3.13.6 2013-07-13 17:50:03 +00:00
Max Brazhnikov
35243744de Add support for HPLIP binary plugins.
The plugin is a Linux shared object, but it depends on few enough
interfaces that it can actually run unmodified on a FreeBSD system.

PR:		ports/176618
Submitted by:	thomas
2013-07-12 16:36:50 +00:00
Rene Ladan
4e4178dab5 In preparation of removing devel/libusb (expires 2013-04-30), remove it
from these ports.

Other changes:
- convert Makefile header
- convert to optionsNG
- remove indefinite article from comment
- drop support for FreeBSD < 8.0
- pet portlint (leave library ABI versions in LIB_DEPENDS)
- net-mgmt/spectools: change option name from GTK to GTK2 to use default
  description from bsd.options.desc.mk

Approved by:	portmgr (bapt)
2013-04-29 16:43:05 +00:00