Your message dated Tue, 07 May 2013 16:50:23 +0000
with message-id <[email protected]>
and subject line Bug#626984: fixed in ruby-gnuplot 2.6.2-1
has caused the Debian Bug report #626984,
regarding PATCH: output to string and smooth-attribute
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
626984: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626984
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgnuplot-ruby1.8
Version: 2.2-5
Severity: wishlist
Tags: patch

Hi,

I recently tried to dynamically generate plots using ruby and apache. When I
tried to push gnuplot's output to the CGI-Class I experienced the problem that
there was no way of getting the actual Plot file(a SVG) into a variable that
could be delivered through CGI.

I played around with the library a little bit and finally changed the pipe that
calls the gnuplot command from a write-only to a read-write-pipe.


Additionally I added the 'smooth' option for plots


It would be nice to see my patch within a future version.

Best Regards,
Markus

PS: I already posted a report on rubyforge but have gotten no feedback, yet.

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (970, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38.4
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgnuplot-ruby1.8 depends on:
ii  gnuplot                      4.4.0-1.1   A command-line driven interactive
ii  ruby1.8                      1.8.7.302-2 Interpreter of object-oriented scr

libgnuplot-ruby1.8 recommends no packages.

libgnuplot-ruby1.8 suggests no packages.
--- gnuplot.rb.orig     2005-11-15 03:33:42.000000000 +0100
+++ gnuplot.rb  2011-05-06 23:04:02.000000000 +0200
@@ -56,7 +56,12 @@
   
   def Gnuplot.open( persist=true )
     cmd = Gnuplot.gnuplot( persist ) or raise 'gnuplot not found'
-    IO::popen( cmd, "w") { |io| yield io }
+    IO::popen( cmd, "w+") { |io|
+      yield io
+      io.close_write
+      @output = io.read
+         }
+    return @output
   end 
     
     
@@ -174,7 +179,7 @@
   # @todo Use the delegator to delegate to the data property.
 
   class DataSet 
-    attr_accessor :title, :with, :using, :data, :linewidth, :matrix
+    attr_accessor :title, :with, :using, :data, :linewidth, :matrix, :smooth
   
     def initialize (data = nil)
       @data = data
@@ -202,6 +207,7 @@
       io << " matrix" if @matrix
       io << " with #{@with}" if @with
       io << " linewidth #{@linewidth}" if @linewidth
+      io << " smooth #{@smooth}" if @smooth
       io
     end
 

--- End Message ---
--- Begin Message ---
Source: ruby-gnuplot
Source-Version: 2.6.2-1

We believe that the bug you reported is fixed in the latest version of
ruby-gnuplot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cédric Boutillier <[email protected]> (supplier of updated ruby-gnuplot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 07 May 2013 17:28:05 +0200
Source: ruby-gnuplot
Binary: ruby-gnuplot
Architecture: source all
Version: 2.6.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian Ruby Extras Maintainers 
<[email protected]>
Changed-By: Cédric Boutillier <[email protected]>
Description: 
 ruby-gnuplot - Ruby library to interact with gnuplot
Closes: 626984
Changes: 
 ruby-gnuplot (2.6.2-1) unstable; urgency=low
 .
   * New upstream version
     + the output can be now saved to an instance variable (Closes: #626984)
   * debian/control:
     + remove obsolete DM-Upload-Allowed flag
     + bump standards-version to 3.9.4 (no changes needed)
     + update my email address in Uploaders: field
     + drop obsolete transition packages libgnuplot-ruby*
Checksums-Sha1: 
 d94f831af3970c092dafef3f01357237e6304fd4 2073 ruby-gnuplot_2.6.2-1.dsc
 3df5e629c685a8421bb150104811c352f9e17030 11377 ruby-gnuplot_2.6.2.orig.tar.gz
 1d53307ad3c1a099d3c77ae8f3934ad9fae28255 4125 
ruby-gnuplot_2.6.2-1.debian.tar.gz
 496afd7ee0efa7fd36a5ce2a7d31396506c38df9 22082 ruby-gnuplot_2.6.2-1_all.deb
Checksums-Sha256: 
 351d226ccd08e6b077386fc819e4adb5f00a438bc90e75371198497508be5693 2073 
ruby-gnuplot_2.6.2-1.dsc
 5e4b51bd2130893ed27dbbd49dea0b74f3191f6d7f74bafd51bbf63b9f798ff4 11377 
ruby-gnuplot_2.6.2.orig.tar.gz
 90c9e0bc2df3424b82f300776cf35bc94de9d8863613456b18cff055c1149474 4125 
ruby-gnuplot_2.6.2-1.debian.tar.gz
 acd58f3a0814e434dcc38c69b44dace39b01bc4ee58be7d0d0b53b8af1ef7f29 22082 
ruby-gnuplot_2.6.2-1_all.deb
Files: 
 43238c1d3a395e8244de07c1df8d7ead 2073 ruby optional ruby-gnuplot_2.6.2-1.dsc
 ca466d40e18da409c4e663a96a22aeac 11377 ruby optional 
ruby-gnuplot_2.6.2.orig.tar.gz
 47463cbd50abd1bee9d470f520b506f1 4125 ruby optional 
ruby-gnuplot_2.6.2-1.debian.tar.gz
 c6ce442af79875accbf7ccffdd9ae205 22082 ruby optional 
ruby-gnuplot_2.6.2-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCgAGBQJRiSrwAAoJENpJWPYR4UnppgMQALIC7WRgr9XuLnd/In3/3cus
/5ZwhhBfjFcygqH7A1dFSde8NbbTeQgjiThXaS1Lh4+n9yWu5yUZN3MhhP9NGJun
GsmIkiXylu7GcrqDj5wzGQw4AaxrZqIP8a2Xb+7oTB7PkJJDitBJVWdv3DH42/JE
fe53+PmJsOq4P7ZIELIDqh3SdbROsdC+uHPlf6cO9HswlsCKI4Ma5cs/gbWRSvaR
SvfeRRtQmFDxJT873Ligjln/lP6OZU0MRN4S3ot9zaL5HnW33dINi9XvNR8HdoFE
32/T8WyQ5k/mzQIVWzCCGPiYSMKW2OUaaCzCyeJbLJ9roTTXcJEwNcrvwwPzyIaW
k4BZXacM6eH8lgjUAzZtSyzU+8vkq11KhekTJ0sXXn3aN6DHlAjTufCP3WkHXbr5
zfmxvrMFTEn1pbYDNrNGO1VV2KoPYWC8TCxOiL+I625CRvXUlSQvIt22jmgSEhYK
cgbr2DfoCWAEGdPEAY2MlBgUcgSeynAF4wjAZThvUeet6idWD1fwu6ag7sIXnUMI
9fBgww0OERaJ8ulyEYON3QJC7wDvN7Q0igKqi9LfzWtD2RMRBfvZo0bNVEagm1LA
G/BIzusd8KqgZ0CY9csEEzQ7iDVbKkPtT9oLTiGMw7B+TaN7gjRHyDEX5sNLWCHo
bEy1Z839Vd/JKv1VwsTq
=8DBK
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to