pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/cups-filters cups-filters: Update print/cups-fil...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6413bb66955b
branches: trunk
changeset: 376258:6413bb66955b
user: leot <leot%pkgsrc.org@localhost>
date: Tue Feb 27 17:48:20 2018 +0000
description:
cups-filters: Update print/cups-filters to 1.20.1
Changes:
1.20.1
------
- libcupsfilters: Silenced warning when using CUPS < 2.x by
eliminating the use of a recently introduced CUPS library
function (Bugzilla bug #1421).
- braille: Fix some missing options on indexv4. Thanks to
Samuel Thibault for this patch (Pull request #21).
- braille: Fix disabling margins on indexv4 in graphic
mode. Thanks to Samuel Thibault for this patch (Pull request
#20).
- braille: Fix installation of brftopagedbrf. Thanks to Samuel
Thibault for this patch (Pull request #18, Issue #17).
- cups-browsed: Fixed crash when CUPS reports a print queue
without "device-uri" attribute when cups-browsed polls a
list of local CUPS queues (Issue #16).
1.20.0
------
- libcupsfilters: Let the PPD generator prefer the English
translation file from CUPS for the human-readable strings in
the PPD files.
- libcupsfilters: The PPD generator lists all page sizes with
human-readable names now, including proprietary names of the
printer.
- cups-browsed, driverless: Fixed get-printer-attributes call
on driverless printers for generating the PPD, explicitly
requesting the media-col-database attribute as otherwise
borderless page sizes do not appear.
- libcupsfilters: Fixed loading option/choice strings lists
from driverless printers for PPD file generation. Especially
proprietary media types appear correctly now.
- libcupsfilters: Completed color space support in the PPD
generator: Added DeviceGray/RGB/CMYK, default to 8 bit for
SRGB and to 16 bit for AdobeRGB, avoid duplicate listings of
the same color space.
1.19.0
------
- libcupsfilters: Let the PPD generator add the options "Print
Optimization", "Print Rendering Intent" and "Print Scaling"
if appropriate IPP attributes are found.
- libcupsfilters: Let the PPD generator read out the maximum
of info about color spaces and this way not only reliably
the correct choices are added to the ColorModel option but
also the maximum supported bit depth (8 or 16 bit) is used.
- libcupsfilters: Overtaken new features from CUPS' PPD
generator: Presets, Finishing Templates, and extraction of
media sizes from "media-col-database"
- libcupsfilters: Improvements on header of generated PPDs:
use cups-filters version number, "drvless.ppd" PCFileName,
APSupplies and cupsChargeInfoURI from CUPS.
- libcupsfilters: Let the PPD generator use the IPP string
tables in the translation files of CUPS 2.3.x or newer
(English strings only). Let all options in the PPD have
human-readable option and choice names. In case of CUPS
2.2.x or older (or if the CUPS translation are missing) we
fall back to internal tables.
- cups-browsed: Improved debug output when checking IPP
attributes of IPP printers.
- .gitignore: Ignore also core files.
- cups-browsed: Support use of PPD files generated by CUPS for
IPP Printers. Works only if the the local queue created by
cups-browsed replaces a temporary queue from CUPS.
Configurable via "UseCUPSGeneratedPPDs" directive in
cups-browsed.conf.
1.18.0
------
- braille: Add support for page-ranges option. Thanks to
Samuel Thibault for this patch (Pull request #12).
- braille: Fix supporting docx and LO file names with
spaces. Thanks to Samuel Thibault for this patch (Pull
request #11).
- .gitignore: Updated and cleaned up.
- Build system: Make sure that "make dist" always includes all
files of the repository, plus the files generated by
./autogen.sh, independent of the system configuration and
the used ./configure options.
- pdftoijs, pdftoopvp: Build pdftoijs and pdftoopvp only on
demand (via "--enable-ijs" and "--enable-opvp" on the
./configure command line). There are actually no known
printer drivers using these filters. If no one complains
about the missing filters they will get completely removed.
- Build system: Set default path for pdftops to
/usr/bin/pdftops also for cross-compiling (Bug #1417).
- cups-browsed: Set "printer-location" as an attribute and not
as an option when creating/updating a CUPS queue (Bug
#1413).
- braille: Fix handling non-printable characters in BRF
files. Thanks to Samuel Thibault for this patch.
- braille: Fix printing backslashes in BRF files. Thanks to
Samuel Thibault for this patch.
- braille: use application/vnd.cups-brf instead of
text/vnd.cups-brf. Thanks to Samuel Thibault for this patch.
- braille: Make sure liblouis emits pure BRF output. Thanks to
Samuel Thibault for this patch.
- braille: Spaces at the head of lines were not getting
embossed, because bash would eat them in the read
command. IFS allows to avoid the issue. Thanks to Samuel
Thibault for this patch.
- gstoraster: Emit proper error message if Ghostscript is
missing. Thanks to Peter De Wachter (pdewacht at gmail dot
com) for the patch (Bug #1415).
- braille: Old bash does not like quotes, like in '$(("123" +
0))'. Removed unneeded quotes. Thanks to Samuel Thibault for
this patch.
- braille: Index V5 embossers are compatible with the V4
protocol so we do not need driver changes, we just need to
advertise the support. Thanks to Samuel Thibault for this
patch.
diffstat:
print/cups-filters/Makefile | 7 ++++---
print/cups-filters/distinfo | 12 ++++++------
print/cups-filters/patches/patch-filter_gstoraster.c | 8 ++++----
3 files changed, 14 insertions(+), 13 deletions(-)
diffs (66 lines):
diff -r c7a8798337ce -r 6413bb66955b print/cups-filters/Makefile
--- a/print/cups-filters/Makefile Tue Feb 27 17:47:46 2018 +0000
+++ b/print/cups-filters/Makefile Tue Feb 27 17:48:20 2018 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.89 2018/02/27 12:37:53 ryoon Exp $
+# $NetBSD: Makefile,v 1.90 2018/02/27 17:48:20 leot Exp $
-DISTNAME= cups-filters-1.17.9
-PKGREVISION= 7
+DISTNAME= cups-filters-1.20.1
CATEGORIES= print
MASTER_SITES= http://openprinting.org/download/cups-filters/
EXTRACT_SUFX= .tar.xz
@@ -49,6 +48,8 @@
CONFIGURE_ARGS+= --with-shell=${TOOLS_PATH.bash}
CONFIGURE_ARGS+= --with-pdftops-path=${PREFIX}/bin/pdftops
CONFIGURE_ARGS+= --with-gs-path=${PREFIX}/bin/gs
+CONFIGURE_ARGS+= --enable-ijs
+CONFIGURE_ARGS+= --enable-opvp
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/cups-filters
diff -r c7a8798337ce -r 6413bb66955b print/cups-filters/distinfo
--- a/print/cups-filters/distinfo Tue Feb 27 17:47:46 2018 +0000
+++ b/print/cups-filters/distinfo Tue Feb 27 17:48:20 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.53 2017/10/23 13:07:55 leot Exp $
+$NetBSD: distinfo,v 1.54 2018/02/27 17:48:20 leot Exp $
-SHA1 (cups-filters-1.17.9.tar.xz) = 352a16072f9f01057e1ea2a2ba119dc518082e1e
-RMD160 (cups-filters-1.17.9.tar.xz) = 669cab62509a43b60b97e730f7dc18c6ea67f555
-SHA512 (cups-filters-1.17.9.tar.xz) = 811d2671c660a2129c207d5d8daaa576b027ba14ac4cf4753d0e8c1190866a684e284f1e7439b864aaab332e429befbc13c567bf6c9fc1a502fe2cd7d11e5ed4
-Size (cups-filters-1.17.9.tar.xz) = 1454068 bytes
+SHA1 (cups-filters-1.20.1.tar.xz) = 08c913fc12ef90edfa0c590dfd0212594320e5c4
+RMD160 (cups-filters-1.20.1.tar.xz) = 783fdbe0143dcc005cc434c59adca20c68191bb2
+SHA512 (cups-filters-1.20.1.tar.xz) = 9c0fc3c821a24db99a55b0d5e1750946b294e3b265edae4d4701b4bb3ff9d0f19cb282ff44ec8880a0f643a2703ea3419b03d3d32a5e045d86a2d37031cef108
+Size (cups-filters-1.20.1.tar.xz) = 1467060 bytes
SHA1 (patch-Makefile.in) = 2d5b05c9dca8ef7cc51931d77dddb1b2c4d422d8
SHA1 (patch-configure) = b55dc7dc22008351c396374aceb88d2be293d179
-SHA1 (patch-filter_gstoraster.c) = a9fac7892972943f345c6b76529feff0ba098458
+SHA1 (patch-filter_gstoraster.c) = 4eef8d91d8ca26a5a874e29885b836e9670d9e5d
SHA1 (patch-filter_mupdftoraster.c) = 4c4f7d292163657f9541c8ce454ba57d248f7ef0
diff -r c7a8798337ce -r 6413bb66955b print/cups-filters/patches/patch-filter_gstoraster.c
--- a/print/cups-filters/patches/patch-filter_gstoraster.c Tue Feb 27 17:47:46 2018 +0000
+++ b/print/cups-filters/patches/patch-filter_gstoraster.c Tue Feb 27 17:48:20 2018 +0000
@@ -1,16 +1,16 @@
-$NetBSD: patch-filter_gstoraster.c,v 1.1 2016/11/06 11:21:19 leot Exp $
+$NetBSD: patch-filter_gstoraster.c,v 1.2 2018/02/27 17:48:20 leot Exp $
execvpe(3) appeared only on NetBSD 8.0, use execve(3) instead (like
cups-filters-1.11.4).
---- filter/gstoraster.c.orig 2016-10-27 22:50:52.000000000 +0000
+--- filter/gstoraster.c.orig 2018-02-07 22:08:42.000000000 +0000
+++ filter/gstoraster.c
-@@ -502,7 +502,7 @@ gs_spawn (const char *filename,
+@@ -503,7 +503,7 @@ gs_spawn (const char *filename,
}
/* Execute Ghostscript command line ... */
- execvpe(filename, gsargv, envp);
+ execve(filename, gsargv, envp);
- perror(filename);
+ fprintf(stderr, "ERROR: Unable to launch Ghostscript: %s: %s\n", filename, strerror(errno));
goto out;
}
Home |
Main Index |
Thread Index |
Old Index