pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/ruby-pdf-reader



Module Name:    pkgsrc
Committed By:   taca
Date:           Tue Mar 24 15:40:56 UTC 2020

Modified Files:
        pkgsrc/print/ruby-pdf-reader: Makefile PLIST distinfo

Log Message:
print/ruby-pdf-reader: update to 2.4.0

Update ruby-pdf-reader to 2.4.0.

2.4.0 (21st November 2019)

- Optimise overlapping characters code introduced in 2.3.0. Text extraction
  of pages with thousands of characters is still slower than it was in
  2.2.1, but it might tolerable for now.
  See https://github.com/yob/pdf-reader/pull/308 for details.

- Implement very basic font substitution for Type1 and TrueType fonts that
  aren't embedded

- Remove PDF::Hash class. It's been deprecated since 2010, and it's hard to
  believe anyone is still using it.

- Several small bug fixes

2.3.0 (7th November 2019)

- Text extraction now makes an effort to skip duplicate characters that
  overlap, a common approach used for a fake "bold" effect, This will make
  text extraction a bit slower - if that turns out to be an issue I'll look
  into further optimisations or provide a toggle to turn it off

- Several small bug fixes


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/print/ruby-pdf-reader/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/print/ruby-pdf-reader/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/print/ruby-pdf-reader/distinfo

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

Modified files:

Index: pkgsrc/print/ruby-pdf-reader/Makefile
diff -u pkgsrc/print/ruby-pdf-reader/Makefile:1.19 pkgsrc/print/ruby-pdf-reader/Makefile:1.20
--- pkgsrc/print/ruby-pdf-reader/Makefile:1.19  Mon Nov  4 15:48:32 2019
+++ pkgsrc/print/ruby-pdf-reader/Makefile       Tue Mar 24 15:40:56 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2019/11/04 15:48:32 taca Exp $
+# $NetBSD: Makefile,v 1.20 2020/03/24 15:40:56 taca Exp $
 
-DISTNAME=      pdf-reader-2.2.1
+DISTNAME=      pdf-reader-2.4.0
 CATEGORIES=    print
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/print/ruby-pdf-reader/PLIST
diff -u pkgsrc/print/ruby-pdf-reader/PLIST:1.9 pkgsrc/print/ruby-pdf-reader/PLIST:1.10
--- pkgsrc/print/ruby-pdf-reader/PLIST:1.9      Wed Mar 14 15:31:31 2018
+++ pkgsrc/print/ruby-pdf-reader/PLIST  Tue Mar 24 15:40:56 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2018/03/14 15:31:31 taca Exp $
+@comment $NetBSD: PLIST,v 1.10 2020/03/24 15:40:56 taca Exp $
 bin/pdf_callbacks${RUBY_SUFFIX}
 bin/pdf_object${RUBY_SUFFIX}
 bin/pdf_text${RUBY_SUFFIX}
@@ -23,7 +23,6 @@ ${GEM_LIBDIR}/examples/rspec.rb
 ${GEM_LIBDIR}/examples/text.rb
 ${GEM_LIBDIR}/examples/version.rb
 ${GEM_LIBDIR}/lib/pdf-reader.rb
-${GEM_LIBDIR}/lib/pdf/hash.rb
 ${GEM_LIBDIR}/lib/pdf/reader.rb
 ${GEM_LIBDIR}/lib/pdf/reader/afm/Courier-Bold.afm
 ${GEM_LIBDIR}/lib/pdf/reader/afm/Courier-BoldOblique.afm
@@ -70,6 +69,7 @@ ${GEM_LIBDIR}/lib/pdf/reader/object_cach
 ${GEM_LIBDIR}/lib/pdf/reader/object_hash.rb
 ${GEM_LIBDIR}/lib/pdf/reader/object_stream.rb
 ${GEM_LIBDIR}/lib/pdf/reader/orientation_detector.rb
+${GEM_LIBDIR}/lib/pdf/reader/overlapping_runs_filter.rb
 ${GEM_LIBDIR}/lib/pdf/reader/page.rb
 ${GEM_LIBDIR}/lib/pdf/reader/page_layout.rb
 ${GEM_LIBDIR}/lib/pdf/reader/page_state.rb

Index: pkgsrc/print/ruby-pdf-reader/distinfo
diff -u pkgsrc/print/ruby-pdf-reader/distinfo:1.17 pkgsrc/print/ruby-pdf-reader/distinfo:1.18
--- pkgsrc/print/ruby-pdf-reader/distinfo:1.17  Mon Nov  4 15:48:32 2019
+++ pkgsrc/print/ruby-pdf-reader/distinfo       Tue Mar 24 15:40:56 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2019/11/04 15:48:32 taca Exp $
+$NetBSD: distinfo,v 1.18 2020/03/24 15:40:56 taca Exp $
 
-SHA1 (pdf-reader-2.2.1.gem) = dd74b58b826a1341c4b887bafceaf661333ff56c
-RMD160 (pdf-reader-2.2.1.gem) = f66621324ecbec393f107373cca140a0935c7312
-SHA512 (pdf-reader-2.2.1.gem) = 9f252ec63c138fbd5518a0f8b331fc206f425f380f1c72993d150f3d251a209c42aa6f793ebbf531289eb2ef2468fc0eaee4f613e8203e068fd8c3c1c728b786
-Size (pdf-reader-2.2.1.gem) = 210432 bytes
+SHA1 (pdf-reader-2.4.0.gem) = 57a88f9fccf94fc8302876ba3ca7c01bad027599
+RMD160 (pdf-reader-2.4.0.gem) = 9ec73ba839a2c91c99be9d67bf65bfd3dd848dc6
+SHA512 (pdf-reader-2.4.0.gem) = 6cba2e1f3279a952f6eafb39e8064b26da1098ff4a5e98bbaab17c5fd567458f375ee2590df04a9397fd6e96e56cc65c322e15b198fe9d6c254436f26dcf7e0b
+Size (pdf-reader-2.4.0.gem) = 211968 bytes



Home | Main Index | Thread Index | Old Index