Package: ruby-prawn / 2.1.0+dfsg-1
Metadata
Package | Version | Patches format |
---|---|---|
ruby-prawn | 2.1.0+dfsg-1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
0100_remove_bundler_rubygems_stuff.patch | (download) |
spec/spec_helper.rb |
12 1 + 11 - 0 ! |
remove rubygems and bundler stuff from specs |
0200_replace_BASEDIR_data_by_DATADIR.patch | (download) |
lib/prawn.rb |
4 3 + 1 - 0 ! |
redefine basedir and datadir |
0300_fix_paths.patch | (download) |
lib/prawn/font/afm.rb |
4 1 + 3 - 0 ! |
fix fonts path to use only prawn's fonts directory |
0400_use_system_fonts.patch | (download) |
spec/document_spec.rb |
2 1 + 1 - 0 ! |
use system fonts when possible Upstream ships embedded copies of several truetype fonts. Some of them are available in Debian. These copies have been removed from the Debian source package, and system fonts are used instead. Skip a test expecting to not find in gkai00mp.ttf |
0405_use_system_fonts_manual.patch | (download) |
manual/text/fallback_fonts.rb |
2 1 + 1 - 0 ! |
use system fonts when possible Upstream ships embedded copies of several truetype fonts. Some are available in Debian. These copies have been removed from the Debian source package, and system fonts are used instead. |
0500_disable_tests_using_removed_files.patch | (download) |
spec/images_spec.rb |
6 4 + 2 - 0 ! |
disable some specs after removal of some files from the source package Some specs are using for the moment images with unclear license and/or non-free fonts. These are disabled because they cannot be run since these files have been removed from the Debian source package. |
0600_replace_require_relative_manual.patch | (download) |
manual/example_helper.rb |
2 1 + 1 - 0 ! |
replace require_relative with a require statement with an absolute path The installed library is not located the same way as in the source package, relatively to the manual files. |
0700_use_deterministic_keys_for_gradients.patch | (download) |
lib/prawn/graphics/patterns.rb |
13 11 + 2 - 0 ! |
use deterministic values for gradients Previously, Prawn used #hash for gradients. Unfortunately, this uses #object_id internally and prevent Prawn to create PDF using gradients in a reproducible manner. . We now instead use an internal Hash with an incremental index starting at 1. |
0800_enable_manual_to_be_built_reproducibly.patch | (download) |
manual/cover.rb |
5 4 + 1 - 0 ! |
enable manual to be built reproducibly In order to make the manual build reproducibly, we need a way to stop writing the current build time in it. . The following patch will allow this in two ways: if BUILD_DATE is set in the environment, the date will be taken from there; otherwise, if the Git index is available, the date of the last commit will be used. |