Commit graph

40 commits

Author SHA1 Message Date
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
Tijl Coosemans
fb92e8597c Fix build with CUPS 2.2.x. 2016-10-18 10:58:49 +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
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
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
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
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
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
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
Max Brazhnikov
ba98eecf70 Update to 3.13.2
PR:		ports/176341
Submitted by:	delphij
2013-02-22 13:36:10 +00:00
Max Brazhnikov
8311b2e412 - Fix shebang lines [1]
- Rename and update patch
- Switch to USE_PKGCONFIG

Reported by:	AN <andy at neu.net> via mail [1]
2013-01-23 13:41:23 +00:00
Max Brazhnikov
0d577cde61 - Update to 3.12.11
- Remove stale patches
- Trim Makefile header
2012-12-11 12:32:31 +00:00
Max Brazhnikov
ce24535467 Update to 3.11.12 2012-01-16 12:30:50 +00:00
Max Brazhnikov
a5ad4bc26f Update to 3.11.10
Remove no longer needed patch
2011-10-13 18:22:53 +00:00
Max Brazhnikov
ca026e485b Fix build after cups update
PR:		ports/161491
Submitted by:	Kaspars Bankovskis <kaspars at bankovskis.lv>
2011-10-11 16:49:41 +00:00
Max Brazhnikov
1fe267ff2d Update to 3.11.5
Use xdg-open as default browser (instead of firefox)
2011-07-05 08:41:59 +00:00
Max Brazhnikov
6588e3da81 Update to 3.11.1
Feature safe:	yes
2011-01-31 17:52:22 +00:00
Max Brazhnikov
a9a9c1d689 Add patch from upstream to allow scanning on DeskJet 1050/2050
Submitted by:	Tamas TEVESZ via mail
Feature safe:	yes
2011-01-12 20:43:46 +00:00
Max Brazhnikov
d07c1c0f23 Fix build on 7.x
Remove md5 sum
2010-10-30 13:13:50 +00:00
Max Brazhnikov
7f14679e6b - Update to 3.10.6
- Remove rc.d script (remains from hplip2, not used nowadays)
  and simplify pkg-message
- Make fax and scanning support optional and off by default [1]
- Respect PREFIX/LOCALBASE, other minor cleanups

PR:		ports/147346 [1] (based on)
Submitted by:	Christopher Petrik <chris at officialunix.com>
2010-09-05 20:40:28 +00:00
Pav Lucistnik
84946ab584 - Move print/hplip3 to print/hplip
Approved by:	Anish Mistry <amistry@am-productions.biz> (old maintainer)
2010-05-17 11:51:26 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Pav Lucistnik
208b451f01 - Fix probing HP PS 8250 printer
PR:		ports/127810
Submitted by:	Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Approved by:	maintainer timeout (5 months)
2009-03-25 16:42:56 +00:00
Martin Wilke
01bc57d259 ups add missing patches 2008-11-29 15:37:38 +00:00
Rong-En Fan
3ffe47e80b - Update to 2.8.2
PR:		ports/121508
Submitted by:	Anish Mistry <amistry at am-productions.biz> (maintainer)
2008-03-16 05:29:59 +00:00
Tom McLaughlin
efb877e8e4 - Fix build where under some circumstances the GNU autools woule be
called to regenerate files and break build.  Found most commonly when
  WRKSRC is on an NFS share.

PR:		108537
Approved by:	maintainer
2008-02-06 15:23:21 +00:00
Boris Samorodov
e3eca7308b Update print/hplip to 2.7.12.
PR:		119552
Submitted by:	"Anish Mistry" <amistry at am-productions.biz> (maintainer)
2008-01-12 19:10:11 +00:00
Pav Lucistnik
ee4ef808b3 - Update to 2.7.9 (breaks out foomatic integration, all access is done via
libusb now)

PR:		ports/117250
Submitted by:	Anish Mistry <amistry@am-productions.biz> (maintainer)
2007-10-26 20:16:02 +00:00
Martin Wilke
936c86d3c4 - Fix build on amd64
Submitted by:	miwi (via private mail)
Approved by:	maintainer
2007-07-23 19:52:44 +00:00
Martin Wilke
2732b6b4f6 - Update to 1.7.4a [1]
- Fix build problems on 6.2 [2]

PR:		112988
Submitted by:	Chris Calvey<chris@infosec.yi.org> [2]
Approved by:	Anish Mistry <amistry@am-productions.biz> (maintainer [1])
2007-07-23 12:49:49 +00:00
Li-Wen Hsu
5a2b84b4cf - Update to 1.7.3
- Drop 4.x support

PR:		111834
Submitted by:	"Anish Mistry" <amistry AT am-productions.biz> (maintainer)
Approved by:	clsung (mentor)
2007-04-20 04:30:56 +00:00
Martin Wilke
2f51fb6960 - Update to 1.7.1
PR:		108444
Submitted by:	Anish Mistry <amistry@am-productions.biz> (maintainer)
2007-01-27 23:45:55 +00:00
Nicola Vitale
9a885c614b - Added files/ patch-api_model.c, patch-prnt_hpijs_configure
- Fixed OPTIONS usage (ports/108103) and PREFIX problem
- Removed files/ patch-backend_hp_hp.c, patch-scan_sane_hpaio.c,
  patch-scan_sane.c
- Updated to 1.6.12

PR:		ports/108278
Submitted by:	Anish Minstry <aminstry at am-productions.biz> (maintainer)
Approved by:	alexbl (mentor, implicit)
2007-01-25 14:26:46 +00:00
Boris Samorodov
546e863132 - update from 0.9.11 to 1.6.7;
- enhanced pkg-message.

PR:		100413
Submitted by:	Anish Mistry <amistry at am-productions.biz> (maintainer)
2006-09-27 23:00:09 +00:00
Doug Barton
9ab82d60d8 Fix port to work on RELENG_4.
Submitted by:	Anish Mistry <amistry@am-productions.biz> (maintainer)
2006-05-26 23:50:11 +00:00
Doug Barton
316cc59814 Virtualize /etc/rc.subr. This was forgotten by me in the last update. 2006-05-26 20:41:58 +00:00
Doug Barton
b1adad3a20 From the PR:
1. Update to version 0.9.11, the latest from HP.
2. Add WITH_GUI option so that the port can be built without the
py-qt dependency.
3. Fix incorrect broken for 4.x check.

On my own:
4. Tune up the rc.d startup scripts to look more like the example
in the Porter's Handbook, including removal of the spurious
FreeBSD KEYWORD.

PR:		ports/97661
Submitted by:	"Anish Mistry" <amistry@am-productions.biz> (maintainer)
2006-05-25 07:47:22 +00:00
Pav Lucistnik
90cd7e494b HPLIP is an HP developed solution for printing, scanning,
and faxing with HP inkjet and laser based printers in Linux.

The HP driver project provides printing support for nearly
1000 printer models, including Deskjet, Officejet, Photosmart,
PSC (Print Scan Copy), Business Inkjet, LaserJet, and LaserJet MFP.

WWW: http://hplip.sourceforge.net/

PR:		ports/96271
Submitted by:	Anish Mistry <amistry@am-productions.biz>
2006-05-05 08:35:30 +00:00