[DRE-commits] r3743 - packages-wip/libprawn-ruby/trunk/debian

Gunnar Wolf gwolf at alioth.debian.org
Thu Jul 2 22:23:08 UTC 2009


Author: gwolf
Date: 2009-07-02 22:23:08 +0000 (Thu, 02 Jul 2009)
New Revision: 3743

Added:
   packages-wip/libprawn-ruby/trunk/debian/README.missing_images
Modified:
   packages-wip/libprawn-ruby/trunk/debian/changelog
   packages-wip/libprawn-ruby/trunk/debian/control
   packages-wip/libprawn-ruby/trunk/debian/rules
Log:
?\226?\128?\162 Replaced non-DFSG images with free placeholders
?\226?\128?\162 Properly phrased out descriptions
?\226?\128?\162 Juggled things around until no unnecessary duplication was found (or
  did I get too dizzy?)


Added: packages-wip/libprawn-ruby/trunk/debian/README.missing_images
===================================================================
--- packages-wip/libprawn-ruby/trunk/debian/README.missing_images	                        (rev 0)
+++ packages-wip/libprawn-ruby/trunk/debian/README.missing_images	2009-07-02 22:23:08 UTC (rev 3743)
@@ -0,0 +1,25 @@
+		Prawn — What about the missing images?
+		======================================
+
+If you run Prawn's examples (/usr/share/libprawn-ruby-common/examples)
+you will find several images replaced by the following legend:
+
+    Image removed due to licensing concerns — Please see
+    /usr/share/libprawn-ruby-common/README.missing_images
+
+Those images have an unclear licensing, and thus cannot be packaged in
+Debian. 
+
+They are not important for Prawn's operation, though, and are only
+used for the example code.
+
+The affected images are: barcode_issue.png, dice.png, fractal.jpg,
+pigs.jpg, rails.png, ruport.png, ruport_transparent.png,
+ruport_type0.png and stef.jpg.
+
+Conversations are underway with the upstream authors in order to get
+this issue solved.
+
+Thank you for your understanding,
+
+      	      	   - Gunnar Wolf <gwolf at debian.org>

Modified: packages-wip/libprawn-ruby/trunk/debian/changelog
===================================================================
--- packages-wip/libprawn-ruby/trunk/debian/changelog	2009-07-02 21:44:06 UTC (rev 3742)
+++ packages-wip/libprawn-ruby/trunk/debian/changelog	2009-07-02 22:23:08 UTC (rev 3743)
@@ -1,4 +1,4 @@
-libprawn-ruby (0.4.1-1) unstable; urgency=low
+libprawn-ruby (0.4.1+dfsg-1) unstable; urgency=low
 
   * Initial upload (Closes: #532796)
 

Modified: packages-wip/libprawn-ruby/trunk/debian/control
===================================================================
--- packages-wip/libprawn-ruby/trunk/debian/control	2009-07-02 21:44:06 UTC (rev 3742)
+++ packages-wip/libprawn-ruby/trunk/debian/control	2009-07-02 22:23:08 UTC (rev 3743)
@@ -14,21 +14,39 @@
 Architecture: all
 Depends: ${misc:Depends}, ruby1.8, libprawn-ruby-common
 Recommends: ttf-dejavu-core
-Description: Prawn: Fast, Nimble PDF Generation For Ruby
- (a decent description goes here)
+Description: Fast, nimble PDF generation library for Ruby
+ Prawn is a PDF generation library for Ruby. Its highlights include:
+ * Built in support for UTF-8
+ * Easy image embedding
+ * Flexible table drawing
+ * Simple content positioning, allowing for placing elements relative to 
+   their sections 
+ * Easy text flowing within and around sections
 
 Package: libprawn-ruby1.9
 Architecture: all
 Depends: ${misc:Depends}, ruby1.9, libprawn-ruby-common
 Recommends: ttf-dejavu-core
-Description: Prawn: Fast, Nimble PDF Generation For Ruby
- (a decent description goes here)
+Description: Fast, nimble PDF generation library for Ruby
+ Prawn is a PDF generation library for Ruby. Its highlights include:
+ * Built in support for UTF-8
+ * Easy image embedding
+ * Flexible table drawing
+ * Simple content positioning, allowing for placing elements relative to 
+   their sections 
+ * Easy text flowing within and around sections
 
 Package: libprawn-ruby
 Architecture: all
 Depends: ${misc:Depends}, libprawn-ruby1.8
-Description: Prawn: Fast, Nimble PDF Generation For Ruby
- (a decent description goes here)
+Description: Fast, nimble PDF generation library for Ruby
+ Prawn is a PDF generation library for Ruby. Its highlights include:
+ * Built in support for UTF-8
+ * Easy image embedding
+ * Flexible table drawing
+ * Simple content positioning, allowing for placing elements relative to 
+   their sections 
+ * Easy text flowing within and around sections
  .
  This is a dummy package depending on the library for the current default
  version of Ruby.
@@ -37,7 +55,13 @@
 Architecture: all
 Depends: ${misc:Depends}
 Suggests: ttf-dejavu-core, ttf-dustin, ttf-arphic-gkai00mp
-Description: Prawn: Fast, Nimble PDF Generation For Ruby
- (a decent description goes here)
+Description: Fast, nimble PDF generation library for Ruby
+ Prawn is a PDF generation library for Ruby. Its highlights include:
+ * Built in support for UTF-8
+ * Easy image embedding
+ * Flexible table drawing
+ * Simple content positioning, allowing for placing elements relative to 
+   their sections 
+ * Easy text flowing within and around sections
  .
  Common files used by both Ruby 1.8 and 1.9 versions of libprawn-ruby

Modified: packages-wip/libprawn-ruby/trunk/debian/rules
===================================================================
--- packages-wip/libprawn-ruby/trunk/debian/rules	2009-07-02 21:44:06 UTC (rev 3742)
+++ packages-wip/libprawn-ruby/trunk/debian/rules	2009-07-02 22:23:08 UTC (rev 3743)
@@ -5,8 +5,20 @@
 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/*
+DEB_INSTALL_DOCS_ALL = README debian/README.missing_images
 clean::
+	# Until we get clearance for upstream's images' copyrights, we
+	# will replace them with others that are redistributable. 
+	[ $$(md5sum data/images/barcode_issue.png | cut -f 1 -d ' ')      = d99fb09eb471c6bfa99b7d87dcb8292b ] || false
+	[ $$(md5sum data/images/dice.png | cut -f 1 -d ' ')               = 1f2831c87ff266dd0ebce7bd83051297 ] || false
+	[ $$(md5sum data/images/fractal.jpg | cut -f 1 -d ' ')            = 88cc7b1697fe238c62ae8d96a8a096d5 ] || false
+	[ $$(md5sum data/images/pigs.jpg | cut -f 1 -d ' ')               = b0cbf86feceea0ae3ee2d9567793a21f ] || false
+	[ $$(md5sum data/images/rails.png | cut -f 1 -d ' ')              = 4a11793ba4308f93643907d9f5dd2a78 ] || false
+	[ $$(md5sum data/images/ruport.png | cut -f 1 -d ' ')             = a97752e8cddd5a89f870bfb0437a4b19 ] || false
+	[ $$(md5sum data/images/ruport_transparent.png | cut -f 1 -d ' ') = 1a7a8ada7c931cb0c266a20dcfaf28b2 ] || false
+	[ $$(md5sum data/images/ruport_type0.png | cut -f 1 -d ' ')       = 5bf488feae3dc48374ecbed8f60d69f1 ] || false
+	[ $$(md5sum data/images/stef.jpg | cut -f 1 -d ' ')               = 3bbc20e6a17f0d0130184fc3da8111a3 ] || false
 	rm -f lib/ttfunk lib/ttfunk.rb lib/pdf 
 
 makebuilddir/libprawn-ruby::
@@ -14,29 +26,32 @@
 	[ -e lib/ttfunk.rb ] || ln -s ../vendor/ttfunk/lib/ttfunk.rb lib/
 	[ -e lib/pdf       ] || ln -s ../vendor/pdf-inspector/lib/pdf lib/
 
-
 install/libprawn-ruby1.8::
-	dh_installexamples examples/*
 	# Files common to 1.8 and 1.9 versions are moved to libprawn-ruby-common
-	mkdir -p ./debian/libprawn-ruby-common/usr/share/
-	mv ./debian/libprawn-ruby1.8/usr/share/libprawn-ruby/ ./debian/libprawn-ruby-common/usr/share/
+	mkdir -p ./debian/libprawn-ruby-common/usr/share/doc/libprawn-ruby-common
+	mv ./debian/$(cdbs_curpkg)/usr/share/libprawn-ruby/ ./debian/libprawn-ruby-common/usr/share/
+	# Examples are provided by libprawn-ruby-common
+	mkdir -p ./debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/
+	ln -s ../libprawn-ruby-common/examples/ ./debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/examples
 
 install/libprawn-ruby1.9::
-	dh_installexamples examples/*
 	# The relevant files were moved to libprawn-ruby-common in
 	# install/libprawn-ruby1.8
-	rm -rf ./debian/libprawn-ruby1.9/usr/share/libprawn-ruby/
+	rm -rf ./debian/$(cdbs_curpkg)/usr/share/libprawn-ruby/
+	# Examples are provided by libprawn-ruby-common
+	mkdir -p ./debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/
+	ln -s ../libprawn-ruby-common/examples/ ./debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/examples
 
-install/libprawn-ruby1.9::
+install/libprawn-ruby-common::
 	# Instead of copying fonts that are often found in Debian
 	# systems, recommend the relevant packages and symlink
 	# them. That way, lintian will be happier.
-	rm ./debian/libprawn-ruby-common/usr/share/libprawn-ruby/fonts/DejaVuSans.ttf
+	rm ./debian/$(cdbs_curpkg)/usr/share/libprawn-ruby/fonts/DejaVuSans.ttf
 	ln -s ../../fonts/truetype/ttf-dejavu/DejaVuSans.ttf \
-		./debian/libprawn-ruby-common/usr/share/libprawn-ruby/fonts/DejaVuSans.ttf
-	rm ./debian/libprawn-ruby-common/usr/share/libprawn-ruby/fonts/Dustismo_Roman.ttf
+		./debian/$(cdbs_curpkg)/usr/share/libprawn-ruby/fonts/DejaVuSans.ttf
+	rm ./debian/$(cdbs_curpkg)/usr/share/libprawn-ruby/fonts/Dustismo_Roman.ttf
 	ln -s ../../fonts/truetype/dustin/Dustismo_Roman.ttf \
-		./debian/libprawn-ruby-common/usr/share/libprawn-ruby/fonts/Dustismo_Roman.ttf
-	rm ./debian/libprawn-ruby-common/usr/share/libprawn-ruby/fonts/gkai00mp.ttf
+		./debian/$(cdbs_curpkg)/usr/share/libprawn-ruby/fonts/Dustismo_Roman.ttf
+	rm ./debian/$(cdbs_curpkg)/usr/share/libprawn-ruby/fonts/gkai00mp.ttf
 	ln -s ../../fonts/truetype/arphic/gkai00mp.ttf \
-		./debian/libprawn-ruby-common/usr/share/libprawn-ruby/fonts/gkai00mp.ttf
+		./debian/$(cdbs_curpkg)/usr/share/libprawn-ruby/fonts/gkai00mp.ttf




More information about the Pkg-ruby-extras-commits mailing list