[DRE-commits] r3189 - in packages/libgruff-ruby/trunk/debian: . patches
gwolf at alioth.debian.org
gwolf at alioth.debian.org
Fri Jan 16 16:35:26 UTC 2009
Author: gwolf
Date: 2009-01-16 16:35:26 +0000 (Fri, 16 Jan 2009)
New Revision: 3189
Added:
packages/libgruff-ruby/trunk/debian/patches/
packages/libgruff-ruby/trunk/debian/patches/fix_color_traversal
packages/libgruff-ruby/trunk/debian/patches/series
Modified:
packages/libgruff-ruby/trunk/debian/changelog
packages/libgruff-ruby/trunk/debian/control
packages/libgruff-ruby/trunk/debian/rules
Log:
Closing #512033 plus some lintian warnings
Modified: packages/libgruff-ruby/trunk/debian/changelog
===================================================================
--- packages/libgruff-ruby/trunk/debian/changelog 2009-01-06 23:37:45 UTC (rev 3188)
+++ packages/libgruff-ruby/trunk/debian/changelog 2009-01-16 16:35:26 UTC (rev 3189)
@@ -1,3 +1,15 @@
+libgruff-ruby (0.3.4-2) unstable; urgency=low
+
+ * Added build-dependency on quilt
+ * Fixed lintian warnings, regarding missing ${misc:Depends} on the
+ binary packages
+ * Added internal optional dependencies: libgruff-ruby-doc recommends
+ libgruff-ruby, libgruff-ruby suggests libgruff-ruby-doc
+ * Added patch fixing the traversal of the color array (Closes:
+ #512033)
+
+ -- Gunnar Wolf <gwolf at debian.org> Fri, 16 Jan 2009 10:27:22 -0600
+
libgruff-ruby (0.3.4-1) unstable; urgency=low
* New upstream release
Modified: packages/libgruff-ruby/trunk/debian/control
===================================================================
--- packages/libgruff-ruby/trunk/debian/control 2009-01-06 23:37:45 UTC (rev 3188)
+++ packages/libgruff-ruby/trunk/debian/control 2009-01-16 16:35:26 UTC (rev 3189)
@@ -3,8 +3,8 @@
Priority: optional
Maintainer: Gunnar Wolf <gwolf at debian.org>
Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>, Paul van Tilburg <paulvt at debian.org>
-Build-Depends: ruby-pkg-tools (>= 0.13), cdbs, debhelper (>= 5), graphviz
-Build-Depends-Indep: ruby1.8, rdoc
+Build-Depends: ruby-pkg-tools (>= 0.13), cdbs, debhelper (>= 5), quilt
+Build-Depends-Indep: ruby1.8, rdoc, graphviz
Standards-Version: 3.8.0
Homepage: http://nubyonrails.com/pages/gruff/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-ruby-extras/packages/libgruff-ruby/trunk/
@@ -12,7 +12,8 @@
Package: libgruff-ruby
Architecture: all
-Depends: libgruff-ruby1.8
+Depends: ${misc:Depends}, libgruff-ruby1.8
+Suggests: libgruff-ruby-doc
Description: library to create graphs and charts with Ruby
This library makes it effortless to create very good-looking graphs
and charts dynamically from Ruby programs.
@@ -23,6 +24,8 @@
Package: libgruff-ruby-doc
Section: doc
Architecture: all
+Depends: ${misc:Depends}
+Recommends: libgruff-ruby
Description: library to create graphs and charts with Ruby
This library makes it effortless to create very good-looking graphs
and charts dynamically from Ruby programs.
@@ -32,7 +35,7 @@
Package: libgruff-ruby1.8
Architecture: all
-Depends: ruby1.8, rubygems1.8 | libgems-ruby1.8, librmagick-ruby1.8
+Depends: ${misc:Depends}, ruby1.8, rubygems1.8 | libgems-ruby1.8, librmagick-ruby1.8
Description: library to create graphs and charts with Ruby
This library makes it effortless to create very good-looking graphs
and charts dynamically from Ruby programs.
Added: packages/libgruff-ruby/trunk/debian/patches/fix_color_traversal
===================================================================
--- packages/libgruff-ruby/trunk/debian/patches/fix_color_traversal (rev 0)
+++ packages/libgruff-ruby/trunk/debian/patches/fix_color_traversal 2009-01-16 16:35:26 UTC (rev 3189)
@@ -0,0 +1,26 @@
+Index: libgruff-ruby-0.3.4/lib/gruff/base.rb
+===================================================================
+--- libgruff-ruby-0.3.4.orig/lib/gruff/base.rb 2009-01-16 10:28:16.000000000 -0600
++++ libgruff-ruby-0.3.4/lib/gruff/base.rb 2009-01-16 10:28:34.000000000 -0600
+@@ -1036,19 +1036,8 @@
+
+ # Uses the next color in your color list.
+ def increment_color
+- if @color_index == 0
+- @color_index += 1
+- return @colors[0]
+- else
+- if @color_index < @colors.length
+- @color_index += 1
+- return @colors[@color_index - 1]
+- else
+- # Start over
+- @color_index = 0
+- return @colors[-1]
+- end
+- end
++ @color_index = (@color_index + 1) % @colors.length
++ return @colors[@color_index - 1]
+ end
+
+ # Return a formatted string representing a number value that should be
Added: packages/libgruff-ruby/trunk/debian/patches/series
===================================================================
--- packages/libgruff-ruby/trunk/debian/patches/series (rev 0)
+++ packages/libgruff-ruby/trunk/debian/patches/series 2009-01-16 16:35:26 UTC (rev 3189)
@@ -0,0 +1 @@
+fix_color_traversal
Modified: packages/libgruff-ruby/trunk/debian/rules
===================================================================
--- packages/libgruff-ruby/trunk/debian/rules 2009-01-06 23:37:45 UTC (rev 3188)
+++ packages/libgruff-ruby/trunk/debian/rules 2009-01-16 16:35:26 UTC (rev 3189)
@@ -2,3 +2,4 @@
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
More information about the Pkg-ruby-extras-commits
mailing list