Package: ruby-prawn / 1.0.0~rc1+dfsg1-3
Metadata
Package | Version | Patches format |
---|---|---|
ruby-prawn | 1.0.0~rc1+dfsg1-3 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
0100_remove_bundler_rubygems_stuff.patch | (download) |
spec/spec_helper.rb |
8 4 + 4 - 0 ! |
remove rubygems and bundler stuff from specs |
0102_simply_require_ttfunk.patch | (download) |
lib/prawn/core.rb |
14 1 + 13 - 0 ! |
replace complicated statements by a simple require 'ttfunk' ttfunk is available as a Debian package. We do not need $LOAD_PATH manipulations and rescues to load this library. |
0105_remove_rubygems_loadpath_stuff_manual.patch | (download) |
manual/example_helper.rb |
4 2 + 2 - 0 ! |
remove load_path manipulation from manual sources |
0200_replace_BASEDIR_data_by_DATADIR.patch | (download) |
lib/prawn/core.rb |
6 5 + 1 - 0 ! |
define prawn::datadir as the name of the directory containing data Upstream hardcoded the relative path with respect to prawn/core.rb of the directory containing data. A new constant, Prawn::DATADIR is introduced to permit using another directory, and change its name just once. The code (mainly comments and specs) is patched to make use of this new constant instead of the hardcoded path |
0205_replace_BASEDIR_data_by_DATADIR_manual.patch | (download) |
manual/document_and_page_options/background.rb |
2 1 + 1 - 0 ! |
define prawn::datadir as the name of the directory containing data (manual) Upstream hardcoded the relative path with respect to prawn/core.rb of the directory containing data. A new constant, Prawn::DATADIR is introduced to permit using another directory, and change its name just once. The code producing the manual is patched to make use of this new constant instead of the hardcoded path |
0210_change_spec_data_to_datadir_pdfs.patch | (download) |
spec/object_store_spec.rb |
6 3 + 3 - 0 ! |
reflect the fact that spec/data moved to data/spec The specs use some (one) pdf files stored in spec/data. In order to test the library installed in debian/ruby-prawn/, these files are moved to data/spec, so that they can be installed too (see debian/ruby-prawn.install). The code of the specs has to be modified to find correctly the files which moved away. |
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. |
0405_use_system_fonts_manual.patch | (download) |
manual/example_helper.rb |
4 2 + 2 - 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/font_spec.rb |
30 20 + 10 - 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_add_require_date_table_cell.rb | (download) |
lib/prawn/table/cell.rb |
2 2 + 0 - 0 ! |
add missing require 'date' statement The file lib/prawn/table/cell.rb uses the test .kind_of?(Date) but the class Date is not defined. Bug: https://github.com/sandal/prawn/issues/298 |
1001_fix_encoding_in_font_spec.patch | (download) |
spec/font_spec.rb |
4 2 + 2 - 0 ! |
fix encoding of the result of a test of font_spec.rb encode_text method returns in that case a 8 bit ASCII string, not 7 bit. |
1002_define_external_encoding_for_manual.patch | (download) |
manual/manual/manual.rb |
2 2 + 0 - 0 ! |
set default external encoding with ruby 1.9 for the manual This is needed to successfully build the manual on systems with non unicode locale |