Unblock request for screenruler/0.85-2 (bug fix)
Hi,
Please consider unfreezing screenruler 0.85-2, which fixes a bug with
a trivial one-line patch.
screenruler has no reverse dependencies. Here's the relevant changelog chunk:
--------------------------------------------------------------------------------------------------------
screenruler (0.85-2) unstable; urgency=low
* debian/patches/fix-color-parsing.patch:
- The colour selection is not correctly saved, and if you change th
colour screenruler may afterwards fails to start. The problem was
that the string was being parsed as 8-bit, but it's 16-bit (LP: #273684).
* debian/control:
- Change the Maintainer field so that it doesn't contain my nick anymore.
-- Siegfried-Angel Gevatter Pujals <rainct@ubuntu.com> Fri, 19 Dec
2008 17:28:20 +0100
--------------------------------------------------------------------------------------------------------
And the content of the patch:
--------------------------------------------------------------------------------------------------------
diff -Nur -x '*.orig' -x '*~' screenruler-0.85/utils/addons_gtk.rb
screenruler-0.85.new/utils/addons_gtk.rb
--- screenruler-0.85/utils/addons_gtk.rb 2008-06-21 22:41:05.000000000 +0200
+++ screenruler-0.85.new/utils/addons_gtk.rb 2008-12-19 17:37:53.000000000 +0100
@@ -56,7 +56,7 @@
class Gdk::Color
def to_hex # use Gdk::Color.parse to parse
- sprintf('#%x%x%x', red, green, blue)
+ sprintf('#%02x%02x%02x', red / 257, green / 257, blue / 257) #
because 255 * 257 == 65535
end
end
--------------------------------------------------------------------------------------------------------
Thanks,
--
Siegfried-Angel Gevatter Pujals (RainCT)
Ubuntu Developer. Debian Contributor.
Reply to: