[DRE-commits] r4390 - in trunk/libprawn-ruby/debian: . patches source
Gunnar Wolf
gwolf at alioth.debian.org
Wed Nov 25 01:37:32 UTC 2009
Author: gwolf
Date: 2009-11-25 01:37:32 +0000 (Wed, 25 Nov 2009)
New Revision: 4390
Added:
trunk/libprawn-ruby/debian/source/
trunk/libprawn-ruby/debian/source/format
Modified:
trunk/libprawn-ruby/debian/README.source
trunk/libprawn-ruby/debian/changelog
trunk/libprawn-ruby/debian/control
trunk/libprawn-ruby/debian/copyright
trunk/libprawn-ruby/debian/patches/fix_paths
trunk/libprawn-ruby/debian/rules
trunk/libprawn-ruby/debian/watch
Log:
Preparing new upstream release, together with dpkg version 3.0 (quilt) repackaging
Modified: trunk/libprawn-ruby/debian/README.source
===================================================================
--- trunk/libprawn-ruby/debian/README.source 2009-11-24 00:08:16 UTC (rev 4389)
+++ trunk/libprawn-ruby/debian/README.source 2009-11-25 01:37:32 UTC (rev 4390)
@@ -1,5 +1,28 @@
-This package uses quilt to manage all modifications to the upstream
-source. Changes are stored in the source package as diffs in
-debian/patches and applied during the build.
+ Where do the three orig tarballs come from?
+ ===========================================
-See /usr/share/doc/quilt/README.source for a detailed explanation.
+Starting with version 0.6.3+dfsg-1, this package will be built using
+the dpkg 3.0 (quilt) format. This means that, unlike how it has been
+handled up to now, the package will no longer be built off one, but
+off three separate source packages. They are named:
+
+libprawn-ruby_<version>.orig.tar.gz
+libprawn-ruby_<version>.orig-ttfunk.tar.gz
+libprawn-ruby_<version>.orig-pdf-inspector.tar.gz
+
+I won't go into details explaining how and why are they handled this
+way (see the dpkg-source manpage for that). Now, as for where each
+tarball is downloaded from:
+
+The upstream authors do not directly provide tarballs, but merely tag
+their official Git tree at github (see debian/copyright for the
+specific URLs). We get the main tarballs by using
+githubredir.debian.net's interface.
+
+As for the ttfunk and pdf-inspector, the upstream authors pointed out
+they are not meant to be independent modules, but just kept
+administratively out of prawn's main tree. They are not, however,
+tagged - although will be starting the next major upstream release
+(0.7). As for now, they are just snapshots off their master branches.
+
+ -- Gunnar Wolf <gwolf at debian.org>, Tue, 24 Nov 2009 19:13:06 -0600
Modified: trunk/libprawn-ruby/debian/changelog
===================================================================
--- trunk/libprawn-ruby/debian/changelog 2009-11-24 00:08:16 UTC (rev 4389)
+++ trunk/libprawn-ruby/debian/changelog 2009-11-25 01:37:32 UTC (rev 4390)
@@ -1,9 +1,18 @@
-libprawn-ruby (0.4.1+dfsg-3) UNRELEASED; urgency=low
+libprawn-ruby (0.6.3+dfsg-1) unstable; urgency=low
+ [ Ryan Niebur ]
* fixed long description (Closes: #542457)
- -- Ryan Niebur <ryanryan52 at gmail.com> Thu, 03 Sep 2009 01:12:27 -0700
+ [ Gunnar Wolf ]
+ * Pointing debian/watch to githubredir instead of rubyforge, as new
+ upstream versions have not been noticed :-/
+ * New upstream release
+ * Switched to 3.0 (quilt) source format; documenting the origin of the
+ three orig.tar.gz files in README.source
+ * The (so far only) patch is documented following the DEP3 guidelines
+ -- Gunnar Wolf <gwolf at debian.org> Tue, 24 Nov 2009 17:06:18 -0600
+
libprawn-ruby (0.4.1+dfsg-2) unstable; urgency=low
* add build dep on ruby 1.9 (Closes: #543035)
Modified: trunk/libprawn-ruby/debian/control
===================================================================
--- trunk/libprawn-ruby/debian/control 2009-11-24 00:08:16 UTC (rev 4389)
+++ trunk/libprawn-ruby/debian/control 2009-11-25 01:37:32 UTC (rev 4390)
@@ -4,7 +4,7 @@
Maintainer: Gunnar Wolf <gwolf at debian.org>
Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>,
Ryan Niebur <ryanryan52 at gmail.com>
-Build-Depends: ruby-pkg-tools (>= 0.8), cdbs, debhelper (>= 7), libsetup-ruby1.8, quilt
+Build-Depends: ruby-pkg-tools (>= 0.8), cdbs, debhelper (>= 7), libsetup-ruby1.8
Build-Depends-Indep: ruby1.8, rdoc, ruby1.9
Standards-Version: 3.8.3
Homepage: http://prawn.majesticseacreature.com/
Modified: trunk/libprawn-ruby/debian/copyright
===================================================================
--- trunk/libprawn-ruby/debian/copyright 2009-11-24 00:08:16 UTC (rev 4389)
+++ trunk/libprawn-ruby/debian/copyright 2009-11-25 01:37:32 UTC (rev 4390)
@@ -1,7 +1,7 @@
Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=420
Upstream-Name: Prawn
Upstream-Maintainer: Gregory Brown <gregory.t.brown at gmail.com>
-Upstream-Source: http://github.com/sandal/prawn
+Upstream-Source: http://github.com/sandal/prawn, http://github.com/sandal/ttfunk, http://github.com/sandal/pdf-inspector
Files: *
Copyright: Copyright (c) Gregory Brown 2008
Modified: trunk/libprawn-ruby/debian/patches/fix_paths
===================================================================
--- trunk/libprawn-ruby/debian/patches/fix_paths 2009-11-24 00:08:16 UTC (rev 4389)
+++ trunk/libprawn-ruby/debian/patches/fix_paths 2009-11-25 01:37:32 UTC (rev 4390)
@@ -1,7 +1,18 @@
-Index: libprawn-ruby-0.4.1/lib/prawn/font/afm.rb
+Origin: vendor
+Forwarded: not-needed
+From: Gunnar Wolf <gwolf at debian.org>
+Last-Update: 2009-11-24
+Subject: Replace the upstream hardcoded paths for Debian-policy-compliant ones
+ Upstream packaging hardcodes several paths which make sense in Gems-based
+ installations, but do not work in Debian systems; here we patch to make the
+ packages be policy-compliant.
+ .
+ Of course, that's the reason for the packages not to be considerable for
+ upstream acceptance.
+Index: libprawn-ruby-0.6.3+dfsg/lib/prawn/font/afm.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/lib/prawn/font/afm.rb 2009-07-01 18:21:40.000000000 -0500
-+++ libprawn-ruby-0.4.1/lib/prawn/font/afm.rb 2009-07-01 18:22:30.000000000 -0500
+--- libprawn-ruby-0.6.3+dfsg.orig/lib/prawn/font/afm.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/lib/prawn/font/afm.rb 2009-11-24 17:15:19.000000000 -0600
@@ -12,11 +12,9 @@
if m = ENV['METRICS']
@metrics_path ||= m.split(':')
@@ -17,10 +28,10 @@
end
end
-Index: libprawn-ruby-0.4.1/lib/prawn/encoding.rb
+Index: libprawn-ruby-0.6.3+dfsg/lib/prawn/encoding.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/lib/prawn/encoding.rb 2009-07-01 18:21:40.000000000 -0500
-+++ libprawn-ruby-0.4.1/lib/prawn/encoding.rb 2009-07-01 18:22:30.000000000 -0500
+--- libprawn-ruby-0.6.3+dfsg.orig/lib/prawn/encoding.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/lib/prawn/encoding.rb 2009-11-24 17:15:19.000000000 -0600
@@ -84,7 +84,8 @@
]
@@ -31,31 +42,27 @@
load_mapping if self.class.mapping.empty?
end
-Index: libprawn-ruby-0.4.1/examples/general/background.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/general/background.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/general/background.rb 2009-07-01 18:21:41.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/general/background.rb 2009-07-01 18:22:30.000000000 -0500
-@@ -7,7 +7,7 @@
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', '..', 'lib'))
- require "prawn"
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/general/background.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/general/background.rb 2009-11-24 17:15:19.000000000 -0600
+@@ -6,7 +6,7 @@
+ #
+ require "#{File.dirname(__FILE__)}/../example_helper.rb"
-img = "#{Prawn::BASEDIR}/data/images/letterhead.jpg"
+img = "/usr/share/libprawn-ruby/images/letterhead.jpg"
Prawn::Document.generate("background.pdf", :background => img) do
- text_options.update(:size => 18, :align => :right)
-Index: libprawn-ruby-0.4.1/examples/graphics/basic_images.rb
+ text "My report caption", :size => 18, :align => :right
+Index: libprawn-ruby-0.6.3+dfsg/examples/graphics/basic_images.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/graphics/basic_images.rb 2009-07-01 18:21:40.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/graphics/basic_images.rb 2009-07-01 18:22:30.000000000 -0500
-@@ -8,20 +8,20 @@
- require "prawn"
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/graphics/basic_images.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/graphics/basic_images.rb 2009-11-24 17:16:59.000000000 -0600
+@@ -7,17 +7,17 @@
+ require "#{File.dirname(__FILE__)}/../example_helper.rb"
Prawn::Document.generate("basic_images.pdf", :page_layout => :landscape) do
-- pigs = "#{Prawn::BASEDIR}/data/images/pigs.jpg"
-+ pigs = "/usr/share/libprawn-ruby/images/pigs.jpg"
- image pigs, :at => [50,450], :scale => 0.5
-
- stef = "#{Prawn::BASEDIR}/data/images/stef.jpg"
+ stef = "/usr/share/libprawn-ruby/images/stef.jpg"
image stef, :at => [75, 75]
@@ -74,12 +81,11 @@
+ ruport = "/usr/share/libprawn-ruby/images/ruport_transparent.png"
image ruport, :at => [50,525]
end
-\ No newline at end of file
-Index: libprawn-ruby-0.4.1/examples/graphics/cmyk.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/graphics/cmyk.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/graphics/cmyk.rb 2009-07-01 18:21:40.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/graphics/cmyk.rb 2009-07-01 18:22:30.000000000 -0500
-@@ -8,6 +8,6 @@
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/graphics/cmyk.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/graphics/cmyk.rb 2009-11-24 17:15:19.000000000 -0600
+@@ -7,6 +7,6 @@
Prawn::Document.generate("cmyk.pdf", :page_layout => :landscape) do
fill_color 50, 100, 0, 0
text "Prawn is CYMK Friendly"
@@ -87,11 +93,11 @@
+ fractal = "/usr/share/libprawn-ruby/images/fractal.jpg"
image fractal, :at => [50,450]
end
-Index: libprawn-ruby-0.4.1/examples/graphics/image_fit.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/graphics/image_fit.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/graphics/image_fit.rb 2009-07-01 18:21:40.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/graphics/image_fit.rb 2009-07-01 18:22:30.000000000 -0500
-@@ -9,7 +9,7 @@
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/graphics/image_fit.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/graphics/image_fit.rb 2009-11-24 17:15:19.000000000 -0600
+@@ -8,7 +8,7 @@
Prawn::Document.generate("image_fit.pdf", :page_layout => :landscape) do
@@ -100,11 +106,11 @@
stroke_rectangle [50,450], 200, 200
image pigs, :at => [50,450], :fit => [200,200]
-Index: libprawn-ruby-0.4.1/examples/graphics/image_flow.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/graphics/image_flow.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/graphics/image_flow.rb 2009-07-01 18:21:41.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/graphics/image_flow.rb 2009-07-01 18:22:30.000000000 -0500
-@@ -10,7 +10,7 @@
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/graphics/image_flow.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/graphics/image_flow.rb 2009-11-24 17:15:19.000000000 -0600
+@@ -9,7 +9,7 @@
Prawn::Document.generate("image-flow.pdf", :page_layout => :landscape) do
self.font_size = 8
@@ -113,11 +119,11 @@
text "Image at default position with no arguments"
-Index: libprawn-ruby-0.4.1/examples/graphics/image_position.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/graphics/image_position.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/graphics/image_position.rb 2009-07-01 18:21:41.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/graphics/image_position.rb 2009-07-01 18:22:30.000000000 -0500
-@@ -7,7 +7,7 @@
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/graphics/image_position.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/graphics/image_position.rb 2009-11-24 17:15:19.000000000 -0600
+@@ -6,7 +6,7 @@
Prawn::Document.generate("image_position.pdf", :page_layout => :landscape) do
@@ -126,12 +132,12 @@
image dice, :scale => 0.2, :position => :left, :vposition => :top
image dice, :scale => 0.2, :position => :right, :vposition => :top
-Index: libprawn-ruby-0.4.1/examples/graphics/png_types.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/graphics/png_types.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/graphics/png_types.rb 2009-07-01 18:21:40.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/graphics/png_types.rb 2009-07-01 18:22:30.000000000 -0500
-@@ -7,11 +7,11 @@
- require "prawn"
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/graphics/png_types.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/graphics/png_types.rb 2009-11-24 17:15:19.000000000 -0600
+@@ -6,11 +6,11 @@
+ require "#{File.dirname(__FILE__)}/../example_helper.rb"
images = [
- ["Type 0", "#{Prawn::BASEDIR}/data/images/web-links.png"],
@@ -147,31 +153,24 @@
]
Prawn::Document.generate("png_types.pdf", :page_size => "A5") do
-Index: libprawn-ruby-0.4.1/examples/m17n/chinese_text_wrapping.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/m17n/chinese_text_wrapping.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/m17n/chinese_text_wrapping.rb 2009-07-01 18:23:22.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/m17n/chinese_text_wrapping.rb 2009-07-01 18:26:31.000000000 -0500
-@@ -8,7 +8,7 @@
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/m17n/chinese_text_wrapping.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/m17n/chinese_text_wrapping.rb 2009-11-24 17:17:25.000000000 -0600
+@@ -7,7 +7,7 @@
start = Time.now
Prawn::Document.generate("chinese_flow.pdf") do
- font "#{Prawn::BASEDIR}/data/fonts/gkai00mp.ttf"
+ font "/usr/share/libprawn-ruby/fonts/gkai00mp.ttf"
- text_options.update(:wrap => :character, :size => 16)
+ font_size 16
+
long_text = "更可怕的是,同质化竞争对手可以按照URL中后面这个ID来遍历您的DB中的内容,写个小爬虫把你的页面上的关键信息顺次爬下来也不是什么难事,这样的话,你就非常被动了。写个小爬虫把你的页面上的关键信息顺次爬下来也不是什么难事写个小爬虫把你的页面上的关键信息顺次爬下来也不是什么难事写个小爬虫把你的页面上的关键信息顺次爬下来也不是什么难事写个小爬虫把你的页面上的关键信息顺次爬下来也不是什么难事写个小爬虫把你的页面上的关键信息顺次爬下来也不是什么难事写个小爬虫把你的页面上的关键信息顺次爬下来也不是什么难事写个小爬虫把你的页面上的关键信息顺次爬下来也不是什么难事写个小爬虫把你的页面上的关键信息顺次爬下来也不是什么难事写个小爬虫把你的页面上的关键信息顺次爬下来也不是什么难事写个小爬虫把你的页面上的关键信息顺次爬下来也不是什么难事写个小爬虫把你的页面上的关键信息顺次爬下来也不是什么难事"
- text long_text
-@@ -17,4 +17,4 @@
- text_options.update(:wrap => :spaces)
- long_text = "Text with some spaces " * 25
- text long_text
--end
-\ No newline at end of file
-+end
-Index: libprawn-ruby-0.4.1/examples/m17n/sjis.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/m17n/sjis.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/m17n/sjis.rb 2009-07-01 18:23:22.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/m17n/sjis.rb 2009-07-01 18:26:23.000000000 -0500
-@@ -20,7 +20,7 @@
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/m17n/sjis.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/m17n/sjis.rb 2009-11-24 17:15:19.000000000 -0600
+@@ -19,7 +19,7 @@
sjis_str = File.open(datafile, "r:shift_jis") { |f| f.gets }
Prawn::Document.generate("sjis.pdf") do
@@ -180,12 +179,12 @@
text sjis_str
end
end
-Index: libprawn-ruby-0.4.1/examples/m17n/utf8.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/m17n/utf8.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/m17n/utf8.rb 2009-07-01 18:23:22.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/m17n/utf8.rb 2009-07-01 18:25:33.000000000 -0500
-@@ -7,8 +7,8 @@
- require "prawn"
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/m17n/utf8.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/m17n/utf8.rb 2009-11-24 17:15:19.000000000 -0600
+@@ -6,8 +6,8 @@
+ require "#{File.dirname(__FILE__)}/../example_helper.rb"
Prawn::Document.generate("utf8.pdf") do
- font "#{Prawn::BASEDIR}/data/fonts/DejaVuSans.ttf"
@@ -196,24 +195,24 @@
-
\ No newline at end of file
+
-Index: libprawn-ruby-0.4.1/examples/text/dfont.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/text/dfont.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/text/dfont.rb 2009-07-01 18:23:22.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/text/dfont.rb 2009-07-01 18:26:12.000000000 -0500
-@@ -3,7 +3,7 @@
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', '..', 'lib'))
- require "prawn"
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/text/dfont.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/text/dfont.rb 2009-11-24 17:15:19.000000000 -0600
+@@ -2,7 +2,7 @@
+ require "#{File.dirname(__FILE__)}/../example_helper.rb"
+
-DFONT_FILE = "#{Prawn::BASEDIR}/data/fonts/Action Man.dfont"
+DFONT_FILE = "/usr/share/libprawn-ruby/fonts/Action Man.dfont"
puts "There are #{Prawn::Font::DFont.font_count(DFONT_FILE)} fonts in #{DFONT_FILE}:"
Prawn::Font::DFont.named_fonts(DFONT_FILE).each do |name|
puts "* #{name}"
-Index: libprawn-ruby-0.4.1/examples/text/font_calculations.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/text/font_calculations.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/text/font_calculations.rb 2009-07-01 18:23:22.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/text/font_calculations.rb 2009-07-01 18:26:00.000000000 -0500
-@@ -85,7 +85,7 @@
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/text/font_calculations.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/text/font_calculations.rb 2009-11-24 17:15:19.000000000 -0600
+@@ -84,7 +84,7 @@
demonstration
move_down 75
@@ -222,24 +221,24 @@
text "Using TTF", :size => 20
demonstration
-Index: libprawn-ruby-0.4.1/examples/text/kerning.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/text/kerning.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/text/kerning.rb 2009-07-01 18:23:22.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/text/kerning.rb 2009-07-01 18:25:55.000000000 -0500
-@@ -17,7 +17,7 @@
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/text/kerning.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/text/kerning.rb 2009-11-24 17:17:40.000000000 -0600
+@@ -16,7 +16,7 @@
text "To not kern and wrap. " * 5, :size => 24, :kerning => false
-- font "#{Prawn::BASEDIR}/data/fonts/Dustismo_Roman.ttf"
-+ font "/usr/share/libprawn-ruby/fonts/Dustismo_Roman.ttf"
+- font "#{Prawn::BASEDIR}/data/fonts/DejaVuSans.ttf"
++ font "/usr/share/libprawn-ruby/fonts/DejaVuSans.ttf"
text "To kern?", :at => [200,660], :size => 24, :kerning => true
text "To not kern?", :at => [200,630], :size => 24, :kerning => false
-Index: libprawn-ruby-0.4.1/examples/text/simple_text_ttf.rb
+Index: libprawn-ruby-0.6.3+dfsg/examples/text/simple_text_ttf.rb
===================================================================
---- libprawn-ruby-0.4.1.orig/examples/text/simple_text_ttf.rb 2009-07-01 18:23:22.000000000 -0500
-+++ libprawn-ruby-0.4.1/examples/text/simple_text_ttf.rb 2009-07-01 18:25:50.000000000 -0500
-@@ -7,10 +7,10 @@
+--- libprawn-ruby-0.6.3+dfsg.orig/examples/text/simple_text_ttf.rb 2009-11-24 17:14:01.000000000 -0600
++++ libprawn-ruby-0.6.3+dfsg/examples/text/simple_text_ttf.rb 2009-11-24 17:15:19.000000000 -0600
+@@ -6,10 +6,10 @@
Prawn::Document.generate "simple_text_ttf.pdf" do
fill_color "0000ff"
Modified: trunk/libprawn-ruby/debian/rules
===================================================================
--- trunk/libprawn-ruby/debian/rules 2009-11-24 00:08:16 UTC (rev 4389)
+++ trunk/libprawn-ruby/debian/rules 2009-11-25 01:37:32 UTC (rev 4390)
@@ -2,7 +2,6 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_RUBY_CONFIG_ARGS = --installdirs=std --datadir=/usr/share/libprawn-ruby/
DEB_INSTALL_EXAMPLES_libprawn-ruby-common = examples/*
@@ -22,9 +21,9 @@
rm -f lib/ttfunk lib/ttfunk.rb lib/pdf
makebuilddir/libprawn-ruby::
- [ -e lib/ttfunk ] || ln -s ../vendor/ttfunk/lib/ttfunk lib/
- [ -e lib/ttfunk.rb ] || ln -s ../vendor/ttfunk/lib/ttfunk.rb lib/
- [ -e lib/pdf ] || ln -s ../vendor/pdf-inspector/lib/pdf lib/
+ [ -e lib/ttfunk ] || ln -s ../ttfunk/lib/ttfunk lib/
+ [ -e lib/ttfunk.rb ] || ln -s ../ttfunk/lib/ttfunk.rb lib/
+ [ -e lib/pdf ] || ln -s ../pdf-inspector/lib/pdf lib/
install/libprawn-ruby1.8::
# Files common to 1.8 and 1.9 versions are moved to libprawn-ruby-common
Added: trunk/libprawn-ruby/debian/source/format
===================================================================
--- trunk/libprawn-ruby/debian/source/format (rev 0)
+++ trunk/libprawn-ruby/debian/source/format 2009-11-25 01:37:32 UTC (rev 4390)
@@ -0,0 +1 @@
+3.0 (quilt)
Modified: trunk/libprawn-ruby/debian/watch
===================================================================
--- trunk/libprawn-ruby/debian/watch 2009-11-24 00:08:16 UTC (rev 4389)
+++ trunk/libprawn-ruby/debian/watch 2009-11-25 01:37:32 UTC (rev 4390)
@@ -1,3 +1,3 @@
version=3
opts=dversionmangle=s/\+dfsg// \
-http://rubyforge.org/frs/?group_id=5849 .*/prawn-(\d.*)\.tar\.gz
+http://githubredir.debian.net/github/sandal/prawn /(\d.*).tar.gz debian debian/repack.sh
More information about the Pkg-ruby-extras-commits
mailing list