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-prawn to 0.15.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/96fec70c4298
branches:  trunk
changeset: 631966:96fec70c4298
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Mar 14 17:51:20 2014 +0000

description:
Update ruby-prawn to 0.15.0

Full CHANGELOG is https://github.com/prawnpdf/prawn/wiki/CHANGELOG and
here is summary.

Prawn 0.15.0 ¡½ 2014.02.16

Summarized notes follow, but you can also check out the complete diff from
0.14.0 to 0.15.0.

This release is a stepping stone to next month's 1.0 release, and it involves
more internal restructuring and policy updates than it does new fixes or
features. However, there are a few minor fixes and improvements that shipped
with this code, and we may do one or two more maintenance releases of 0.15.x
before 1.0 ships in mid-March.

It should be safe to upgrade to 0.15 if you've been using 0.13 or 0.14. If
you're still using 0.12 or earlier, you should either invest the time to
upgrade those projects now, or treat them as legacy code
indefinitely. Extension authors are encouraged to try out 0.15, because it is
our last major release before 1.0, and is a good snapshot of where we
currently are with things.

* We've laid out a plan for post-1.0 API compatibility

* Prawn now officially now support Ruby 2.1.0

* A couple new gems have been extracted

* Grids can now be safely redefined

* Document#render no longer raises encoding errors on JRuby+Windows

* Table column width calculations now tolerate minor floating point rounding
  errors

* TTFunk has been upgraded to 1.1.0, which provides Unicode astral plane
  support in TTF files.

* Prawn once again has no third-party runtime dependencies!

diffstat:

 print/ruby-prawn/Makefile |    8 +-
 print/ruby-prawn/PLIST    |  196 ++++++++++++++++++++++++++++++++++-----------
 print/ruby-prawn/distinfo |    8 +-
 3 files changed, 154 insertions(+), 58 deletions(-)

diffs (truncated from 350 to 300 lines):

diff -r 9a2da32e3c1a -r 96fec70c4298 print/ruby-prawn/Makefile
--- a/print/ruby-prawn/Makefile Fri Mar 14 17:45:03 2014 +0000
+++ b/print/ruby-prawn/Makefile Fri Mar 14 17:51:20 2014 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2013/07/21 02:50:43 taca Exp $
+# $NetBSD: Makefile,v 1.5 2014/03/14 17:51:20 taca Exp $
 
-DISTNAME=      prawn-0.12.0
+DISTNAME=      prawn-0.15.0
 CATEGORIES=    print
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,8 +8,8 @@
 COMMENT=       Fast and nimble PDF generator for Ruby
 LICENSE=       gnu-gpl-v2 OR gnu-gpl-v3 OR ruby-license
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-pdf-reader>=0.9.0:../../print/ruby-pdf-reader
-DEPENDS+=      ${RUBY_PKGPREFIX}-ttfunk>=1.0.2<1.1:../../fonts/ruby-ttfunk
+DEPENDS+=      ${RUBY_PKGPREFIX}-pdf-core>=0.1.3<0.2:../../print/ruby-pdf-core
+DEPENDS+=      ${RUBY_PKGPREFIX}-ttfunk>=1.1.0<1.2:../../fonts/ruby-ttfunk
 
 RUBY_VERSION_SUPPORTED=        200 193
 
diff -r 9a2da32e3c1a -r 96fec70c4298 print/ruby-prawn/PLIST
--- a/print/ruby-prawn/PLIST    Fri Mar 14 17:45:03 2014 +0000
+++ b/print/ruby-prawn/PLIST    Fri Mar 14 17:51:20 2014 +0000
@@ -1,21 +1,17 @@
-@comment $NetBSD: PLIST,v 1.2 2011/09/12 11:23:13 taca Exp $
+@comment $NetBSD: PLIST,v 1.3 2014/03/14 17:51:20 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.yardopts
 ${GEM_LIBDIR}/COPYING
 ${GEM_LIBDIR}/GPLv2
 ${GEM_LIBDIR}/GPLv3
+${GEM_LIBDIR}/Gemfile
 ${GEM_LIBDIR}/LICENSE
-${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/Rakefile
 ${GEM_LIBDIR}/data/encodings/win_ansi.txt
-${GEM_LIBDIR}/data/fonts/Action Man.dfont
-${GEM_LIBDIR}/data/fonts/Activa.ttf
-${GEM_LIBDIR}/data/fonts/Chalkboard.ttf
 ${GEM_LIBDIR}/data/fonts/Courier-Bold.afm
 ${GEM_LIBDIR}/data/fonts/Courier-BoldOblique.afm
 ${GEM_LIBDIR}/data/fonts/Courier-Oblique.afm
 ${GEM_LIBDIR}/data/fonts/Courier.afm
-${GEM_LIBDIR}/data/fonts/DejaVuSans.ttf
-${GEM_LIBDIR}/data/fonts/Dustismo_Roman.ttf
 ${GEM_LIBDIR}/data/fonts/Helvetica-Bold.afm
 ${GEM_LIBDIR}/data/fonts/Helvetica-BoldOblique.afm
 ${GEM_LIBDIR}/data/fonts/Helvetica-Oblique.afm
@@ -27,27 +23,25 @@
 ${GEM_LIBDIR}/data/fonts/Times-Italic.afm
 ${GEM_LIBDIR}/data/fonts/Times-Roman.afm
 ${GEM_LIBDIR}/data/fonts/ZapfDingbats.afm
-${GEM_LIBDIR}/data/fonts/comicsans.ttf
-${GEM_LIBDIR}/data/fonts/gkai00mp.ttf
 ${GEM_LIBDIR}/data/images/16bit.alpha
-${GEM_LIBDIR}/data/images/16bit.dat
+${GEM_LIBDIR}/data/images/16bit.color
 ${GEM_LIBDIR}/data/images/16bit.png
 ${GEM_LIBDIR}/data/images/arrow.png
 ${GEM_LIBDIR}/data/images/arrow2.png
 ${GEM_LIBDIR}/data/images/barcode_issue.png
 ${GEM_LIBDIR}/data/images/dice.alpha
-${GEM_LIBDIR}/data/images/dice.dat
+${GEM_LIBDIR}/data/images/dice.color
 ${GEM_LIBDIR}/data/images/dice.png
 ${GEM_LIBDIR}/data/images/dice_interlaced.png
 ${GEM_LIBDIR}/data/images/fractal.jpg
+${GEM_LIBDIR}/data/images/indexed_color.dat
+${GEM_LIBDIR}/data/images/indexed_color.png
 ${GEM_LIBDIR}/data/images/letterhead.jpg
 ${GEM_LIBDIR}/data/images/page_white_text.alpha
-${GEM_LIBDIR}/data/images/page_white_text.dat
+${GEM_LIBDIR}/data/images/page_white_text.color
 ${GEM_LIBDIR}/data/images/page_white_text.png
 ${GEM_LIBDIR}/data/images/pigs.jpg
 ${GEM_LIBDIR}/data/images/prawn.png
-${GEM_LIBDIR}/data/images/rails.dat
-${GEM_LIBDIR}/data/images/rails.png
 ${GEM_LIBDIR}/data/images/ruport.png
 ${GEM_LIBDIR}/data/images/ruport_data.dat
 ${GEM_LIBDIR}/data/images/ruport_transparent.png
@@ -69,44 +63,12 @@
 ${GEM_LIBDIR}/data/pdfs/two_hexagons.pdf
 ${GEM_LIBDIR}/data/pdfs/version_1_6.pdf
 ${GEM_LIBDIR}/data/shift_jis_text.txt
-${GEM_LIBDIR}/examples/bounding_box/russian_boxes.rb
-${GEM_LIBDIR}/examples/example_helper.rb
-${GEM_LIBDIR}/examples/general/context_sensitive_headers.rb
-${GEM_LIBDIR}/examples/graphics/cmyk.rb
-${GEM_LIBDIR}/examples/graphics/gradient.rb
-${GEM_LIBDIR}/examples/graphics/png_types.rb
-${GEM_LIBDIR}/examples/graphics/remote_images.rb
-${GEM_LIBDIR}/examples/m17n/full_win_ansi_character_list.rb
-${GEM_LIBDIR}/examples/m17n/sjis.rb
-${GEM_LIBDIR}/examples/m17n/win_ansi_charset.rb
-${GEM_LIBDIR}/examples/table/bill.rb
-${GEM_LIBDIR}/examples/table/header.rb
-${GEM_LIBDIR}/examples/text/font_calculations.rb
-${GEM_LIBDIR}/examples/text/hyphenation.rb
-${GEM_LIBDIR}/examples/text/indent_paragraphs.rb
 ${GEM_LIBDIR}/lib/prawn.rb
-${GEM_LIBDIR}/lib/prawn/compatibility.rb
-${GEM_LIBDIR}/lib/prawn/core.rb
-${GEM_LIBDIR}/lib/prawn/core/annotations.rb
-${GEM_LIBDIR}/lib/prawn/core/byte_string.rb
-${GEM_LIBDIR}/lib/prawn/core/destinations.rb
-${GEM_LIBDIR}/lib/prawn/core/document_state.rb
-${GEM_LIBDIR}/lib/prawn/core/literal_string.rb
-${GEM_LIBDIR}/lib/prawn/core/name_tree.rb
-${GEM_LIBDIR}/lib/prawn/core/object_store.rb
-${GEM_LIBDIR}/lib/prawn/core/page.rb
-${GEM_LIBDIR}/lib/prawn/core/pdf_object.rb
-${GEM_LIBDIR}/lib/prawn/core/reference.rb
-${GEM_LIBDIR}/lib/prawn/core/text.rb
-${GEM_LIBDIR}/lib/prawn/core/text/formatted/arranger.rb
-${GEM_LIBDIR}/lib/prawn/core/text/formatted/line_wrap.rb
-${GEM_LIBDIR}/lib/prawn/core/text/formatted/wrap.rb
 ${GEM_LIBDIR}/lib/prawn/document.rb
 ${GEM_LIBDIR}/lib/prawn/document/bounding_box.rb
 ${GEM_LIBDIR}/lib/prawn/document/column_box.rb
 ${GEM_LIBDIR}/lib/prawn/document/graphics_state.rb
 ${GEM_LIBDIR}/lib/prawn/document/internals.rb
-${GEM_LIBDIR}/lib/prawn/document/page_geometry.rb
 ${GEM_LIBDIR}/lib/prawn/document/snapshot.rb
 ${GEM_LIBDIR}/lib/prawn/document/span.rb
 ${GEM_LIBDIR}/lib/prawn/encoding.rb
@@ -115,15 +77,18 @@
 ${GEM_LIBDIR}/lib/prawn/font/afm.rb
 ${GEM_LIBDIR}/lib/prawn/font/dfont.rb
 ${GEM_LIBDIR}/lib/prawn/font/ttf.rb
+${GEM_LIBDIR}/lib/prawn/font_metric_cache.rb
 ${GEM_LIBDIR}/lib/prawn/graphics.rb
 ${GEM_LIBDIR}/lib/prawn/graphics/cap_style.rb
 ${GEM_LIBDIR}/lib/prawn/graphics/color.rb
 ${GEM_LIBDIR}/lib/prawn/graphics/dash.rb
-${GEM_LIBDIR}/lib/prawn/graphics/gradient.rb
 ${GEM_LIBDIR}/lib/prawn/graphics/join_style.rb
+${GEM_LIBDIR}/lib/prawn/graphics/patterns.rb
 ${GEM_LIBDIR}/lib/prawn/graphics/transformation.rb
 ${GEM_LIBDIR}/lib/prawn/graphics/transparency.rb
+${GEM_LIBDIR}/lib/prawn/image_handler.rb
 ${GEM_LIBDIR}/lib/prawn/images.rb
+${GEM_LIBDIR}/lib/prawn/images/image.rb
 ${GEM_LIBDIR}/lib/prawn/images/jpg.rb
 ${GEM_LIBDIR}/lib/prawn/images/png.rb
 ${GEM_LIBDIR}/lib/prawn/layout.rb
@@ -134,53 +99,184 @@
 ${GEM_LIBDIR}/lib/prawn/repeater.rb
 ${GEM_LIBDIR}/lib/prawn/security.rb
 ${GEM_LIBDIR}/lib/prawn/security/arcfour.rb
+${GEM_LIBDIR}/lib/prawn/soft_mask.rb
 ${GEM_LIBDIR}/lib/prawn/stamp.rb
 ${GEM_LIBDIR}/lib/prawn/table.rb
 ${GEM_LIBDIR}/lib/prawn/table/cell.rb
+${GEM_LIBDIR}/lib/prawn/table/cell/image.rb
 ${GEM_LIBDIR}/lib/prawn/table/cell/in_table.rb
+${GEM_LIBDIR}/lib/prawn/table/cell/span_dummy.rb
 ${GEM_LIBDIR}/lib/prawn/table/cell/subtable.rb
 ${GEM_LIBDIR}/lib/prawn/table/cell/text.rb
 ${GEM_LIBDIR}/lib/prawn/table/cells.rb
+${GEM_LIBDIR}/lib/prawn/table/column_width_calculator.rb
 ${GEM_LIBDIR}/lib/prawn/text.rb
 ${GEM_LIBDIR}/lib/prawn/text/box.rb
 ${GEM_LIBDIR}/lib/prawn/text/formatted.rb
+${GEM_LIBDIR}/lib/prawn/text/formatted/arranger.rb
 ${GEM_LIBDIR}/lib/prawn/text/formatted/box.rb
 ${GEM_LIBDIR}/lib/prawn/text/formatted/fragment.rb
+${GEM_LIBDIR}/lib/prawn/text/formatted/line_wrap.rb
 ${GEM_LIBDIR}/lib/prawn/text/formatted/parser.rb
+${GEM_LIBDIR}/lib/prawn/text/formatted/wrap.rb
+${GEM_LIBDIR}/lib/prawn/utilities.rb
+${GEM_LIBDIR}/manual/basic_concepts/adding_pages.rb
+${GEM_LIBDIR}/manual/basic_concepts/basic_concepts.rb
+${GEM_LIBDIR}/manual/basic_concepts/creation.rb
+${GEM_LIBDIR}/manual/basic_concepts/cursor.rb
+${GEM_LIBDIR}/manual/basic_concepts/measurement.rb
+${GEM_LIBDIR}/manual/basic_concepts/origin.rb
+${GEM_LIBDIR}/manual/basic_concepts/other_cursor_helpers.rb
+${GEM_LIBDIR}/manual/bounding_box/bounding_box.rb
+${GEM_LIBDIR}/manual/bounding_box/bounds.rb
+${GEM_LIBDIR}/manual/bounding_box/canvas.rb
+${GEM_LIBDIR}/manual/bounding_box/creation.rb
+${GEM_LIBDIR}/manual/bounding_box/indentation.rb
+${GEM_LIBDIR}/manual/bounding_box/nesting.rb
+${GEM_LIBDIR}/manual/bounding_box/russian_boxes.rb
+${GEM_LIBDIR}/manual/bounding_box/stretchy.rb
+${GEM_LIBDIR}/manual/document_and_page_options/background.rb
+${GEM_LIBDIR}/manual/document_and_page_options/document_and_page_options.rb
+${GEM_LIBDIR}/manual/document_and_page_options/metadata.rb
+${GEM_LIBDIR}/manual/document_and_page_options/page_margins.rb
+${GEM_LIBDIR}/manual/document_and_page_options/page_size.rb
+${GEM_LIBDIR}/manual/document_and_page_options/print_scaling.rb
+${GEM_LIBDIR}/manual/example_file.rb
+${GEM_LIBDIR}/manual/example_helper.rb
+${GEM_LIBDIR}/manual/example_package.rb
+${GEM_LIBDIR}/manual/example_section.rb
+${GEM_LIBDIR}/manual/graphics/circle_and_ellipse.rb
+${GEM_LIBDIR}/manual/graphics/color.rb
+${GEM_LIBDIR}/manual/graphics/common_lines.rb
+${GEM_LIBDIR}/manual/graphics/fill_and_stroke.rb
+${GEM_LIBDIR}/manual/graphics/fill_rules.rb
+${GEM_LIBDIR}/manual/graphics/gradients.rb
+${GEM_LIBDIR}/manual/graphics/graphics.rb
+${GEM_LIBDIR}/manual/graphics/helper.rb
+${GEM_LIBDIR}/manual/graphics/line_width.rb
+${GEM_LIBDIR}/manual/graphics/lines_and_curves.rb
+${GEM_LIBDIR}/manual/graphics/polygon.rb
+${GEM_LIBDIR}/manual/graphics/rectangle.rb
+${GEM_LIBDIR}/manual/graphics/rotate.rb
+${GEM_LIBDIR}/manual/graphics/scale.rb
+${GEM_LIBDIR}/manual/graphics/soft_masks.rb
+${GEM_LIBDIR}/manual/graphics/stroke_cap.rb
+${GEM_LIBDIR}/manual/graphics/stroke_dash.rb
+${GEM_LIBDIR}/manual/graphics/stroke_join.rb
+${GEM_LIBDIR}/manual/graphics/translate.rb
+${GEM_LIBDIR}/manual/graphics/transparency.rb
+${GEM_LIBDIR}/manual/images/absolute_position.rb
+${GEM_LIBDIR}/manual/images/fit.rb
+${GEM_LIBDIR}/manual/images/horizontal.rb
+${GEM_LIBDIR}/manual/images/images.rb
+${GEM_LIBDIR}/manual/images/plain_image.rb
+${GEM_LIBDIR}/manual/images/scale.rb
+${GEM_LIBDIR}/manual/images/vertical.rb
+${GEM_LIBDIR}/manual/images/width_and_height.rb
+${GEM_LIBDIR}/manual/layout/boxes.rb
+${GEM_LIBDIR}/manual/layout/content.rb
+${GEM_LIBDIR}/manual/layout/layout.rb
+${GEM_LIBDIR}/manual/layout/simple_grid.rb
+${GEM_LIBDIR}/manual/manual/cover.rb
+${GEM_LIBDIR}/manual/manual/foreword.rb
+${GEM_LIBDIR}/manual/manual/how_to_read_this_manual.rb
+${GEM_LIBDIR}/manual/manual/manual.rb
+${GEM_LIBDIR}/manual/outline/add_subsection_to.rb
+${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/page_numbering.rb
+${GEM_LIBDIR}/manual/repeatable_content/repeatable_content.rb
+${GEM_LIBDIR}/manual/repeatable_content/repeater.rb
+${GEM_LIBDIR}/manual/repeatable_content/stamp.rb
+${GEM_LIBDIR}/manual/security/encryption.rb
+${GEM_LIBDIR}/manual/security/permissions.rb
+${GEM_LIBDIR}/manual/security/security.rb
+${GEM_LIBDIR}/manual/syntax_highlight.rb
+${GEM_LIBDIR}/manual/table/basic_block.rb
+${GEM_LIBDIR}/manual/table/before_rendering_page.rb
+${GEM_LIBDIR}/manual/table/cell_border_lines.rb
+${GEM_LIBDIR}/manual/table/cell_borders_and_bg.rb
+${GEM_LIBDIR}/manual/table/cell_dimensions.rb
+${GEM_LIBDIR}/manual/table/cell_text.rb
+${GEM_LIBDIR}/manual/table/column_widths.rb
+${GEM_LIBDIR}/manual/table/content_and_subtables.rb
+${GEM_LIBDIR}/manual/table/creation.rb
+${GEM_LIBDIR}/manual/table/filtering.rb
+${GEM_LIBDIR}/manual/table/flow_and_header.rb
+${GEM_LIBDIR}/manual/table/image_cells.rb
+${GEM_LIBDIR}/manual/table/position.rb
+${GEM_LIBDIR}/manual/table/row_colors.rb
+${GEM_LIBDIR}/manual/table/span.rb
+${GEM_LIBDIR}/manual/table/style.rb
+${GEM_LIBDIR}/manual/table/table.rb
+${GEM_LIBDIR}/manual/table/width.rb
+${GEM_LIBDIR}/manual/text/alignment.rb
+${GEM_LIBDIR}/manual/text/color.rb
+${GEM_LIBDIR}/manual/text/column_box.rb
+${GEM_LIBDIR}/manual/text/fallback_fonts.rb
+${GEM_LIBDIR}/manual/text/font.rb
+${GEM_LIBDIR}/manual/text/font_size.rb
+${GEM_LIBDIR}/manual/text/font_style.rb
+${GEM_LIBDIR}/manual/text/formatted_callbacks.rb
+${GEM_LIBDIR}/manual/text/formatted_text.rb
+${GEM_LIBDIR}/manual/text/free_flowing_text.rb
+${GEM_LIBDIR}/manual/text/group.rb
+${GEM_LIBDIR}/manual/text/inline.rb
+${GEM_LIBDIR}/manual/text/kerning_and_character_spacing.rb
+${GEM_LIBDIR}/manual/text/leading.rb
+${GEM_LIBDIR}/manual/text/line_wrapping.rb
+${GEM_LIBDIR}/manual/text/paragraph_indentation.rb
+${GEM_LIBDIR}/manual/text/positioned_text.rb
+${GEM_LIBDIR}/manual/text/registering_families.rb
+${GEM_LIBDIR}/manual/text/rendering_and_color.rb
+${GEM_LIBDIR}/manual/text/right_to_left_text.rb
+${GEM_LIBDIR}/manual/text/rotation.rb
+${GEM_LIBDIR}/manual/text/single_usage.rb
+${GEM_LIBDIR}/manual/text/text.rb
+${GEM_LIBDIR}/manual/text/text_box_excess.rb
+${GEM_LIBDIR}/manual/text/text_box_extensions.rb
+${GEM_LIBDIR}/manual/text/text_box_overflow.rb
+${GEM_LIBDIR}/manual/text/utf8.rb
+${GEM_LIBDIR}/manual/text/win_ansi_charset.rb
 ${GEM_LIBDIR}/prawn.gemspec
+${GEM_LIBDIR}/spec/acceptance/png.rb
 ${GEM_LIBDIR}/spec/annotations_spec.rb
 ${GEM_LIBDIR}/spec/bounding_box_spec.rb
 ${GEM_LIBDIR}/spec/cell_spec.rb
+${GEM_LIBDIR}/spec/column_box_spec.rb
 ${GEM_LIBDIR}/spec/data/curves.pdf



Home | Main Index | Thread Index | Old Index