Commit graph

8708 commits

Author SHA1 Message Date
abs
1db5156423 Bump zathura-ps PKGREVISION for zathura update 2022-02-17 17:25:41 +00:00
abs
4051afe9cc Bump zathura-pdf-poppler PKGREVISION for zathura update 2022-02-17 17:22:34 +00:00
abs
b6279160c6 Updated print/zathura to 0.4.9
Add '$f' and '$p' expansions to 'exec' shortcut function
Fix build with meson 0.60
Add :source command
Various fixes and improvements
Updated translations

(Fixes build issue with updated meson in pkgsrc)
2022-02-17 16:28:16 +00:00
wiz
08f3f66b6b poppler*: update to 22.02.0
Release 22.02.0:
        core:
         * Signature: Add a way to detect unsigned FormFieldSignature
         * Signature: Suport background image when using left and right text
         * Signature: Fix path where to search for Firefox NSS in Windows
         * Signature: Fix NSS code to work correctly in Windows/Android
         * Count only signature fields in PDFDoc::getNumSignatureFields
         * Minor code improvements

        qt:
         * Allow signing unsigned signature fields
         * Allow passing a background image for the signature when signing
         * Allow passing the document password when signing
         * Fix leftFontSize being ignored when signing

        glib:
         * try with utf8 password if latin1 fails
         * New method for getting all signature fields of a document
         * Fix compile with MSVC

        utils:
         * pdfsig: Fix compile with MSVC

        build system:
         * Fix NSS cmake check for MSVC
2022-02-15 19:26:48 +00:00
wiz
4e9f94233b poppler: remove patch that was rejected upstream
The patch makes one header file more usable from C; but upstream
says poppler is a C++ library

https://gitlab.freedesktop.org/poppler/poppler/-/issues/1219
2022-02-15 19:26:31 +00:00
taca
e5f6ee50db print/ruby-pdf-reader: update to 2.9.1
2.8.0 (2021-12-28)

* Add PDF::Reader::Page#runs for extracting text from a page with
  positioning metadata (http://github.com/yob/pdf-reader/pull/411)
* Add options to PDF::Reader::Page#text to make some behaviour configurable
  (http://github.com/yob/pdf-reader/pull/411)
	- including extracting the text for only part of the page
* Improve text positioning and extraction for Type3 fonts
  (http://github.com/yob/pdf-reader/pull/412)
* Skip extracting text that is positioned outside the page
  (http://github.com/yob/pdf-reader/pull/413)
* Fix occasional crash when reading some streams
  (http://github.com/yob/pdf-reader/pull/405)

2.9.0 (2022-01-24)

* Support additional encryption standards
  (http://github.com/yob/pdf-reader/pull/419)
* Return CropBox correctly from Page#rectangles
  (https://github.com/yob/pdf-reader/pull/420)
* For sorbet users, additional type annotations are included in the gem

2.9.1 (2022-02-04)

* Fix exception in Page#walk introduced in 2.9.0
  (http://github.com/yob/pdf-reader/pull/442)
* Other small bug fixes
2022-02-14 14:15:28 +00:00
wiz
6d005844b5 poppler: fix package version
Noticed by David Shao on pkgsrc-users.
2022-02-06 08:36:18 +00:00
wiz
a9fa47fecf tex-tikzpagenodes: update checksums 2022-02-03 08:05:05 +00:00
wiz
c77919320d tex-anyfontsize: update checksums 2022-02-03 08:04:45 +00:00
manu
450b9c3633 Added print/tex-anyfontsize version 1.6
The package allows the to user select any font size (via e.g.
\fontsize{...}{...}\selectfont), even those sizes that are not
listed in the .fd file. If such a size is requested, LaTeX will
search for and select the nearest listed size; anyfontsize will
then scale the font to the size actually requested.
2022-02-02 15:23:39 +00:00
manu
56bc1d33bf Added print/tex-tikzpagenodes version 1.1
This package provides special PGF/TikZ nodes for the text,
marginpar, footer and header area of the current page. They are
inspired by the 'current page' node defined by PGF/TikZ itself.

Contributed by Jean-Jacques Puig
2022-02-02 15:19:02 +00:00
rhialto
4572dd1531 print/poppler: avoid build break with g++ 8.
[ 98%] Linking CXX executable poppler-render
/usr/bin/ld: ../../libpoppler.so.117.0.0: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../../libpoppler.so.117.0.0: undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&, std::error_code&)'
collect2: error: ld returned 1 exit status

Patch is similar to upstream's
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1203
2022-01-30 12:07:02 +00:00
mef
bde063161c (print/indexinfo) Updated 0.2.6 to 0.3.1, explicit ChnageLog Unknown, but
it seems compression function added.
2022-01-23 05:22:00 +00:00
wiz
0752e5547a py-PDF2: fix PLIST for python 2.7 2022-01-22 14:30:08 +00:00
triaxx
495e69b568 ghostscript-agpl: Fix build issue discussed on pkgsrc-users@
https://mail-index.netbsd.org/pkgsrc-users/2019/06/13/msg028790.html

This fix has kindly been provided upstream to try solving the building
errors (https://bugs.ghostscript.com/show_bug.cgi?id=704844).
2022-01-22 13:51:55 +00:00
wiz
00dbb58f11 *: fix for python 3.x 2022-01-19 17:50:45 +00:00
tsutsui
e214eebcf5 ruby-gnome: update to 3.5.1.
Upstream changes (from NEWS):

== Ruby-GNOME 3.5.1: 2021-01-17

This is a release for Windows.

=== Changes

==== All

  * windows: Add workaround for mingw-w64-x86_64-gettext-0.21-1 or
    later. Dummy (({DllMain()})) is defined.

==== Ruby/Pango

  * Fixes

    * Fixed a bug that can't be started.
      [GitHub#1456][Reported by Akira Ouchi]

==== Ruby/GObjectIntrospection

  * Fixes

    * Fixed a bug that (({NoMethodError})) is raised on invalid
      signature for constructor.

=== Thanks

  * Akira Ouchi

== Ruby-GNOME 3.5.0: 2021-01-11

This is a release that adds support for Ractor.

Ruby/GObjectIntrospection has some backward incompatibilities for
Ractor support. If you have any problem, please report it to
https://github.com/ruby-gnome/ruby-gnome/issues .

=== Changes

==== Ruby/GLib2

  * Improvements

    * Added support for Ractor.

    * Added support for signal handlers and virtual methods in
      included module.

    * Added support for (({try_convert})) protocol for property setter.

    * Added support for converting tuple (({GVariant})) to Ruby.

==== Ruby/GIO2

  * Improvements

    * Added support for GIO 2.70.

    * Added (({Gio::RubyInputStream})) to use Ruby objects as
      (({Gio::InputStream})).

    * Added (({Gio::RubyOutputStream})) to use Ruby objects as
      (({Gio::OutputStream})).

==== Ruby/GObjectIntrospection

  * Improvements

    * Added support for Ractor. This introduced some backward
      incompatiblities.

    * Added support for "transfer full" for out (({GError})).
      [GitHub#1437][Reported by mcclumpherty]

    * Added support for changing whether GVL is unlocked per object by
      the following APIs.

      * (({GObjectIntrospection::FunctionInfo#set_lock_gvl_default}))

      * (({GObjectIntrospection::FunctionInfo#add_lock_gvl_predicate}))

      * (({GObjectIntrospection::Loader#prepare_function_info_lock_gvl}))

    * Added support for converting from raw argument to enum.

    * Added support for (({GList<GVariant>})) return value.

    * Added support for reporting an error in callback.

  * Fixes

    * Fixed a bug that virtual functions of grandparent class can't be
      implemented.
      [GitHub#1433][Patch by shibafu]

==== Ruby/Pango

  * Improvements

    * Added support for Ruby 3.2.

==== Ruby/GTK3

  * Improvements

    * Improved documentation.
      [GitHub#1454][Patch by Andy Maleh]

    * Added support for Ruby 3.2.

==== Ruby/GDK4

  * Improvements

    * Updated pkg-config ID.
      [GitHub#1435][Patch by Sasi Olin]

==== Ruby/GTK4

  * Improvements

    * Removed needless rsvg2 dependency on Windows.
      [GitHub#1440][Reported by HuBandiT]

  * Fixes

    * Fixed typos in warning messages.
      [GitHub#1442][Patch by HuBandiT]
      [GitHub#1415][Reported by rubyFeedback]

=== Thanks

  * shibafu

  * Sasi Olin

  * mcclumpherty

  * HuBandiT

  * rubyFeedback

  * Andy Maleh
2022-01-17 15:17:14 +00:00
fox
16c4e97239 print/foliate: Update to 2.6.4
Changes since 2.6.3:

2.6.4

Changes:

  * Fixed various bugs
2022-01-16 04:52:09 +00:00
wiz
e3f47fbb0e *: python2 egg files are back, add them to the PLISTs 2022-01-14 17:51:50 +00:00
wiz
b973346820 py-pydyf: convert to egg.mk 2022-01-10 22:00:08 +00:00
wiz
3793ac95af py-pslib: convert to egg.mk 2022-01-10 21:30:50 +00:00
wiz
6d8a012279 py-cups: convert to egg.mk 2022-01-10 20:32:17 +00:00
wiz
dc34761d52 py-PDF2: fix for python 2.7 2022-01-10 20:24:14 +00:00
wiz
593d535b2c py-Pdf: convert to egg.mk 2022-01-10 18:22:05 +00:00
wiz
0e3a407b71 py-PDF2: convert to egg.mk 2022-01-10 08:44:17 +00:00
wiz
0e84c2911a pdf-redact-tools: convert to egg.mk 2022-01-10 07:50:49 +00:00
ryoon
45fb4e2594 *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
wiz
79ba826636 poppler: bump to C++17 per recent changelog 2022-01-08 11:31:49 +00:00
wiz
3feb09af7f poppler*: update to 22.01.0
Release 22.01.0:
        core:
         * Allow local (relative to dll) fonts dir on Windows
         * TextOutputDev: require more spacing between columns. Issue #1093
         * Fix crash in Splash::gouraudTriangleShadedFill. Issue #1183
         * Fix crash when calling Form::reset()
         * GfxSeparationColorSpace: Check validity of colorspace and function. Issue #1184
         * Minor code improvements

        glib:
         * Include glib.h before using defines from it
         * Close file descriptors on error
         * Plug some memory leaks
         * Replace use of deprecated g_memdup/g_time_zone_new
         * Remove FD-taking functions on windows

        utils:
         * pdfsig: Add support for documents with passwords
         * pdfsig: Fix signing with -sign if nss password is needed

Release 21.12.0:
        core:
         * Add API to add images
         * CairoOutputDev: Fix de-duping of Flate images
         * Fix crash on broken files when using non-default ENABLE_ZLIB_UNCOMPRESS. Issue #393
         * Minor code improvements

        glib:
         * Add API for validation of signatures
         * Add API to read/save to file descriptor

        utils:
         * pdftohtml: Reduce sensitivity of duplicate detection. Issue #1117

        build system:
         * Increase C++ standard to 17
2022-01-08 11:16:05 +00:00
wiz
414fbfcf6b *: set USE_PKG_RESOURCES for more packages 2022-01-05 20:47:34 +00:00
wiz
4da1311724 *: set USE_PKG_RESOURCES for some more packages 2022-01-05 20:07:10 +00:00
wiz
67e1f1a6bf python: egg.mk: add USE_PKG_RESOURCES flag
This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
2022-01-05 15:40:56 +00:00
wiz
bb579283d0 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:26 +00:00
ryoon
e0b1a43c08 qpdf: Update to 10.5.0
Changelog:
10.5.0: December 21, 2021
      + Packaging changes

          o Pre-built documentation is no longer distributed with the source
            distribution. The AppImage and Windows binary distributions still
            contain embedded documentation, and a separate doc distribution
            file is available from the qpdf release site. Documentation is now
            available at https://qpdf.readthedocs.io for every major/minor
            version starting with version 10.5. Please see Packaging
            Documentation for details on how packagers should handle
            documentation.

          o The documentation sources have been switched from docbook to
            reStructuredText processed with Sphinx. This will break previous
            documentation links. A redirect is in place on the main website. A
            top-to-bottom review of the documentation is planned for an
            upcoming release.

      + Library Enhancements

          o Since qpdf version 8, using object accessor methods on an instance
            of QPDFObjectHandle may create warnings if the object is not of the
            expected type. These warnings now have an error code of
            qpdf_e_object instead of qpdf_e_damaged_pdf. Also, comments have
            been added to QPDFObjectHandle.hh to explain in more detail what
            the behavior is. See Object Accessor Methods for a more in-depth
            discussion.

          o Add Pl_Buffer::getMallocBuffer() to initialize a buffer allocated
            with malloc() for better cross-language interoperability.

      + C API Enhancements

          o Many thanks to M. Holger whose contributions have heavily
            influenced these C API enhancements. His several suggestions, pull
            requests, questions, and critical reading of documentation and
            comments have resulted in significant usability improvements to the
            C API.

          o Overhaul error handling for the object handle functions C API. Some
            rare error conditions that would previously have caused a crash are
            now trapped and reported, and the functions that generate them
            return fallback values. See comments in the ERROR HANDLING section
            of include/qpdf/qpdf-c.h for details. In particular, exceptions
            thrown by the underlying C++ code when calling object accessors are
            caught and converted into errors. The errors can be checked by
            calling qpdf_has_error. Use qpdf_silence_errors to prevent the
            error from being written to stderr.

          o Add qpdf_get_last_string_length to the C API to get the length of
            the last string that was returned. This is needed to handle strings
            that contain embedded null characters.

          o Add qpdf_oh_is_initialized and qpdf_oh_new_uninitialized to the C
            API to make it possible to work with uninitialized objects.

          o Add qpdf_oh_new_object to the C API. This allows you to clone an
            object handle.

          o Add qpdf_get_object_by_id, qpdf_make_indirect_object, and
            qpdf_replace_object, exposing the corresponding methods in QPDF and
            QPDFObjectHandle.

          o Add several functions for working with pages. See PAGE FUNCTIONS in
            include/qpdf/qpdf-c.h for details.

          o Add several functions for working with streams. See STREAM
            FUNCTIONS in include/qpdf/qpdf-c.h for details.

          o Add qpdf_oh_get_type_code and qpdf_oh_get_type_name.

          o Add qpdf_oh_get_binary_string_value and qpdf_oh_new_binary_string
            for making it easier to deal with strings that contain embedded
            null characters.
2022-01-04 10:53:05 +00:00
kleink
6a91019f1b tex-vhistory{,-doc}: Update to 1.80.
# Release 1.8.0
- Included Spanish translations supplied by Hector, Fernando and Roberto
- Included Portugese translations supplied by João Ricardo Lourenço

# 2013-08-05: Release 1.7.0.
New option omittable for people who don't want to have a table with
all revisions.
2021-12-30 15:09:20 +00:00
adam
54fe3b553b Forget about Python 3.6 2021-12-30 13:05:27 +00:00
kleink
a6bc8ee8c0 tex-vhistory{,-doc}: Update to 1.80.
# Release 1.8.0
- Included Spanish translations supplied by Hector, Fernando and Roberto
- Included Portugese translations supplied by João Ricardo Lourenço

# 2013-08-05: Release 1.7.0.
New option omittable for people who don't want to have a table with
all revisions.
2021-12-29 13:59:03 +00:00
adam
21383c74eb libharu: fixes for Darwin 2021-12-28 19:22:04 +00:00
dholland
ef19d685b0 Make print/advi build again. 2021-12-27 00:49:02 +00:00
taca
d5c66fe724 print/ruby-pdf-reader: update to 2.7.0
2.7.0 (2021-12-13)

* Include RBI type files in the gem

  - Downstream users of pdf-reader who also use sorbet *should* find many
    parts of the API will now be typed checked by sorbet

* Fix glyph positioning in some rotation scenarios
  (http://github.com/yob/pdf-reader/pull/403)

  - Improved text extraction on some rotated pages, and rotated text on
    normal pages

* Add PDF::Reader::Page#rectangles
  (http://github.com/yob/pdf-reader/pull/402)

  - Returns page boxes (MediaBox, etc) with rotation applied, and as PORO
    rather than arrays of numbers

* Add PDF::Reader::Page#origin (http://github.com/yob/pdf-reader/pull/400)

* Add PDF::Reader::Page#{height,width}
  (http://github.com/yob/pdf-reader/pull/399)

* Overlap filter should only drop characters that overlap *and* match
  (http://github.com/yob/pdf-reader/pull/401)
2021-12-13 14:58:57 +00:00
adam
b6d9bd86bc revbump for icu and libffi 2021-12-08 16:01:42 +00:00
khorben
4f5dab6348 py-octoprint: fix dependencies
Bumps PKGREVISION.

Thanks wiz@ for the heads up!
2021-12-07 10:51:22 +00:00
taca
c788b62755 print/ruby-pdf-reader: update to 2.6.0
2.6.0 (2021-11-12)

* Text extraction improvements

  - Improved text layout on pages with a variety of font sizes
    (http://github.com/yob/pdf-reader/pull/355)
  - Fixed text positioning for some rotated pages
    (http://github.com/yob/pdf-reader/pull/356)
  - Improved character width calculation for PDFs using built-in
    (non-embedded) ZapfDingbats (http://github.com/yob/pdf-reader/pull/373)
  - Skip zero-width characters (http://github.com/yob/pdf-reader/pull/372)

* Performance improvements

  - Reduced memory pressure when decoding TIFF images
    (http://github.com/yob/pdf-reader/pull/360)
  - Optional dependency on ascii81_native gem for faster processing of files
    using the ascii85 filter (http://github.com/yob/pdf-reader/pull/359)

* Successfully parse more files

  - Gracefully handle some non-spec compliant CR/LF issues
    (http://github.com/yob/pdf-reader/pull/364)
  - Fix parsing of some escape sequences in content streams
    (http://github.com/yob/pdf-reader/pull/368)
  - Increase the amount of junk bytes we detect and skip at the end of a
    file (382)
  - Ignore "/Prev 0" in trailers (http://github.com/yob/pdf-reader/pull/383)
  - Fix parsing of some inline images (BI ID EI tokens)
    (http://github.com/yob/pdf-reader/pull/389)
  - Gracefully handle some xref tables that incorrectly start with 1
    (http://github.com/yob/pdf-reader/pull/384)
2021-11-28 08:07:38 +00:00
ryoon
805d05738a qpdf: Update to 10.4.0
Changelog:
10.4.0: November 16, 2021
      + Handling of Weak Cryptography Algorithms

          o From the qpdf CLI, the --allow-weak-crypto is now required to
            suppress a warning when explicitly creating PDF files using RC4
            encryption. While qpdf will always retain the ability to read and
            write such files, doing so will require explicit acknowledgment
            moving forward. For qpdf 10.4, this change only affects the
            command-line tool. Starting in qpdf 11, there will be small API
            changes to require explicit acknowledgment in those cases as well.
            For additional information, see Chapter 6, Weak Cryptography.

      + Bug Fixes

          o Fix potential bounds error when handling shell completion that
            could occur when given bogus input.

          o Properly handle overlay/underlay on completely empty pages (with no
            resource dictionary).

          o Fix crash that could occur under certain conditions when using
            --pages with files that had form fields.

      + Library Enhancements

          o Make QPDF::findPage functions public.

          o Add methods to Pl_Flate to be able to receive warnings on certain
            recoverable conditions.

          o Add an extra check to the library to detect when foreign objects
            are inserted directly (instead of using QPDF::copyForeignObject) at
            the time of insertion rather than when the file is written.
            Catching the error sooner makes it much easier to locate the
            incorrect code.

      + CLI Enhancements

          o Improve diagnostics around parsing --pages command-line options

      + Packaging Changes

          o The Windows binary distribution is now built with crypto provided
            by OpenSSL 3.0.
2021-11-25 15:06:48 +00:00
ryoon
42ede0b144 qpdf: Follow HOMEPAGE redirect 2021-11-25 14:46:57 +00:00
wiz
6f85784094 *: py-fonttools does not support python 3.6 2021-11-20 23:29:37 +00:00
adam
9a59719bcc py-weasyprint: updated to 53.4
Version 53.4
------------
Bug fixes:
* Fix background on pages with a bleed property
* Use SVG width/height as inner size when no viewBox is given
* Only enable letter- and word-spacing when needed
* Don’t display inputs with "hidden" type
* Allow quotes in url() syntax for SVG,
* Use better approximations for font ascent and descent values in SVG
* Fix images embedded from multiple pages
* Use a better hash for fonts to avoid collisions
* Set SVG ratio when width and height are 0


Version 53.3
------------
Bug fixes:
* Fix crashes and malformed PDF files
* Handle cx and cy in SVG rotations
* Fix marker-start being drawn on mid vertices


Version 53.2
------------
New features:
* Re-add the ``make_bookmark_tree()`` method

Bug fixes:
* Fix package deployed on PyPI


Version 53.1
------------
Bug fixes:
* Don’t crash when leaders are in floats
* Embed images once
* Fix crash with SVG intrinsic ratio

Documentation:
* Include ``weasyprint.tools`` removal in documentation


Version 53.0
------------
This version also includes the changes from unstable b1 and b2 versions listed
below.

Dependencies:

* Pango 1.44.0+ is now needed.
* pydyf 0.0.3+ is now needed.
* fontTools 4.0.0+ is now needed.
* html5lib 1.0.1+ is now needed.

API changes:
* ``FontConfiguration`` is now in the ``weasyprint.text.fonts`` module.
* ``--format`` and ``--resolution`` options have been deprecated, PDF is the
  only output format supported.
* ``--optimize-images`` option has been deprecated and replaced by
  ``--optimize-size``, allowing ``images``, ``fonts``, ``all`` and ``none``
  values.
* ``weasyprint.tools`` have been removed.

Performance:
* Improve image management

New features:
* Support basic "clipPath" in SVG

Bug fixes:
* Render use path in SVG
* Fix fill color on use path in SVG
* Handle stroke-opacity and fill-opacity
* Fix crash with borders whose widths are in em
* Fix crash on draw_pattern
* Handle stacking contexts put in contexts by previous generations
* Catch font subsetting errors
* Fix how x and y attributes are handled in SVG
* Don’t crash when use tags reference non-existing element
* Handle font collections
* Handle x and y attributes in use tags

Documentation:
* Add documentation for installation
2021-11-19 21:53:29 +00:00
adam
dd58794eeb py-pydyf: added version 0.1.2
pydyf is a low-level PDF generator written in Python and based on PDF
specification 1.7.
2021-11-19 09:43:08 +00:00
wiz
0611df22d8 texlab: update to 3.3.1.
## [3.3.1] - 10.11.2021

### Fixed

- Fix completion for symbols in commands with incomplete braces
- Do not produce syntax errors for macro parameters inside special command arguments
- Fix a bug that sometimes causes the `aux` file to pick up the diagnostics of the `tex` file
- Fix a bug that sometimes prevents `log` files from being reanalyzed
2021-11-16 14:47:12 +00:00
wiz
025613e28f *: recursive bump for gstreamer 1.18.5 2021-11-15 22:53:55 +00:00