pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/p5-PDF-Table



Module Name:    pkgsrc
Committed By:   wen
Date:           Tue Jul  4 02:25:13 UTC 2023

Modified Files:
        pkgsrc/textproc/p5-PDF-Table: Makefile distinfo

Log Message:
Update to 1.005

Upstream changes:
=== Version 1.005 (2023-01-28)

  lib/PDF/Table.pm
   Update cell checking when using markup, so that anything which CAN be by
    default stringified, will be. Some customers are using default or implicit
    stringification of objects, which was being caught as an unsupported data
    type, and rendered as "(invalid)" in a cell. The downside is that if you
    send something nonsensical (e.g., reference to a SCALAR), you will see the
    stringified reference (address), as done in the 1.003 and earlier versions.

  Makefile.PL remove PROVIDES clause, as was getting build warnings about it.

=== Version 1.004 (2023-01-21)

  lib/PDF/Table.pm, lib/PDF/Table.pod, INFO/SPONSORS (new), INFO/Table.html,
    MANIFEST
   For PDF::Builder ONLY, allow specification of cell 'markup' (Markdown
    or HTML), to permit great flexibility in cell content. See PDF::Builder's
    examples/Column.pl for an example of usage.

   This work (as well as markup changes for PDF::Builder) has been kindly
    sponsored by Amtivo Group (see INFO/SPONSORS).

  lib/PDF/Table.pm, examples/sample1-size-vsizes.pl
   The 'Times' font should be named 'Times-Roman', to conform with the correct
    core font naming. PDF::Builder no longer silently accepts 'Times' as an
    alias for 'Times-Roman', and now gives a warning.

  xt/manifest.t, xt/pod.t, MANIFEST, util/2_t-tests.pl
   Move author tests from t/ to xt/

  examples/chess.pl
   PDF::API2 (PREVIOUS to release 2.044) has a bug in its TTF
    handling, where it fails to translate some Unicode points ("U+nnnn" number)
    to the appropriate font glyph entry, and instead puts the Unicode point
    in the glyph list. This is incorrect, and usually results in a mismapping.

    As of PDF::API2 v 2.044, chess.pl seems to be working again.

  examples/*.pl
   If command line -A or -B, add prefix A_ or B_ to the output file name. This
    can be useful when using -A or -B with util/3_examples.pl to generate
    different output PDFs for PDF::API2 and PDF::Builder. Keep in mind that an
    example given without -A or -B will not add the prefix.

  lib/PDF/Table.pm, lib/PDF/Table.pod, INFO/Table.html,
    examples/vsizes.pl (new), util/3_examples.pl
   Dry run to return vertical size (overall, header, [footer], each row),
    no output to PDF, with "ink" set to 0.

  lib/PDF/Table.pod (moved), MANIFEST, util/pod2cpanhtml.pl, Makefile.PL
   Move .pod up a level (thanks to "perlpunk")

  lib/PDF/Table/Table.pod, INFO/Table.html, examples/chess.pl,
    INFO/Changes_2019, lib/PDF/Table.pm
   Typos caught by lintian (via emollier) and codespell (via mdeweerd).

 CONTRIBUTING, MANIFEST  add Contribution guide

=== Version 1.003 (2022-07-05)

 lib/PDF/Table/ColumnWidth.pm, lib/PDF/Table/Table.pod, examples/size.pl,
   MANIFEST, util/3_examples.pl
  Add the ability to specify fixed and relative sizes for column widths,
   rather than having to accept system-calculated widths. You give a string
   to the 'size' optional global setting specifying the absolute width of
   a column (in, pt, cm, mm, em, or ex units), and/or a unit of '*' to
   indicate remaining space is to be split up among these columns.

 lib/PDF/Table.pm, lib/PDF/Table/Settings.pm, MANIFEST
  Split out deprecated_settings and check_settings functions into new file.

 lib/PDF/Table.pm, lib/PDF/Table/ColumnWidth.pm, MANIFEST, t/PDF-Table.t
  Split out CalcColumnWidths function into new file.

 examples/chess.pl
  PDF::API2 work-around added for font-handling change in 2.043. The problem
   is being investigated, but the chess example almost works for now.

 lib/PDF/Table.pm, lib/PDF/Table/Table.pod, MANIFEST
  Split out documentation into separate POD file.

 lib/PDF/Table.pm
  Fix handling of degenerate case of header-only, without data rows (#71).

 lib/PDF/Table.pm, t/PDF-Table.t
  Finish cleanup of column width calculations (#68, #72).

 Makefile.PL, LICENSE, MANIFEST.SKIP
  Build (at install) META.* with "provides" member. Add separate license file.
   Add some items to MANIFEST SKIP file to clean up.

 lib/PDF/Table.pm
  $LAST_UPDATE changed from 'my' storage class to 'our', so can be accessed
   programmatically.

 lib/PDF/Table.pm
   Absolute minimum with of a column reset to at least $min_col_width (a new
    global default) to prevent text_block() width errors.

 Update build process to ensure consistent "unix" formatting of most
   human-readable files. Some non-CPAN builds were complaining
   about MS-DOS format (CRLF line ends) on some files.

 lib/PDF/Table.pm, examples/chess.pl, t/PDF-Table.t
   Fix handling of max_w [GitHub #68], rewrite column width calculations. This
    may result in some noticable changes in column widths from before.

 lib/PDF/Table.pm   Remove requirement that "empty cell" text not be an
   empty string (allow $empty_cell_text to be ''), permitting completely
   empty cells.

 lib/PDF/Table.pm   minor comment updates

 README.md, lib/PDF/Table.pm, INFO/Table.html
  2022 copyright. NOT archiving Changes yet.

=== Version 1.002 (2020-12-27)

 README.md, lib/PDF/Table.pm, Makefile.PL
  Miscellaneous updates to clean up support URLs, emails, etc.

 util/pod2cpanhtml.pl
  Remove use of search.cpan.org CSS reference, as that site no longer exists.
   Looking for a good replacement, possibly Bootstrap, that doesn't require
   that a phone be turned to landscape orientation in order to read text at
   a decent size.

 lib/PDF/Table.pm
  Cells spanning columns only had the first part (cell) of the bottom
   horizontal rule drawn. Reported by "stefanalt". Fixed to draw full spanned
   width.

 t/PDF-Table.t
  One calculated value was considerably different between standard Perl (uses
   doubles for floats), long-double Perl, and quad-math Perl. Round the
   calculated value to 6 decimal digits so that it works on any system.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/textproc/p5-PDF-Table/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/textproc/p5-PDF-Table/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/p5-PDF-Table/Makefile
diff -u pkgsrc/textproc/p5-PDF-Table/Makefile:1.28 pkgsrc/textproc/p5-PDF-Table/Makefile:1.29
--- pkgsrc/textproc/p5-PDF-Table/Makefile:1.28  Tue Jun 28 11:36:21 2022
+++ pkgsrc/textproc/p5-PDF-Table/Makefile       Tue Jul  4 02:25:13 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2022/06/28 11:36:21 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2023/07/04 02:25:13 wen Exp $
 
-DISTNAME=      PDF-Table-1.002
+DISTNAME=      PDF-Table-1.005
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    textproc perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=PDF/}
 

Index: pkgsrc/textproc/p5-PDF-Table/distinfo
diff -u pkgsrc/textproc/p5-PDF-Table/distinfo:1.16 pkgsrc/textproc/p5-PDF-Table/distinfo:1.17
--- pkgsrc/textproc/p5-PDF-Table/distinfo:1.16  Tue Oct 26 11:22:32 2021
+++ pkgsrc/textproc/p5-PDF-Table/distinfo       Tue Jul  4 02:25:13 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2021/10/26 11:22:32 nia Exp $
+$NetBSD: distinfo,v 1.17 2023/07/04 02:25:13 wen Exp $
 
-BLAKE2s (PDF-Table-1.002.tar.gz) = 461c8829cf574b7b44c4f6c5a420e970c573992e75fe982ae84e36bc944db2ac
-SHA512 (PDF-Table-1.002.tar.gz) = 45630dbb43ed9745b0c0a84ba605c021c46141c8fd61b8546b12333e2477843f4eb3ce7ce976ce4e66fed1f60d39acbdf28ae60bea7ade49bd9ceefdf483384a
-Size (PDF-Table-1.002.tar.gz) = 75274 bytes
+BLAKE2s (PDF-Table-1.005.tar.gz) = 3396e95e177607ca93470b1415bfbd15e369313e028a4f594717aa48a031c64e
+SHA512 (PDF-Table-1.005.tar.gz) = b93aaeb37ec8500fecd50ff3e5bdf79872ee942b76561f6ad62a6f33907fec3401af571272063fcb2950d73f6e92355e1f34ade0ff3448898eb0b0ca037c178f
+Size (PDF-Table-1.005.tar.gz) = 91154 bytes



Home | Main Index | Thread Index | Old Index