pkgsrc/print/gutenprint-lib/patches/patch-aa
gdt 8396bf2d0c Update to 5.2.10.
Gutenprint 5.2.10 no longer supports Macintosh OS X 10.4 or earlier.

[See NEWS for the list of printers; ~1000 lines were omitted from this
commit message.]

  1) Added a unified CUPS backend to support selected dye sublimation
     printers.

  2) New printers supported in this release:

     [many]

  3) The following Canon printer models were not added, as they cannot
     currently be supported, even experimentally, owing to an as-yet
     unknown command format or other issues:

     [several]

  4) Corrected page dimensions for borderless printing with Canon
     inkjet printers.

  5) Added duplex support for the EPSON WorkForce 630, 635, and 645,
     and NX635

  6) Expanded printable area at the bottom of the page for the Epson
     Stylus Pro 3800 and 3880.

  7) Added IEEE1284 device IDs for the following printers.

     [many]

  8) Added Catalan, Turkish, and Vietnamese translations.
2015-09-10 00:10:24 +00:00

16 lines
790 B
Text

$NetBSD: patch-aa,v 1.3 2015/09/10 00:10:24 gdt Exp $
Force, somewhat hackishly, the use of cups lpstat. Probably upstream
should find these paths at configure time.
--- src/gutenprintui2/plist.c.orig 2014-01-04 00:38:09.000000000 +0000
+++ src/gutenprintui2/plist.c
@@ -96,7 +96,7 @@ static const print_system_t default_prin
static print_system_t known_printing_systems[] =
{
{ "CUPS", N_("CUPS"), "lp -s", "-d", "-oraw", "/usr/sbin/cupsd",
- "/usr/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'",
+ "/usr/pkg/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'",
"-n" },
{ "SysV", N_("System V lp"), "lp -s", "-d", "-oraw", "/usr/bin/lp",
"/usr/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'",