pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/ruby-prawn Update ruby-prawrn to 2.0.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8830d3f32512
branches:  trunk
changeset: 648257:8830d3f32512
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Mar 13 15:27:09 2015 +0000

description:
Update ruby-prawrn to 2.0.0.

1. Changes to supported Ruby versions
2. Changes to PrawnPDF's versioning policies
3. All decimals in PDF output are now rounded to a fixed precision of
   4 decimal places
4. Fixed text width calculation to prevent unnecessary soft hyphen
5. Fixed styled text width calculations when using TTF files
6. Fixed broken vertical alignment for center and bottom
7. Calling dash(0) now raises an error instead of generating a corrupt PDF
8. Vastly improved handling of encodings for PDF built in (AFM) fonts
9. Temporarily restored the Document#on_page_create method

Please refer http://prawnpdf.org/api-docs/2.0/file.CHANGELOG.html in datail.

diffstat:

 print/ruby-prawn/Makefile |  6 +++---
 print/ruby-prawn/PLIST    |  5 +++--
 print/ruby-prawn/distinfo |  8 ++++----
 3 files changed, 10 insertions(+), 9 deletions(-)

diffs (67 lines):

diff -r 676becb2c5ae -r 8830d3f32512 print/ruby-prawn/Makefile
--- a/print/ruby-prawn/Makefile Fri Mar 13 15:23:23 2015 +0000
+++ b/print/ruby-prawn/Makefile Fri Mar 13 15:27:09 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2015/02/04 14:26:47 taca Exp $
+# $NetBSD: Makefile,v 1.8 2015/03/13 15:27:09 taca Exp $
 
-DISTNAME=      prawn-1.3.0
+DISTNAME=      prawn-2.0.0
 CATEGORIES=    print
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,7 +8,7 @@
 COMMENT=       Fast and nimble PDF generator for Ruby
 LICENSE=       gnu-gpl-v2 OR gnu-gpl-v3 OR ruby-license
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-pdf-core>=0.4.0<0.5:../../print/ruby-pdf-core
+DEPENDS+=      ${RUBY_PKGPREFIX}-pdf-core>=0.5.0<0.6:../../print/ruby-pdf-core
 DEPENDS+=      ${RUBY_PKGPREFIX}-ttfunk>=1.4.0<1.5:../../fonts/ruby-ttfunk
 
 RUBY_VERSION_SUPPORTED=        200 193 21
diff -r 676becb2c5ae -r 8830d3f32512 print/ruby-prawn/PLIST
--- a/print/ruby-prawn/PLIST    Fri Mar 13 15:23:23 2015 +0000
+++ b/print/ruby-prawn/PLIST    Fri Mar 13 15:27:09 2015 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2015/02/04 14:26:47 taca Exp $
+@comment $NetBSD: PLIST,v 1.5 2015/03/13 15:27:09 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.yardopts
 ${GEM_LIBDIR}/COPYING
@@ -7,7 +7,6 @@
 ${GEM_LIBDIR}/Gemfile
 ${GEM_LIBDIR}/LICENSE
 ${GEM_LIBDIR}/Rakefile
-${GEM_LIBDIR}/data/encodings/win_ansi.txt
 ${GEM_LIBDIR}/data/fonts/Courier-Bold.afm
 ${GEM_LIBDIR}/data/fonts/Courier-BoldOblique.afm
 ${GEM_LIBDIR}/data/fonts/Courier-Oblique.afm
@@ -40,6 +39,7 @@
 ${GEM_LIBDIR}/data/images/page_white_text.alpha
 ${GEM_LIBDIR}/data/images/page_white_text.color
 ${GEM_LIBDIR}/data/images/page_white_text.png
+${GEM_LIBDIR}/data/images/pal_bk.png
 ${GEM_LIBDIR}/data/images/pigs.jpg
 ${GEM_LIBDIR}/data/images/prawn.png
 ${GEM_LIBDIR}/data/images/ruport.png
@@ -173,6 +173,7 @@
 ${GEM_LIBDIR}/manual/outline/insert_section_after.rb
 ${GEM_LIBDIR}/manual/outline/outline.rb
 ${GEM_LIBDIR}/manual/outline/sections_and_pages.rb
+${GEM_LIBDIR}/manual/repeatable_content/alternate_page_numbering.rb
 ${GEM_LIBDIR}/manual/repeatable_content/page_numbering.rb
 ${GEM_LIBDIR}/manual/repeatable_content/repeatable_content.rb
 ${GEM_LIBDIR}/manual/repeatable_content/repeater.rb
diff -r 676becb2c5ae -r 8830d3f32512 print/ruby-prawn/distinfo
--- a/print/ruby-prawn/distinfo Fri Mar 13 15:23:23 2015 +0000
+++ b/print/ruby-prawn/distinfo Fri Mar 13 15:27:09 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2015/02/04 14:26:47 taca Exp $
+$NetBSD: distinfo,v 1.5 2015/03/13 15:27:09 taca Exp $
 
-SHA1 (prawn-1.3.0.gem) = d74021f89e3c8957785f4bac03fe26b46f1f0671
-RMD160 (prawn-1.3.0.gem) = 5998653a4b25a9bce6673b2303fc364000e59cf6
-Size (prawn-1.3.0.gem) = 911360 bytes
+SHA1 (prawn-2.0.0.gem) = 36015caeb6bdb9fb3b48cc3321078872121c46bd
+RMD160 (prawn-2.0.0.gem) = 5f64b9d3d5c625ea578d28b54587235ff6b36b9f
+Size (prawn-2.0.0.gem) = 912384 bytes



Home | Main Index | Thread Index | Old Index