summaryrefslogtreecommitdiff
path: root/print
AgeCommit message (Collapse)AuthorFilesLines
2019-09-20Fix build of cups-filters with qpdf 9.0prlw12-1/+17
2019-09-15Recursive revbump from print/qpdf-9.0.0ryoon1-2/+2
2019-09-15Update to 9.0.0ryoon4-11/+11
Changelog: 9.0.0: August 31, 2019 Incompatible API (source-level) Changes (minor) The method QUtil::strcasecmp has been renamed to QUtil::str_compare_nocase. This incompatible change is necessary to enable qpdf to build on platforms that define strcasecmp as a macro. The QPDF::copyForeignObject method had an overloaded version that took a boolean parameter that was not used. If you were using this version, just omit the extra parameter. There was a version QPDFTokenizer::expectInlineImage that took no arguments. This version has been removed since it caused the tokenizer to return incorrect inline images. A new version was added some time ago that produces correct output. This is a very low level method that doesn't make sense to call outside of qpdf's lexical engine. There are higher level methods for tokenizing content streams. Change QPDFOutlineDocumentHelper::getTopLevelOutlines and QPDFOutlineObjectHelper::getKids to return a std::vector instead of a std::list of QPDFOutlineObjectHelper objects. Remove method QPDFTokenizer::allowPoundAnywhereInName. This function would allow creation of name tokens whose value would change when unparsed, which is never the correct behavior. When qpdf --check or qpdf --check-linearization encounters a file with linearization warnings but not errors, it now properly exits with exit code 3 instead of 2. CLI Enhancements The --replace-input option may be given in place of an output file name. This causes qpdf to overwrite the input file with the output. See the description of --replace-input in Section 3.3, “Basic Options” for more details. The --recompress-flate instructs qpdf to recompress streams that are already compressed with /FlateDecode. Useful with --compression-level. The --compression-level=level sets the zlib compression level used for any streams compressed by /FlateDecode. Most effective when combined with --recompress-flate. Library Enhancements A new namespace QIntC, provided by qpdf/QIntC.hh, provides safe conversion methods between different integer types. These conversion methods do range checking to ensure that the cast can be performed with no loss of information. Every use of static_cast in the library was inspected to see if it could use one of these safe converters instead. See Section 7.5, “Casting Policy” for additional details. Method QPDF::anyWarnings tells whether there have been any warnings without clearing the list of warnings. Method QPDF::closeInputSource closes or otherwise releases the input source. This enables the input file to be deleted or renamed. New methods have been added to QUtil for converting back and forth between strings and unsigned integers: uint_to_string, uint_to_string_base, string_to_uint, and string_to_ull. New methods have been added to QPDFObjectHandle that return the value of Integer objects as int or unsigned int with range checking and sensible fallback values, and a new method was added to return an unsigned value. This makes it easier to write code that is safe from unintentional data loss. Functions: getUIntValue, getIntVauleAsInt, getUIntValueAsUInt. When parsing content streams with QPDFObjectHandle::ParserCallbacks, in place of the method handleObject(QPDFObjectHandle), the developer may override handleObject(QPDFObjectHandle, size_t offset, size_t length). If this method is defined, it will be invoked with the object along with its offset and length within the overall contents being parsed. Intervening spaces and comments are not included in offset and length. Additionally, a new method contentSize(size_t) may be implemented. If present, it will be called prior to the first call to handleObject with the total size in bytes of the combined contents. New methods QPDF::userPasswordMatched and QPDF::ownerPasswordMatched have been added to enable a caller to determine whether the supplied password was the user password, the owner password, or both. This information is also displayed by qpdf --show-encryption and qpdf --check. Static method Pl_Flate::setCompressionLevel can be called to set the zlib compression level globally used by all instances of Pl_Flate in deflate mode. The method QPDFWriter::setRecompressFlate can be called to tell QPDFWriter to uncompress and recompress streams already compressed with /FlateDecode. The underlying implementation of QPDF arrays has been enhanced to be much more memory efficient when dealing with arrays with lots of nulls. This enables qpdf to use drastically less memory for certain types of files. When traversing the pages tree, if nodes are encountered with invalid types, the types are fixed, and a warning is issued. A new helper method QUtil::read_file_into_memory was added. All conditions previously reported by QPDF::checkLinearization() as errors are now presented as warnings. Name tokens containing the # character not preceded by two hexadecimal digits, which is invalid in PDF 1.2 and above, are properly handled by the library: a warning is generated, and the name token is properly preserved, even if invalid, in the output. See ChangeLog for a more complete description of this change. Bug Fixes A small handful of memory issues, assertion failures, and unhandled exceptions that could occur on badly mangled input files have been fixed. Most of these problems were found by Google's OSS-Fuzz project. When qpdf --check or qpdf --check-linearization encounters a file with linearization warnings but not errors, it now properly exits with exit code 3 instead of 2. The --completion-bash and --completion-zsh options now work properly when qpdf is invoked as an AppImage. Calling QPDFWriter::set*EncryptionParameters on a QPDFWriter object whose output filename has not yet been set no longer produces a segmentation fault. When reading encrypted files, follow the spec more closely regarding encryption key length. This allows qpdf to open encrypted files in most cases when they have invalid or missing /Length keys in the encryption dictionary. When qpdf --check or qpdf --check-linearization encounters a file with linearization warnings but not errors, it now properly exits with exit code 3 instead of 2. Build Changes On platforms that support it, qpdf now builds with -fvisibility=hidden. If you build qpdf with your own build system, this is now safe to use. This prevents methods that are not part of the public API from being exported by the shared library, and makes qpdf's ELF shared libraries (used on Linux, MacOS, and most other UNIX flavors) behave more like the Windows DLL. Since the DLL already behaves in much this way, it is unlikely that there are any methods that were accidentally not exported. However, with ELF shared libraries, typeinfo for some classes has to be explicitly exported. If there are problems in dynamically linked code catching exceptions or subclassing, this could be the reason. If you see this, please report a bug at pikepdf. QPDF is now compiled with integer conversion and sign conversion warnings enabled. Numerous changes were made to the library to make this safe. QPDF's make install target explicitly specifies the mode to use when installing files instead of relying the user's umask. It was previously doing this for some files but not others. If pkg-config is available, use it to locate libjpeg and zlib dependencies, falling back on old behavior if unsuccessful. Other Notes QPDF has been fully integrated into Google's OSS-Fuzz project. This project exercises code with randomly mutated inputs and is great for discovering hidden security crashes and security issues. Several bugs found by oss-fuzz have already been fixed in qpdf.
2019-09-14Remove print/evince - replacements print/atril, print/evince3nia19-749/+1
2019-09-14ruby-gnome: Update to 3.3.8, and rename package names to match gems.tsutsui7-27/+30
Also reorganize several dependencies in Makefile and buildlink3.mk. See the following post for details: https://mail-index.netbsd.org/pkgsrc-users/2019/09/07/msg029327.html https://mail-index.netbsd.org/pkgsrc-users/2019/09/13/msg029356.html Upstream changes (from NEWS): == Ruby-GNOME 3.3.8: 2019-09-10 This is a partially GLib 2.62.0 support release. === Changes ==== All * Improvements * Changed our project name to Ruby-GNOME from Ruby-GNOME2. [GitHub#1277][Suggested by kojix2] [GitHub#1291][Patch by kojix2] * Stopped to release (({.tar.gz})) because they are no longer used. ==== Ruby/GLib2 * Improvements * (({GLib.convert})): Changed to set correct encoding. * (({GLib::FILENAME_ENCODING})): Added. * Changed to use the same enum object for the same enum value. * (({GLib::Enum.find})): Added. * (({GLib::Bytes#initialize})): Changed to reuse (({String})) data even if the given (({String})) isn't frozen. * (({GLib::Bytes.try_convert})): Added. * (({GLib::Enum.try_convert})): Added. * (({GLib::Flags.try_convert})): Added. * (({GLib::Type.try_convert})): Added. * (({GLib::MkEnums.create})): Added support for flags to enum definition. [GitHub#1295][Patch by Mamoru TASAKA] ==== Ruby/GIO2 * Fixes * Renamed to (({Gio::Icon#hash})) from (({Gio::Icon.hash})). [GitHub#1293][Reported by Erik Czumadewski] ==== Ruby/GObjectIntrospection * Improvements * Introduced (({try_convert})) protocol. ==== Ruby/CairoGObject * Improvements * (({Cairo::Context.try_convert})): Added. * (({Cairo::Device.try_convert})): Added. * (({Cairo::Pattern.try_convert})): Added. * (({Cairo::Surface.try_convert})): Added. * (({Cairo::ScaledFont.try_convert})): Added. * (({Cairo::FontFace.try_convert})): Added. * (({Cairo::FontOptions.try_convert})): Added. * (({Cairo::Region.try_convert})): Added. === Thanks * kojix2 * Erik Czumadewski * Mamoru TASAKA
2019-09-09poppler: sync GCC_REQD between bl3 and Makefile.maya1-2/+2
2019-09-03dspdfviewer: strip -Werrornia1-6/+2
2019-09-02Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for ↵adam5-10/+10
future Python 3.8
2019-08-30Switch packages using GLUT to FreeGLUT.nia2-4/+4
Start building FreeGLUT with GLUT compatibility on. - GLUT's maintainance state is much worse than FreeGLUT's, with no substanital commits since 2011. - GLUT can no longer be consider a core component of Mesa or X11. - Nobody except us seems to be using it... Other vendors still shipping GLUT: - GoboLinux, T2 SDE, PLD Linux Revbump packages using GLUT or freeglut by default.
2019-08-26print/cups: remove unrecognized --enable-libtool optionrillig1-2/+1
The package builds with libtool anyway.
2019-08-26Removed print/py-poppler, print/pdfshuffleradam10-213/+1
2019-08-241. adapt perl 5.22 or later, 2. silence pkglint 3. MAINTAINER conversionmef3-5/+24
1. add patch-ac, to adapt perl-5.22 or later change Can't use 'defined(@array)' (Maybe you should just omit the defined()?) Sorry separated patch for one file, 2. Add DEPENDS= nkf to process Japanese document 3. move LICENSE= line to meet pkglint rule 4. convert MAINTAINER to pkgsrc-users 5. PKGREVISION++
2019-08-22Recursive revbump from boost-1.71.0ryoon6-10/+12
2019-08-18ruby-gnome2: update to 3.3.7.tsutsui2-7/+6
Upstream changes (from NEWS): == Ruby-GNOME2 3.3.7: 2019-08-17 This is the bug fix release of 3.3.6. === Changes ==== Ruby/Pango * Improvements * (({Pango::AttrList#each})): Added. * (({Pango::AttrType})): Added support for (({PANGO_ATTR_FONT_DESC})). ==== Ruby/GObjectIntrospection * Improvements * Added support for (({GHashTable<utf8, enum>})). * Added support for GObject Introspection 1.60.0. ==== Ruby/Pango * Improvements * Added support for Pango 1.44. [GitHub#1288][Reported by Toshiaki Asai] ==== Ruby/GTK3 * Fixes * Fixed document markup. [GitHub#1280][GitHub#1281][GitHub#1282][Patch by İsmail Arılık] ==== Ruby/WNCK3 * Added. [GitHub#1284][Reported by Christopher L. Ramsey] ==== Ruby/libsecret * Added. === Thanks * İsmail Arılık * Christopher L. Ramsey * Toshiaki Asai
2019-08-16cups{,-base}: Update to 2.2.12leot5-61/+9
pkgsrc changes: - Remove patches/patch-5613 (already present) Changes: 2.2.12 ------ - CVE-2019-8696 and CVE-2019-8675: Fixed SNMP buffer overflows (rdar://51685251) - The `cupsctl` command now prevents setting "cups-files.conf" directives (Issue #5530) - Updated the systemd service file for cupsd (Issue #5551) - The `cupsCheckDestSupported` function did not check octetString values correctly (Issue #5557) - The scheduler did not encode octetString values like "job-password" correctly for the print filters (Issue #5558) - Restored minimal support for the `Emulators` keyword in PPD files to allow old Samsung printer drivers to continue to work (Issue #5562) - Timed out job submission now yields an error (Issue #5570) - The footer in the web interface covered some content on small displays (Issue #5574) - The libusb-based USB backend now enforces read limits, improving print speed in many cases (Issue #5583) - Fixed some compatibility issues with old releases of CUPS (Issue #5587) - Fixed a bug in the scheduler job cleanup code (Issue #5588) - "make" failed with GZIP options (Issue #5595) - Added FIPS-140 workarounds for GNU TLS (Issue #5601, Issue #5622) - The scheduler no longer provides a default value for the description (Issue #5603) - The `lpadmin` command did not always update the PPD file for changes to the `cupsIPPSupplies` and `cupsSNMPSupplies` keywords (Issue #5610) - The scheduler now uses both the group's membership list as well as the various OS-specific membership functions to determine whether a user belongs to a named group (Issue #5613) - Added USB quirks rule for HP LaserJet 1015 (Issue #5617) - Fixed some PPD parser issues (Issue #5623, Issue #5624) - The IPP parser no longer allows invalid member attributes in collections (Issue #5630) - Fixed IPP buffer overflow (rdar://50035411) - Fixed memory disclosure issue in the scheduler (rdar://51373853) - Fixed DoS issues in the scheduler (rdar://51373929) - The scheduler would restart continuously when idle and printers were not shared (rdar://52561199) - Fixed a command ordering issue in the Zebra ZPL driver. - Fixed a memory leak in `ppdOpen`.
2019-08-15sortjnemeth1-2/+2
2019-08-14zathura-pdf-mupdf: Update to 0.3.5leot3-26/+7
Changes: 0.3.5 ----- - Compatible with mupdf 1.16
2019-08-13tex-ms{,-doc}: update to 2019, remove ragged2e (now separate package)markd6-20/+20
2019-08-13print: add tex-ragged2e{,-doc}markd1-1/+3
2019-08-13tex-ragged2e{,-doc}: add version 2.2markd8-0/+54
The package defines new commands \Centering, \RaggedLeft, and \RaggedRight and new environments Center, FlushLeft, and FlushRight, which set ragged text and are easily configurable to allow hyphenation (the corresponding commands in LaTeX, all of whose names are lower-case, prevent hyphenation altogether).
2019-08-13tex-outline-doc: initial commitbrook5-1/+27
Documentation for tex-outline.
2019-08-13tex-outline: initial commitbrook5-1/+25
The package defines an outline environment, which provides facilities similar to enumerate, but up to 6 levels deep.
2019-08-13tex-nfssext-cfr-doc: initial commitbrook5-1/+26
Documentation for tex-nfssext-cfr.
2019-08-13tex-nfssext-cfr: initial commitbrook5-1/+27
The package is a development of nfssext.sty, distributed with the examples for the font installation guide. The package has been developed for use in packages such as cfr-lm and venturisadf.
2019-08-13tex-beamerposter-doc: initial commitbrook5-1/+27
Documentation for tex-beamerposter.
2019-08-13tex-beamerposter: initial commitbrook5-1/+41
The package enables the user to use beamer style operations on a canvas of the sizes provided by a0poster; font scaling is available (using packages such as type1cm if necessary). In addition, the package allows the user to benefit from the nice colour box handling and alignment provided by the beamer class (for example, with rounded corners and shadows). Good looking posters may be created very rapidly. Features include: scalable fonts using the fp and type1cm packages; posters in A-series sizes, and custom sizes like double A0 are possible; still applicable to custom beamer slides, e.g. 16:9 slides for a wide-screen (i.e. 1.78 aspect ratio); orientation may be portrait or landscape; a 'debug mode' is provided.
2019-08-12tex-oberdiek{,-doc}: update to 2019markd5-20/+20
Updates to oberdiek bundle for issues reported at github. Mostly relating to luatex. Recent git log: 776d8c6 normalise README to README.txt and use same name in tds zip bcd2725 remove dot prefix in lua call ceb9ee3 Pulled PR#70 and adapted versions 5e7ae76 Don't use module d613a64 remade attachfile tests without mod date 90e9c2b Merge branch 'attachfile-issue69' ac1b5bc test for attachfile2 f05832d added luatex driver 364233e regenerate test results with much wider log lines d344b37 date in readme c3bdd5b Merge branch 'disccolor' of https://github.com/zauguin/oberdiek into PR66luacolor d859988 resaved tests because of \expanded 3b911d5 changed period to semicolon in texmf.cnf 3417a7d changed error to warning ec5fce0 Traverse disc nodes 87339a1 [bookmark] fix typo in doc a8cc029 fix typo in U+257F definition caeef72 force monospace not variable typewriter Bug fix release with no code changes from 2019-07-25 release other than including the new luatex support file for the attachfile2 package (atfi-luatex.def) in the oberdiek.tds.zip file, and some documentation typos fixed.
2019-08-12tex-tex4ht{,-doc}: update to 2019.51746markd4-16/+16
changes unknown
2019-08-12tex-toptesi{,-doc}: update to 6.3.06markd5-20/+26
changes unknown
2019-08-11Bump PKGREVISIONs for perl 5.30.0wiz55-97/+110
2019-08-11tex-hyperref{,-doc}: update to 6.88hmarkd5-19/+23
Update to hyperref fixing issues reported on GitHub, main log entries since last release: copy manifest to tds zip for ctan checks spurious dictionary file for an unknown spell checker additional html files from restructured manual updated version and changelog added aftergroup code remade luatex test-files adapt version number removed producer from dviwindo removed producer from dvipsone driver removed producer code from xetex/dvipdfm driver removed producer code from pdftex driver remove pdfproducer setting from luatex driver added \mu mapping to psdextra.def limiitiiationss README is now merged with the manual, apart from a basic stub testfile for issue 81 gobble \thanks in pdftitle Dutch language \autoref support
2019-08-11tex-jsclasses: update to 2019.51726markd2-9/+9
* Small fixes for \BibTeX logo.
2019-08-11tex-beamer{,-doc}: update to 3.56markd4-18/+18
### Changed - Improved parser for overlays ### Fixed - Add missing commands with overlay specification - Replace fixed text width in `inmargin` theme - Treatment of `+` and `.` overlay specifiations
2019-08-11tex-changes{,-doc}: update to 3.1.3markd4-19/+18
Release 3.1.3 is a bugfix for an option clash for ulem and truncate and introduces documentation of known problems and solutions.
2019-08-11tex-titlesec{,-doc}: update to 2.11markd6-31/+24
- New license: MIT. - Option nostruts, to remove struts inserted by titlesec. - Reorganized code: only sty files, removed def and tss ones (although the mechanism for tss still works). - Fix - Wrong hyperlinks in table of contents with the starred versions, because of a change of behavior of hyperref (it patches the behaviour of an internal macro in hyperref). - Fix - Wrong spacing with titleps and displayed text after a section. - Fix - Newly defined floats raised an error with titletoc.
2019-08-11tex-babel{,-doc}: update to 3.33markd4-16/+16
- \prehyphenchar set to 0 in languages requiring it: kannada, marathi, tamil, etc. (lua). - \AddBabelHook can be set for specific languages. - Fix - !\grq in T1 behaved like the ligature !`. - Minimal preliminary support for the experimental harftex.
2019-08-11print: Add tex-babel-serbianmarkd1-1/+2
2019-08-11tex-babel-serbian: Added version 2.0markd4-0/+25
The package provides support for Serbian documents written in Latin, in babel.
2019-08-11print: add tex-numberpt{,-doc}markd1-1/+3
2019-08-11tex-numberpt{,-doc}: Add version 1.0markd8-0/+56
This packages defines commands to display counters spelled out in Portuguese. The styles are \numberpt for "all lowercase" \Numberpt for "First word capitalized" \NumberPt for "All Capitalized" \NUMBERPT for "ALL UPPERCASE" For example, \renewcommand{\thechapter}{\NumberPt{chapter}} makes chapter titles to be rendered as "Capitulo Um", "Capitulo Dois" etc. Options are offered to select variations in the spelling of "14", or Brazilian vs. European Portuguese forms in the spelling of "16", "17", and "19". The package requires expl3 and xparse.
2019-08-11tex-media9{,-doc}: update to 1.02markd4-18/+18
changes unknown
2019-08-11tex-greek-inputenc{,-doc}: update to 1.7markd5-21/+23
iso-8859-7.def: Use LICR macros instead of transliteration and remove ``\textbullet`` substitution character. (Missing characters will now result in the standard ``inputenc`` error message.) lgrenc.dfu: Remove duplicate definitions. Update documentation and tests.
2019-08-11tex-tex4ht{,-doc}: update to 2019.51604markd5-19/+25
changes unknown
2019-08-11tex-ocgx2{,-doc}: update to 0.43markd4-18/+18
changes unknown
2019-08-11tex-babel-greek: update to 1.9hmarkd2-9/+9
changes unknown
2019-08-11tex-babel-turkish: update to 1.4markd2-9/+9
Updated for the TU encoding.
2019-08-11tex-babel-icelandic: update to 1.3markd2-9/+9
changes unknown
2019-08-08Update all R packages to canonical form.brook1-6/+4
The canonical form [1] of an R package Makefile includes the following: - The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as needed), and CATEGORIES. - HOMEPAGE is not present but defined in math/R/Makefile.extension to refer to the CRAN web page describing the package. Other relevant web pages are often linked from there via the URL field. This updates all current R packages to this form, which will make regular updates _much_ easier, especially using pkgtools/R2pkg. [1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
2019-08-08print/Makefile: remove removed tex-bezos*wiz1-3/+1
2019-08-07pdf2djvu: Update to 0.9.13nia2-9/+11
pdf2djvu (0.9.13) unstable; urgency=low [ Jakub Wilk ] * Fix build failure with Poppler ≥ 0.76. * Improve warning message for (unhandled) hide actions. * Windows: fix reading files with non-ASCII characters in names. https://github.com/jwilk/pdf2djvu/issues/138 * Upgrade libraries bundled with the Windows package: - Poppler 0.77; - FreeType 2.10; - OpenJPEG 2.3.1. * Improve the test suite: + Don't enforce the C locale. + Make it easy to pass arguments to nose. (make test noseargs=...) * Update the Polish translation. * Use HTTPS for exiv2.org URLs. * Update poppler-data URL. * Add support for heap profiling using gperftools. [ Samy Mahmoudi ] * Improve build-time logging. -- Jakub Wilk <jwilk@jwilk.net> Mon, 10 Jun 2019 19:06:35 +0200 pdf2djvu (0.9.12) unstable; urgency=low * Fix build failure with Poppler ≥ 0.72. * Improve the test suite. * Improve typography in the manual page. * Upgrade libraries bundled with the Windows package: - Poppler 0.72; - poppler-data 0.4.9; - GraphicsMagick 1.3.31; - FreeType 2.9.1; - Expat 2.2.6. * Windows: fix GraphicsMagick configuration search path. * Windows: install miscellaneous documentation files. Regression introduced in 0.8.1. * Windows build system: don't download sources without explicit user's consent. -- Jakub Wilk <jwilk@jwilk.net> Wed, 02 Jan 2019 16:46:27 +0100 pdf2djvu (0.9.11) unstable; urgency=low * Fix build failure with Poppler ≥ 0.70. * Improve error handling. * Improve the build system: + Fix Poppler (≥ 0.69) headers detection with old compilers that require the -std option to enable C++11 mode. + Honor the CPPFLAGS environment variable only at configure time, not when running make. (This was already the case for other *FLAGS variables.) * Improve the test suite: + Make it easy to use custom Python interpreter. (make test PYTHON=/path/to/python) + Make it easy to test against installed version of pdf2djvu. (make test-installed) * Improve documentation: + Use HTTPS for leon.bottou.org URL. -- Jakub Wilk <jwilk@jwilk.net> Thu, 25 Oct 2018 23:07:15 +0200