Hi,

I've just uploaded an NMU to fix this issue. Please find attached the debdiff.
Please note that your Git repository is not in sync with the Debian archive. It
is missing version 3.0.0, this NMU applies to.

Regards, Daniel
-- 
Regards,
Daniel Leidert <dleid...@debian.org> | https://www.wgdd.de/
GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D
GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78

https://www.fiverr.com/dleidert
https://www.patreon.com/join/dleidert
diff -Nru ruby-prawn-icon-3.0.0/debian/changelog ruby-prawn-icon-3.0.0/debian/changelog
--- ruby-prawn-icon-3.0.0/debian/changelog	2021-10-10 20:37:56.000000000 +0200
+++ ruby-prawn-icon-3.0.0/debian/changelog	2021-12-07 11:14:30.000000000 +0100
@@ -1,3 +1,12 @@
+ruby-prawn-icon (3.0.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use gem installation layout, so the font files can be found in the
+    expected path (closes: #997657).
+  * Enable tests and add ruby-pdf-inspector to build dependencies.
+
+ -- Daniel Leidert <dleid...@debian.org>  Tue, 07 Dec 2021 11:14:30 +0100
+
 ruby-prawn-icon (3.0.0-1) unstable; urgency=medium
 
   * New upstream version
diff -Nru ruby-prawn-icon-3.0.0/debian/control ruby-prawn-icon-3.0.0/debian/control
--- ruby-prawn-icon-3.0.0/debian/control	2021-10-10 20:37:56.000000000 +0200
+++ ruby-prawn-icon-3.0.0/debian/control	2021-12-07 11:14:30.000000000 +0100
@@ -6,6 +6,7 @@
 Build-Depends: debhelper-compat (= 13),
                gem2deb,
                rake,
+               ruby-pdf-inspector,
                ruby-prawn (<< 3.0.0),
                ruby-prawn (>= 1.1.0),
                ruby-rspec
@@ -20,8 +21,8 @@
 Package: ruby-prawn-icon
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${ruby:Depends},
-         ${misc:Depends}
+Depends: ${misc:Depends},
+         ${ruby:Depends}
 Description: Provides icon fonts for PrawnPDF
  Prawn::Icon provides various icon fonts including
  FontAwesome, PaymentFont and Foundation Icons
diff -Nru ruby-prawn-icon-3.0.0/debian/patches/0003-Remove-bundler-and-simplecov.patch ruby-prawn-icon-3.0.0/debian/patches/0003-Remove-bundler-and-simplecov.patch
--- ruby-prawn-icon-3.0.0/debian/patches/0003-Remove-bundler-and-simplecov.patch	1970-01-01 01:00:00.000000000 +0100
+++ ruby-prawn-icon-3.0.0/debian/patches/0003-Remove-bundler-and-simplecov.patch	2021-12-07 11:14:30.000000000 +0100
@@ -0,0 +1,31 @@
+Author: Daniel Leidert
+Date: 2021-12-07
+Subject: Remove bundler and simplecov usage
+
+Forwarded: not-needed
+
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -5,11 +5,11 @@
+ # This is free software. Please see the LICENSE and COPYING files for details.
+ #
+ #
+-require 'simplecov'
+-SimpleCov.start
++#require 'simplecov'
++#SimpleCov.start
+ 
+-require "bundler"
+-Bundler.setup
++#require "bundler"
++#Bundler.setup
+ 
+ require "prawn/icon"
+ require 'pdf/inspector'
+@@ -22,4 +22,4 @@
+ RSpec.configure do |config|
+   config.include PDFHelper
+   config.include ParserHelper
+-end
+\ No newline at end of file
++end
diff -Nru ruby-prawn-icon-3.0.0/debian/patches/series ruby-prawn-icon-3.0.0/debian/patches/series
--- ruby-prawn-icon-3.0.0/debian/patches/series	2021-10-10 20:37:56.000000000 +0200
+++ ruby-prawn-icon-3.0.0/debian/patches/series	2021-12-07 11:14:30.000000000 +0100
@@ -1,2 +1,3 @@
 0001-Clear-executable-bit-on-data-fonts-pf.patch
-0002-Access-data-files-from-usr-share-ruby-prawn-icon.patch
+#0002-Access-data-files-from-usr-share-ruby-prawn-icon.patch
+0003-Remove-bundler-and-simplecov.patch
diff -Nru ruby-prawn-icon-3.0.0/debian/ruby-prawn-icon.install ruby-prawn-icon-3.0.0/debian/ruby-prawn-icon.install
--- ruby-prawn-icon-3.0.0/debian/ruby-prawn-icon.install	2021-10-10 20:37:56.000000000 +0200
+++ ruby-prawn-icon-3.0.0/debian/ruby-prawn-icon.install	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-data/fonts/[a-z]* /usr/share/ruby-prawn-icon/data/fonts/
diff -Nru ruby-prawn-icon-3.0.0/debian/ruby-tests.rake ruby-prawn-icon-3.0.0/debian/ruby-tests.rake
--- ruby-prawn-icon-3.0.0/debian/ruby-tests.rake	2021-10-10 20:37:56.000000000 +0200
+++ ruby-prawn-icon-3.0.0/debian/ruby-tests.rake	2021-12-07 11:14:30.000000000 +0100
@@ -1,4 +1,5 @@
-task default: %w[test]
+require 'gem2deb/rake/spectask'
 
-task :test do
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
 end
diff -Nru ruby-prawn-icon-3.0.0/debian/rules ruby-prawn-icon-3.0.0/debian/rules
--- ruby-prawn-icon-3.0.0/debian/rules	2021-10-10 20:37:56.000000000 +0200
+++ ruby-prawn-icon-3.0.0/debian/rules	2021-12-07 11:09:32.000000000 +0100
@@ -5,5 +5,7 @@
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
+export DH_RUBY = --gem-install
+
 %:
 	dh $@ --buildsystem=ruby --with ruby

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to