Commit graph

165 commits

Author SHA1 Message Date
wiz
ad2034f8a0 *: bump PKGREVISION for poppler shlib bump 2021-06-10 11:06:19 +00:00
wiz
c7403f4cc9 *: recursive bump for poppler shlib major bump 2021-05-20 11:55:55 +00:00
nia
ab8a1fb4af *: Use the tools framework for gdbus-codegen 2021-05-02 11:06:12 +00:00
adam
da0a125726 revbump for boost-libs 2021-04-21 13:24:06 +00:00
prlw1
c41cfae11b Update cups-filters to 1.28.8
NEWS - OpenPrinting CUPS Filters v1.28.8 - 2021-03-25
-----------------------------------------------------

CHANGES IN V1.28.8

- libcupsfilters: Made check whether the driverless PPD to
  generate should be a fax out PPD more reliable (Issue #343).
- foomatic-rip: Options in the 5th command line argument of
  the CUPS filter command line are separated only by white
  space and not by comma, also make sure that an option "none"
  is not considered a custom page size (Issue #348).
- implicitclass: Raise timeout for cups-browsed's answer from
  20s to 60s (Pull request #346).
- libcupsfilters: In the PPD generator really give priority to
  Apple Raster against PDF (Issue #331).
2021-04-16 07:52:38 +00:00
ryoon
633bec58e9 *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
wiz
14c07cf0ce *: bump PKGREVISION for nss linking fix 2021-04-09 06:54:56 +00:00
adam
8dd0a7c96f Revbump for poppler 2021-04-08 06:19:44 +00:00
prlw1
0f3896c52d Update cups-filters to 1.28.7
NEWS - OpenPrinting CUPS Filters v1.28.7 - 2021-01-07
-----------------------------------------------------

CHANGES IN V1.28.7

- driverless: Removed the support quality check from Pull
  request #235 as it takes significant time for each printer
  being listed, making cups-driverd (`lpinfo -m`) timing out
  when there are many printers (OpenPrinting CUPS issue #65).
- libcupsfilters: In the PPD generator give priority to Apple
  Raster against PDF (Issue #331).
- libcupsfilters: Added NULL check when removing ".Borderless"
  suffixes from page size names (Issue #314, Pull request
  #328).
- libcupsfilters: In the cupsRasterParseIPPOptions() map the
  color spaces the same way as in the PPD generator (Issue
  #326, Pull request #327).
- libcupsfilters: Fixed addition of grayscale mode in
  generated PPD files, to avoid duplicate entries
  (OpenPrinting CUPS issue #59).
2021-01-12 13:45:08 +00:00
prlw1
a33ffe87d5 Update cups-filters to 1.28.6
NEWS - OpenPrinting CUPS Filters v1.28.6 - 2020-12-02
-----------------------------------------------------

CHANGES IN V1.28.6

- libcupsfilters: In generated PPDs add a grayscale mode if
  there are only color printing modes (from OpenPrinting
  CUPS).
- libcupsfilters: In generated PPDs add an "OutputBin" option
  also if it has only one choice (OpenPrinting CUPS pull
  request #18).
- libcupsfilters: Generated PPDs could have an "Unknown"
  default InputSlot (OpenPrinting CUPS issue #44).
- cups-browsed: Removed unneeded IPP attribute additions
  preventing the created local queues from preserving a
  location or description the user assigns to them (Issue
  #323).
- cups-browsed: Removed all calls of the resolve_uri() function
  of libcupsfilters, as these are not actually needed and in case
  the supplied DNS-SD-based URI is not resolvable, the function
  gets stuck for ~5 seconds.
- cups-browsed: Fixed several memory leaks, mainly from the
  code to merge printer IPP attributes for clusters (Pull
  request #322).
- cups-browsed: Silenced compiler warning.
- foomatic-rip: Fix infinite loop and input from file on raw
  printing (Pull request #318).
- foomatic-rip: Remove temporary file created during pdf-to-ps
  conversion (Pull request #313).
2021-01-04 14:38:59 +00:00
riastradh
77697b790a Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
wiz
196d0d846a *: recursive bump for poppler 20.11.0 2020-11-21 09:34:53 +00:00
prlw1
147e5f68df Update cups-filters to 1.28.5
CHANGES IN V1.28.5

       - cups-browsed: UUID from IPP response was used after its
         pointer was freed by ippDelete() (Pull request #311).

CHANGES IN V1.28.4

       - driverless: Avoid duplicate PPD list entries from the same
          device via UUID
       - driverless: Reduce ippfind calls by "driverless" and
         "driverless-fax"called by CUPS. Let "driverless list" list
         both print and fax PPDs and "driverless-fax list" do
         nothing.
       - driverless: Avoid duplicate listings in printer discovery,
         by "driverless-fax" not listing any URI as "driverless"
         lists them all already.
       - driverless: Vastly improve performance by doing only one
         ippfind call instead of two (IPP, IPPS) as ippfind accepts
         more than one reg type on the command line.
       - Sample PPDs: Corrected manufacturer name in
         Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd.

CHANGES IN V1.28.3

       - libcupsfilters, cups-browsed: Fixed inconsistency between
         resolvers for DNS-SD-based URIs, resolve_uri() and
         ippfind_based_uri_converter(). Now both return a freeable
         string.
       - libcupsfilters: Fix uninitialized buffer and parsing ippfind
         output in ippfind_based_uri_converter() function (Issue
         #308, Pull request #309).
2020-10-16 15:17:08 +00:00
prlw1
afd759ab62 Update cups-filters to 1.28.2
Added driverless-fax. Many dirverless improvements, and many
bug fixes, such as fix crash when a remote printer set as default
gets removed.

For full release notes see:
https://github.com/OpenPrinting/cups-filters/blob/1.28.2/NEWS
2020-09-15 10:59:49 +00:00
leot
0e49372c4e *: revbump after fontconfig bl3 changes (libuuid removal) 2020-08-17 20:17:15 +00:00
leot
dab5ba9290 cups-filters: Update to 1.27.5
Changes:
1.27.5
------
 - cups-browsed: Do not remove the created local queues on
   shutdown, to avoid their re-creation on restart, so that
   desktops get no cluttered with notifications of new queues
   being created. One can return to the old behavior via
   "KeepGeneratedQueuesOnShutdown No" in cups-browsed.conf
   (Ubuntu bug #1869981, #1878241).
 - cups-browsed: Do not accept DNS-SD broadcasts of IPPS type
   of "remote" CUPS queues of another CUPS instance on the
   local machine. This way we get a local queue pointing to
   such a printer only in unencrypted version (IPP). For some
   reason printing from one CUPS server to another on the same
   machine works only unencrypted.
 - foomatic-rip: Map two-sided-short-edge to DuplexTumble (Pull
   request #236)
 - Build system: In configure.ac use AS_IF instead of
   AC_CHECK_FILE for font check (Issue #239, Pull request #240)
 - cups-browsed: Cleaned up code for determining to which CUPS
   server (host/port/domain socket) to connect, so that
   connection via DomainSocket cups-browsed.conf directive,
   CUPS_SERVER and IPP_PORT environment variables and all
   defaults and methods of libcups, including CUPS' client.conf
   work.
 - gstoraster, rastertopdf: Do not pass NULL to fprintf() (Pull
   request #230).
 - libcupsfilters: Silence compiler warning (Pull request #229).
2020-06-12 14:59:59 +00:00
rillig
8b7ffe6d57 print/cups-filters: remove unknown configure option 2020-05-31 14:40:29 +00:00
adam
d62c903eea revbump after updating security/nettle 2020-05-22 10:55:42 +00:00
leot
66318db7ee cups-filters: Add dejavu-ttf as dependency
dejavu-ttf is always checked for existence since 1.27.3.

Problem noticed and discussed with <prlw1>, thanks!
2020-05-05 10:13:14 +00:00
leot
acf973ae7f cups-filters: Update to 1.27.4
pkgsrc changes:
 - Remove patches/patch-configure: applied uptsream
 - Convert the CHECK_PORTABILITY_SKIP to a REPLACE_BASH: it is more consistent
   with other REPLACE_BASHes (there are several files that are not installed
   then) and complaining about `==' test(1) operator in a bash script is
   not correct.

Changes:
1.27.4
------
- libcupsfilters, cups-browsed: Fix memory issues in
  ppdgenerator and cups-browsed (Pull request #226).
- pdftops: Mention cups-filters README, CUPS README in debug
  log (Pull request #225).
- pdftopdf, gstoraster, foomatic-rip: Use "-dSAFER"
  Ghostscript option, instead of the deprecated
  "-dPARANOIDSAFER" (Pull request #224).
- Build System: Replace '==' in configure.ac test with '=', as
  the former is a bashism (Pull request #222).

1.27.3
------
- cups-browsed: Allow sharing local queues pointing to remote
  CUPS queues and re-sharing printers discovered via
  BrowsePoll by default, using
  AllowResharingRemoteCUPSPrinters and
  NewBrowsePollQueuesShared directives in cups-browsed.conf
  (Issue #101, Pull request #218).
- driverless: Correctly unlink temporary file when generating
  PPD file (Pull request #220).
- cups-browsed: Fixed memory leaks (Pull request #219).
- foomatic-rip: PDF page count side-loads the PDF file to
  count the pages in, so it cannot be run in -dSAFER mode. Run
  even in -dNOSAFER mode to override the -dSAFER default of
  newer Ghostscript versions. This should not cause a security
  problem as we do not take an input file which could do
  arbitrary side-loads but we run hard-coded PostScript
  commands instead (Issue #216).
- libfontembed: Add checks to the test programs to not
  segfault if the test font file is not found (Pull request
  #214).
- Build System: Let ./configure fail if the supplied test font
  file path (or the default) does not exist (Pull request
  #214), also use the "find" command to find the test font
  file DejaVuSans.ttf under /usr/share/fonts, as every
  distribution has it somewhere else.

1.27.2
------
- foomatic-rip: In some PostScript input files it was possible
  that option settings did not get inserted or lines inserted
  on the wron place (Issue #208, Pull request #210).
- foomatic-rip: For the PDF page count call Ghostscript in
  sandbox mode and fix pointer arithmetics (Pull request
  #212).
- foomatic-rip: Zero-page-job handling changes made the last
  page of PostScript files not printed, also turning one-page
  jobs into zero-page jobs (Issue #200, Issue #206, Issue
  #208, Pull request #209, Pull request #210, Pull request
  #211).
- cups-browsed: check_printer_with_option() function:
  Initialize the value, add further checks, freeing memory and
  stop allocating magic numbers (Pull request #204).
- cups-browsed: Additional checks against crashes in the
  is_local_hostname() function (Ubuntu bug #1863716)

1.27.1
------
- libcupsfilters: Let the PPD generator not put any dashes
  into the PPD option and choice names when translating them
  from IPP attribute names, to avoid that on the
  back-translation by CUPS no double-dashes are
  generated. This broke paper tray selections with tray names
  like "tray-1", "tray-2", ... (Issue #192, Issue #201, Debian
  bug #949315).
- foomatic-rip: Fixed segfault when PRINTER environment
  variable is not supplied.
- pdftopdf, pdftops, gstoraster, gstopdf, gstopxl,
  rastertoescpx, rastertopclx, foomatic-rip: Handle zero-page
  jobs (Issue #117, Pull request #196, Pull request #197, Pull
  request #198, Pull request #200).
- texttopdf: Added support for CJK (double-width) fonts (Issue
  #135, Pull request #199).
- cups-browsed: Switched default for "CreateIPPPrinterQueues"
  from "local-only" to "All". The configure script options
  "--enable-auto-setup-local-only" and
  "--enable-auto-setup-driverless-only" can be used to change
  this default (Debian bug #921252).
- rastertoescpx: Fixed wrong freeing of a buffer.
- pdftops: Added options "crop-to-fit" and "fill" to the
  pdftopdf options which the pstops called by pdftops should
  not apply a second time.
- pdftops: Added missing "-sstdout=%stderr" to Ghostscript
  command line, to assure that all messages are redirected to
  stderr and do not mix up with the output data.

1.27.0
------
- cups-browsed: Eliminate the use of the local CUPS daemon's
  (the CUPS we are attached to) port number completely, so
  that for attaching to an arbitrary local CUPS daemon
  listening on an arbitrary port (or even not listening on
  localhost at all) it is enough to tell cups-browsed the
  domain socket the CUPS daemon is listening on.
- cups-browsed, libcupsfilters: Identify DNS-SD-reported
  printers as of the local CUPS daemon via UUID and not via
  the port on which the local CUPS is listening, as we do not
  always have this port available.
- cups-browsed: Leave the port for legacy CUPS browsing and
  broadcasting on 631, do not use a possible alternative port
  of the CUPS we are attached to. The legacy CUPS servers we
  communicate with are always remote ones.
- libcupsfilters: in the PPD generator prioritize
  print-color-mode-supported against
  pwg-raster-document-type-supported (Issue #186, Pull request
  #188)
- rastertopdf, rastertops, texttopdf, pdftoraster,
  mupdftoraster: Handle zero-page jobs, corrections on
  zero-page job handling (Issue #117)
- cups-browsed: When restarting after a crash make sure that
  local queue names have same upper/lower case as before.
- cups-browsed: Small code improvements to reduce crash
  probability.

1.26.2
------
- cups-browsed: Added crash guards to avoid crashes in case
  the dummy printer entry for a deleted master entry is used.
- cups-browsed: Set the port of the local CUPS daemon to be
  used according to the IPP_PORT environment variable.
- cups-browsed: Eliminated the use of the cupsGetPPD2()
  function of libcups completely, also the remaining calls
  in the record_printer_options() and update_cups_queues()
  functions, the former causing incomplete recording of
  option settings and the latter use of CUPS-generated
  PPDs not working when CUPS is running on a non-standard
  port.
- cups-browsed: Eliminated the use of the cupsGetPPD2()
  function of libcups in queue_overwritten(). The function
  actually loads the queue's PPD file if the queue is on a
  local CUPS on port 631. Due to a bug the function fails if
  an alternative port is used. This lets queue_overwritten()
  always assume that the PPD got removed and therefore the
  queue got overwritten. So queues got released from
  cups-browsed if it was printed on them or if they were
  supposed to be removed on shutdown.
- foomatic-rip: Fixed compilation with -fno-common. Starting
  from the upcoming GCC 10, the default of the -fcommon option
  will change to -fno-common. This causes compilation errors
  in foomatic-rip due to missing "external" declarations.
  (Pull request #184).
2020-05-02 12:04:44 +00:00
ryoon
9d53beb1a1 cups-file 2020-04-07 13:55:16 +00:00
wiz
3df634c36b *: recursive bump for poppler-0.87 2020-04-03 10:30:30 +00:00
gdt
c7c9dbcb8b print/cups-filters: Avoid portablity check fail
This package has a script which is written for bash and has a bashism.
While that's a bug, the package has REPLACE_BASH for it and further
doesn't include the file in the PLIST.  So there's no benefit to
pkgsrc fixing this, other than the quest to rid the world of bashisms.
Simply skip checks on this file.
2020-03-12 23:51:53 +00:00
wiz
4e3b1b97c2 librsvg: update bl3.mk to remove libcroco in rust case
recursive bump for the dependency change
2020-03-10 22:08:37 +00:00
wiz
f669fda471 *: recursive bump for libffi 2020-03-08 16:47:24 +00:00
wiz
b7bd2afedd *: bump PKGREVISION for poppler 0.86.1 2020-03-04 22:07:23 +00:00
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
leot
dab07efa12 cups-filters: Update to 1.26.1
Changes:
1.26.1
------
 - build system: Install the "implicitclass" backend with
   "-rwx------" permissions, so that CUPS executes it as root,
   as the "ipp" CUPS backend also has to be executed as root
   (Issue #183).
 - build system: Fixed setting permissions when installing the
   "cups-brf" backend.
 - libcupsfilters: When using the
   "media-{bottom,left,right,top}-margin-supported" IPP
   attributes (needed if we have no "media-col-database"), use
   the minimum and not the maximum margins, this allows
   accessing more of the printer's capabilities, especially for
   legacy printers which do not provide sufficient information
   (Issue #22).

1.26.0
------
 - cups-browsed: When generating local queues for printers for
   which the local CUPS daemon would provide temporary queues
   use the PPDs generated by libcupsfilters and not the ones
   generated by CUPS. The PPD generation of libcupsfilters also
   works with IPP-1.x-only printers, printers which do not
   support to query "media-col-database" and printers which
   support driverless printing only via PCLm. This can be
   changed via the "UseCUPSGeneratedPPDs" directive in
   cups-browsed.conf (Issue #22).
 - libcupsfilters: Re-structured the get_printer_attributes()
   function to remove the recursive calls for the fallbacks, to
   check required attributes in the response only if requested,
   and to fully integrate the method of getting a suitable
   response for a full printer capability list also if the
   printer is only IPP 1.1 or does not support the
   "media-col-database" attribute (Issue #22, Issue #163).
 - libcupsfilters, cups-browsed, driverless: Moved the funtions
   get_printer_attributes() and resolve_uri() from cups-browsed
   into libcupsfilters, to share them with the driverless
   utility (Issue #22).
 - implicitclass: Fixed wrong stdout redirection from the
   filters to the IPP backend and hard-coded path for "ipp"
   backend call (Possible fix for Issue #163, Issue #181).
 - cups-browsed, driverless: Use DNS-SD-service-name-based URIs
   instead of host-name-based ones, as CUPS also does. In
   cups-browsed one can switch back to the conventional
   host-name-based URIs via the new "DNSSDBasedDeviceURIs"
   configuration option.  Note that cups-browsed always uses
   conventional URIs for printers discovered via legacy CUPS
   browsing or LDAP.
 - cups-browsed: When removing a CUPS queue, do not consider an
   error (and retry) if the queue does not actually exist. Also
   ignore errors when checking whether there are still
   jobs. This way when a new queue gets created and the
   generation of the PPD file fails the attempt to remove this
   non-existing queueu when removing the printer entry does not
   cause any problem.
 - cups-browsed: Improved the fallback mechanism of the
   get_printer_attributes() function. Instead of considering
   the request failed by the content of the response only when
   not more than the two language atrributes come out, we check
   through a list of required attributes whether they are all
   there.  In addition, we actually fail when all callbacks
   have failed (Issue #22).
 - cups-browsed: Introduced new configuration options
   "UpdateCUPSQueuesMaxPerCall" and
   "PauseBetweenCUPSQueueUpdates" to limit the amount of local
   CUPS queues created, modified, or removed in a single event
   callback. Before, when there were thousands of printers in
   the network, cups-browsed got blocked for other tasks, like
   assigning a destination printer for a cluster print job
   (Issue #163).

1.25.13
-------
 - implicitclass: When passing on the job via the "ipp" CUPS
   backend, set argv[0] to the destination printer URI (Pull
   request #173).
 - cups-browsed: Added another fallback to the
   get-printer-attributes IPP request: Now after failing the
   standard request ("all", "media-col-database") with both IPP
   2.0 and IPP 1.1, try simply "all", without
   "media-col-database" (Pull request #173).
 - cups-browsed: Do not set printer-is-shared for remote CUPS
   queue when making a temporary queue permanent (Pull request
   #180).
 - cups-browsed: Fix leaks of ipp_t struct and load balancing
   on the servers (Pull request #179).
 - cups-browsed, implicitclass: Prioritize Apple Raster against
   PWG Raster when selecting the PDL for the destination
   printer for a job sent to a cluster, also cleaned up the PDL
   selector code and added PostScript support.
 - libcupsfilters: Updated the PPD generator adding all changes
   of the PPD generator of CUPS: Support for "job-account-id",
   "job-accounting-user-id", "job-password", finishing options
   "trim-..." added, finishing options and
   "finishing-col-database" support synced with CUPS.
 - libcupsfilters: In the PPD generator get the mode for
   handling the back sides of the sheets when printing duplex
   preferrably from the "urf-supported" attribute.
 - libcupsfilters: Fixed bug that the PPD generator did not
   output the "*CloseUI: *ColorModel" line when it did not
   determine a default setting for "ColorModel".
 - cups-browsed: Added some missing memory allocations leading
   to a segfault (Issue #175).

1.25.12
-------
 - libcupsfilters: Use the text names "Draft", "Normal", and
   "High" instead of 3, 4, and 5 as choice names for the
   "cupsPrintQuality" option as CUPS does (Issue #171).
 - libcupsfilters: If a printer supports both Apple Raster and
   PWG Raster let the generated PPD use Apple Raster as there
   are several printers which report PWG Raster support but do
   not actually print PWG Raster (Pull reguest #168, Issue
   #171, CUPS issue #5238).
 - cups-browsed: Fix unset location check to use DNS-SD field
   (Pull request #172).
 - libcupsfilters, beh, implicitclass, foomatic-rip,
   imagetopdf, mupdftoraster, pdftops, sys5ippprinter,
   cups-browsed, driverless: Silenced all compiler warnings to
   make the build process of cups-filters completely free of
   warnings.
 - pdftops: Fixed crash when using filter without PPD file.
 - pdftops: If printing grayscale jobs with Ghostscript as PDF
   renderer, add "-sProcessColorModel=DeviceGray" to
   Ghostscript command line.
 - pdftops: Do not use the ugly "pdftops -level1 ..."
   workaround to get grayscale PostScript output from
   Poppler. It leads to huge output files with Poppler's
   "pdftops" utility and does not work at all with
   "pdftocairo".  Poppler itself does not support PostScript
   output converted to grayscale. Issue a warning with the hint
   to use Ghostscript or MuPDF as PDF renderer (Issue #169).
 - libcupsfilters: In the cupsRasterParseIPPOptions()
   accept also "Mono", "Monochrome", and "Gray" as color
   space names.
2020-01-03 13:26:08 +00:00
wiz
d01cc93548 *: recursive bump for poppler update to 0.82.0 2019-11-07 12:38:03 +00:00
leot
9fbb36c061 cups-filters: Update to 1.25.11
pkgsrc changes:
 - Remove patch-filter_pdf.cxx (was a backport from upstream) and patch-Makefile.in
   (now `-r' option of `ln' is checked in configure phase)

Changes:
1.25.11
-------
 - cups-browsed: Really accept entries without printer name
   reported on a job status request (Issue #163).
 - cups-browsed: Strip IPP atrribute values reported by the
   printer on a get-printer-attributes request from white
   space (Pull request #166).

1.25.10
-------
 - libcupsfilters: Added NULL checks when handling page size
   names as some of the page sizes in CUPS' PWG media list have
   a NULL PPD name (Ubuntu bug #1847488).

1.25.9
------
 - cups-browsed: Fix leaks in get_printer_attributes() function.
 - cups-browsed: Avoid infinite recursion on IPP 1.1 fallback.

1.25.8
------
 - cups-browsed: On a job status request accept also entries
   without the printer name being reported (Issue #163).
 - cups-browsed: Fall back to IPP 1.1 if a
   get-printer-attributes IPP request with IPP 2.x fails (Issue
   #124, Issue #163).
 - gstoraster: Use ".setfilladjust2" instead of the
   undocumented ".setfilladjust" PostScript command for
   Center-of-Pixel method to fill paths (Issue #164).

1.25.7
------
 - implicitclass, libcupsfilters: Fixes to solve an assertion
   error and printing to an Apple Raster printer (Issue #162,
   Ubuntu bug #1845286, Ubuntu bug #1845548).
 - cups-browsed: Do not try to resolve the network interface
   name on Avahi messages which are not interface-related (like
   "All for now"or "Cache exhausted", Issue #163).
 - Build system: The helper script ln-srf to build on systems
   with old ln was not included in the release tarballs (Issue
   #161).
 - pdftoraster: Fixed some bugs in output bitmap generation (
   writePageImage() function): Segfault on output of
   up-side-down pages (back side when printing duplex on some
   printers), margin offsets not taken into account on
   monochrome jobs, CUPS_CSPACE_W color space not recognized as
   monochrome (Ubuntu bug #1845286).

1.25.6
------
 - implicitclass: Make sure the destination printer gets always
   set and do not pass on the cups-browsed-dest-printer when
   sending the job to the final destination (Issue #152, Pull
   request #159).
 - Build system: Support old ln versions without the -r option
   (Pull request #154, #157).
 - texttotext: Link with libiconv if needed (Pull request
   #155, #158).
 - foomatic-rip: Fix argument representation for raw queue
   debug mesaage (Pull request #153).

1.25.5
------
 - bannertopdf: Added missing "#include <cstring>" to pdf.cxx
   so that bannertopdf correctly builds with QPDF 9.0.0 (Issue
   #134, Issue #151, Gentoo bug #693498).
 - rastertopdf: Let the getIPPColorProfileName() function not
   return a pointer to a local variable (clang warning, Issue
   #150).
 - cups-browsed: If a locally generated queue (usually with
          "implicitclass://..." URI) left over from a previous
          (crashed) session is picked up on startup, do not set the
          URI as the remote printer's URI and do not cause a fatal
          error on a failed get-printer-attributes IPP request (Issue
          #148, Debian bug #939316).
 - pdftopdf: Do not preserve encryption, since the output
          already goes into the printer (Issue #146, Pull request
          #147).

1.25.4
------
 - imagetoraster: Do not call imagetops and pstoraster for
   classifications and page labels as these filters are not
   included any more with cups-filters.  Classifications and
   page labels are currently not supported for direct image
   printing, only for PDF or PostScript input (which goes
   through pdftopdf).
 - imagetoraster, imagetopdf: Fixed auto-rotation of images to
   fit output page best (Issue #145).
 - pdftoraster: If the PPD contains several equally-sized page
   size entries which match the size of the input page and one
   is the size selected by the user via the "PageSize" or
   "media" option (or the default selection in the PPD) then
   prefer this one instead of simply the first matching one.
 - pdftoraster: If the input page size cannot be matched with
   one of the PPD's page sizes it is considered a custom size,
   fill the page size name field of the CUPS Raster header with
   "Custom.XXXxYYY" then.
 - pdftoraster: Match the input page size with a page size in
   the PPD only if the differences of the dimensions are less
   than 1%, also match the input page size against the
   imageable area of the PPD's page sizes if no match with the
   full page size is found (Issue #138).

1.25.3
------
 - Sample PPDs: In HP-Color_LaserJet_CM3530_MFP-PDF.ppd renamed
   "custom" choice of the option "stapleoption" to "customsize"
   as from CUPS 2.2.12 on "custom" is not accepted any more as a
   choice name in a PPD file.
 - cups-browsed: Fixed check whether the remote printer understands
   PWG Raster (Issue #141).

1.25.2
------
 - foomatic-rip: Fixed segmentation fault when running
   foomatic-rip by hand and the PRINTER environment variable is
   not set (Pull request #139).
 - cups-browsed: Added note to cups-browsed.conf and man page
   about IP-based URIs depending on the network interface used.
 - cups-browsed: For each DNS-SD-discovered printer register
   each DNS-SD discovery instance with network interface,
   family, and IPP type. When DNS-SD messages of instances
   disappearing show up, only unregister this instance and
   remove the printer only if no instance is left. This
   prevents a local queue of a still available printer being
   removed when Wi-Fi (= one interface) is turned off (Issue
   #136).
 - cups-browsed: If a remote printer is served from the local
   machine, prefer the "localhost"/loopback interface URI.
 - cups-browsed: If a remote printer is discovered more than
   once, use the new instance only if it has no downgrades and
   at least one upgrade compared to the old one. Features
   currently compared are IPP/IPPS, loopback interface or not,
   and discovery via CUPS legacy/LDAP/DNS-SD.
 - cups-browsed: If an Avahi-discovered entry comes through the
   "lo" interface, always use the host name "localhost". Use
   IP addresses instead of host names only if explicitly
   requested.
 - cups-browsed: Consider remote printer entries also as from
   the same printer if one has the local machine's network name
   and the other "localhost" as host name (Issue #136).

1.25.1
------
 - imagetopdf: Fixed crash when no PPD file was supplied (Pull
   request #133).
 - pdftoraster: Fixed offset issues leading to segmentation
   faults (Issue #131, Pull request #132).
 - pdftoraster: Added anti-aliasing for better raster image
   quality (Pull request #129).
 - pdftoraster: Added graceful handling of zero-page input
   (Issue #117, Pull request #127).

1.25.0
------
 - pdftoijs, pdftoopvp: Removed these deprecated filters
   completely as there is no demand for them any more. They
   also used unstable, undocumented APIs of Poppler.
 - pdftoraster: Changed from using unstable, undocumented APIs
   of Poppler to stable, documented ones, to improve
   maintainability of this filter, and with it of the
   cups-filters package. Thanks to Tanmay Anand for
   contributing this as his Google Summer of Code 2019 project.
 - libcupsfilters: Added support for color spaces CMY and RGBW
   when using filters without PPD file (mainly for development
   and debugging, option "print-color-mode" with values
   "cmy-XX" and "rgbw-XX" with XX being the number of bits per
   color).

1.24.0
------
 - cups-browsed: Integration of Deepak Patankar's Google Summer
   of Code 2018 project with the main goal of clustering
   different printers and automatically selecting the
   destination printers by job content and option/attribute
   settings. All changes of this release are done by Deepak as
   parts of his project.
 - cups-browsed, implicitclass: Support for mixed clusters of
   remote CUPS queues and IPP network printers. For this PPD
   files of remote CUPS queues are generated by cups-browsed
   based on IPP queries, as for native IPP printers, the number
   of jobs for load balancing is polled in a way that it works
   also with native IPP printers, the implicitclass backend
   sends jobs directky to the printer instead of re-queueing
   them via CUPS.
 - cups-browsed: Merge IPP attributes of several printers to
   combined attributes for the cluster to generate the
   cluster's PPD file, including PPD constraints for option
   combinations not fulfillable by any of the member printers,
   and finding reasonable, non-conflicting default settings,
 - cups-browsed: Selection algorithm for the destination
   printer for a job sent to the cluster. Based on the job
   settings requested such as page size, media type, print
   quality, ... the best most suitable printer in the cluster
   for the job will be selected.
 - cups-browsed, implicitclass: Filter jobs to clusters already
   locally. Due to the fact that a cluster's member printers
   are not exclusively non-raw CUPS queues with the complete
   filtering framework on the remote server, but also native
   IPP printers, we need to support generic driverless printers
   as destination. So we cannot pass on the input data
   unfiltered but need to filter locally. We let the cluster's
   PPD file emulate a PDF printer, letting the local CUPS queue
   of the cluster run pdftopdf and any pre-filters to turn the
   input into PDF and we let the implicitclass backend turn PDF
   into a format understood by the destination printer,
   supporting the 4 formats of driverless IPP printing: PDF,
   PWG Raster, Apple Raster, PCLm.
2019-10-20 12:17:18 +00:00
nia
edcfff4649 Recursive revbump for poppler 0.81.0 2019-10-19 12:46:04 +00:00
prlw1
0ea60ca6f0 Fix build of cups-filters with qpdf 9.0 2019-09-20 11:11:52 +00:00
ryoon
fbeb241eb1 Recursive revbump from print/qpdf-9.0.0 2019-09-15 00:12:30 +00:00
wiz
6ddb87c295 *: recursive bump for poppler 0.79 2019-07-23 17:19:56 +00:00
wiz
1ac2210b6f *: recursive bump for gdk-pixbuf2-2.38.1 2019-07-21 22:23:57 +00:00
wiz
c30c5fbc0b *: recursive bump for nettle 3.5.1 2019-07-20 22:45:58 +00:00
leot
ce8f05a866 cups-filters: Update to 1.23.0
pkgsrc changes:
 - Remove outdated comment regarding opvp: upstream issue was solved
   but they are now also disabled by default by upstream

Changes:
1.23.0
------
 - pdftops, mupdftoraster: Let pdftops call mutool directly and
   so that it directly outputs PostScript, eliminating the need
   to call the mupdftoraster and rastertops filters.
 - mupdftoraster: Reduced the use of temporary files from 3 to
   just one.
 - imagetopdf, imagetoraster, pdftopdf: Add support for
   print-scaling option (Issue #108, Pull request #118).

1.22.6
------
 - rastertops: Fixed PageSize settings in the PostScript output
   (Must be in points not in pixels).
 - pdftops, mupdftoraster: Produce actual grayscale/monochrome
   PostScript (and not only instructions to print grayscale/
   monochrome) for jobs to be printed in grayscale/monochrome
   (Issue #96, Pull request #115).
 - mupdftoraster: Fixed filter not producing output at all.
 - Build system: ENABLE_DRIVERLESS got only defined with CUPS
   1.6 and newer, not with older CUPS versions (Issue #111).
 - pdftopdf, imagetopdf, imagetoraster: Silenced compiler
   warnings.
 - cups-browsed, driverless: Replaced httpConnect() calls by
   httpConnect2() calls as the former CUPS library function is
   deprecated.
 - Build system: Compile everything using the CUPS libraries
   with '-D_PPD_DEPRECATED=""' for the time being until the
   deprecated PPD API calls get replaced, to stop the flooding
   with PPD API deprecation warnings making more important
   warnings being overlooked.
 - cups-browsed: When removing a local queue on shutdown or
   when DNS-SD reports the printer as disappeared check whether
   the local queue got overwritten by an external process as
   sometimes the shutdown or disappearing event comes too close
   for cups-browsed receiving a printer-modified notification
   from CUPS before (Ubuntu bug #1731417).
2019-06-01 17:39:05 +00:00
ryoon
6d59d0b729 Recursive revbump from print/poppler
Exclude print/luatex that is updated manually.
2019-05-09 13:57:48 +00:00
adam
b55f1c110d cups-filters updated to 1.22.5
CHANGES IN V1.22.5
- foomatic-rip: Changed Ghostscript call to count pages in a
  PDF file to use "runpdfbegin" and not the undocumented
  Ghostscript internal "pdfdict", so that it works with
  Ghostscript 9.27 and later

CHANGES IN V1.22.4
- cups-browsed: Fix broken trailing space removal on
  "NickName"
- pdftops: Emit PostScript Level 2 instead of Level 3 for
  Brother PostScript printers as at least some of them
  report to support level 3 but ontly work with Level 2
- bannertopdf: When multiplying the page for N-up or Duplex
  printing one page too much was generated.

CHANGES IN V1.22.3
- libcupsfilters: Added error checks for processing GIF, to
  avoid crashes or hangs on broken GIF files.
- cups-browsed: Added hint to the man page and configuration
  file that with "DebugLogging stderr" the logging output goes
  to journal or syslog if cups-browsed is running as system
  service.

CHANGES IN V1.22.2
- cups-browsed: Let distribution of jobs sent to queues with
  "implicitclass" backend (usually clusters) be done by a
  "job-state" CUPS notification and not by
  "printer-state-changed" any more. The "job-state"
  notification already contains the job ID. Before we had to
  poll the job ID from CUPS via IPP which was sometimes
  unreliable.
- imagetopdf, imagetoraster, pdftopdf, libcupsfilters: Added
  new page scaling options: "fill" scales the input page
  (typically a photo) so that the output page (typically with
  different aspect ratio) gets completely filled, aloowing for
  some content of the input page getting lost. "crop-to-fit"
  allows for easy printing of documents on slightly different
  output page sizes (A4 <-> Letter) maintaining the size and
  centering and cropping into the destination page.
- cups-browsed: Do not do IPP request for printer-is-shared
  option for remote cups queues with CUPS 2.2.x and newer.
- cups-browsed: Fix crash bug when reading "Cluster"
  directive from configuration file.
- driverless: Updated man page as now also Mopria and
  Wi-Fi Direct printers are supported. Mentioned also
  ippusbxd.

CHANGES IN V1.22.1
- braille: Use sort command with LC_ALL=C for reproducibility
  of the genrated files, needed for distribution packaging.
- cups-browsed, driverless: When polling the printer's
  capabilities via get-printer-attributes IPP request for
  driverless printing, use the attributes "all" and
  "media-col-database". Without "all" some printers do not
  report "urf-supported" and without "media-col-database" not
  all paper size and marging info gets reported.
- braille: Document how to rework output before
  embossing.

CHANGES IN V1.22.0
- pdftopdf: Use QPDF for flattening interactive PDF forms
- pdftopdf: Fixed bug of closing temporary file prematurely
  when external PDF form flattening utilities fail
- pdftoopvp: More fixes for building with Poppler 0.72
- pdftoraster, pdftoijs, pdftoopvp: Removed support for
  Poppler 0.18
- cups-browsed: Fixed crash in applying the BrowseFilter
  cups-browsed.conf directives
2019-04-17 11:22:35 +00:00
wiz
a3b31632a5 *: recursive bump for poppler 0.75 -> 0.74 downgrade 2019-03-27 11:23:15 +00:00
wiz
ec70429ab5 *: recursive bump for poppler-0.75 2019-03-26 07:12:07 +00:00
gdt
75fb5e1b59 Recursive bump for ghostscript default change 2019-03-18 16:17:46 +00:00
wiz
53d9d04207 *: recursive bump for poppler-0.74.0 2019-02-16 13:26:48 +00:00
adam
fded255b04 cups-filters: updated to 1.21.6
CHANGES IN V1.21.6
- cups-browsed: To find out whether a DNS-SD-discovered
  printer is from the local machine, use not only the flags in
  the Avahi lookup result but also check the host name.
- cups-browsed: When a local CUPS queue pointing to a remote
  CUPS printer was removed and re-created to make it a
  permanent queue, on_printer_deleted() was triggered by
  cupsd's notification to re-create a lost queue. Now
  on_printer_deleted() checks whether the queue is really gone
  and only re-creates then.
- cups-browsed: When updating the CUPS queues, also removed
  and unregistered queues and not only created queues got
  checked for HTTP timeouts, which caused crashes on shutdown.
- pdftops: Use the PS interpreter of Poppler for all Apple
  LaserWriter 16/600, 4/600, 12/640, 12/600, 12/660 as they
  all seem to not work with Ghostscript's PS output.
- cups-browsed: On shutdown queues got removed even if they
  still had jobs
2019-01-08 17:53:57 +00:00
ryoon
55cb8dada9 Recursive revbump from print/qpdf 2019-01-08 16:31:02 +00:00
wiz
ee3874943e *: recursive bump for poppler-0.72.0 2018-12-10 10:59:23 +00:00
leot
1cde68d84b cups-filters: Update print/cups-filters to 1.21.5
pkgsrc changes:
 - Remove no more needed patch for poppler 0.71.0
 - Add a reference to upstream issue regarding (temporary) opvp
   disabled support

Changes:
1.21.5
------
 - cups-browsed: We cannot reliably determine whether a CUPS
   queue is temporary, so we apply the procedure to make a
   temporary queue permanent to any unshared queue (Debian bugs
   #910882, #905850, #908604).
 - pdftoraster, pdftopdf, pdftoijs, pdftoopvp: Do not use the
   Poppler-specific "GBool", "gFalse", "gTrue" any more, as
   Poppler has switched to standard "bool", "false", "true" in
   version 0.71.0 (Issue #69).
2018-12-05 21:15:08 +00:00
leot
98aec7daa0 cups-filters: Update print/cups-filters to 1.21.4
pkgsrc changes:
 - Backport a patch from upstream to fix the build with poppler 0.71.0.
 - Temporary disable opvp support, not yet ported to poppler 0.71.0
   (Add a XXX comment as a reminder to reenable it once fixed).
 - Address all test failures (now all tests pass!)

Changes:
1.21.4
------
 - cups-browsed: cups-browsed: Limit the number of retries for
   creating a print queue when it comes to HTTP
   timeouts. Number of retries given by HttpMaxRetries
   directive in cups-browsed.conf. Thanks to Zdenek Dohnal for
   the patch (Pull request #73, Red Hat bug #1648697).
 - cups-browsed: Read out current time right before setting the
   timeouts. Thanks to Zdenek Dohnal for the patch (Pull
   request #71, Red Hat bug #1648697).
 - libcupsfilters: In the PPD generator for driverless IPP
   printing let "*cupsManualCopies: true" lines get added to
   the PPD if printing is done in a raster format as then
   pdftopdf needs to generate the copies.
 - pdftoraster, pdftoopvp, pdftoijs: Fix build with Poppler >=
   0.70 (Issue #69, Pull request #70).
 - pdftopdf: Fixed printing multiple copies on driverless IPP
   printers. When printing collated copies the multiple copies
   got applied twice, resulting in n*n instead of n copies
   (CUPS issue #5433).
 - pdftoraster, pdftoopvp, pdftoijs: Poppler removed memCheck
   and gMemReport functions, remove appropriate calls (Issue
   #62, Pull request #66).
2018-12-05 18:49:39 +00:00
wiz
7205365b95 *: recursive bump for poppler-0.71.0 shlib bump 2018-12-03 08:35:28 +00:00
kleink
f1a683c990 Revbump after cairo 1.16.0 update. 2018-11-14 22:20:58 +00:00