git: ad8858c1cce5 - main - textproc/rubygem-asciidoctor-pdf: Allow build with rubygem-prawn-icon 3.1.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Sep 2022 13:04:31 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ad8858c1cce5bd6eb3dcfcc2d51e98f563d7c450 commit ad8858c1cce5bd6eb3dcfcc2d51e98f563d7c450 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-09-10 12:53:58 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-09-10 13:02:51 +0000 textproc/rubygem-asciidoctor-pdf: Allow build with rubygem-prawn-icon 3.1.0+ - Bump PORTREVISION for package change Obtained from: https://github.com/asciidoctor/asciidoctor-pdf/commit/631606e91f487e797e73c15467979b0b63c5ff68 --- textproc/rubygem-asciidoctor-pdf/Makefile | 3 ++- .../files/patch-rubygem-prawn-icon | 24 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/textproc/rubygem-asciidoctor-pdf/Makefile b/textproc/rubygem-asciidoctor-pdf/Makefile index ef68a1c3c0b9..e04fa60afde9 100644 --- a/textproc/rubygem-asciidoctor-pdf/Makefile +++ b/textproc/rubygem-asciidoctor-pdf/Makefile @@ -1,5 +1,6 @@ PORTNAME= asciidoctor-pdf PORTVERSION= 2.3.0 +PORTREVISION= 1 CATEGORIES= textproc rubygems MASTER_SITES= RG @@ -14,7 +15,7 @@ RUN_DEPENDS= rubygem-asciidoctor>=2.0<3:textproc/rubygem-asciidoctor \ rubygem-concurrent-ruby>=1.1<2:devel/rubygem-concurrent-ruby \ rubygem-matrix>=0.4<1:math/rubygem-matrix \ rubygem-prawn>=2.4.0<2.5:print/rubygem-prawn \ - rubygem-prawn-icon>=3.0.0<3.1:print/rubygem-prawn-icon \ + rubygem-prawn-icon>=3.1.0<3.2:print/rubygem-prawn-icon \ rubygem-prawn-svg>=0.31.0<1:print/rubygem-prawn-svg \ rubygem-prawn-table>=0.2.0<0.3:print/rubygem-prawn-table \ rubygem-prawn-templates>=0.1.0<0.2:print/rubygem-prawn-templates \ diff --git a/textproc/rubygem-asciidoctor-pdf/files/patch-rubygem-prawn-icon b/textproc/rubygem-asciidoctor-pdf/files/patch-rubygem-prawn-icon new file mode 100644 index 000000000000..f9a111a320ff --- /dev/null +++ b/textproc/rubygem-asciidoctor-pdf/files/patch-rubygem-prawn-icon @@ -0,0 +1,24 @@ +Obtained from: https://github.com/asciidoctor/asciidoctor-pdf/commit/631606e91f487e797e73c15467979b0b63c5ff68 + +--- asciidoctor-pdf.gemspec.orig 2022-09-07 13:01:41 UTC ++++ asciidoctor-pdf.gemspec +@@ -30,7 +30,7 @@ Gem::Specification.new do |s| + s.add_runtime_dependency(%q<prawn-table>.freeze, ["~> 0.2.0"]) + s.add_runtime_dependency(%q<prawn-templates>.freeze, ["~> 0.1.0"]) + s.add_runtime_dependency(%q<prawn-svg>.freeze, ["~> 0.32.0"]) +- s.add_runtime_dependency(%q<prawn-icon>.freeze, ["~> 3.0.0"]) ++ s.add_runtime_dependency(%q<prawn-icon>.freeze, ["~> 3.1.0"]) + s.add_runtime_dependency(%q<concurrent-ruby>.freeze, ["~> 1.1"]) + s.add_runtime_dependency(%q<treetop>.freeze, ["~> 1.6.0"]) + s.add_development_dependency(%q<rake>.freeze, ["~> 13.0.0"]) +--- lib/asciidoctor/pdf/ext/prawn/extensions.rb.orig 2022-09-07 13:01:41 UTC ++++ lib/asciidoctor/pdf/ext/prawn/extensions.rb +@@ -16,7 +16,7 @@ module Asciidoctor + ColumnBox = ::Prawn::Document::ColumnBox + + FontAwesomeIconSets = %w(fab far fas) +- IconSets = %w(fab far fas fi pf).to_set ++ IconSets = %w(fab far fas fi pf mdi).to_set + IconSetPrefixes = IconSets.map {|it| it + '-' } + InitialPageContent = %(q\n) + (FontStyleToSet = {