pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/p5-PDF-API2 Update to 2.039



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48e1c1687e5f
branches:  trunk
changeset: 449330:48e1c1687e5f
user:      wen <wen%pkgsrc.org@localhost>
date:      Sat Mar 27 23:31:07 2021 +0000

description:
Update to 2.039

Upstream changes:
2.039     2021-03-04

    - PDF::API2->open($filename) no longer reads the entire file into memory
      before working on it, instead reading from the file as needed.  This
      results in a substantial reduction in memory usage and start-up time for
      large PDF files, particularly in cases where the calling script doesn't
      need to access all of the contents of the PDF.

    - PDF files containing cross-reference streams can now be modified and saved
      normally.  Previously, they were read-only.

    - $text->paragraph(...) and $text->paragraphs(...) (formerly "section") are
      no longer undocumented and experimental.  If you were previously using
      them at your own risk, note that "-spillover" is no longer an option (text
      will always wrap inside the specified width if possible).  In addition,
      paragraphs(...) no longer collapses consecutive newlines.

    - [RT #98546] There is now an -align-last option for justified text to
      specify how the final line should be justified.  Left is still the
      default.

    - Code in the PDF::API2::Basic::PDF namespace was originally licensed under
      the Perl Artistic License, which has been determined to not be
      (L)GPL-compatible.  Martin Hosken has graciously granted an MIT license
      for use of his code contained in PDF::API2, so the distribution may now be
      used solely under the terms of the LGPL rather than requiring both
      licenses simultaneously.  Many thanks to Petr Pisar for his help in
      working through the licensing issues.

    - Renamed $text->lead(...) to $text->leading(...).  The old name is
      deprecated but will continue to work.  If you're modifying PDF::API2
      objects by editing their hash values instead of using these accessors,
      you'll need to update your code.

    - Added a -compress option (on by default) to PDF::API2->new(), open(), and
      open_scalar().  If disabled, most streams won't be compressed, which can
      simplify debugging.

diffstat:

 textproc/p5-PDF-API2/Makefile |   4 ++--
 textproc/p5-PDF-API2/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r b36416f43cbd -r 48e1c1687e5f textproc/p5-PDF-API2/Makefile
--- a/textproc/p5-PDF-API2/Makefile     Sat Mar 27 23:18:59 2021 +0000
+++ b/textproc/p5-PDF-API2/Makefile     Sat Mar 27 23:31:07 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.48 2020/09/07 14:44:55 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2021/03/27 23:31:07 wen Exp $
 
-DISTNAME=      PDF-API2-2.038
+DISTNAME=      PDF-API2-2.039
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    textproc perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SS/SSIMMS/}
diff -r b36416f43cbd -r 48e1c1687e5f textproc/p5-PDF-API2/distinfo
--- a/textproc/p5-PDF-API2/distinfo     Sat Mar 27 23:18:59 2021 +0000
+++ b/textproc/p5-PDF-API2/distinfo     Sat Mar 27 23:31:07 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.22 2020/09/07 14:44:55 wiz Exp $
+$NetBSD: distinfo,v 1.23 2021/03/27 23:31:07 wen Exp $
 
-SHA1 (PDF-API2-2.038.tar.gz) = 35f113f9bccd609e941b3831141a09706e694f32
-RMD160 (PDF-API2-2.038.tar.gz) = e92a821ac88eedb9d842372117592d56ec485e70
-SHA512 (PDF-API2-2.038.tar.gz) = b18203520ccd7a1ce2e7b79f326bd4b744fce1ba1754b0f60009f5572dcf5f2e972eb1fa540c007fde620bcdc170fb1af0a3d89ec55f6819454e6003f173e566
-Size (PDF-API2-2.038.tar.gz) = 3567202 bytes
+SHA1 (PDF-API2-2.039.tar.gz) = cc77dc7f52b5056d6081d4e8e5967bf5149a1fcd
+RMD160 (PDF-API2-2.039.tar.gz) = 595aebf6a826ae60921b9ac2a8d8245d787d9a6e
+SHA512 (PDF-API2-2.039.tar.gz) = cfff319a1254fd5e32e1b15ae32f9bccc8f91a4b12da99b065984b1549b0c03ca8600a73f8d36dcb1f8619d9ad9172ee9db5a4639905f488e31bf6801ed77f4f
+Size (PDF-API2-2.039.tar.gz) = 3564330 bytes



Home | Main Index | Thread Index | Old Index