[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#686462: marked as done (release.debian.org: unblock: ruby-pgplot/0.1.3-6)



Your message dated Sun, 02 Sep 2012 16:44:24 +0100
with message-id <1346600664.25118.41.camel@jacala.jungle.funky-badger.org>
and subject line Re: Bug#686462: release.debian.org: unblock: ruby-pgplot/0.1.3-6
has caused the Debian Bug report #686462,
regarding release.debian.org: unblock: ruby-pgplot/0.1.3-6
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 owner@bugs.debian.org
immediately.)


-- 
686462: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686462
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal

Dear release manages,

I'll request you to unblock ruby-pgplot package, version 0.1.3-6

 - It will fix three FTBFS bugs:
   - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675390
   - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682409
   - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685963
 - Add X11, PNG support for users
 - Change source format 3.0, Copyright format 1.0

I attached debdiff output from 0.1.3-2(in wheezy) to 0.1.3-6.
Please allow this unblock request.

Best Wishes,
---
Youhei SASAKI <uwabami@gfd-dennou.org>
              <uwabami@debian.or.jp>
GPG fingerprint:
  4096/RSA: 66A4 EA70 4FE2 4055 8D6A C2E6 9394 F354 891D 7E07

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (80, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru ruby-pgplot-0.1.3/debian/README.source ruby-pgplot-0.1.3/debian/README.source
--- ruby-pgplot-0.1.3/debian/README.source	2011-05-18 05:04:21.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/README.source	1970-01-01 09:00:00.000000000 +0900
@@ -1,10 +0,0 @@
-libpgplot-ruby for Debian
--------------------------
-
-The source 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.
-
-See /usr/share/doc/quilt/README.source for a detailed explanation.
-
- -- Youhei SASAKI <uwabami@gfd-dennou.org>, Mon,  7 Mar 2011 14:41:29 +0900
diff -Nru ruby-pgplot-0.1.3/debian/changelog ruby-pgplot-0.1.3/debian/changelog
--- ruby-pgplot-0.1.3/debian/changelog	2011-06-18 18:15:25.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/changelog	2012-09-02 05:09:30.000000000 +0900
@@ -1,3 +1,36 @@
+ruby-pgplot (0.1.3-6) unstable; urgency=low
+
+  * Fix FTBFS: Add gfortran-4.6 into Build-Depends
+    (Ruby1.8 is build by gcc-4.6)
+    Thanks to Micah Gersten! (Closes: #685963)
+  * Add libpng12-dev, libx11-dev into Build-Depends
+    for better user support
+
+ -- Youhei SASAKI <uwabami@gfd-dennou.org>  Sun, 02 Sep 2012 04:59:44 +0900
+
+ruby-pgplot (0.1.3-5) unstable; urgency=low
+
+  * Fix FTBFS: workaround for RD2 Bugs
+    Thanks to Andreas Beckmann! (Closes: #682409)
+
+ -- Youhei SASAKI <uwabami@gfd-dennou.org>  Wed, 25 Jul 2012 14:43:08 +0900
+
+ruby-pgplot (0.1.3-4) unstable; urgency=low
+
+  * Fix typo, Thanks to Vincent Blut (Closes: #675471)
+
+ -- Youhei SASAKI <uwabami@gfd-dennou.org>  Sat, 02 Jun 2012 14:38:19 +0900
+
+ruby-pgplot (0.1.3-3) unstable; urgency=low
+
+  * Bump Standard version: 3.9.3
+  * Fix FTBFS, Thanks to Samuel Thibault! (Closes: #675390)
+  * Change patch handling: Use gbp-pq
+  * Update debian/copyright for format 1.0
+  * Remove unneeded REAMDE.source
+
+ -- Youhei SASAKI <uwabami@gfd-dennou.org>  Fri, 01 Jun 2012 19:09:17 +0900
+
 ruby-pgplot (0.1.3-2) unstable; urgency=low
 
   * Team upload.
diff -Nru ruby-pgplot-0.1.3/debian/control ruby-pgplot-0.1.3/debian/control
--- ruby-pgplot-0.1.3/debian/control	2011-06-18 18:12:57.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/control	2012-09-02 05:05:49.000000000 +0900
@@ -4,10 +4,16 @@
 Maintainer: Youhei SASAKI <uwabami@gfd-dennou.org>
 Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb, 
- ruby-narray, rdtool, 
- pgplot5, gfortran
-Standards-Version: 3.9.2
+Build-Depends: 
+ debhelper (>= 7.0.50~),
+ gem2deb,
+ ruby-narray,
+ pgplot5,
+ gfortran,
+ libx11-dev,
+ libpng12-dev,
+ gfortran-4.6
+Standards-Version: 3.9.3
 Homepage: http://pgplot.rubyforge.org/
 XS-Ruby-Versions: all
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/libpgplot-ruby.git
@@ -16,7 +22,7 @@
 Package: ruby-pgplot
 Architecture: any
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby-narray 
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby-narray
 Description: Ruby interface to the PGPLOT graphics library
  Ruby/PGPLOT is the Ruby interface to the PGPLOT graphics library.
  PGPLOT is a FORTRAN library to draw line/scatter/histogram plot, error
@@ -28,7 +34,7 @@
 Priority: extra
 Architecture: any
 Depends: ${misc:Depends}, ruby-pgplot (=${binary:Version})
-Description: Ruby interface to the PGPLOT graphics library
+Description: Ruby-PGPLOT debugging symbols
  Ruby/PGPLOT is the Ruby interface to the PGPLOT graphics library.
  PGPLOT is a FORTRAN library to draw line/scatter/histogram plot, error
  bar, contour/image/vector map, etc. Supports various output devices
diff -Nru ruby-pgplot-0.1.3/debian/copyright ruby-pgplot-0.1.3/debian/copyright
--- ruby-pgplot-0.1.3/debian/copyright	2011-05-18 05:04:21.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/copyright	2012-06-01 19:01:52.000000000 +0900
@@ -4,69 +4,71 @@
 
 Files: *
 Copyright: 2006 Masahiro TANAKA
-License: Ruby's
-
-Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.co.jp>.
-You can redistribute it and/or modify it under either the terms of the GPL
-(see COPYING.txt file), or the conditions below:
-
-  1. You may make and give away verbatim copies of the source form of the
-     software without restriction, provided that you duplicate all of the
-     original copyright notices and associated disclaimers.
-
-  2. You may modify your copy of the software in any way, provided that
-     you do at least ONE of the following:
-
-       a) place your modifications in the Public Domain or otherwise
-          make them Freely Available, such as by posting said
-      modifications to Usenet or an equivalent medium, or by allowing
-      the author to include your modifications in the software.
-
-       b) use the modified software only within your corporation or
-          organization.
-
-       c) rename any non-standard executables so the names do not conflict
-      with standard executables, which must also be provided.
-
-       d) make other distribution arrangements with the author.
-
-  3. You may distribute the software in object code or executable
-     form, provided that you do at least ONE of the following:
-
-       a) distribute the executables and library files of the software,
-      together with instructions (in the manual page or equivalent)
-      on where to get the original distribution.
-
-       b) accompany the distribution with the machine-readable source of
-      the software.
-
-       c) give non-standard executables non-standard names, with
-          instructions on where to get the original software distribution.
-
-       d) make other distribution arrangements with the author.
-
-  4. You may modify and include the part of the software into any other
-     software (possibly commercial).  But some files in the distribution
-     are not written by the author, so that they are not under this terms.
-
-     They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some
-     files under the ./missing directory.  See each file for the copying
-     condition.
-
-  5. The scripts and library files supplied as input to or produced as
-     output from the software do not automatically fall under the
-     copyright of the software, but belong to whomever generated them,
-     and may be sold commercially, and may be aggregated with this
-     software.
-
-  6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
-     IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-     PURPOSE.
+License: GPL-2+ or Ruby's
 
 Files: debian/*
 Copyright: 2011 Youhei SASAKI <uwabami@gfd-dennou.org>
-License: GPL-2
+License: GPL-2+
+
+License: Ruby's
+ You can redistribute it and/or modify it under either the terms of the GPL
+ (see COPYING.txt file), or the conditions below:
+ .
+   1. You may make and give away verbatim copies of the source form of the
+      software without restriction, provided that you duplicate all of the
+      original copyright notices and associated disclaimers.
+ .
+   2. You may modify your copy of the software in any way, provided that
+      you do at least ONE of the following:
+ .
+        a) place your modifications in the Public Domain or otherwise
+           make them Freely Available, such as by posting said
+       modifications to Usenet or an equivalent medium, or by allowing
+       the author to include your modifications in the software.
+ .
+        b) use the modified software only within your corporation or
+           organization.
+ .
+        c) rename any non-standard executables so the names do not conflict
+       with standard executables, which must also be provided.
+ .
+        d) make other distribution arrangements with the author.
+ .
+   3. You may distribute the software in object code or executable
+      form, provided that you do at least ONE of the following:
+ .
+        a) distribute the executables and library files of the software,
+       together with instructions (in the manual page or equivalent)
+       on where to get the original distribution.
+ .
+        b) accompany the distribution with the machine-readable source of
+       the software.
+ .
+        c) give non-standard executables non-standard names, with
+           instructions on where to get the original software distribution.
+ .
+        d) make other distribution arrangements with the author.
+ .
+   4. You may modify and include the part of the software into any other
+      software (possibly commercial).  But some files in the distribution
+      are not written by the author, so that they are not under this terms.
+ .
+      They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some
+      files under the ./missing directory.  See each file for the copying
+      condition.
+ .
+   5. The scripts and library files supplied as input to or produced as
+      output from the software do not automatically fall under the
+      copyright of the software, but belong to whomever generated them,
+      and may be sold commercially, and may be aggregated with this
+      software.
+ .
+   6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+      IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+      PURPOSE.
+
+License: GPL-2+
  This package is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License.
diff -Nru ruby-pgplot-0.1.3/debian/doc/index.html ruby-pgplot-0.1.3/debian/doc/index.html
--- ruby-pgplot-0.1.3/debian/doc/index.html	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/doc/index.html	2012-07-25 14:39:35.000000000 +0900
@@ -0,0 +1,58 @@
+<?xml version="1.0" ?>
+<!DOCTYPE html 
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<title>index</title>
+<link href="css.css" type="text/css" rel="stylesheet" />
+</head>
+<body>
+<h1><a name="label-0" id="label-0">Ruby/PGPLOT</a></h1><!-- RDLabel: "Ruby/PGPLOT" -->
+<p>A Ruby interface to the
+<a href="http://astro.caltech.edu/~tjp/pgplot/";>PGPLOT</a>
+graphics library.
+<a href="http://narray.rubyforge.org/";>NArray</a>
+is required.</p>
+<ul>
+<li><a href="http://rubyforge.org/projects/pgplot/";>RubyForge project page</a></li>
+</ul>
+<h2><a name="label-1" id="label-1">Download</a></h2><!-- RDLabel: "Download" -->
+<ul>
+<li><a href="http://rubyforge.org/frs/download.php/7826/rb_pgplot-0.1.2.tar.gz";>version 0.1.2</a></li>
+</ul>
+<h2><a name="label-2" id="label-2">Installation</a></h2><!-- RDLabel: "Installation" -->
+<ul>
+<li>PGPLOT
+<ul>
+<li><a href="install.html.ja">in Japanese</a></li>
+<li><a href="http://www.astro.caltech.edu/~tjp/pgplot/install.html";>original site</a></li>
+</ul></li>
+<li>Install Ruby/PGPLOT
+<ul>
+<li><a href="README.en">in English</a></li>
+<li><a href="README.ja">in Japanese</a></li>
+</ul></li>
+</ul>
+<h2><a name="label-3" id="label-3">Examples</a></h2><!-- RDLabel: "Examples" -->
+<ul>
+<li><a href="pgline.html"><code>pgline</code> : Line plot</a></li>
+<li><a href="pghist.html"><code>pghist</code> : Histgram plot</a></li>
+<li><a href="pgcont.html"><code>pgcont</code> : Contour map</a></li>
+<li><a href="pgimag.html"><code>pgimag</code> : Image map</a></li>
+</ul>
+<h2><a name="label-4" id="label-4">Manual</a></h2><!-- RDLabel: "Manual" -->
+<ul>
+<li><a href="rbpg-ind.html">Method index Categorized</a></li>
+<li><a href="rbpgplot.html">Method index and Description</a></li>
+<li><a href="tutorial-01.html.ja">Tutorial</a> (in Japanese)</li>
+<li><a href="method.html.ja">Reference</a> (in Japanese)</li>
+</ul>
+<h2><a name="label-5" id="label-5">Link</a></h2><!-- RDLabel: "Link" -->
+<ul>
+<li><a href="http://jun.artcompsci.org/softwares/rongo/";>Rongo</a>
+  - simple mongo-like plotting library using Ruby/PGPLOT.</li>
+</ul>
+
+</body>
+</html>
diff -Nru ruby-pgplot-0.1.3/debian/doc/install.html.ja ruby-pgplot-0.1.3/debian/doc/install.html.ja
--- ruby-pgplot-0.1.3/debian/doc/install.html.ja	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/doc/install.html.ja	2012-07-25 14:39:35.000000000 +0900
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="iso-2022-jp" ?>
+<!DOCTYPE html 
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; lang="ja" xml:lang="ja">
+<head>
+<meta http-equiv="Content-type" content="text/html; charset=iso-2022-jp" />
+<title>Untitled</title>
+<link href="css.css" type="text/css" rel="stylesheet" />
+</head>
+<body>
+<h1><a name="label-0" id="label-0">PGPLOT$B$N%$%s%9%H!<%k(B</a></h1><!-- RDLabel: "PGPLOT$B$N%$%s%9%H!<%k(B" -->
+<p>PGPLOT$B$O(B configure $B$r;H$o$J$$$N$G%$%s%9%H!<%k$,<c43LLE]$G$9!#(B
+$B0J2<$O(B Solaris$B!"(BGCC $B$H$$$&4D6-$G(BPGPLOT$B$r%3%s%Q%$%k!"(B
+$B%$%s%9%H!<%k$9$k<j=g$r@bL@$7$^$9!#(B
+$BB>$N(BOS$B$G$b(BUNIX$B$J$i$[$H$s$IF1$8$h$&$K$7$F%$%s%9%H!<%k$G$-$k$H;W$$$^$9!#(B
+<a href="http://www.astro.caltech.edu/~tjp/pgplot/install.html";>$BK\2H$N%$%s%9%H!<%k@bL@$N%Z!<%8(B</a>
+$B$b$4Mw2<$5$$!#(B</p>
+<h3><a name="label-1" id="label-1">PGPLOT$B$N%=!<%9$rMQ0U(B</a></h3><!-- RDLabel: "PGPLOT$B$N%=!<%9$rMQ0U(B" -->
+<p><a href="http://www.astro.caltech.edu/~tjp/pgplot/";>PGPLOT$B$N%5%$%H(B</a>
+$B$+$i(B
+<a href="ftp://ftp.astro.caltech.edu/pub/pgplot/pgplot5.2.tar.gz";>$B%=!<%9%3!<%I(B</a>
+$B$r%@%&%s%m!<%I!"E83+$7!"(Bpgplot$B$N%G%#%l%/%H%j$K0\F0$7$^$9!#(B</p>
+<pre>gunzip -c pgplot5.2.tar.gz | tar xvf -
+cd pgplot</pre>
+<h3><a name="label-2" id="label-2">$B:n6H%G%#%l%/%H%j$r:n@.(B</a></h3><!-- RDLabel: "$B:n6H%G%#%l%/%H%j$r:n@.(B" -->
+<p>$B:n6H%G%#%l%/%H%j$r:n$j$^$9!#$3$3$G$O(B build $B$H$$$&L>A0$K$7$^$9!#(B</p>
+<pre>mkdir build
+cd build</pre>
+<h3><a name="label-3" id="label-3">drivers.list$B$rJT=8(B</a></h3><!-- RDLabel: "drivers.list$B$rJT=8(B" -->
+<p>PGPLOT$B$GIA2h$r=PNO$9$k%I%i%$%P$rA*Br$7$^$9!#(B
+drivers.list $B$H$$$&%U%!%$%k$r%3%T!<$7$F%(%G%#%?$G3+$-!"(B
+$B;H$$$?$$%I%i%$%P$N9T$NF,$N(B ! $B$NJ8;z$r:o=|$7$^$9!#(B</p>
+<pre>cp ../drivers.list .
+vi drivers.list</pre>
+<p>$B%I%i%$%P$O$*9%$_$GA*Br$G$-$^$9$,!"(BUNIX$B$J$i(B
+PNG, PPM, Postscipt, XWD, XWINDOW, XSERVE, XTERM
+$B$"$?$j$rA*$s$G$*$/$N$,0lHLE*$G$7$g$&!#(B
+PNG driver$B$rAH$_9~$`$K$O!"(B
+<a href="http://www.libpng.org/pub/png/png.html";>libpng</a> $B$,I,MW$G$9!#(B
+$BB>$K$b$?$/$5$s$N%I%i%$%P$,4^$^$l$F$$$^$9$,!"(B
+$B%W%j%s%?%I%i%$%P$NCf$K$O%3%s%Q%$%k$N;~$K%(%i!<$,=P$k$b$N$,$"$C$?$j!"(B
+GIF$B$O%i%$%;%s%9$K0z$C3]$+$C$?$j$7$^$9!#(B</p>
+<h3><a name="label-4" id="label-4">makefile $B:n@.(B</a></h3><!-- RDLabel: "makefile $B:n@.(B" -->
+<p>$B<!$N%3%^%s%I$G(B makefile $B$r:n@.$7$^$9!#(B</p>
+<pre>../makemake .. sol2 g77_gcc</pre>
+<p>1$BHVL\$N0z?t$O%=!<%9$N$"$k%G%#%l%/%H%j$N;XDj$G$9!#(B
+$B$3$3$G$O%=!<%9%G%#%l%/%H%j$N2<$K$$$k$N$G!"(B<kbd>..</kbd> $B$r;XDj$7$^$9!#(B
+2$BHVL\$N0z?t$O(BOS$B$N<oN`$G!"%=!<%9%G%#%l%/%H%j$K$"$k(B
+<kbd>sys_*</kbd> $B$H$$$&%G%#%l%/%H%j$NCf$N(B <kbd>*</kbd> $B$NItJ,$r;XDj$7$^$9!#(B
+3$BHVL\$N0z?t$O%3%s%Q%$%i$J$I$N@_Dj$G!"(Bsys_* $B$N2<$K$"$k(B
+<kbd>*.conf</kbd> $B$H$$$&%U%!%$%k$N(B <kbd>*</kbd> $B$NItJ,$r;XDj$7$^$9!#(B
+$B$b$7$3$NCf$K$J$1$l$P!":G$b6a$=$&$J$d$D$rA*$S$^$9!#(B</p>
+<p>makefile $B$r:n@.$7$?$i!"$6$C$H8+$F@_Dj$,@5$7$$$+%A%'%C%/$7$^$9!#(B
+$B$3$3$G!"(BPGPLOT ver 5.2.2 $B$G(B PNG driver$B$r;H$&>l9g!"(B
+$BEG$-=P$5$l$?(B makefile $B$O!"(B</p>
+<pre>pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h</pre>
+<p>$B$H$$$&$^$:$$@_Dj$K$J$C$F$$$k$N$G!"$3$N9T$r:o=|$7$^$9!#(B</p>
+<h3><a name="label-5" id="label-5">$B%3%s%Q%$%k(B</a></h3><!-- RDLabel: "$B%3%s%Q%$%k(B" -->
+<p>makefile $B$rJT=8$7$?$i!"%i%$%V%i%j$r%3%s%Q%$%k$7$^$9!#(B</p>
+<pre>make
+make cpg</pre>
+<h3><a name="label-6" id="label-6">$B%$%s%9%H!<%k(B</a></h3><!-- RDLabel: "$B%$%s%9%H!<%k(B" -->
+<p>make install $B$,MQ0U$5$l$F$$$J$$$N$G!"<jF0$G%3%T!<$7$^$9!#(B
+$BI,MW$J$i(B root $B$K$J$C$F$/$@$5$$!#(B
+$B$^$:%$%s%9%H!<%k@h$N%G%#%l%/%H%j$r4D6-JQ?t$K%;%C%H$7$^$9!#(B
+csh$B7O$J$i!"(B</p>
+<pre>setenv PREFIX  /usr/local
+setenv PGPLOT_DIR  ${PREFIX}/pgplot</pre>
+<p>$B%$%s%9%H!<%k@h$O<+M3$KA*$Y$^$9$,!"(B
+$B%3%s%Q%$%k;~$K%Q%9;XDj$,I,MW$K$J$k$+$b$7$l$^$;$s!#(B
+$B<!$KI,MW$J%U%!%$%k$r%3%T!<$7$^$9!#(B</p>
+<pre>cp -p libpgplot.a libpgplot.so* libcpgplot.a ${PREFIX}/lib
+cp -p cpgplot.h ${PREFIX}/include
+mkdir ${PGPLOT_DIR}
+cp -p grfont.dat rgb.txt pgxwin_server ${PGPLOT_DIR}</pre>
+<p>$B$3$l$G%$%s%9%H!<%k=*N;$G$9!#(B</p>
+<h3><a name="label-7" id="label-7">$B%G%b$N<B9T(B</a></h3><!-- RDLabel: "$B%G%b$N<B9T(B" -->
+<p>$B%3%s%Q%$%k$,$&$^$/$$$C$?$+$I$&$+%G%b%W%m%0%i%`$rAv$i$;$F$_$^$7$g$&!#(B
+$B%3%s%Q%$%k$7$?%G%#%l%/%H%j$K(B pgdemo1 $B$+$i(B pgdemo17 $B$^$G$H(B cpgdemo
+$B$H$$$&<B9T%U%!%$%k$,$G$-$F$$$k$O$:$G$9!#$=$l$i$r<B9T$G$-$l$P@5$7$/(B
+$B%3%s%Q%$%k$5$l$F$$$k$O$:$G$9!#(B</p>
+<h3><a name="label-8" id="label-8">$B%f!<%6@_Dj(B</a></h3><!-- RDLabel: "$B%f!<%6@_Dj(B" -->
+<p>PGPLOT$B$r;H$&%f!<%6$O!"4D6-JQ?t$X<!$N@_Dj$7$F$*$/$H$h$$$G$7$g$&!#(B</p>
+<pre>setenv PGPLOT_DIR  /usr/local/pgplot
+setenv PGPLOT_DEV  /xwin</pre>
+<p>PGPLOT_DIR $B$O>e$G%$%s%9%H!<%k$7$?%G%#%l%/%H%j$HF1$8!"(B
+PGPLOT_DEV $B$O%G%U%)%k%H$N%G%P%$%9$G$9!#(B
+$B$=$NB>$N4D6-JQ?t$OFC$K@_Dj$7$J$/$F$b$$$$$H;W$$$^$9$,!">\$7$/$O(B
+<a href="http://www.astro.caltech.edu/~tjp/pgplot/chapter1.html#ENV";>$B$3$3(B</a>
+$B$r$4Mw2<$5$$!#(B</p>
+<hr/>
+<a href="./">Ruby/PGPLOT</a>
+by Masahiro Tanaka
+
+
+</body>
+</html>
diff -Nru ruby-pgplot-0.1.3/debian/doc/method.html.ja ruby-pgplot-0.1.3/debian/doc/method.html.ja
--- ruby-pgplot-0.1.3/debian/doc/method.html.ja	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/doc/method.html.ja	2012-07-25 14:39:35.000000000 +0900
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="iso-2022-jp" ?>
+<!DOCTYPE html 
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; lang="ja" xml:lang="ja">
+<head>
+<meta http-equiv="Content-type" content="text/html; charset=iso-2022-jp" />
+<title>Untitled</title>
+<link href="css.css" type="text/css" rel="stylesheet" />
+</head>
+<body>
+<h1><a name="label-0" id="label-0">module Pgplot</a></h1><!-- RDLabel: "module Pgplot" -->
+<h2><a name="label-1" id="label-1">$B%b%8%e!<%k%a%=%C%I(B</a></h2><!-- RDLabel: "$B%b%8%e!<%k%a%=%C%I(B" -->
+<h3><a name="label-2" id="label-2">$BA`:n(B</a></h3><!-- RDLabel: "$BA`:n(B" -->
+<dl>
+<dt><a name="label-3" id="label-3"><code>pgopen([<var>device</var>])</code></a></dt><!-- RDLabel: "pgopen" -->
+</dl>
+<p>PGPLOT$B%;%C%7%g%s$r3+;O$9$k!#La$jCM$H$7$F%9%F!<%?%9$rJV$9!#(B</p>
+<dl>
+<dt><a name="label-4" id="label-4"><code>pgbeg([<var>device</var>, [<var>nxsub</var>, [<var>nysub</var>]]])</code></a></dt><!-- RDLabel: "pgbeg" -->
+</dl>
+<p>(obsolete)
+PGPLOT$B%;%C%7%g%s$r3+;O$9$k!#La$jCM$H$7$F%9%F!<%?%9$rJV$9!#(B</p>
+<dl>
+<dt><a name="label-5" id="label-5"><code>pgask( [<var>true</var>|<var>false</var>] )</code></a></dt><!-- RDLabel: "pgask" -->
+<dt><a name="label-6" id="label-6"><code>pgenv( <var>xmin</var>,<var>xmax</var>,<var>ymin</var>,<var>ymax</var> [,<var>just</var>, <var>axis</var>] )</code></a></dt><!-- RDLabel: "pgenv" -->
+</dl>
+<h3><a name="label-7" id="label-7">$B@~!&%^!<%+$NIA2h(B</a></h3><!-- RDLabel: "$B@~!&%^!<%+$NIA2h(B" -->
+<dl>
+<dt><a name="label-8" id="label-8"><code>pgline( <var>xarray</var>, <var>yarray</var> )</code></a></dt><!-- RDLabel: "pgline" -->
+</dl>
+<p>xarray, yarray $B$r7k$V@~$rIA$/!#(B
+xarray, yarray $B$O$=$l$>$l(B X, Y $B:BI8$NG[Ns!#(B</p>
+<dl>
+<dt><a name="label-9" id="label-9"><code>pgpt( <var>xarray</var>, <var>yarray</var> [,<var>symbol</var>] )</code></a></dt><!-- RDLabel: "pgpt" -->
+</dl>
+<p>xarray, yarray $B$N0LCV$K!"(Bsymbol $B$N%^!<%+$rIA$/!#(B</p>
+<dl>
+<dt><a name="label-10" id="label-10"><code>pgpnts( <var>xarray</var>, <var>yarray</var>, <var>symarray</var> )</code></a></dt><!-- RDLabel: "pgpnts" -->
+</dl>
+<p>xarray, yarray $B$N0LCV$K!"BP1~$9$k(B symarray $B$N%^!<%+$r$=$l$>$lIA$/!#(B</p>
+<h3><a name="label-11" id="label-11">$B%R%9%H%0%i%`(B</a></h3><!-- RDLabel: "$B%R%9%H%0%i%`(B" -->
+<dl>
+<dt><a name="label-12" id="label-12"><code>pgbin( <var>xarray</var>, <var>yarray</var> [,<var>center</var>] )</code></a></dt><!-- RDLabel: "pgbin" -->
+<dt><a name="label-13" id="label-13"><code>pghist( <var>data</var>, <var>nbin</var> [,<var>range</var>, <var>flag</var>] )</code></a></dt><!-- RDLabel: "pghist" -->
+</dl>
+<h3><a name="label-14" id="label-14">$B%(%i!<%P!<(B</a></h3><!-- RDLabel: "$B%(%i!<%P!<(B" -->
+<dl>
+<dt><a name="label-15" id="label-15"><code>pgerrb( <var>dir</var>, <var>x</var>, <var>y</var>, <var>err</var> [,<var>tlen</var>] )</code></a></dt><!-- RDLabel: "pgerrb" -->
+</dl>
+<p>$B%(%i!<%P!<$rIA$/!#(B
+tlen $B$KC<E@$KIA$/%P!<$ND9$5$r;XDj!#(B</p>
+<h5><a name="label-16" id="label-16">$BJRB&%(%i!<%P!<(B:</a></h5><!-- RDLabel: "$BJRB&%(%i!<%P!<(B:" -->
+<ul>
+<li>dir = 1 for +X (X to X+err)</li>
+<li>dir = 2 for +Y (Y to Y+err)</li>
+<li>dir = 3 for -X (X to X-err)</li>
+<li>dir = 4 for -Y (Y to Y-err)</li>
+</ul>
+<h5><a name="label-17" id="label-17">$BN>B&%(%i!<%P!<(B:</a></h5><!-- RDLabel: "$BN>B&%(%i!<%P!<(B:" -->
+<ul>
+<li>dir = 5 for +/-X (X-err to X+err)</li>
+<li>dir = 6 for +/-Y (Y-err to Y+err)</li>
+</ul>
+<dl>
+<dt><a name="label-18" id="label-18"><code>pgerrx( <var>x1</var>, <var>x2</var>, <var>y</var> [,<var>tlen</var>] )</code></a></dt><!-- RDLabel: "pgerrx" -->
+</dl>
+<p>x1 $B$+$i(B x2 $B$^$G$r7k$V%(%i!<%P!<$rIA$/!#(B
+tlen $B$KC<E@$KIA$/%P!<$ND9$5$r;XDj!#(B</p>
+<dl>
+<dt><a name="label-19" id="label-19"><code>pgerry( <var>x</var>, <var>y1</var>, <var>y2</var> [,<var>tlen</var>] )</code></a></dt><!-- RDLabel: "pgerry" -->
+</dl>
+<p>y1 $B$+$i(B y2 $B$^$G$r7k$V%(%i!<%P!<$rIA$/!#(B
+tlen $B$KC<E@$KIA$/%P!<$ND9$5$r;XDj!#(B</p>
+<h3><a name="label-20" id="label-20">$BEy9b@~(B</a></h3><!-- RDLabel: "$BEy9b@~(B" -->
+<dl>
+<dt><a name="label-21" id="label-21"><code>pgcont( <var>map</var>, <var>cont</var> [,<var>tr</var>] )</code></a></dt><!-- RDLabel: "pgcont" -->
+</dl>
+<p>map $B$GM?$($?#2<!85%^%C%W$NEy9b@~$rIA$/!#(B
+cont $B$K$OEy9b@~$N%l%Y%k$^$?$O$=$NG[Ns$rM?$($k!#(B</p>
+<dl>
+<dt><a name="label-22" id="label-22"><code>pgcons( <var>map</var>, <var>cont</var> [,<var>tr</var>] )</code></a></dt><!-- RDLabel: "pgcons" -->
+</dl>
+<p>PGCONT$B$h$jB.$$%"%k%4%k%:%`$GIA$/$s$@$=$&$J!#(B</p>
+<dl>
+<dt><a name="label-23" id="label-23"><code>pgconb( <var>map</var>, <var>cont</var> [,<var>blank</var>, <var>tr</var>] )</code></a></dt><!-- RDLabel: "pgconb" -->
+</dl>
+<p>blank$B$GM?$($?CM$r7gB;CM$H$7$FEy9b@~$rIA$/!#(B</p>
+<dl>
+<dt><a name="label-24" id="label-24"><code>pgconf( <var>map</var>, <var>cont_range</var> [,<var>tr</var>] )</code></a></dt><!-- RDLabel: "pgconf" -->
+</dl>
+<p>cont_range $B$K(B Range$B%/%i%9%*%V%8%'%/%H$GM?$($?HO0O$N%l%Y%k$rEI$jDY$9!#(B</p>
+<dl>
+<dt><a name="label-25" id="label-25"><code>pgconl( <var>map</var>, <var>cont</var>, <var>label</var> [,<var>intval</var>, <var>minint</var>, <var>tr</var>] )</code></a></dt><!-- RDLabel: "pgconl" -->
+</dl>
+<p>$BEy9b@~$K%i%Y%k$r$D$1$k!#(B</p>
+<h3><a name="label-26" id="label-26">$B2hA|(B</a></h3><!-- RDLabel: "$B2hA|(B" -->
+<dl>
+<dt><a name="label-27" id="label-27"><code>pgimag( <var>array</var> [,<var>range</var>, <var>tr</var>] )</code></a></dt><!-- RDLabel: "pgimag" -->
+</dl>
+<p>$B%+%i!<%9%1!<%k$G(B array ($B#2<!85G[Ns(B) $B$N2hA|$rIA$/!#(B</p>
+<dl>
+<dt><a name="label-28" id="label-28"><code>pgctab( <var>l</var>, <var>r</var>,<var>g</var>,<var>b</var> [,<var>contra</var>,<var>bright</var>] )</code></a></dt><!-- RDLabel: "pgctab" -->
+</dl>
+<p>pgimag $B$G;HMQ$9$k%+%i!<%F!<%V%k$r@_Dj$9$k!#(B</p>
+<dl>
+<dt><a name="label-29" id="label-29"><code>pggray( <var>array</var> [,<var>range</var>, <var>tr</var>] )</code></a></dt><!-- RDLabel: "pggray" -->
+</dl>
+<p>$B%0%l!<%9%1!<%k$G(B array ($B#2<!85G[Ns(B) $B$N2hA|$rIA$/!#(B</p>
+<dl>
+<dt><a name="label-30" id="label-30"><code>pgpixl( <var>array</var> [,<var>x1</var>,<var>x2</var>,<var>y1</var>,<var>y2</var>] )</code></a></dt><!-- RDLabel: "pgpixl" -->
+</dl>
+<p>array ($B#2<!85G[Ns(B) $B$N2hA|$r!"D9J}7A$N(Bpixel 1$B$D(B1$B$D$GIA$/!#(B</p>
+<dl>
+<dt><a name="label-31" id="label-31"><code>pgvect( <var>x</var>, <var>y</var> [,<var>scale</var>, <var>pos</var>, <var>tr</var>, <var>blank</var>] )</code></a></dt><!-- RDLabel: "pgvect" -->
+</dl>
+<p>$B%Y%/%H%k>l$rIA$/!#(B</p>
+<h3><a name="label-32" id="label-32">$B:BI8<4$NIA2h(B</a></h3><!-- RDLabel: "$B:BI8<4$NIA2h(B" -->
+<dl>
+<dt><a name="label-33" id="label-33"><code>pgtick( <var>x1</var>, <var>y1</var>, <var>x2</var>, <var>y2</var>, <var>v</var>, [<var>str</var>], {"<var>tickl</var>", "<var>tickr</var>", "<var>disp</var>", "<var>orient</var>"} )</code></a></dt><!-- RDLabel: "pgtick" -->
+<dt><a name="label-34" id="label-34"><code>pgaxis( <var>x1</var>, <var>y1</var>, <var>x2</var>, <var>y2</var>, <var>v1</var>, <var>v2</var>,</code></a></dt><!-- RDLabel: "pgaxis" -->
+<dd>
+{"opt", "step", "nsub", "tickl", "tickr", "frac", "disp", "orient"} )</dd>
+</dl>
+<h3><a name="label-35" id="label-35">$B%+!<%=%kF~NO(B</a></h3><!-- RDLabel: "$B%+!<%=%kF~NO(B" -->
+<dl>
+<dt><a name="label-36" id="label-36"><code>pgcurs([<var>x</var>,<var>y</var>])</code></a></dt><!-- RDLabel: "pgcurs" -->
+</dl>
+<p>$B%/%j%C%/$^$?$O%-!<%?%$%W$N%$%Y%s%H$r<hF@$9$k!#(B
+x,y $B$r;XDj$9$k$H;O$a$K$=$N0LCV$K%+!<%=%k$r0\F0$9$k!#(B
+$B%$%Y%s%H$r<hF@$9$k$H(B
+$B%+!<%=%k0LCV(B(WC)$B$HJ8;z$r(B PgCursor$B%/%i%9$N%$%s%9%?%s%9$GJV$9!#(B</p>
+<dl>
+<dt><a name="label-37" id="label-37"><code>pgband( <var>mode</var>, [ <var>xref</var>, <var>yref</var>, [<var>x</var>, <var>y</var>, [<var>posn</var>]]])</code></a></dt><!-- RDLabel: "pgband" -->
+</dl>
+<p>$B%/%j%C%/$^$?$O%-!<%?%$%W$N%$%Y%s%H$r<hF@$9$k!#(B
+x,y $B$r;XDj$9$k$H;O$a$K$=$N0LCV$K%+!<%=%k$r0\F0$9$k!#(B
+xref, yref $B$O%"%s%+!<E@$N0LCV(B($B8e=R(B)$B$G!">JN,$9$k$H8=:_0LCV$H$J$k!#(B
+$B%$%Y%s%H$r<hF@$9$k$H(B
+$B%+!<%=%k0LCV(B(WC)$B$HJ8;z$r(B PgCursor$B%/%i%9$N%$%s%9%?%s%9$GJV$9!#(B
+mode$B$K$h$j%+!<%=%kF~NOCf$NIA2hJ}K!$r;XDj$G$-$k!#(B</p>
+<ul>
+<li>mode=0 : $BIA2h$J$7!#(B</li>
+<li>mode=1 : $B%"%s%+!<E@$H%+!<%=%k$r7k$V@~!#(B</li>
+<li>mode=2 : $B%"%s%+!<E@$H%+!<%=%k$rBP3Q$H$9$kD9J}7A!#(B</li>
+<li>mode=3 : $B%"%s%+!<E@$H%+!<%=%k0LCV$=$l$>$l$rDL$k#2K\$N?eJ?@~!#(B</li>
+<li>mode=4 : $B%"%s%+!<E@$H%+!<%=%k0LCV$=$l$>$l$rDL$k#2K\$N?bD>@~!#(B</li>
+<li>mode=5 : $B%+!<%=%k0LCV$rDL$k?eJ?@~!#(B</li>
+<li>mode=6 : $B%+!<%=%k0LCV$rDL$k?bD>@~!#(B</li>
+<li>mode=7 : $B%+!<%=%k0LCV$rDL$k==;z@~!#(B</li>
+</ul>
+<dl>
+<dt><a name="label-38" id="label-38"><code>pgolin( <var>x</var>, <var>y</var>, [<var>sym</var>, [<var>npt</var>]] )</code></a></dt><!-- RDLabel: "pgolin" -->
+</dl>
+<p>$B%^%&%9%+!<%=%k$G:BI8$rO"B3$7$FF~NO$9$k!#(B
+x,y $B$K$O$"$i$+$8$a(B NArray::SFLOAT $B7?$NG[Ns$rM?$($F$*$-!"(B
+$B$=$3$X%/%j%C%/$7$?=gHV$K:BI8$r5-O?$7$F$$$/!#(B
+$BF~NO$G$-$k8D?t$O$3$NG[Ns$N%5%$%:$G@)8B$5$l$k!#(B
+$B%+!<%=%k$GF~NO$7$?E@$O!"%^!<%+(B sym $B$GIA2h$5$l$k!#(B
+npt $B$r;XDj$9$k$H!"$"$i$+$8$a(B npt $B8D$NE@$,F~NO$5$l$F$$$k$H$_$J$9!#(B
+$BLa$jCM$OF~NO$7$?E@$N?t!#(B</p>
+<dl>
+<dt><a name="label-39" id="label-39"><code>pgncur( <var>x</var>, <var>y</var>, [<var>sym</var>, [<var>npt</var>]] )</code></a></dt><!-- RDLabel: "pgncur" -->
+</dl>
+<p>x,y$B$K5-O?$5$l$k=gHV$,(B x $B$N>.$5$$=g$G$"$k$3$H$r=|$-!"(Bpgolin $B$HF1$8!#(B</p>
+<dl>
+<dt><a name="label-40" id="label-40"><code>pglcur( <var>x</var>, <var>y</var>, [<var>npt</var>] )</code></a></dt><!-- RDLabel: "pglcur" -->
+</dl>
+<p>$BF~NO$7$?E@$r7k$V@~$,IA$+$l$k$3$H$r=|$$$F!"(Bpgolin $B$HF1$8!#(B</p>
+<h3><a name="label-41" id="label-41">$B%9%F!<%?%9$rJV$9(B</a></h3><!-- RDLabel: "$B%9%F!<%?%9$rJV$9(B" -->
+<dl>
+<dt><a name="label-42" id="label-42"><code>pgqinf(<var>item</var>)</code></a></dt><!-- RDLabel: "pgqinf" -->
+</dl>
+<pre>value = pgqinf(item)</pre>
+<dl>
+<dt><a name="label-43" id="label-43"><code>pgqdt([<var>ndev</var>])</code></a></dt><!-- RDLabel: "pgqdt" -->
+</dl>
+<pre>type, descr, inter = pgqdt([ndev])</pre>
+
+</body>
+</html>
diff -Nru ruby-pgplot-0.1.3/debian/doc/pgcont.html ruby-pgplot-0.1.3/debian/doc/pgcont.html
--- ruby-pgplot-0.1.3/debian/doc/pgcont.html	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/doc/pgcont.html	2012-07-25 14:39:35.000000000 +0900
@@ -0,0 +1,39 @@
+<?xml version="1.0" ?>
+<!DOCTYPE html 
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<title>pgcont</title>
+<link href="css.css" type="text/css" rel="stylesheet" />
+</head>
+<body>
+<h1><a name="label-0" id="label-0">Ruby/PGPLOT example: pgcont</a></h1><!-- RDLabel: "Ruby/PGPLOT example: pgcont" -->
+<h3><a name="label-1" id="label-1">code</a></h3><!-- RDLabel: "code" -->
+<pre>require "narray"
+require "pgplot"
+include Pgplot
+
+# Preparing data
+x = NArray.sfloat(40,1).indgen!(1)
+y = NArray.sfloat(1,40).indgen!(1)
+map = NMath.cos( NMath.sqrt(x*2)*0.3 - y*0.4/3 ) * NMath.cos( x*0.4/3 ) \
+      + (x-y)/40
+n = 21
+level = NArray.sfloat(n).indgen! * (map.max-map.min)/n + map.min
+
+# Draw contour map
+pgopen
+pgenv(1,40,1,40)    # set "Plotter Environment" and draw box.
+pgsci(3)            # set Color Index to Green.
+pgcont  map, level</pre>
+<h3><a name="label-2" id="label-2">output</a></h3><!-- RDLabel: "output" -->
+<p><img src="pgcont.png" alt="pgcont.png"/></p>
+
+<hr/>
+<a href="./">Ruby/PGPLOT</a>
+by Masahiro Tanaka
+
+
+</body>
+</html>
diff -Nru ruby-pgplot-0.1.3/debian/doc/pghist.html ruby-pgplot-0.1.3/debian/doc/pghist.html
--- ruby-pgplot-0.1.3/debian/doc/pghist.html	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/doc/pghist.html	2012-07-25 14:39:35.000000000 +0900
@@ -0,0 +1,48 @@
+<?xml version="1.0" ?>
+<!DOCTYPE html 
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<title>pghist</title>
+<link href="css.css" type="text/css" rel="stylesheet" />
+</head>
+<body>
+<h1><a name="label-0" id="label-0">Ruby/PGPLOT example: pghist</a></h1><!-- RDLabel: "Ruby/PGPLOT example: pghist" -->
+<h3><a name="label-1" id="label-1">code</a></h3><!-- RDLabel: "code" -->
+<pre>require 'narray'
+require 'pgplot'
+include Pgplot
+
+pgopen
+srand(1)
+
+# draw main Histogram of Normal distribution
+data = NArray.sfloat(1000).randomn!
+pghist(data, 31, -3.1..3.1, 0)
+
+# draw sub Histogram of Normal distribution with gray bars
+data = NArray.sfloat(200).randomn!*0.5 + 1 
+pgsci(15)
+pghist(data, 31, -3.1..3.1, 3)
+pgsci(0)  # draw black frame
+pghist(data, 31, -3.1..3.1, 1)
+
+pgsci(1)
+pgbox('BST', 0.0, 0, ' ', 0.0, 0)
+pglab('Variate', ' ','PGPLOT Example 4:  Histograms (Gaussian)')
+
+# draw Gaussian Curve
+x = NArray.sfloat(620).indgen!*0.01 - 3.1
+y = NMath.exp(-(x**2)*0.5) * (0.2*1000/NMath.sqrt(2*Math::PI))
+pgline(x,y)</pre>
+<h3><a name="label-2" id="label-2">output</a></h3><!-- RDLabel: "output" -->
+<p><img src="pghist.png" alt="pghist.png"/></p>
+
+<hr/>
+<a href="./">Ruby/PGPLOT</a>
+by Masahiro Tanaka
+
+
+</body>
+</html>
diff -Nru ruby-pgplot-0.1.3/debian/doc/pgimag.html ruby-pgplot-0.1.3/debian/doc/pgimag.html
--- ruby-pgplot-0.1.3/debian/doc/pgimag.html	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/doc/pgimag.html	2012-07-25 14:39:35.000000000 +0900
@@ -0,0 +1,56 @@
+<?xml version="1.0" ?>
+<!DOCTYPE html 
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<title>pgimag</title>
+<link href="css.css" type="text/css" rel="stylesheet" />
+</head>
+<body>
+<h1><a name="label-0" id="label-0">Ruby/PGPLOT example: pgimag</a></h1><!-- RDLabel: "Ruby/PGPLOT example: pgimag" -->
+<h3><a name="label-1" id="label-1">code</a></h3><!-- RDLabel: "code" -->
+<pre>require 'narray'
+require 'pgplot'
+include Pgplot
+
+# set color table
+def palett
+  rl = [-0.5, 0.0, 0.17, 0.33, 0.50, 0.67, 0.83, 1.0, 1.7]
+  rr = [ 0.0, 0.0,  0.0,  0.0,  0.6,  1.0,  1.0, 1.0, 1.0]
+  rg = [ 0.0, 0.0,  0.0,  1.0,  1.0,  1.0,  0.6, 0.0, 1.0]
+  rb = [ 0.0, 0.3,  0.8,  1.0,  0.3,  0.0,  0.0, 0.0, 1.0]
+  pgctab(rl, rr, rg, rb)
+end
+
+# prepare Data
+nx = 64
+ny = 64
+x = NArray.sfloat(nx,1).indgen!(1)
+y = NArray.sfloat(1,ny).indgen!(1)
+f = NMath.cos( NMath.sqrt(x*(80.0/nx))*0.6 - y*16.0/(3.0*ny) ) *
+    NMath.cos( x*16.0/(3.0*nx) ) +
+    (x/nx - y/ny) + NMath.sin(NMath.sqrt(x**2+y**2))*0.05
+
+# draw Image Map
+pgopen
+pgwnad(0.0, 1.0+nx, 0.0, 1.0+ny)
+palett
+pgimag(f)
+pgmtxt('t',1.0,0.0,0.0,'PGIMAG, PGWEDG, and PGCTAB')
+
+# draw Color Bar at bottom
+pgsch(0.6)
+pgbox('bcntsi',0.0,0,'bcntsiv',0.0,0)
+pgmtxt('b',3.0,1.0,1.0,'pixel number')
+pgwedg('RI', 4.0, 5.0, f.min,f.max, 'pixel value')</pre>
+<h3><a name="label-2" id="label-2">output</a></h3><!-- RDLabel: "output" -->
+<p><img src="pgimag.png" alt="pgimag.png"/></p>
+
+<hr/>
+<a href="./">Ruby/PGPLOT</a>
+by Masahiro Tanaka
+
+
+</body>
+</html>
diff -Nru ruby-pgplot-0.1.3/debian/doc/pgline.html ruby-pgplot-0.1.3/debian/doc/pgline.html
--- ruby-pgplot-0.1.3/debian/doc/pgline.html	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/doc/pgline.html	2012-07-25 14:39:35.000000000 +0900
@@ -0,0 +1,36 @@
+<?xml version="1.0" ?>
+<!DOCTYPE html 
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<title>pgline</title>
+<link href="css.css" type="text/css" rel="stylesheet" />
+</head>
+<body>
+<h1><a name="label-0" id="label-0">Ruby/PGPLOT example: pgline</a></h1><!-- RDLabel: "Ruby/PGPLOT example: pgline" -->
+<h3><a name="label-1" id="label-1">code</a></h3><!-- RDLabel: "code" -->
+<pre>require 'narray'
+require 'pgplot'
+include Pgplot
+
+n = 100
+x = NArray.sfloat(n).indgen!/10
+y = NMath.sin(x)
+
+pgopen                 # open PGPLOT session
+pgenv 0, n/10, -1, 1   # set "Plotter Environment" and draw box.
+pglab "x", "y", "PGPLOT Example: y = sin(x)" 
+pgsci 2                # set Color Index = Red.
+pgslw 5                # set Line Width.
+pgline x, y            # plot Line.</pre>
+<h3><a name="label-2" id="label-2">output</a></h3><!-- RDLabel: "output" -->
+<p><img src="pgline.png" alt="pgline.png"/></p>
+
+<hr/>
+<a href="./">Ruby/PGPLOT</a>
+by Masahiro Tanaka
+
+
+</body>
+</html>
diff -Nru ruby-pgplot-0.1.3/debian/doc/rbpg-ind.html ruby-pgplot-0.1.3/debian/doc/rbpg-ind.html
--- ruby-pgplot-0.1.3/debian/doc/rbpg-ind.html	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/doc/rbpg-ind.html	2012-07-25 14:39:35.000000000 +0900
@@ -0,0 +1,185 @@
+<?xml version="1.0" ?>
+<!DOCTYPE html 
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<title>rbpg-ind</title>
+<link href="css.css" type="text/css" rel="stylesheet" />
+</head>
+<body>
+<h1><a name="label-0" id="label-0">Ruby/PGPLOT categorized method index</a></h1><!-- RDLabel: "Ruby/PGPLOT categorized method index" -->
+<h3><a name="label-1" id="label-1">Drawing primitives</a></h3><!-- RDLabel: "Drawing primitives" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGLINE">pgline</a></code> -- draw a polyline (curve defined by line-segments)</li>
+<li><code><a href="rbpgplot.html#PGPOLY">pgpoly</a></code> -- draw a polygon, using fill-area attributes</li>
+<li><code><a href="rbpgplot.html#PGPT1">pgpt1</a></code>  -- draw one graph marker</li>
+<li><code><a href="rbpgplot.html#PGPT">pgpt</a></code>   -- draw several graph markers</li>
+<li><code><a href="rbpgplot.html#PGPNTS">pgpnts</a></code> -- draw several graph markers, not all the same</li>
+<li><code><a href="rbpgplot.html#PGARRO">pgarro</a></code> -- draw an arrow</li>
+<li><code><a href="rbpgplot.html#PGCIRC">pgcirc</a></code> -- draw a circle, using fill-area attributes</li>
+<li><code><a href="rbpgplot.html#PGRECT">pgrect</a></code> -- draw a rectangle, using fill-area attributes</li>
+<li><code><a href="rbpgplot.html#PGMOVE">pgmove</a></code> -- move pen (change current pen position)</li>
+<li><code><a href="rbpgplot.html#PGDRAW">pgdraw</a></code> -- draw a line from the current pen position to a point</li>
+</ul>
+<h3><a name="label-2" id="label-2">Axis</a></h3><!-- RDLabel: "Axis" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGAXIS">pgaxis</a></code> -- draw an axis</li>
+<li><code><a href="rbpgplot.html#PGBOX">pgbox</a></code>  -- draw labeled frame around viewport</li>
+<li><code><a href="rbpgplot.html#PGTICK">pgtick</a></code> -- draw a single tick mark on an axis</li>
+<li><code><a href="rbpgplot.html#PGTBOX">pgtbox</a></code> -- draw frame and write (DD) HH MM SS.S labelling</li>
+</ul>
+<h3><a name="label-3" id="label-3">Text</a></h3><!-- RDLabel: "Text" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGLAB">pglab</a></code>  -- write labels for x-axis, y-axis, and top of plot</li>
+<li><code><a href="rbpgplot.html#PGTEXT">pgtext</a></code> -- write text (horizontal, left-justified)</li>
+<li><code><a href="rbpgplot.html#PGMTXT">pgmtxt</a></code> -- write text at position relative to viewport</li>
+<li><code><a href="rbpgplot.html#PGPTXT">pgptxt</a></code> -- write text at arbitrary position and angle</li>
+<li><code><a href="rbpgplot.html#PGETXT">pgetxt</a></code> -- erase text from graphics display</li>
+<li><code><a href="rbpgplot.html#PGIDEN">pgiden</a></code> -- write username, date, and time at bottom of plot</li>
+<li><code><a href="rbpgplot.html#PGLEN">pglen</a></code>  -- find length of a string in a variety of units</li>
+<li><code><a href="rbpgplot.html#PGQTXT">pgqtxt</a></code> -- find bounding box of text string</li>
+</ul>
+<h3><a name="label-4" id="label-4">Histgram</a></h3><!-- RDLabel: "Histgram" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGBIN">pgbin</a></code>  -- histogram of binned data</li>
+<li><code><a href="rbpgplot.html#PGHIST">pghist</a></code> -- histogram of unbinned data</li>
+</ul>
+<h3><a name="label-5" id="label-5">Error bar</a></h3><!-- RDLabel: "Error bar" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGERR1">pgerr1</a></code> -- horizontal or vertical error bar</li>
+<li><code><a href="rbpgplot.html#PGERRB">pgerrb</a></code> -- horizontal or vertical error bar</li>
+<li><code><a href="rbpgplot.html#PGERRX">pgerrx</a></code> -- horizontal error bar</li>
+<li><code><a href="rbpgplot.html#PGERRY">pgerry</a></code> -- vertical error bar</li>
+</ul>
+<h3><a name="label-6" id="label-6">2D drawing</a></h3><!-- RDLabel: "2D drawing" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGCONT">pgcont</a></code> -- contour map of a 2D data array (contour-following)</li>
+<li><code><a href="rbpgplot.html#PGCONS">pgcons</a></code> -- contour map of a 2D data array (fast algorithm)</li>
+<li><code><a href="rbpgplot.html#PGCONB">pgconb</a></code> -- contour map of a 2D data array, with blanking</li>
+<li><code><a href="rbpgplot.html#PGCONF">pgconf</a></code> -- fill between two contours</li>
+<li><code><a href="rbpgplot.html#PGCONL">pgconl</a></code> -- label contour map of a 2D data array </li>
+<li><code><a href="rbpgplot.html#PGCONX">pgconx</a></code> -- contour map of a 2D data array (non rectangular) (not implemented in Ruby/PGPLOT)</li>
+<li><code><a href="rbpgplot.html#PGIMAG">pgimag</a></code> -- color image from a 2D data array</li>
+<li><code><a href="rbpgplot.html#PGCTAB">pgctab</a></code> -- install the color table to be used by <a href="rbpgplot.html#PGIMAG">pgimag</a></li>
+<li><code><a href="rbpgplot.html#PGGRAY">pggray</a></code> -- gray-scale map of a 2D data array</li>
+<li><code><a href="rbpgplot.html#PGPIXL">pgpixl</a></code> -- draw pixels</li>
+<li><code><a href="rbpgplot.html#PGVECT">pgvect</a></code> -- vector map of a 2D data array, with blanking</li>
+<li><code><a href="rbpgplot.html#PGWEDG">pgwedg</a></code> -- annotate an image plot with a wedge</li>
+<li><code><a href="rbpgplot.html#PGHI2D">pghi2d</a></code> -- cross-sections through a 2D data array</li>
+</ul>
+<h3><a name="label-7" id="label-7">Cursor</a></h3><!-- RDLabel: "Cursor" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGBAND">pgband</a></code> -- read cursor position, with anchor</li>
+<li><code><a href="rbpgplot.html#PGCURS">pgcurs</a></code> -- read cursor position</li>
+<li><code><a href="rbpgplot.html#PGLCUR">pglcur</a></code> -- draw a line using the cursor</li>
+<li><code><a href="rbpgplot.html#PGNCUR">pgncur</a></code> -- mark a set of points using the cursor</li>
+<li><code><a href="rbpgplot.html#PGOLIN">pgolin</a></code> -- mark a set of points using the cursor</li>
+</ul>
+<h3><a name="label-8" id="label-8">Control</a></h3><!-- RDLabel: "Control" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGOPEN">pgopen</a></code> -- open a graphics device</li>
+<li><code><a href="rbpgplot.html#PGBEG">pgbeg</a></code>  -- open a graphics device</li>
+<li><code><a href="rbpgplot.html#PGCLOS">pgclos</a></code> -- close the selected graphics device</li>
+<li><code><a href="rbpgplot.html#PGEND">pgend</a></code>  -- close all open graphics devices</li>
+<li><code><a href="rbpgplot.html#PGENV">pgenv</a></code>  -- set window and viewport and draw labeled frame</li>
+<li><code><a href="rbpgplot.html#PGASK">pgask</a></code>  -- control new page prompting</li>
+<li><code><a href="rbpgplot.html#PGPAGE">pgpage</a></code> -- advance to new page</li>
+<li><code><a href="rbpgplot.html#PGERAS">pgeras</a></code> -- erase all graphics from current page</li>
+<li><code><a href="rbpgplot.html#PGBBUF">pgbbuf</a></code> -- begin batch of output (buffer)</li>
+<li><code><a href="rbpgplot.html#PGEBUF">pgebuf</a></code> -- end batch of output (buffer)</li>
+<li><code><a href="rbpgplot.html#PGPANL">pgpanl</a></code> -- switch to a different panel on the view surface</li>
+<li><code><a href="rbpgplot.html#PGPAP">pgpap</a></code>  -- change the size of the view surface </li>
+<li><code><a href="rbpgplot.html#PGRNGE">pgrnge</a></code> -- choose axis limits</li>
+<li><code><a href="rbpgplot.html#PGSAVE">pgsave</a></code> -- save PGPLOT attributes</li>
+<li><code><a href="rbpgplot.html#PGUNSA">pgunsa</a></code> -- restore PGPLOT attributes</li>
+<li><code><a href="rbpgplot.html#PGSCRL">pgscrl</a></code> -- scroll window</li>
+<li><code><a href="rbpgplot.html#PGSUBP">pgsubp</a></code> -- subdivide view surface into panels</li>
+<li><code><a href="rbpgplot.html#PGUPDT">pgupdt</a></code> -- update display</li>
+</ul>
+<h3><a name="label-9" id="label-9">Set attributes</a></h3><!-- RDLabel: "Set attributes" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGSAH">pgsah</a></code>  -- set arrow-head style</li>
+<li><code><a href="rbpgplot.html#PGSCF">pgscf</a></code>  -- set character font</li>
+<li><code><a href="rbpgplot.html#PGSCH">pgsch</a></code>  -- set character height</li>
+<li><code><a href="rbpgplot.html#PGSCI">pgsci</a></code>  -- set color index</li>
+<li><code><a href="rbpgplot.html#PGSCIR">pgscir</a></code> -- set color index range</li>
+<li><code><a href="rbpgplot.html#PGSCLP">pgsclp</a></code> -- enable or disable clipping at edge of viewport</li>
+<li><code><a href="rbpgplot.html#PGSCR">pgscr</a></code>  -- set color representation</li>
+<li><code><a href="rbpgplot.html#PGSCRN">pgscrn</a></code> -- set color representation by name</li>
+<li><code><a href="rbpgplot.html#PGSFS">pgsfs</a></code>  -- set fill-area style</li>
+<li><code><a href="rbpgplot.html#PGSHLS">pgshls</a></code> -- set color representation using HLS system</li>
+<li><code><a href="rbpgplot.html#PGSHS">pgshs</a></code>  -- set hatching style</li>
+<li><code><a href="rbpgplot.html#PGSITF">pgsitf</a></code> -- set image transfer function</li>
+<li><code><a href="rbpgplot.html#PGSLCT">pgslct</a></code> -- select an open graphics device</li>
+<li><code><a href="rbpgplot.html#PGSLS">pgsls</a></code>  -- set line style</li>
+<li><code><a href="rbpgplot.html#PGSLW">pgslw</a></code>  -- set line width</li>
+<li><code><a href="rbpgplot.html#PGSTBG">pgstbg</a></code> -- set text background color index</li>
+<li><code><a href="rbpgplot.html#PGSVP">pgsvp</a></code>  -- set viewport (normalized device coordinates)</li>
+<li><code><a href="rbpgplot.html#PGSWIN">pgswin</a></code> -- set window</li>
+<li><code><a href="rbpgplot.html#PGVSIZ">pgvsiz</a></code> -- set viewport (inches)</li>
+<li><code><a href="rbpgplot.html#PGVSTD">pgvstd</a></code> -- set standard (default) viewport</li>
+<li><code><a href="rbpgplot.html#PGWNAD">pgwnad</a></code> -- set window and adjust viewport to same aspect ratio</li>
+</ul>
+<h3><a name="label-10" id="label-10">Inquire attributes</a></h3><!-- RDLabel: "Inquire attributes" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGLDEV">pgldev</a></code> -- list available device types on standard output</li>
+<li><code><a href="rbpgplot.html#PGQAH">pgqah</a></code>  -- inquire arrow-head style</li>
+<li><code><a href="rbpgplot.html#PGQCF">pgqcf</a></code>  -- inquire character font</li>
+<li><code><a href="rbpgplot.html#PGQCH">pgqch</a></code>  -- inquire character height</li>
+<li><code><a href="rbpgplot.html#PGQCI">pgqci</a></code>  -- inquire color index</li>
+<li><code><a href="rbpgplot.html#PGQCIR">pgqcir</a></code> -- inquire color index range</li>
+<li><code><a href="rbpgplot.html#PGQCLP">pgqclp</a></code> -- inquire clipping status</li>
+<li><code><a href="rbpgplot.html#PGQCOL">pgqcol</a></code> -- inquire color capability</li>
+<li><code><a href="rbpgplot.html#PGQCR">pgqcr</a></code>  -- inquire color representation</li>
+<li><code><a href="rbpgplot.html#PGQCS">pgqcs</a></code>  -- inquire character height in a variety of units</li>
+<li><code><a href="rbpgplot.html#PGQDT">pgqdt</a></code>  -- inquire name of nth available device type</li>
+<li><code><a href="rbpgplot.html#PGQFS">pgqfs</a></code>  -- inquire fill-area style</li>
+<li><code><a href="rbpgplot.html#PGQHS">pgqhs</a></code>  -- inquire hatching style</li>
+<li><code><a href="rbpgplot.html#PGQID">pgqid</a></code>  -- inquire current device identifier</li>
+<li><code><a href="rbpgplot.html#PGQINF">pgqinf</a></code> -- inquire PGPLOT general information</li>
+<li><code><a href="rbpgplot.html#PGQITF">pgqitf</a></code> -- inquire image transfer function</li>
+<li><code><a href="rbpgplot.html#PGQLS">pgqls</a></code>  -- inquire line style</li>
+<li><code><a href="rbpgplot.html#PGQLW">pgqlw</a></code>  -- inquire line width</li>
+<li><code><a href="rbpgplot.html#PGQNDT">pgqndt</a></code> -- inquire number of available device types</li>
+<li><code><a href="rbpgplot.html#PGQPOS">pgqpos</a></code> -- inquire current pen position</li>
+<li><code><a href="rbpgplot.html#PGQTBG">pgqtbg</a></code> -- inquire text background color index</li>
+<li><code><a href="rbpgplot.html#PGQVP">pgqvp</a></code>  -- inquire viewport size and position</li>
+<li><code><a href="rbpgplot.html#PGQVSZ">pgqvsz</a></code> -- inquire size of view surface</li>
+<li><code><a href="rbpgplot.html#PGQWIN">pgqwin</a></code> -- inquire window boundary coordinates</li>
+</ul>
+<h4><a name="label-11" id="label-11">Hereafter not implemented in Ruby/PGPLOT</a></h4><!-- RDLabel: "Hereafter not implemented in Ruby/PGPLOT" -->
+<h3><a name="label-12" id="label-12">Utility</a></h3><!-- RDLabel: "Utility" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGNUMB">pgnumb</a></code> -- convert a number into a plottable character string</li>
+<li><code><a href="rbpgplot.html#PGRND">pgrnd</a></code>  -- find the smallest `round' number greater than x</li>
+</ul>
+<h3><a name="label-13" id="label-13">Drawing function</a></h3><!-- RDLabel: "Drawing function" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGFUNT">pgfunt</a></code> -- function defined by X = F(T), Y = G(T)</li>
+<li><code><a href="rbpgplot.html#PGFUNX">pgfunx</a></code> -- function defined by Y = F(X)</li>
+<li><code><a href="rbpgplot.html#PGFUNY">pgfuny</a></code> -- function defined by X = F(Y)</li>
+</ul>
+<h3><a name="label-14" id="label-14">Alias</a></h3><!-- RDLabel: "Alias" -->
+<ul>
+<li><code><a href="rbpgplot.html#PGADVANCE">pgadvance</a></code> -- non-standard alias for <a href="rbpgplot.html#PGPAGE">pgpage</a></li>
+<li><code><a href="rbpgplot.html#PGBEGIN">pgbegin</a></code>  -- non-standard alias for <a href="rbpgplot.html#PGBEG">pgbeg</a></li>
+<li><code><a href="rbpgplot.html#PGCURSE">pgcurse</a></code>  -- non-standard alias for <a href="rbpgplot.html#PGCURS">pgcurs</a></li>
+<li><code><a href="rbpgplot.html#PGLABEL">pglabel</a></code>  -- non-standard alias for <a href="rbpgplot.html#PGLAB">pglab</a></li>
+<li><code><a href="rbpgplot.html#PGMTEXT">pgmtext</a></code>  -- non-standard alias for <a href="rbpgplot.html#PGMTXT">pgmtxt</a></li>
+<li><code><a href="rbpgplot.html#PGNCURSE">pgncurse</a></code> -- non-standard alias for <a href="rbpgplot.html#PGNCUR">pgncur</a></li>
+<li><code><a href="rbpgplot.html#PGPAPER">pgpaper</a></code>  -- non-standard alias for <a href="rbpgplot.html#PGPAP">pgpap</a></li>
+<li><code><a href="rbpgplot.html#PGPOINT">pgpoint</a></code>  -- non-standard alias for <a href="rbpgplot.html#PGPT">pgpt</a></li>
+<li><code><a href="rbpgplot.html#PGPTEXT">pgptext</a></code>  -- non-standard alias for <a href="rbpgplot.html#PGPTXT">pgptxt</a></li>
+<li><code><a href="rbpgplot.html#PGVPORT">pgvport</a></code>  -- non-standard alias for <a href="rbpgplot.html#PGSVP">pgsvp</a></li>
+<li><code><a href="rbpgplot.html#PGVSIZE">pgvsize</a></code>  -- non-standard alias for <a href="rbpgplot.html#PGVSIZ">pgvsiz</a></li>
+<li><code><a href="rbpgplot.html#PGVSTAND">pgvstand</a></code> -- non-standard alias for <a href="rbpgplot.html#PGVSTD">pgvstd</a></li>
+<li><code><a href="rbpgplot.html#PGWINDOW">pgwindow</a></code> -- non-standard alias for <a href="rbpgplot.html#PGSWIN">pgswin</a></li>
+</ul>
+<hr/>
+<a href="./">Ruby/PGPLOT</a>
+by Masahiro Tanaka
+
+
+</body>
+</html>
diff -Nru ruby-pgplot-0.1.3/debian/doc/trailer.html ruby-pgplot-0.1.3/debian/doc/trailer.html
--- ruby-pgplot-0.1.3/debian/doc/trailer.html	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/doc/trailer.html	2012-06-01 18:27:14.000000000 +0900
@@ -0,0 +1,3 @@
+<hr/>
+<a href="./">Ruby/PGPLOT</a>
+by Masahiro Tanaka
diff -Nru ruby-pgplot-0.1.3/debian/doc/tutorial-01.html.ja ruby-pgplot-0.1.3/debian/doc/tutorial-01.html.ja
--- ruby-pgplot-0.1.3/debian/doc/tutorial-01.html.ja	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/doc/tutorial-01.html.ja	2012-07-25 14:39:35.000000000 +0900
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="iso-2022-jp" ?>
+<!DOCTYPE html 
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; lang="ja" xml:lang="ja">
+<head>
+<meta http-equiv="Content-type" content="text/html; charset=iso-2022-jp" />
+<title>Untitled</title>
+<link href="css.css" type="text/css" rel="stylesheet" />
+</head>
+<body>
+<h1><a name="label-0" id="label-0">Ruby/PGPLOT $BF3F~JT(B</a></h1><!-- RDLabel: "Ruby/PGPLOT $BF3F~JT(B" -->
+<h2><a name="label-1" id="label-1">$B@^$l@~%0%i%U$rIA$/(B</a></h2><!-- RDLabel: "$B@^$l@~%0%i%U$rIA$/(B" -->
+<p>Ruby/PGPLOT$B$G@^$l@~%0%i%U$rIA$/:G>.8B$N%9%/%j%W%H$O!"0J2<$N$h$&$K$J$j$^$9!#(B</p>
+<pre>require 'narray'
+require 'pgplot'
+include Pgplot
+pgopen                           # $B%G%P%$%9$r3+$/(B
+pgenv( 0, 5, 0, 5 )              # $BOH$N@_Dj$HIA2h(B
+pgline( [1,2,3,4], [1,4,1,4] )   # $B@^$l@~$NIA2h(B</pre>
+<p>$B0J2<$3$N%9%/%j%W%H$K$D$$$F>\$7$/@bL@$7$^$9!#(B
+1$B9TL\!"(B2$B9TL\$G3HD%%i%$%V%i%j$r%m!<%I$7$^$9!#(B</p>
+<p>3$B9TL\$G$O(B Pgplot$B%b%8%e!<%k$r%$%s%/%k!<%I$7$F$$$^$9!#(B
+$B$3$l$r$7$J$$$H(B Pgplot$B$N%a%=%C%I$r8F$V$H$-!"(B``Pgplot.pgopen'' $B$H$$$&$h$&$K(B
+$B%b%8%e!<%kL>$r%a%=%C%I$NA0$K>JN,$7$J$$$G=q$+$J$1$l$P$J$j$^$;$s!#(B
+$B%$%s%/%k!<%I$9$k$+$I$&$+$O>l9g$K$h$j$^$9!#(B
+Pgplot$B%b%8%e!<%k$N%a%=%C%IL>$O(B($B:#$N$H$3$m(B)$B3'(B ``pg'' $B$G;O$^$C$F$$$k$N$G!"(B
+$B5$$r$D$1$l$PL>A0$,$V$D$+$k3NN($ODc$$$H;W$$$^$9$,!"(B
+$B3N<B$r4|$9$J$i%$%s%/%k!<%I$7$J$$J}$,$h$$$+$b$7$l$^$;$s!#(B</p>
+<p>4$B9TL\$N(B pgopen $B$G(B PGPLOT $B$N%0%i%U%#%/%9%G%P%$%9$r3+$-$^$9!#(B
+$B$3$3$G0z?t$r=q$+$J$$$H;HMQ$9$k%G%P%$%9$rJ9$$$F$-$^$9!#(B</p>
+<pre>Graphics device/type (? to see list, default /xwin):</pre>
+<p>$B%G%U%)%k%H$N$^$^$GNI$1$l$PC1$K%j%?!<%s%-!<$r2!$7$^$9!#(B
+$B%G%U%)%k%H$N%G%P%$%9$O4D6-JQ?t(B PGPLOT_DEV $B$G@_Dj$7$?$b$N$K$J$C$F$$$^$9!#(B
+`?'$B$H%j%?!<%s$rBG$A9~$`$H!";HMQ$G$-$k%G%P%$%9$N0lMw$,I=<($5$l$k$N$G!"(B
+$B$=$NCf$+$iJL$N%G%P%$%9$rA*Br$9$k$3$H$b$G$-$^$9!#(B
+$BNc$($P!"(BPNG$B$H$7$F%U%!%$%k$K=q$-=P$7$?$$$H$-$O!"(B
+``plot1.png/png'' $B$N$h$&$K!V%U%!%$%kL>(B/$B%G%P%$%9L>!W$H$$$&$h$&$K;XDj$7$^$9!#(B</p>
+<p>5$B9TL\$N(B</p>
+<pre>pgenv( 0, 5, 0, 5 )</pre>
+<p>$B$K$h$j!"%0%i%U$N<4$r7hDj$7!"OH$HL\@9$rIA2h$7$^$9!#(B
+$B0z?t$O(B x-min, x-max, y-min, y-max $B$N=g$G$9!#(B
+$B$3$3$G$O(BX$B<4$,(B0$B$+$i(B5$B!"(BY$B<4$,(B0$B$+$i(B5$B$^$G$NHO0O$NOH$rIA$-$^$9!#(B
+$B0J9_$O$3$3$G@_Dj$5$l$?:BI8$r$b$H$KIA2h$7$^$9!#(B</p>
+<p>$B$=$7$F$$$h$$$h!"(B6$B9TL\$N(B</p>
+<pre>pgline( [1,2,3,4], [1,4,1,4] )</pre>
+<p>$B$G!"@^$l@~%0%i%U$rIA$-$^$9!#(B
+$B0z?t$K$O@~$r7k$VE@$N(BX$B:BI8$H(BY$B:BI8$r$=$l$>$lG[Ns$GEO$7$^$9!#(B</p>
+<p>$B$3$3$^$G@.8y$9$l$P!"$3$N$h$&$J%0%i%U$,IA$+$l$F$$$k$O$:$G$9!#(B</p>
+<p><img src="plot1.png" alt="plot1.png"/></p>
+
+<p>$B0J>e$,@^$l@~%0%i%U$rIA$/$N$K:GDc8BI,MW$J%a%=%C%I$G$9!#(B</p>
+<p>$B$H$3$m$G!"$3$N%9%/%j%W%H$K$O%G%P%$%9$rJD$8$k%a%=%C%I$,$"$j$^$;$s!#(B
+C$B$+(BFORTRAN$BHG$N(BPGPLOT$B$G$"$l$P!"(B
+$B$3$3$G:G8e$K(B pgend $B$r8F$s$G%G%P%$%9$rJD$8$kI,MW$,$"$j$^$9!#(B
+$B$=$&$7$J$$$H!"%G%P%$%9$,(B Postscript $B$J$I$N$H$-!"(B
+$B=*N;=hM}$,$5$l$J$$$N$G!"IT40A4$J%U%!%$%k$,$G$-$F$7$^$$$^$9!#(B
+$B$7$+$7(B Ruby/PGPLOT$B$G$O!"(BRuby$B%$%s%?%W%j%?=*N;;~$K(B
+pgend $B$r<+F0E*$K8F$V$h$&$K$J$C$F$$$k$N$G!"(B
+$BI,$:$7$b:G8e$K(B pgend $B$r8F$VI,MW$O$"$j$^$;$s!#(B
+$B$?$@$7(BRuby$B$N<B9TESCf$G(BPGPLOT$B$r=*N;$7$?$$$H$-$N$?$a$K(B
+Ruby$BHG$G$b(B pgend $B%a%=%C%I$OMQ0U$7$F$"$j$^$9!#(B</p>
+<p>$B0J2<B3$/(B($B$+$b$7$l$J$$(B)</p>
+<hr/>
+<a href="./">Ruby/PGPLOT</a>
+by Masahiro Tanaka
+
+
+</body>
+</html>
diff -Nru ruby-pgplot-0.1.3/debian/patches/0001-Update-extconf-and-Add-support-for-Ruby-1.9.2.patch ruby-pgplot-0.1.3/debian/patches/0001-Update-extconf-and-Add-support-for-Ruby-1.9.2.patch
--- ruby-pgplot-0.1.3/debian/patches/0001-Update-extconf-and-Add-support-for-Ruby-1.9.2.patch	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/patches/0001-Update-extconf-and-Add-support-for-Ruby-1.9.2.patch	2012-09-01 19:04:20.000000000 +0900
@@ -0,0 +1,311 @@
+From: Youhei SASAKI <uwabami@gfd-dennou.org>
+Date: Fri, 1 Jun 2012 18:17:00 +0900
+Subject: Update extconf and Add support for Ruby 1.9.2
+
+---
+ cogen.rb       |    2 +-
+ extconf.rb     |    4 ++--
+ kwarg.c        |   23 +++++++++++++++++---
+ rb_pgplot.c.in |   65 +++++++++++++++++++++++++++++++++++---------------------
+ 4 files changed, 64 insertions(+), 30 deletions(-)
+
+diff --git a/cogen.rb b/cogen.rb
+index d5d526a..2494f5f 100644
+--- a/cogen.rb
++++ b/cogen.rb
+@@ -97,7 +97,7 @@ def pgfuncgen(name, inp, out)
+   ninp = inp.size
+   nout = out.size
+   # int->0, float->1
+-  val2 = ["NUM2INT","NUM2DBL","STR2CSTR"]
++  val2 = ["NUM2INT","NUM2DBL","StringValuePtr"]
+   type = ["int","float",nil]
+   conv = ["INT2NUM","rb_float_new",nil]
+   # Initialize Array
+diff --git a/extconf.rb b/extconf.rb
+index 3fabb54..39752c6 100644
+--- a/extconf.rb
++++ b/extconf.rb
+@@ -34,10 +34,10 @@ dir_config("pgplot")
+ exit unless have_header("cpgplot.h")
+ 
+ # Check NArray
+-$CPPFLAGS = " -I#{CONFIG['sitearchdir']} "+$CPPFLAGS
++$CPPFLAGS = " -I#{CONFIG['vendorarchdir']} "+$CPPFLAGS
+ exit unless have_header("narray.h")
+ if RUBY_PLATFORM =~ /cygwin|mingw/
+-  $LDFLAGS = " -L#{CONFIG['sitearchdir']} "+$LDFLAGS
++  $LDFLAGS = " -L#{CONFIG['archdir']} "+$LDFLAGS
+   exit unless have_library("narray","na_make_object")
+ end
+ 
+diff --git a/kwarg.c b/kwarg.c
+index a03630c..0620ec2 100644
+--- a/kwarg.c
++++ b/kwarg.c
+@@ -9,6 +9,23 @@
+    NO WARRANTY.
+ */
+ #include <ruby.h>
++#ifndef RUBY_19
++#ifndef RSTRING_PTR
++#define RSTRING_PTR(a) (RSTRING(a)->ptr)
++#endif
++#ifndef RSTRING_LEN
++#define RSTRING_LEN(a) (RSTRING(a)->len)
++#endif
++#ifndef RARRAY_PTR
++#define RARRAY_PTR(s) (RARRAY(s)->ptr)
++#endif
++#ifndef RARRAY_LEN
++#define RARRAY_LEN(s) (RARRAY(s)->len)
++#endif
++#ifndef StringValuePtr
++#define StringValuePtr(s) STR2CSTR(s)
++#endif
++#endif
+ 
+ /* void rb_scan_kw_args __((VALUE, ...)); */
+ 
+@@ -18,7 +35,7 @@ kw_hash_i(i, tmp)
+ {
+   VALUE key;
+ 
+-  key = RARRAY(i)->ptr[0];
++  key = RARRAY_PTR(i)[0];
+   if (TYPE(key)==T_SYMBOL) {
+     key = rb_funcall(key, rb_intern("id2name"), 0);
+   } else
+@@ -26,7 +43,7 @@ kw_hash_i(i, tmp)
+     rb_raise(rb_eArgError, "keywords must be String or Symbol");
+   }
+ 
+-  rb_hash_aset(tmp, key, RARRAY(i)->ptr[1]);
++  rb_hash_aset(tmp, key, RARRAY_PTR(i)[1]);
+   return Qnil;
+ }
+ 
+@@ -71,7 +88,7 @@ rb_scan_kw_args(hash, va_alist)
+   if (rb_funcall(tmp, rb_intern("empty?"), 0)==Qfalse) {
+     val = rb_funcall(tmp, rb_intern("keys"), 0);
+     val = rb_funcall(val, rb_intern("join"), 1, rb_str_new2(","));
+-    rb_raise(rb_eArgError, "unknown keywords: %s",STR2CSTR(val));
++    rb_raise(rb_eArgError, "unknown keywords: %s",StringValuePtr(val));
+   }
+ 
+   va_end(vargs);
+diff --git a/rb_pgplot.c.in b/rb_pgplot.c.in
+index f9a8cfe..ded737f 100644
+--- a/rb_pgplot.c.in
++++ b/rb_pgplot.c.in
+@@ -11,6 +11,23 @@
+ #include <stdio.h>
+ #include <cpgplot.h>
+ #include <ruby.h>
++#ifndef RUBY_19
++#ifndef RSTRING_PTR
++#define RSTRING_PTR(a) (RSTRING(a)->ptr)
++#endif
++#ifndef RSTRING_LEN
++#define RSTRING_LEN(a) (RSTRING(a)->len)
++#endif
++#ifndef RARRAY_PTR
++#define RARRAY_PTR(s) (RARRAY(s)->ptr)
++#endif
++#ifndef RARRAY_LEN
++#define RARRAY_LEN(s) (RARRAY(s)->len)
++#endif
++#ifndef StringValuePtr
++#define StringValuePtr(s) STR2CSTR(s)
++#endif
++#endif
+ #include "narray.h"
+ 
+ #define min(a,b) (((a)<(b))?(a):(b))
+@@ -89,7 +106,7 @@ static VALUE
+   char *dev="?";
+ 
+   rb_scan_args(argc,argv, "01", &vdev);
+-  if (vdev!=Qnil) dev = STR2CSTR(vdev);
++  if (vdev!=Qnil) dev = StringValuePtr(vdev);
+ 
+   return INT2NUM(cpgopen(dev));
+ }
+@@ -104,7 +121,7 @@ static VALUE
+   char  *dev="?";
+ 
+   rb_scan_args(argc, argv, "03", &vdev,&vnxs,&vnys);
+-  if (vdev!=Qnil) dev  = STR2CSTR(vdev);
++  if (vdev!=Qnil) dev  = StringValuePtr(vdev);
+   if (vnxs!=Qnil) nxsub = NUM2INT(vnxs);
+   if (vnys!=Qnil) nysub = NUM2INT(vnys);
+ 
+@@ -124,7 +141,7 @@ static VALUE
+      just: if just=1, the x and y axes is scaled equally,
+            otherwise scaled independently.
+      axis: controls of axes.
+-*/ 
++*/
+ static VALUE
+   rb_pgplot_pgenv( int argc, VALUE *argv, VALUE self )
+ {
+@@ -309,14 +326,14 @@ static void
+ /* PGERRB -- horizontal or vertical error bar
+    pgerrb, dir, x, y, err [,tlen]
+ 
+-   dir : direction to plot the error bar relative to the data point. 
++   dir : direction to plot the error bar relative to the data point.
+          One-sided error bar:
+            DIR is 1 for +X (X to X+E);
+                   2 for +Y (Y to Y+E);
+                   3 for -X (X to X-E);
+                   4 for -Y (Y to Y-E).
+          Two-sided error bar:
+-           DIR is 5 for +/-X (X-E to X+E); 
++           DIR is 5 for +/-X (X-E to X+E);
+                   6 for +/-Y (Y-E to Y+E).
+    x   : world x-coordinates of the data.
+    y   : world y-coordinates of the data.
+@@ -500,9 +517,9 @@ static VALUE
+   return Qtrue;
+ }
+ 
+-/* PGCONL -- label contour map of a 2D data array 
++/* PGCONL -- label contour map of a 2D data array
+    pgconl, map, cont, label [,intval, minint, tr]
+-   map    : 2-D array of map data 
++   map    : 2-D array of map data
+    cont   : contour level tobe labeld
+    label  : label string
+    intval : spacing along the contour between labels, in grid cells.
+@@ -531,7 +548,7 @@ static VALUE
+   /* Show Contour */
+   cpgconl( NA_PTR_FLT(na_map), NA_SHAPE0(na_map), NA_SHAPE1(na_map),
+ 	   1, NA_SHAPE0(na_map), 1, NA_SHAPE1(na_map),
+-	   NUM2DBL(vcnt), tr, STR2CSTR(vlab), intval, minint);
++	   NUM2DBL(vcnt), tr, StringValuePtr(vlab), intval, minint);
+   return Qtrue;
+ }
+ 
+@@ -624,7 +641,7 @@ static VALUE
+   else
+     cpggray( NA_PTR_FLT(na), NA_SHAPE0(na), NA_SHAPE1(na),
+ 	     1, NA_SHAPE0(na), 1, NA_SHAPE1(na),
+-	     range[0], range[1], tr );    
++	     range[0], range[1], tr );
+   return Qtrue;
+ }
+ 
+@@ -774,7 +791,7 @@ static VALUE
+   int   value_len=20;
+   char *item, *value;
+ 
+-  item  = STR2CSTR(vitem);
++  item  = StringValuePtr(vitem);
+   value = ALLOCA_N(char,value_len);
+   cpgqinf( item, value, &value_len );
+ 
+@@ -819,7 +836,7 @@ static VALUE
+   VALUE vx,vy;
+   int i;
+   float xbox[4], ybox[4];
+-  char *txt = STR2CSTR(text);
++  char *txt = StringValuePtr(text);
+ 
+   cpgqtxt( NUM2DBL(x),NUM2DBL(y),NUM2DBL(ang),NUM2DBL(fjust),txt,
+ 	   xbox, ybox );
+@@ -979,7 +996,7 @@ static VALUE
+   if (NA_TYPE(x)!=NA_SFLOAT || NA_TYPE(y)!=NA_SFLOAT)
+     rb_raise(rb_eArgError, "Array must NArray.sfloat");
+ 
+-  cpgolin( min(NA_TOTAL(x),NA_TOTAL(y)), &npt, 
++  cpgolin( min(NA_TOTAL(x),NA_TOTAL(y)), &npt,
+ 	   NA_PTR_FLT(x), NA_PTR_FLT(y), sym );
+ 
+   return INT2NUM(npt);
+@@ -1009,7 +1026,7 @@ static VALUE
+   if (NA_TYPE(x)!=NA_SFLOAT || NA_TYPE(y)!=NA_SFLOAT)
+     rb_raise(rb_eArgError, "Array must NArray.sfloat");
+ 
+-  cpgncur( min(NA_TOTAL(x),NA_TOTAL(y)), &npt, 
++  cpgncur( min(NA_TOTAL(x),NA_TOTAL(y)), &npt,
+ 	   NA_PTR_FLT(x), NA_PTR_FLT(y), sym );
+ 
+   return INT2NUM(npt);
+@@ -1037,7 +1054,7 @@ static VALUE
+   if (NA_TYPE(x)!=NA_SFLOAT || NA_TYPE(y)!=NA_SFLOAT)
+     rb_raise(rb_eArgError, "Array must NArray.sfloat");
+ 
+-  cpglcur( min(NA_TOTAL(x),NA_TOTAL(y)), &npt, 
++  cpglcur( min(NA_TOTAL(x),NA_TOTAL(y)), &npt,
+ 	   NA_PTR_FLT(x), NA_PTR_FLT(y) );
+ 
+   return INT2NUM(npt);
+@@ -1058,7 +1075,7 @@ void rb_scan_kw_args __((VALUE, ...));
+     baseline parallel to the axis and reading in the same direction as
+     the axis (from point 1 to point 2). Current line and text attributes
+     are used.
+-   
++
+     Arguments:
+      X1, Y1  : world coordinates of one endpoint of the axis.
+      X2, Y2  : world coordinates of the other endpoint of the axis.
+@@ -1095,7 +1112,7 @@ static VALUE
+   if (tickr ==Qnil)  tickr = INT2FIX(0);
+   if (disp  ==Qnil)  disp  = INT2FIX(1);
+   if (orient==Qnil)  orient= INT2FIX(0);
+-  if (vstr  !=Qnil)  str   = STR2CSTR(vstr);
++  if (vstr  !=Qnil)  str   = StringValuePtr(vstr);
+ 
+   cpgtick( NUM2DBL(x1),NUM2DBL(y1),NUM2DBL(x2),NUM2DBL(y2),
+ 	   NUM2DBL(v), NUM2DBL(tickl),NUM2DBL(tickr),
+@@ -1114,25 +1131,25 @@ static VALUE
+ 
+     Draw a labelled graph axis from world-coordinate position (X1,Y1) to
+     (X2,Y2).
+-   
++
+     Normally, this routine draws a standard LINEAR axis with equal
+     subdivisions.   The quantity described by the axis runs from V1 to V2;
+-    this may be, but need not be, the same as X or Y. 
+-   
++    this may be, but need not be, the same as X or Y.
++
+     If the 'L' option is specified, the routine draws a LOGARITHMIC axis.
+     In this case, the quantity described by the axis runs from 10**V1 to
+-    10**V2. A logarithmic axis always has major, labeled, tick marks 
++    10**V2. A logarithmic axis always has major, labeled, tick marks
+     spaced by one or more decades. If the major tick marks are spaced
+     by one decade (as specified by the STEP argument), then minor
+     tick marks are placed at 2, 3, .., 9 times each power of 10;
+     otherwise minor tick marks are spaced by one decade. If the axis
+     spans less than two decades, numeric labels are placed at 1, 2, and
+     5 times each power of ten.
+-   
++
+     If the axis spans less than one decade, or if it spans many decades,
+     it is preferable to use a linear axis labeled with the logarithm of
+     the quantity of interest.
+-   
++
+     Arguments:
+      x1, y1  : world coordinates of one endpoint of the axis.
+      x2, y2  : world coordinates of the other endpoint of the axis.
+@@ -1180,7 +1197,7 @@ static VALUE
+   if (argc>0 && TYPE(argv[argc-1]) == T_HASH)
+     val = argv[--argc];
+ 
+-  rb_scan_kw_args( val, 
++  rb_scan_kw_args( val,
+ 		   "opt",&vopt, "step",&step, "nsub",&nsub,
+ 		   "tickl",&tickl, "tickr",&tickr,
+ 		   "frac",&vfrac, "disp",&disp, "orient",&orient, 0);
+@@ -1192,7 +1209,7 @@ static VALUE
+   if (tickr ==Qnil)  tickr = INT2FIX(0);
+   if (disp  ==Qnil)  disp  = INT2FIX(1);
+   if (orient==Qnil)  orient= INT2FIX(0);
+-  if (vopt  !=Qnil)  opt   = STR2CSTR(vopt);
++  if (vopt  !=Qnil)  opt   = StringValuePtr(vopt);
+   if (vfrac !=Qnil)  frac  = NUM2DBL(vfrac);
+ 
+   cpgaxis( opt, NUM2DBL(x1),NUM2DBL(y1),NUM2DBL(x2),NUM2DBL(y2),
diff -Nru ruby-pgplot-0.1.3/debian/patches/0002-Fix-mkdoc-for-Ruby-1.9.2.patch ruby-pgplot-0.1.3/debian/patches/0002-Fix-mkdoc-for-Ruby-1.9.2.patch
--- ruby-pgplot-0.1.3/debian/patches/0002-Fix-mkdoc-for-Ruby-1.9.2.patch	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/patches/0002-Fix-mkdoc-for-Ruby-1.9.2.patch	2012-09-01 19:04:20.000000000 +0900
@@ -0,0 +1,528 @@
+From: Youhei SASAKI <uwabami@gfd-dennou.org>
+Date: Fri, 1 Jun 2012 18:23:04 +0900
+Subject: Fix mkdoc for Ruby 1.9.2
+
+Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
+---
+ doc/Makefile          |    6 +--
+ doc/install.ja.rd     |  126 ++++++++++++++++++++++++-------------------------
+ doc/method.ja.rd      |  124 ++++++++++++++++++++++++------------------------
+ doc/tutorial-01.ja.rd |   90 +++++++++++++++++------------------
+ 4 files changed, 173 insertions(+), 173 deletions(-)
+
+diff --git a/doc/Makefile b/doc/Makefile
+index 14d5770..14a8ed1 100644
+--- a/doc/Makefile
++++ b/doc/Makefile
+@@ -1,11 +1,11 @@
+ .SUFFIXES: .ja.rd .html.ja .rd .html .rb $(SUFFIXES)
+ 
+ .ja.rd.html.ja:
+-	rd2 -r rd2html-img-lib.rb --html-lang=ja --out-code=jis --with-css=css.css $< > $@
++	ruby -I. /usr/bin/rd2 -r rd2html-img-lib.rb --html-lang=ja --out-code=jis --with-css=css.css $< > $@
+ .rd.html:
+-	rd2 -r rd2html-img-lib.rb --with-css=css.css -o $* $<
++	ruby -I. /usr/bin/rd2 -r rd2html-img-lib.rb --with-css=css.css -o $* $<
+ .rb.html:
+-	rd2 -r rd2html-img-lib.rb --with-css=css.css -o $* $<
++	ruby -I. /usr/bin/rd2 -r rd2html-img-lib.rb --with-css=css.css -o $* $<
+ 
+ targets_en=index.html \
+   pgline.html pgcont.html pgimag.html pghist.html \
+diff --git a/doc/install.ja.rd b/doc/install.ja.rd
+index 0bc7480..2aa97af 100644
+--- a/doc/install.ja.rd
++++ b/doc/install.ja.rd
+@@ -1,105 +1,105 @@
+ =begin
+-= PGPLOT¤Î¥¤¥ó¥¹¥È¡¼¥ë
++= PGPLOTã?®ã?¤ã?³ã?¹ã??ã?¼ã?«
+ 
+-PGPLOT¤Ï configure ¤ò»È¤ï¤Ê¤¤¤Î¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤¬¼ã´³ÌÌÅݤǤ¹¡£
+-°Ê²¼¤Ï Solaris¡¢GCC ¤È¤¤¤¦´Ä¶­¤ÇPGPLOT¤ò¥³¥ó¥Ñ¥¤¥ë¡¢
+-¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¼ê½ç¤òÀâÌÀ¤·¤Þ¤¹¡£
+-¾¤ÎOS¤Ç¤âUNIX¤Ê¤é¤Û¤È¤ó¤ÉƱ¤¸¤è¤¦¤Ë¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤ë¤È»×¤¤¤Þ¤¹¡£
+-((<ËܲȤΥ¤¥ó¥¹¥È¡¼¥ëÀâÌÀ¤Î¥Ú¡¼¥¸|URL:http://www.astro.caltech.edu/~tjp/pgplot/install.html>))
+-¤â¤´Í÷²¼¤µ¤¤¡£
++PGPLOTã?¯ configure ã??使ã??ã?ªã??ã?®ã?§ã?¤ã?³ã?¹ã??ã?¼ã?«ã??è?¥å¹²é?¢å??ã?§ã??ã??
++以ä¸?ã?¯ Solarisã??GCC ã?¨ã??ã??ç?°å¢?ã?§PGPLOTã??ã?³ã?³ã??ã?¤ã?«ã??
++ã?¤ã?³ã?¹ã??ã?¼ã?«ã??ã??æ??é ?ã??説æ??ã??ã?¾ã??ã??
++ä»?ã?®OSã?§ã??UNIXã?ªã??ã?»ã?¨ã??ã?©å??ã??ã??ã??ã?«ã??ã?¦ã?¤ã?³ã?¹ã??ã?¼ã?«ã?§ã??ã??ã?¨æ??ã??ã?¾ã??ã??
++((<æ?¬å®¶ã?®ã?¤ã?³ã?¹ã??ã?¼ã?«èª¬æ??ã?®ã??ã?¼ã?¸|URL:http://www.astro.caltech.edu/~tjp/pgplot/install.html>))
++ã??ã??覧ä¸?ã??ã??ã??
+ 
+-=== PGPLOT¤Î¥½¡¼¥¹¤òÍÑ°Õ
+-((<PGPLOT¤Î¥µ¥¤¥È|URL:http://www.astro.caltech.edu/~tjp/pgplot/>))
+-¤«¤é
+-((<¥½¡¼¥¹¥³¡¼¥É|URL:ftp://ftp.astro.caltech.edu/pub/pgplot/pgplot5.2.tar.gz>))
+-¤ò¥À¥¦¥ó¥í¡¼¥É¡¢Å¸³«¤·¡¢pgplot¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë°ÜÆ°¤·¤Þ¤¹¡£
++=== PGPLOTã?®ã?½ã?¼ã?¹ã??ç?¨æ??
++((<PGPLOTã?®ã?µã?¤ã??|URL:http://www.astro.caltech.edu/~tjp/pgplot/>))
++ã??ã??
++((<ã?½ã?¼ã?¹ã?³ã?¼ã??|URL:ftp://ftp.astro.caltech.edu/pub/pgplot/pgplot5.2.tar.gz>))
++ã??ã??ã?¦ã?³ã?­ã?¼ã??ã??å±?é??ã??ã??pgplotã?®ã??ã?£ã?¬ã?¯ã??ã?ªã?«ç§»å??ã??ã?¾ã??ã??
+ 
+   gunzip -c pgplot5.2.tar.gz | tar xvf -
+   cd pgplot
+ 
+-=== ºî¶È¥Ç¥£¥ì¥¯¥È¥ê¤òºîÀ®
+-ºî¶È¥Ç¥£¥ì¥¯¥È¥ê¤òºî¤ê¤Þ¤¹¡£¤³¤³¤Ç¤Ï build ¤È¤¤¤¦Ì¾Á°¤Ë¤·¤Þ¤¹¡£
++=== ä½?業ã??ã?£ã?¬ã?¯ã??ã?ªã??ä½?æ??
++ä½?業ã??ã?£ã?¬ã?¯ã??ã?ªã??ä½?ã??ã?¾ã??ã??ã??ã??ã?§ã?¯ build ã?¨ã??ã??å??å??ã?«ã??ã?¾ã??ã??
+ 
+   mkdir build
+   cd build
+ 
+-=== drivers.list¤òÊÔ½¸
+-PGPLOT¤ÇÉÁ²è¤ò½ÐÎϤ¹¤ë¥É¥é¥¤¥Ð¤òÁªÂò¤·¤Þ¤¹¡£
+-drivers.list ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤ò¥³¥Ô¡¼¤·¤Æ¥¨¥Ç¥£¥¿¤Ç³«¤­¡¢
+-»È¤¤¤¿¤¤¥É¥é¥¤¥Ð¤Î¹Ô¤ÎƬ¤Î ! ¤Îʸ»ú¤òºï½ü¤·¤Þ¤¹¡£
++=== drivers.listã??ç·¨é??
++PGPLOTã?§æ??ç?»ã??å?ºå??ã??ã??ã??ã?©ã?¤ã??ã??é?¸æ??ã??ã?¾ã??ã??
++drivers.list ã?¨ã??ã??ã??ã?¡ã?¤ã?«ã??ã?³ã??ã?¼ã??ã?¦ã?¨ã??ã?£ã?¿ã?§é??ã??ã??
++使ã??ã??ã??ã??ã?©ã?¤ã??ã?®è¡?ã?®é ­ã?® ! ã?®æ??å­?ã??å??é?¤ã??ã?¾ã??ã??
+ 
+   cp ../drivers.list .
+   vi drivers.list
+ 
+-¥É¥é¥¤¥Ð¤Ï¤ª¹¥¤ß¤ÇÁªÂò¤Ç¤­¤Þ¤¹¤¬¡¢UNIX¤Ê¤é
++ã??ã?©ã?¤ã??ã?¯ã??好ã?¿ã?§é?¸æ??ã?§ã??ã?¾ã??ã??ã??UNIXã?ªã??
+ PNG, PPM, Postscipt, XWD, XWINDOW, XSERVE, XTERM
+-¤¢¤¿¤ê¤òÁª¤ó¤Ç¤ª¤¯¤Î¤¬°ìÈÌŪ¤Ç¤·¤ç¤¦¡£
+-PNG driver¤òÁȤ߹þ¤à¤Ë¤Ï¡¢
+-((<libpng|URL:http://www.libpng.org/pub/png/png.html>)) ¤¬É¬ÍפǤ¹¡£
+-¾¤Ë¤â¤¿¤¯¤µ¤ó¤Î¥É¥é¥¤¥Ð¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢
+-¥×¥ê¥ó¥¿¥É¥é¥¤¥Ð¤ÎÃæ¤Ë¤Ï¥³¥ó¥Ñ¥¤¥ë¤Î»þ¤Ë¥¨¥é¡¼¤¬½Ð¤ë¤â¤Î¤¬¤¢¤Ã¤¿¤ê¡¢
+-GIF¤Ï¥é¥¤¥»¥ó¥¹¤Ë°ú¤Ã³Ý¤«¤Ã¤¿¤ê¤·¤Þ¤¹¡£
+-
+-=== makefile ºîÀ®
+-¼¡¤Î¥³¥Þ¥ó¥É¤Ç makefile ¤òºîÀ®¤·¤Þ¤¹¡£
++ã??ã??ã??ã??é?¸ã??ã?§ã??ã??ã?®ã??ä¸?è?¬ç??ã?§ã??ã??ã??ã??
++PNG driverã??çµ?ã?¿è¾¼ã??ã?«ã?¯ã??
++((<libpng|URL:http://www.libpng.org/pub/png/png.html>)) ã??å¿?è¦?ã?§ã??ã??
++ä»?ã?«ã??ã??ã??ã??ã??ã?®ã??ã?©ã?¤ã??ã??å?«ã?¾ã??ã?¦ã??ã?¾ã??ã??ã??
++ã??ã?ªã?³ã?¿ã??ã?©ã?¤ã??ã?®ä¸­ã?«ã?¯ã?³ã?³ã??ã?¤ã?«ã?®æ??ã?«ã?¨ã?©ã?¼ã??å?ºã??ã??ã?®ã??ã??ã?£ã??ã??ã??
++GIFã?¯ã?©ã?¤ã?»ã?³ã?¹ã?«å¼?ã?£æ??ã??ã?£ã??ã??ã??ã?¾ã??ã??
++
++=== makefile ä½?æ??
++次ã?®ã?³ã??ã?³ã??ã?§ makefile ã??ä½?æ??ã??ã?¾ã??ã??
+   ../makemake .. sol2 g77_gcc
+-1ÈÖÌܤΰú¿ô¤Ï¥½¡¼¥¹¤Î¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Î»ØÄê¤Ç¤¹¡£
+-¤³¤³¤Ç¤Ï¥½¡¼¥¹¥Ç¥£¥ì¥¯¥È¥ê¤Î²¼¤Ë¤¤¤ë¤Î¤Ç¡¢((%..%)) ¤ò»ØÄꤷ¤Þ¤¹¡£
+-2ÈÖÌܤΰú¿ô¤ÏOS¤Î¼ïÎà¤Ç¡¢¥½¡¼¥¹¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë
+-((%sys_*%)) ¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤ÎÃæ¤Î ((%*%)) ¤ÎÉôʬ¤ò»ØÄꤷ¤Þ¤¹¡£
+-3ÈÖÌܤΰú¿ô¤Ï¥³¥ó¥Ñ¥¤¥é¤Ê¤É¤ÎÀßÄê¤Ç¡¢sys_* ¤Î²¼¤Ë¤¢¤ë
+-((%*.conf%)) ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤Î ((%*%)) ¤ÎÉôʬ¤ò»ØÄꤷ¤Þ¤¹¡£
+-¤â¤·¤³¤ÎÃæ¤Ë¤Ê¤±¤ì¤Ð¡¢ºÇ¤â¶á¤½¤¦¤Ê¤ä¤Ä¤òÁª¤Ó¤Þ¤¹¡£
+-
+-makefile ¤òºîÀ®¤·¤¿¤é¡¢¤¶¤Ã¤È¸«¤ÆÀßÄ꤬Àµ¤·¤¤¤«¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£
+-¤³¤³¤Ç¡¢PGPLOT ver 5.2.2 ¤Ç PNG driver¤ò»È¤¦¾ì¹ç¡¢
+-ÅǤ­½Ð¤µ¤ì¤¿ makefile ¤Ï¡¢
++1ç?ªç?®ã?®å¼?æ?°ã?¯ã?½ã?¼ã?¹ã?®ã??ã??ã??ã?£ã?¬ã?¯ã??ã?ªã?®æ??å®?ã?§ã??ã??
++ã??ã??ã?§ã?¯ã?½ã?¼ã?¹ã??ã?£ã?¬ã?¯ã??ã?ªã?®ä¸?ã?«ã??ã??ã?®ã?§ã??((%..%)) ã??æ??å®?ã??ã?¾ã??ã??
++2ç?ªç?®ã?®å¼?æ?°ã?¯OSã?®ç¨®é¡?ã?§ã??ã?½ã?¼ã?¹ã??ã?£ã?¬ã?¯ã??ã?ªã?«ã??ã??
++((%sys_*%)) ã?¨ã??ã??ã??ã?£ã?¬ã?¯ã??ã?ªã?®ä¸­ã?® ((%*%)) ã?®é?¨å??ã??æ??å®?ã??ã?¾ã??ã??
++3ç?ªç?®ã?®å¼?æ?°ã?¯ã?³ã?³ã??ã?¤ã?©ã?ªã?©ã?®è¨­å®?ã?§ã??sys_* ã?®ä¸?ã?«ã??ã??
++((%*.conf%)) ã?¨ã??ã??ã??ã?¡ã?¤ã?«ã?® ((%*%)) ã?®é?¨å??ã??æ??å®?ã??ã?¾ã??ã??
++ã??ã??ã??ã?®ä¸­ã?«ã?ªã??ã??ã?°ã??æ??ã??è¿?ã??ã??ã?ªã??ã?¤ã??é?¸ã?³ã?¾ã??ã??
++
++makefile ã??ä½?æ??ã??ã??ã??ã??ã??ã?£ã?¨è¦?ã?¦è¨­å®?ã??æ­£ã??ã??ã??ã??ã?§ã??ã?¯ã??ã?¾ã??ã??
++ã??ã??ã?§ã??PGPLOT ver 5.2.2 ã?§ PNG driverã??使ã??å ´å??ã??
++å??ã??å?ºã??ã??ã?? makefile ã?¯ã??
+ 
+   pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h
+ 
+-¤È¤¤¤¦¤Þ¤º¤¤ÀßÄê¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢¤³¤Î¹Ô¤òºï½ü¤·¤Þ¤¹¡£
++ã?¨ã??ã??ã?¾ã??ã??設å®?ã?«ã?ªã?£ã?¦ã??ã??ã?®ã?§ã??ã??ã?®è¡?ã??å??é?¤ã??ã?¾ã??ã??
+ 
+-=== ¥³¥ó¥Ñ¥¤¥ë
+-makefile ¤òÊÔ½¸¤·¤¿¤é¡¢¥é¥¤¥Ö¥é¥ê¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤Þ¤¹¡£
++=== ã?³ã?³ã??ã?¤ã?«
++makefile ã??ç·¨é??ã??ã??ã??ã??ã?©ã?¤ã??ã?©ã?ªã??ã?³ã?³ã??ã?¤ã?«ã??ã?¾ã??ã??
+ 
+   make
+   make cpg
+ 
+-=== ¥¤¥ó¥¹¥È¡¼¥ë
+-make install ¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢¼êÆ°¤Ç¥³¥Ô¡¼¤·¤Þ¤¹¡£
+-ɬÍפʤé root ¤Ë¤Ê¤Ã¤Æ¤¯¤À¤µ¤¤¡£
+-¤Þ¤º¥¤¥ó¥¹¥È¡¼¥ëÀè¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò´Ä¶­ÊÑ¿ô¤Ë¥»¥Ã¥È¤·¤Þ¤¹¡£
+-csh·Ï¤Ê¤é¡¢
++=== ã?¤ã?³ã?¹ã??ã?¼ã?«
++make install ã??ç?¨æ??ã??ã??ã?¦ã??ã?ªã??ã?®ã?§ã??æ??å??ã?§ã?³ã??ã?¼ã??ã?¾ã??ã??
++å¿?è¦?ã?ªã?? root ã?«ã?ªã?£ã?¦ã??ã? ã??ã??ã??
++ã?¾ã??ã?¤ã?³ã?¹ã??ã?¼ã?«å??ã?®ã??ã?£ã?¬ã?¯ã??ã?ªã??ç?°å¢?å¤?æ?°ã?«ã?»ã??ã??ã??ã?¾ã??ã??
++cshç³»ã?ªã??ã??
+ 
+   setenv PREFIX  /usr/local
+   setenv PGPLOT_DIR  ${PREFIX}/pgplot
+ 
+-¥¤¥ó¥¹¥È¡¼¥ëÀè¤Ï¼«Í³¤ËÁª¤Ù¤Þ¤¹¤¬¡¢
+-¥³¥ó¥Ñ¥¤¥ë»þ¤Ë¥Ñ¥¹»ØÄ꤬ɬÍפˤʤ뤫¤â¤·¤ì¤Þ¤»¤ó¡£
+-¼¡¤ËɬÍפʥե¡¥¤¥ë¤ò¥³¥Ô¡¼¤·¤Þ¤¹¡£
++ã?¤ã?³ã?¹ã??ã?¼ã?«å??ã?¯è?ªç?±ã?«é?¸ã?¹ã?¾ã??ã??ã??
++ã?³ã?³ã??ã?¤ã?«æ??ã?«ã??ã?¹æ??å®?ã??å¿?è¦?ã?«ã?ªã??ã??ã??ã??ã??ã?¾ã??ã??ã??
++次ã?«å¿?è¦?ã?ªã??ã?¡ã?¤ã?«ã??ã?³ã??ã?¼ã??ã?¾ã??ã??
+ 
+   cp -p libpgplot.a libpgplot.so* libcpgplot.a ${PREFIX}/lib
+   cp -p cpgplot.h ${PREFIX}/include
+   mkdir ${PGPLOT_DIR}
+   cp -p grfont.dat rgb.txt pgxwin_server ${PGPLOT_DIR}
+ 
+-¤³¤ì¤Ç¥¤¥ó¥¹¥È¡¼¥ë½ªÎ»¤Ç¤¹¡£
++ã??ã??ã?§ã?¤ã?³ã?¹ã??ã?¼ã?«çµ?äº?ã?§ã??ã??
+ 
+-=== ¥Ç¥â¤Î¼Â¹Ô
+-¥³¥ó¥Ñ¥¤¥ë¤¬¤¦¤Þ¤¯¤¤¤Ã¤¿¤«¤É¤¦¤«¥Ç¥â¥×¥í¥°¥é¥à¤òÁö¤é¤»¤Æ¤ß¤Þ¤·¤ç¤¦¡£
+-¥³¥ó¥Ñ¥¤¥ë¤·¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ë pgdemo1 ¤«¤é pgdemo17 ¤Þ¤Ç¤È cpgdemo
+-¤È¤¤¤¦¼Â¹Ô¥Õ¥¡¥¤¥ë¤¬¤Ç¤­¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£¤½¤ì¤é¤ò¼Â¹Ô¤Ç¤­¤ì¤ÐÀµ¤·¤¯
+-¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£
++=== ã??ã?¢ã?®å®?è¡?
++ã?³ã?³ã??ã?¤ã?«ã??ã??ã?¾ã??ã??ã?£ã??ã??ã?©ã??ã??ã??ã?¢ã??ã?­ã?°ã?©ã? ã??èµ°ã??ã??ã?¦ã?¿ã?¾ã??ã??ã??ã??
++ã?³ã?³ã??ã?¤ã?«ã??ã??ã??ã?£ã?¬ã?¯ã??ã?ªã?« pgdemo1 ã??ã?? pgdemo17 ã?¾ã?§ã?¨ cpgdemo
++ã?¨ã??ã??å®?è¡?ã??ã?¡ã?¤ã?«ã??ã?§ã??ã?¦ã??ã??ã?¯ã??ã?§ã??ã??ã??ã??ã??ã??å®?è¡?ã?§ã??ã??ã?°æ­£ã??ã??
++ã?³ã?³ã??ã?¤ã?«ã??ã??ã?¦ã??ã??ã?¯ã??ã?§ã??ã??
+ 
+-=== ¥æ¡¼¥¶ÀßÄê
+-PGPLOT¤ò»È¤¦¥æ¡¼¥¶¤Ï¡¢´Ä¶­ÊÑ¿ô¤Ø¼¡¤ÎÀßÄꤷ¤Æ¤ª¤¯¤È¤è¤¤¤Ç¤·¤ç¤¦¡£
++=== ���設�
++PGPLOTã??使ã??ã?¦ã?¼ã?¶ã?¯ã??ç?°å¢?å¤?æ?°ã?¸æ¬¡ã?®è¨­å®?ã??ã?¦ã??ã??ã?¨ã??ã??ã?§ã??ã??ã??ã??
+   setenv PGPLOT_DIR  /usr/local/pgplot
+   setenv PGPLOT_DEV  /xwin
+-PGPLOT_DIR ¤Ï¾å¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¥Ç¥£¥ì¥¯¥È¥ê¤ÈƱ¤¸¡¢
+-PGPLOT_DEV ¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥Ç¥Ð¥¤¥¹¤Ç¤¹¡£
+-¤½¤Î¾¤Î´Ä¶­ÊÑ¿ô¤ÏÆäËÀßÄꤷ¤Ê¤¯¤Æ¤â¤¤¤¤¤È»×¤¤¤Þ¤¹¤¬¡¢¾Ü¤·¤¯¤Ï
+-((<¤³¤³|URL:http://www.astro.caltech.edu/~tjp/pgplot/chapter1.html#ENV>))
+-¤ò¤´Í÷²¼¤µ¤¤¡£
++PGPLOT_DIR ã?¯ä¸?ã?§ã?¤ã?³ã?¹ã??ã?¼ã?«ã??ã??ã??ã?£ã?¬ã?¯ã??ã?ªã?¨å??ã??ã??
++PGPLOT_DEV ã?¯ã??ã??ã?©ã?«ã??ã?®ã??ã??ã?¤ã?¹ã?§ã??ã??
++ã??ã?®ä»?ã?®ç?°å¢?å¤?æ?°ã?¯ç?¹ã?«è¨­å®?ã??ã?ªã??ã?¦ã??ã??ã??ã?¨æ??ã??ã?¾ã??ã??ã??詳ã??ã??ã?¯
++((<ã??ã??|URL:http://www.astro.caltech.edu/~tjp/pgplot/chapter1.html#ENV>))
++ã??ã??覧ä¸?ã??ã??ã??
+ 
+ <<< trailer
+ 
+diff --git a/doc/method.ja.rd b/doc/method.ja.rd
+index 161e563..46da15e 100644
+--- a/doc/method.ja.rd
++++ b/doc/method.ja.rd
+@@ -1,135 +1,135 @@
+ =begin
+ = module Pgplot
+ 
+-== ¥â¥¸¥å¡¼¥ë¥á¥½¥Ã¥É
++== ã?¢ã?¸ã?¥ã?¼ã?«ã?¡ã?½ã??ã??
+ 
+-=== Áàºî
++=== æ??ä½?
+ --- pgopen([device])
+-PGPLOT¥»¥Ã¥·¥ç¥ó¤ò³«»Ï¤¹¤ë¡£Ìá¤êÃͤȤ·¤Æ¥¹¥Æ¡¼¥¿¥¹¤òÊÖ¤¹¡£
++PGPLOTã?»ã??ã?·ã?§ã?³ã??é??å§?ã??ã??ã??æ?»ã??å?¤ã?¨ã??ã?¦ã?¹ã??ã?¼ã?¿ã?¹ã??è¿?ã??ã??
+ 
+ --- pgbeg([device, [nxsub, [nysub]]])
+ (obsolete)
+-PGPLOT¥»¥Ã¥·¥ç¥ó¤ò³«»Ï¤¹¤ë¡£Ìá¤êÃͤȤ·¤Æ¥¹¥Æ¡¼¥¿¥¹¤òÊÖ¤¹¡£
++PGPLOTã?»ã??ã?·ã?§ã?³ã??é??å§?ã??ã??ã??æ?»ã??å?¤ã?¨ã??ã?¦ã?¹ã??ã?¼ã?¿ã?¹ã??è¿?ã??ã??
+ 
+ --- pgask( [true|false] )
+ 
+ --- pgenv( xmin,xmax,ymin,ymax [,just, axis] )
+ 
+-=== Àþ¡¦¥Þ¡¼¥«¤ÎÉÁ²è
++=== ç·?ã?»ã??ã?¼ã?«ã?®æ??ç?»
+ --- pgline( xarray, yarray )
+-xarray, yarray ¤ò·ë¤ÖÀþ¤òÉÁ¤¯¡£
+-xarray, yarray ¤Ï¤½¤ì¤¾¤ì X, Y ºÂɸ¤ÎÇÛÎó¡£
++xarray, yarray ã??çµ?ã?¶ç·?ã??æ??ã??ã??
++xarray, yarray ã?¯ã??ã??ã??ã?? X, Y 座æ¨?ã?®é??å??ã??
+ 
+ --- pgpt( xarray, yarray [,symbol] )
+-xarray, yarray ¤Î°ÌÃ֤ˡ¢symbol ¤Î¥Þ¡¼¥«¤òÉÁ¤¯¡£
++xarray, yarray ã?®ä½?ç½®ã?«ã??symbol ã?®ã??ã?¼ã?«ã??æ??ã??ã??
+ 
+ --- pgpnts( xarray, yarray, symarray )
+-xarray, yarray ¤Î°ÌÃ֤ˡ¢Âбþ¤¹¤ë symarray ¤Î¥Þ¡¼¥«¤ò¤½¤ì¤¾¤ìÉÁ¤¯¡£
++xarray, yarray ã?®ä½?ç½®ã?«ã??対å¿?ã??ã?? symarray ã?®ã??ã?¼ã?«ã??ã??ã??ã??ã??æ??ã??ã??
+ 
+-=== ¥Ò¥¹¥È¥°¥é¥à
++=== ã??ã?¹ã??ã?°ã?©ã? 
+ --- pgbin( xarray, yarray [,center] )
+ 
+ --- pghist( data, nbin [,range, flag] )
+ 
+-=== ¥¨¥é¡¼¥Ð¡¼
++=== ã?¨ã?©ã?¼ã??ã?¼
+ --- pgerrb( dir, x, y, err [,tlen] )
+-¥¨¥é¡¼¥Ð¡¼¤òÉÁ¤¯¡£
+-tlen ¤ËüÅÀ¤ËÉÁ¤¯¥Ð¡¼¤ÎŤµ¤ò»ØÄê¡£
+-+ ÊÒ¦¥¨¥é¡¼¥Ð¡¼:
++ã?¨ã?©ã?¼ã??ã?¼ã??æ??ã??ã??
++tlen ã?«ç«¯ç?¹ã?«æ??ã??ã??ã?¼ã?®é?·ã??ã??æ??å®?ã??
+++ ç??å?´ã?¨ã?©ã?¼ã??ã?¼:
+  * dir = 1 for +X (X to X+err)
+  * dir = 2 for +Y (Y to Y+err)
+  * dir = 3 for -X (X to X-err)
+  * dir = 4 for -Y (Y to Y-err)
+-+ ¨¥é¡¼¥Ð¡¼:
+++ 両å?´ã?¨ã?©ã?¼ã??ã?¼:
+  * dir = 5 for +/-X (X-err to X+err)
+  * dir = 6 for +/-Y (Y-err to Y+err)
+ 
+ --- pgerrx( x1, x2, y [,tlen] )
+-x1 ¤«¤é x2 ¤Þ¤Ç¤ò·ë¤Ö¥¨¥é¡¼¥Ð¡¼¤òÉÁ¤¯¡£
+-tlen ¤ËüÅÀ¤ËÉÁ¤¯¥Ð¡¼¤ÎŤµ¤ò»ØÄê¡£
++x1 ã??ã?? x2 ã?¾ã?§ã??çµ?ã?¶ã?¨ã?©ã?¼ã??ã?¼ã??æ??ã??ã??
++tlen ã?«ç«¯ç?¹ã?«æ??ã??ã??ã?¼ã?®é?·ã??ã??æ??å®?ã??
+ 
+ --- pgerry( x, y1, y2 [,tlen] )
+-y1 ¤«¤é y2 ¤Þ¤Ç¤ò·ë¤Ö¥¨¥é¡¼¥Ð¡¼¤òÉÁ¤¯¡£
+-tlen ¤ËüÅÀ¤ËÉÁ¤¯¥Ð¡¼¤ÎŤµ¤ò»ØÄê¡£
++y1 ã??ã?? y2 ã?¾ã?§ã??çµ?ã?¶ã?¨ã?©ã?¼ã??ã?¼ã??æ??ã??ã??
++tlen ã?«ç«¯ç?¹ã?«æ??ã??ã??ã?¼ã?®é?·ã??ã??æ??å®?ã??
+ 
+-=== Åù¹âÀþ
++=== ç­?é«?ç·?
+ --- pgcont( map, cont [,tr] )
+-map ¤ÇÍ¿¤¨¤¿£²¼¡¸µ¥Þ¥Ã¥×¤ÎÅù¹âÀþ¤òÉÁ¤¯¡£
+-cont ¤Ë¤ÏÅù¹âÀþ¤Î¥ì¥Ù¥ë¤Þ¤¿¤Ï¤½¤ÎÇÛÎó¤òÍ¿¤¨¤ë¡£
++map ã?§ä¸?ã??ã??ï¼?次å??ã??ã??ã??ã?®ç­?é«?ç·?ã??æ??ã??ã??
++cont ã?«ã?¯ç­?é«?ç·?ã?®ã?¬ã??ã?«ã?¾ã??ã?¯ã??ã?®é??å??ã??ä¸?ã??ã??ã??
+ 
+ --- pgcons( map, cont [,tr] )
+-PGCONT¤è¤ê®¤¤¥¢¥ë¥´¥ë¥º¥à¤ÇÉÁ¤¯¤ó¤À¤½¤¦¤Ê¡£
++PGCONTã??ã??é??ã??ã?¢ã?«ã?´ã?«ã?ºã? ã?§æ??ã??ã??ã? ã??ã??ã?ªã??
+ 
+ --- pgconb( map, cont [,blank, tr] )
+-blank¤ÇÍ¿¤¨¤¿Ãͤò·ç»ÃͤȤ·¤ÆÅù¹âÀþ¤òÉÁ¤¯¡£
++blankã?§ä¸?ã??ã??å?¤ã??欠æ??å?¤ã?¨ã??ã?¦ç­?é«?ç·?ã??æ??ã??ã??
+ 
+ --- pgconf( map, cont_range [,tr] )
+-cont_range ¤Ë Range¥¯¥é¥¹¥ª¥Ö¥¸¥§¥¯¥È¤ÇÍ¿¤¨¤¿ÈϰϤΥì¥Ù¥ë¤òÅɤêÄÙ¤¹¡£
++cont_range ã?« Rangeã?¯ã?©ã?¹ã?ªã??ã?¸ã?§ã?¯ã??ã?§ä¸?ã??ã??ç¯?å?²ã?®ã?¬ã??ã?«ã??å¡?ã??æ½°ã??ã??
+ 
+ --- pgconl( map, cont, label [,intval, minint, tr] )
+-Åù¹âÀþ¤Ë¥é¥Ù¥ë¤ò¤Ä¤±¤ë¡£
++ç­?é«?ç·?ã?«ã?©ã??ã?«ã??ã?¤ã??ã??ã??
+ 
+-=== ²èÁü
++=== ç?»å??
+ --- pgimag( array [,range, tr] )
+-¥«¥é¡¼¥¹¥±¡¼¥ë¤Ç array (£²¼¡¸µÇÛÎó) ¤Î²èÁü¤òÉÁ¤¯¡£
++ã?«ã?©ã?¼ã?¹ã?±ã?¼ã?«ã?§ array (ï¼?次å??é??å??) ã?®ç?»å??ã??æ??ã??ã??
+ 
+ --- pgctab( l, r,g,b [,contra,bright] )
+-pgimag ¤Ç»ÈÍѤ¹¤ë¥«¥é¡¼¥Æ¡¼¥Ö¥ë¤òÀßÄꤹ¤ë¡£
++pgimag ã?§ä½¿ç?¨ã??ã??ã?«ã?©ã?¼ã??ã?¼ã??ã?«ã??設å®?ã??ã??ã??
+ 
+ --- pggray( array [,range, tr] )
+-¥°¥ì¡¼¥¹¥±¡¼¥ë¤Ç array (£²¼¡¸µÇÛÎó) ¤Î²èÁü¤òÉÁ¤¯¡£
++ã?°ã?¬ã?¼ã?¹ã?±ã?¼ã?«ã?§ array (ï¼?次å??é??å??) ã?®ç?»å??ã??æ??ã??ã??
+ 
+ --- pgpixl( array [,x1,x2,y1,y2] )
+-array (£²¼¡¸µÇÛÎó) ¤Î²èÁü¤ò¡¢Ä¹Êý·Á¤Îpixel 1¤Ä1¤Ä¤ÇÉÁ¤¯¡£
++array (ï¼?次å??é??å??) ã?®ç?»å??ã??ã??é?·æ?¹å½¢ã?®pixel 1ã?¤1ã?¤ã?§æ??ã??ã??
+ 
+ --- pgvect( x, y [,scale, pos, tr, blank] )
+-¥Ù¥¯¥È¥ë¾ì¤òÉÁ¤¯¡£
++ã??ã?¯ã??ã?«å ´ã??æ??ã??ã??
+ 
+-=== ºÂɸ¼´¤ÎÉÁ²è
++=== 座æ¨?軸ã?®æ??ç?»
+ --- pgtick( x1, y1, x2, y2, v, [str], {"tickl", "tickr", "disp", "orient"} )
+ 
+ --- pgaxis( x1, y1, x2, y2, v1, v2,
+          {"opt", "step", "nsub", "tickl", "tickr", "frac", "disp", "orient"} )
+ 
+-=== ¥«¡¼¥½¥ëÆþÎÏ
++=== ã?«ã?¼ã?½ã?«å?¥å??
+ --- pgcurs([x,y])
+-¥¯¥ê¥Ã¥¯¤Þ¤¿¤Ï¥­¡¼¥¿¥¤¥×¤Î¥¤¥Ù¥ó¥È¤ò¼èÆÀ¤¹¤ë¡£
+-x,y ¤ò»ØÄꤹ¤ë¤È»Ï¤á¤Ë¤½¤Î°ÌÃ֤˥«¡¼¥½¥ë¤ò°ÜÆ°¤¹¤ë¡£
+-¥¤¥Ù¥ó¥È¤ò¼èÆÀ¤¹¤ë¤È
+-¥«¡¼¥½¥ë°ÌÃÖ(WC)¤Èʸ»ú¤ò PgCursor¥¯¥é¥¹¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤ÇÊÖ¤¹¡£
++ã?¯ã?ªã??ã?¯ã?¾ã??ã?¯ã?­ã?¼ã?¿ã?¤ã??ã?®ã?¤ã??ã?³ã??ã??å??å¾?ã??ã??ã??
++x,y ã??æ??å®?ã??ã??ã?¨å§?ã??ã?«ã??ã?®ä½?ç½®ã?«ã?«ã?¼ã?½ã?«ã??移å??ã??ã??ã??
++ã?¤ã??ã?³ã??ã??å??å¾?ã??ã??ã?¨
++ã?«ã?¼ã?½ã?«ä½?ç½®(WC)ã?¨æ??å­?ã?? PgCursorã?¯ã?©ã?¹ã?®ã?¤ã?³ã?¹ã?¿ã?³ã?¹ã?§è¿?ã??ã??
+ 
+ --- pgband( mode, [ xref, yref, [x, y, [posn]]])
+-¥¯¥ê¥Ã¥¯¤Þ¤¿¤Ï¥­¡¼¥¿¥¤¥×¤Î¥¤¥Ù¥ó¥È¤ò¼èÆÀ¤¹¤ë¡£
+-x,y ¤ò»ØÄꤹ¤ë¤È»Ï¤á¤Ë¤½¤Î°ÌÃ֤˥«¡¼¥½¥ë¤ò°ÜÆ°¤¹¤ë¡£
+-xref, yref ¤Ï¥¢¥ó¥«¡¼ÅÀ¤Î°ÌÃÖ(¸å½Ò)¤Ç¡¢¾Êά¤¹¤ë¤È¸½ºß°ÌÃ֤Ȥʤ롣
+-¥¤¥Ù¥ó¥È¤ò¼èÆÀ¤¹¤ë¤È
+-¥«¡¼¥½¥ë°ÌÃÖ(WC)¤Èʸ»ú¤ò PgCursor¥¯¥é¥¹¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤ÇÊÖ¤¹¡£
+-mode¤Ë¤è¤ê¥«¡¼¥½¥ëÆþÎÏÃæ¤ÎÉÁ²èÊýË¡¤ò»ØÄê¤Ç¤­¤ë¡£
+- * mode=0 : ÉÁ²è¤Ê¤·¡£
+- * mode=1 : ¥¢¥ó¥«¡¼ÅÀ¤È¥«¡¼¥½¥ë¤ò·ë¤ÖÀþ¡£
+- * mode=2 : ¥¢¥ó¥«¡¼ÅÀ¤È¥«¡¼¥½¥ë¤òÂгѤȤ¹¤ëĹÊý·Á¡£
+- * mode=3 : ¥¢¥ó¥«¡¼ÅÀ¤È¥«¡¼¥½¥ë°ÌÃÖ¤½¤ì¤¾¤ì¤òÄ̤룲ËܤοåÊ¿Àþ¡£
+- * mode=4 : ¥¢¥ó¥«¡¼ÅÀ¤È¥«¡¼¥½¥ë°ÌÃÖ¤½¤ì¤¾¤ì¤òÄ̤룲ËܤοâľÀþ¡£
+- * mode=5 : ¥«¡¼¥½¥ë°ÌÃÖ¤òÄ̤ë¿åÊ¿Àþ¡£
+- * mode=6 : ¥«¡¼¥½¥ë°ÌÃÖ¤òÄ̤ë¿âľÀþ¡£
+- * mode=7 : ¥«¡¼¥½¥ë°ÌÃÖ¤òÄ̤뽽»úÀþ¡£
++ã?¯ã?ªã??ã?¯ã?¾ã??ã?¯ã?­ã?¼ã?¿ã?¤ã??ã?®ã?¤ã??ã?³ã??ã??å??å¾?ã??ã??ã??
++x,y ã??æ??å®?ã??ã??ã?¨å§?ã??ã?«ã??ã?®ä½?ç½®ã?«ã?«ã?¼ã?½ã?«ã??移å??ã??ã??ã??
++xref, yref ã?¯ã?¢ã?³ã?«ã?¼ç?¹ã?®ä½?ç½®(å¾?è¿°)ã?§ã??ç??ç?¥ã??ã??ã?¨ç?¾å?¨ä½?ç½®ã?¨ã?ªã??ã??
++ã?¤ã??ã?³ã??ã??å??å¾?ã??ã??ã?¨
++ã?«ã?¼ã?½ã?«ä½?ç½®(WC)ã?¨æ??å­?ã?? PgCursorã?¯ã?©ã?¹ã?®ã?¤ã?³ã?¹ã?¿ã?³ã?¹ã?§è¿?ã??ã??
++modeã?«ã??ã??ã?«ã?¼ã?½ã?«å?¥å??中ã?®æ??ç?»æ?¹æ³?ã??æ??å®?ã?§ã??ã??ã??
++ * mode=0 : æ??ç?»ã?ªã??ã??
++ * mode=1 : ã?¢ã?³ã?«ã?¼ç?¹ã?¨ã?«ã?¼ã?½ã?«ã??çµ?ã?¶ç·?ã??
++ * mode=2 : ã?¢ã?³ã?«ã?¼ç?¹ã?¨ã?«ã?¼ã?½ã?«ã??対è§?ã?¨ã??ã??é?·æ?¹å½¢ã??
++ * mode=3 : ã?¢ã?³ã?«ã?¼ç?¹ã?¨ã?«ã?¼ã?½ã?«ä½?ç½®ã??ã??ã??ã??ã??é??ã??ï¼?æ?¬ã?®æ°´å¹³ç·?ã??
++ * mode=4 : ã?¢ã?³ã?«ã?¼ç?¹ã?¨ã?«ã?¼ã?½ã?«ä½?ç½®ã??ã??ã??ã??ã??é??ã??ï¼?æ?¬ã?®å??ç?´ç·?ã??
++ * mode=5 : ã?«ã?¼ã?½ã?«ä½?ç½®ã??é??ã??æ°´å¹³ç·?ã??
++ * mode=6 : ã?«ã?¼ã?½ã?«ä½?ç½®ã??é??ã??å??ç?´ç·?ã??
++ * mode=7 : ã?«ã?¼ã?½ã?«ä½?ç½®ã??é??ã??å??å­?ç·?ã??
+ 
+ --- pgolin( x, y, [sym, [npt]] )
+-¥Þ¥¦¥¹¥«¡¼¥½¥ë¤ÇºÂɸ¤òϢ³¤·¤ÆÆþÎϤ¹¤ë¡£
+-x,y ¤Ë¤Ï¤¢¤é¤«¤¸¤á NArray::SFLOAT ·¿¤ÎÇÛÎó¤òÍ¿¤¨¤Æ¤ª¤­¡¢
+-¤½¤³¤Ø¥¯¥ê¥Ã¥¯¤·¤¿½çÈ֤˺Âɸ¤òµ­Ï¿¤·¤Æ¤¤¤¯¡£
+-ÆþÎϤǤ­¤ë¸Ä¿ô¤Ï¤³¤ÎÇÛÎó¤Î¥µ¥¤¥º¤ÇÀ©¸Â¤µ¤ì¤ë¡£
+-¥«¡¼¥½¥ë¤ÇÆþÎϤ·¤¿ÅÀ¤Ï¡¢¥Þ¡¼¥« sym ¤ÇÉÁ²è¤µ¤ì¤ë¡£
+-npt ¤ò»ØÄꤹ¤ë¤È¡¢¤¢¤é¤«¤¸¤á npt ¸Ä¤ÎÅÀ¤¬ÆþÎϤµ¤ì¤Æ¤¤¤ë¤È¤ß¤Ê¤¹¡£
+-Ìá¤êÃͤÏÆþÎϤ·¤¿ÅÀ¤Î¿ô¡£
++ã??ã?¦ã?¹ã?«ã?¼ã?½ã?«ã?§åº§æ¨?ã??é?£ç¶?ã??ã?¦å?¥å??ã??ã??ã??
++x,y ã?«ã?¯ã??ã??ã??ã??ã?? NArray::SFLOAT å??ã?®é??å??ã??ä¸?ã??ã?¦ã??ã??ã??
++ã??ã??ã?¸ã?¯ã?ªã??ã?¯ã??ã??é ?ç?ªã?«åº§æ¨?ã??è¨?é?²ã??ã?¦ã??ã??ã??
++å?¥å??ã?§ã??ã??å??æ?°ã?¯ã??ã?®é??å??ã?®ã?µã?¤ã?ºã?§å?¶é??ã??ã??ã??ã??
++ã?«ã?¼ã?½ã?«ã?§å?¥å??ã??ã??ç?¹ã?¯ã??ã??ã?¼ã?« sym ã?§æ??ç?»ã??ã??ã??ã??
++npt ã??æ??å®?ã??ã??ã?¨ã??ã??ã??ã??ã??ã?? npt å??ã?®ç?¹ã??å?¥å??ã??ã??ã?¦ã??ã??ã?¨ã?¿ã?ªã??ã??
++æ?»ã??å?¤ã?¯å?¥å??ã??ã??ç?¹ã?®æ?°ã??
+ 
+ --- pgncur( x, y, [sym, [npt]] )
+-x,y¤Ëµ­Ï¿¤µ¤ì¤ë½çÈÖ¤¬ x ¤Î¾®¤µ¤¤½ç¤Ç¤¢¤ë¤³¤È¤ò½ü¤­¡¢pgolin ¤ÈƱ¤¸¡£
++x,yã?«è¨?é?²ã??ã??ã??é ?ç?ªã?? x ã?®å°?ã??ã??é ?ã?§ã??ã??ã??ã?¨ã??é?¤ã??ã??pgolin ã?¨å??ã??ã??
+ 
+ --- pglcur( x, y, [npt] )
+-ÆþÎϤ·¤¿ÅÀ¤ò·ë¤ÖÀþ¤¬ÉÁ¤«¤ì¤ë¤³¤È¤ò½ü¤¤¤Æ¡¢pgolin ¤ÈƱ¤¸¡£
++å?¥å??ã??ã??ç?¹ã??çµ?ã?¶ç·?ã??æ??ã??ã??ã??ã??ã?¨ã??é?¤ã??ã?¦ã??pgolin ã?¨å??ã??ã??
+ 
+-=== ¥¹¥Æ¡¼¥¿¥¹¤òÊÖ¤¹
++=== ã?¹ã??ã?¼ã?¿ã?¹ã??è¿?ã??
+ --- pgqinf(item)
+   value = pgqinf(item)
+ 
+diff --git a/doc/tutorial-01.ja.rd b/doc/tutorial-01.ja.rd
+index 4b0f112..7613c5e 100644
+--- a/doc/tutorial-01.ja.rd
++++ b/doc/tutorial-01.ja.rd
+@@ -1,72 +1,72 @@
+ =begin
+-= Ruby/PGPLOT ƳÆþÊÔ
++= Ruby/PGPLOT ��編
+ 
+-== ÀÞ¤ìÀþ¥°¥é¥Õ¤òÉÁ¤¯
++== æ??ã??ç·?ã?°ã?©ã??ã??æ??ã??
+ 
+-Ruby/PGPLOT¤ÇÀÞ¤ìÀþ¥°¥é¥Õ¤òÉÁ¤¯ºÇ¾®¸Â¤Î¥¹¥¯¥ê¥×¥È¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
++Ruby/PGPLOTã?§æ??ã??ç·?ã?°ã?©ã??ã??æ??ã??æ??å°?é??ã?®ã?¹ã?¯ã?ªã??ã??ã?¯ã??以ä¸?ã?®ã??ã??ã?«ã?ªã??ã?¾ã??ã??
+ 
+   require 'narray'
+   require 'pgplot'
+   include Pgplot
+-  pgopen                           # ¥Ç¥Ð¥¤¥¹¤ò³«¤¯
+-  pgenv( 0, 5, 0, 5 )              # ÏȤÎÀßÄê¤ÈÉÁ²è
+-  pgline( [1,2,3,4], [1,4,1,4] )   # ÀÞ¤ìÀþ¤ÎÉÁ²è
++  pgopen                           # ã??ã??ã?¤ã?¹ã??é??ã??
++  pgenv( 0, 5, 0, 5 )              # æ? ã?®è¨­å®?ã?¨æ??ç?»
++  pgline( [1,2,3,4], [1,4,1,4] )   # æ??ã??ç·?ã?®æ??ç?»
+ 
+-°Ê²¼¤³¤Î¥¹¥¯¥ê¥×¥È¤Ë¤Ä¤¤¤Æ¾Ü¤·¤¯ÀâÌÀ¤·¤Þ¤¹¡£
+-1¹ÔÌÜ¡¢2¹ÔÌܤdzÈÄ¥¥é¥¤¥Ö¥é¥ê¤ò¥í¡¼¥É¤·¤Þ¤¹¡£
++以ä¸?ã??ã?®ã?¹ã?¯ã?ªã??ã??ã?«ã?¤ã??ã?¦è©³ã??ã??説æ??ã??ã?¾ã??ã??
++1è¡?ç?®ã??2è¡?ç?®ã?§æ?¡å¼µã?©ã?¤ã??ã?©ã?ªã??ã?­ã?¼ã??ã??ã?¾ã??ã??
+ 
+-3¹ÔÌÜ¤Ç¤Ï Pgplot¥â¥¸¥å¡¼¥ë¤ò¥¤¥ó¥¯¥ë¡¼¥É¤·¤Æ¤¤¤Þ¤¹¡£
+-¤³¤ì¤ò¤·¤Ê¤¤¤È Pgplot¤Î¥á¥½¥Ã¥É¤ò¸Æ¤Ö¤È¤­¡¢``Pgplot.pgopen'' ¤È¤¤¤¦¤è¤¦¤Ë
+-¥â¥¸¥å¡¼¥ë̾¤ò¥á¥½¥Ã¥É¤ÎÁ°¤Ë¾Êά¤·¤Ê¤¤¤Ç½ñ¤«¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
+-¥¤¥ó¥¯¥ë¡¼¥É¤¹¤ë¤«¤É¤¦¤«¤Ï¾ì¹ç¤Ë¤è¤ê¤Þ¤¹¡£
+-Pgplot¥â¥¸¥å¡¼¥ë¤Î¥á¥½¥Ã¥É̾¤Ï(º£¤Î¤È¤³¤í)³§ ``pg'' ¤Ç»Ï¤Þ¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢
+-µ¤¤ò¤Ä¤±¤ì¤Ð̾Á°¤¬¤Ö¤Ä¤«¤ë³ÎΨ¤ÏÄ㤤¤È»×¤¤¤Þ¤¹¤¬¡¢
+-³Î¼Â¤ò´ü¤¹¤Ê¤é¥¤¥ó¥¯¥ë¡¼¥É¤·¤Ê¤¤Êý¤¬¤è¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£
++3è¡?ç?®ã?§ã?¯ Pgplotã?¢ã?¸ã?¥ã?¼ã?«ã??ã?¤ã?³ã?¯ã?«ã?¼ã??ã??ã?¦ã??ã?¾ã??ã??
++ã??ã??ã??ã??ã?ªã??ã?¨ Pgplotã?®ã?¡ã?½ã??ã??ã??å?¼ã?¶ã?¨ã??ã??``Pgplot.pgopen'' ã?¨ã??ã??ã??ã??ã?«
++ã?¢ã?¸ã?¥ã?¼ã?«å??ã??ã?¡ã?½ã??ã??ã?®å??ã?«ç??ç?¥ã??ã?ªã??ã?§æ?¸ã??ã?ªã??ã??ã?°ã?ªã??ã?¾ã??ã??ã??
++ã?¤ã?³ã?¯ã?«ã?¼ã??ã??ã??ã??ã?©ã??ã??ã?¯å ´å??ã?«ã??ã??ã?¾ã??ã??
++Pgplotã?¢ã?¸ã?¥ã?¼ã?«ã?®ã?¡ã?½ã??ã??å??ã?¯(ä»?ã?®ã?¨ã??ã??)ç?? ``pg'' ã?§å§?ã?¾ã?£ã?¦ã??ã??ã?®ã?§ã??
++æ°?ã??ã?¤ã??ã??ã?°å??å??ã??ã?¶ã?¤ã??ã??確ç??ã?¯ä½?ã??ã?¨æ??ã??ã?¾ã??ã??ã??
++確å®?ã??æ??ã??ã?ªã??ã?¤ã?³ã?¯ã?«ã?¼ã??ã??ã?ªã??æ?¹ã??ã??ã??ã??ã??ã??ã??ã?¾ã??ã??ã??
+ 
+-4¹ÔÌܤΠpgopen ¤Ç PGPLOT ¤Î¥°¥é¥Õ¥£¥¯¥¹¥Ç¥Ð¥¤¥¹¤ò³«¤­¤Þ¤¹¡£
+-¤³¤³¤Ç°ú¿ô¤ò½ñ¤«¤Ê¤¤¤È»ÈÍѤ¹¤ë¥Ç¥Ð¥¤¥¹¤òʹ¤¤¤Æ¤­¤Þ¤¹¡£
++4è¡?ç?®ã?® pgopen ã?§ PGPLOT ã?®ã?°ã?©ã??ã?£ã?¯ã?¹ã??ã??ã?¤ã?¹ã??é??ã??ã?¾ã??ã??
++ã??ã??ã?§å¼?æ?°ã??æ?¸ã??ã?ªã??ã?¨ä½¿ç?¨ã??ã??ã??ã??ã?¤ã?¹ã??è??ã??ã?¦ã??ã?¾ã??ã??
+ 
+-  Graphics device/type (? to see list, default /xwin): 
++  Graphics device/type (? to see list, default /xwin):
+ 
+-¥Ç¥Õ¥©¥ë¥È¤Î¤Þ¤Þ¤ÇÎɤ±¤ì¤Ðñ¤Ë¥ê¥¿¡¼¥ó¥­¡¼¤ò²¡¤·¤Þ¤¹¡£
+-¥Ç¥Õ¥©¥ë¥È¤Î¥Ç¥Ð¥¤¥¹¤Ï´Ä¶­ÊÑ¿ô PGPLOT_DEV ¤ÇÀßÄꤷ¤¿¤â¤Î¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
+-`?'¤È¥ê¥¿¡¼¥ó¤òÂǤÁ¹þ¤à¤È¡¢»ÈÍѤǤ­¤ë¥Ç¥Ð¥¤¥¹¤Î°ìÍ÷¤¬É½¼¨¤µ¤ì¤ë¤Î¤Ç¡¢
+-¤½¤ÎÃ椫¤éÊ̤ΥǥХ¤¥¹¤òÁªÂò¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
+-Î㤨¤Ð¡¢PNG¤È¤·¤Æ¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤·¤¿¤¤¤È¤­¤Ï¡¢
+-``plot1.png/png'' ¤Î¤è¤¦¤Ë¡Ö¥Õ¥¡¥¤¥ë̾/¥Ç¥Ð¥¤¥¹Ì¾¡×¤È¤¤¤¦¤è¤¦¤Ë»ØÄꤷ¤Þ¤¹¡£
++ã??ã??ã?©ã?«ã??ã?®ã?¾ã?¾ã?§è?¯ã??ã??ã?°å??ã?«ã?ªã?¿ã?¼ã?³ã?­ã?¼ã??æ?¼ã??ã?¾ã??ã??
++ã??ã??ã?©ã?«ã??ã?®ã??ã??ã?¤ã?¹ã?¯ç?°å¢?å¤?æ?° PGPLOT_DEV ã?§è¨­å®?ã??ã??ã??ã?®ã?«ã?ªã?£ã?¦ã??ã?¾ã??ã??
++`?'ã?¨ã?ªã?¿ã?¼ã?³ã??æ??ã?¡è¾¼ã??ã?¨ã??使ç?¨ã?§ã??ã??ã??ã??ã?¤ã?¹ã?®ä¸?覧ã??表示ã??ã??ã??ã?®ã?§ã??
++ã??ã?®ä¸­ã??ã??å?¥ã?®ã??ã??ã?¤ã?¹ã??é?¸æ??ã??ã??ã??ã?¨ã??ã?§ã??ã?¾ã??ã??
++ä¾?ã??ã?°ã??PNGã?¨ã??ã?¦ã??ã?¡ã?¤ã?«ã?«æ?¸ã??å?ºã??ã??ã??ã?¨ã??ã?¯ã??
++``plot1.png/png'' ã?®ã??ã??ã?«ã??ã??ã?¡ã?¤ã?«å??/ã??ã??ã?¤ã?¹å??ã??ã?¨ã??ã??ã??ã??ã?«æ??å®?ã??ã?¾ã??ã??
+ 
+-5¹ÔÌܤÎ
++5���
+ 
+   pgenv( 0, 5, 0, 5 )
+ 
+-¤Ë¤è¤ê¡¢¥°¥é¥Õ¤Î¼´¤ò·èÄꤷ¡¢ÏȤÈÌÜÀ¹¤òÉÁ²è¤·¤Þ¤¹¡£
+-°ú¿ô¤Ï x-min, x-max, y-min, y-max ¤Î½ç¤Ç¤¹¡£
+-¤³¤³¤Ç¤ÏX¼´¤¬0¤«¤é5¡¢Y¼´¤¬0¤«¤é5¤Þ¤Ç¤ÎÈϰϤÎÏȤòÉÁ¤­¤Þ¤¹¡£
+-°Ê¹ß¤Ï¤³¤³¤ÇÀßÄꤵ¤ì¤¿ºÂɸ¤ò¤â¤È¤ËÉÁ²è¤·¤Þ¤¹¡£
++ã?«ã??ã??ã??ã?°ã?©ã??ã?®è»¸ã??決å®?ã??ã??æ? ã?¨ç?®ç??ã??æ??ç?»ã??ã?¾ã??ã??
++å¼?æ?°ã?¯ x-min, x-max, y-min, y-max ã?®é ?ã?§ã??ã??
++ã??ã??ã?§ã?¯X軸ã??0ã??ã??5ã??Y軸ã??0ã??ã??5ã?¾ã?§ã?®ç¯?å?²ã?®æ? ã??æ??ã??ã?¾ã??ã??
++以é??ã?¯ã??ã??ã?§è¨­å®?ã??ã??ã??座æ¨?ã??ã??ã?¨ã?«æ??ç?»ã??ã?¾ã??ã??
+ 
+-¤½¤·¤Æ¤¤¤è¤¤¤è¡¢6¹ÔÌܤÎ
++ã??ã??ã?¦ã??ã??ã??ã??ã??6è¡?ç?®ã?®
+ 
+   pgline( [1,2,3,4], [1,4,1,4] )
+ 
+-¤Ç¡¢ÀÞ¤ìÀþ¥°¥é¥Õ¤òÉÁ¤­¤Þ¤¹¡£
+-°ú¿ô¤Ë¤ÏÀþ¤ò·ë¤ÖÅÀ¤ÎXºÂɸ¤ÈYºÂɸ¤ò¤½¤ì¤¾¤ìÇÛÎó¤ÇÅϤ·¤Þ¤¹¡£
++ã?§ã??æ??ã??ç·?ã?°ã?©ã??ã??æ??ã??ã?¾ã??ã??
++å¼?æ?°ã?«ã?¯ç·?ã??çµ?ã?¶ç?¹ã?®X座æ¨?ã?¨Y座æ¨?ã??ã??ã??ã??ã??é??å??ã?§æ¸¡ã??ã?¾ã??ã??
+ 
+-¤³¤³¤Þ¤ÇÀ®¸ù¤¹¤ì¤Ð¡¢¤³¤Î¤è¤¦¤Ê¥°¥é¥Õ¤¬ÉÁ¤«¤ì¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£
++ã??ã??ã?¾ã?§æ??å??ã??ã??ã?°ã??ã??ã?®ã??ã??ã?ªã?°ã?©ã??ã??æ??ã??ã??ã?¦ã??ã??ã?¯ã??ã?§ã??ã??
+ <<< plot1.png
+ 
+-°Ê¾å¤¬ÀÞ¤ìÀþ¥°¥é¥Õ¤òÉÁ¤¯¤Î¤ËºÇÄã¸ÂɬÍפʥ᥽¥Ã¥É¤Ç¤¹¡£
++以ä¸?ã??æ??ã??ç·?ã?°ã?©ã??ã??æ??ã??ã?®ã?«æ??ä½?é??å¿?è¦?ã?ªã?¡ã?½ã??ã??ã?§ã??ã??
+ 
+-¤È¤³¤í¤Ç¡¢¤³¤Î¥¹¥¯¥ê¥×¥È¤Ë¤Ï¥Ç¥Ð¥¤¥¹¤òÊĤ¸¤ë¥á¥½¥Ã¥É¤¬¤¢¤ê¤Þ¤»¤ó¡£
+-C¤«FORTRANÈǤÎPGPLOT¤Ç¤¢¤ì¤Ð¡¢
+-¤³¤³¤ÇºÇ¸å¤Ë pgend ¤ò¸Æ¤ó¤Ç¥Ç¥Ð¥¤¥¹¤òÊĤ¸¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+-¤½¤¦¤·¤Ê¤¤¤È¡¢¥Ç¥Ð¥¤¥¹¤¬ Postscript ¤Ê¤É¤Î¤È¤­¡¢
+-½ªÎ»½èÍý¤¬¤µ¤ì¤Ê¤¤¤Î¤Ç¡¢ÉÔ´°Á´¤Ê¥Õ¥¡¥¤¥ë¤¬¤Ç¤­¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
+-¤·¤«¤· Ruby/PGPLOT¤Ç¤Ï¡¢Ruby¥¤¥ó¥¿¥×¥ê¥¿½ªÎ»»þ¤Ë
+-pgend ¤ò¼«Æ°Åª¤Ë¸Æ¤Ö¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢
+-ɬ¤º¤·¤âºÇ¸å¤Ë pgend ¤ò¸Æ¤ÖɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
+-¤¿¤À¤·Ruby¤Î¼Â¹ÔÅÓÃæ¤ÇPGPLOT¤ò½ªÎ»¤·¤¿¤¤¤È¤­¤Î¤¿¤á¤Ë
+-RubyÈǤǤâ pgend ¥á¥½¥Ã¥É¤ÏÍÑ°Õ¤·¤Æ¤¢¤ê¤Þ¤¹¡£
++ã?¨ã??ã??ã?§ã??ã??ã?®ã?¹ã?¯ã?ªã??ã??ã?«ã?¯ã??ã??ã?¤ã?¹ã??é??ã??ã??ã?¡ã?½ã??ã??ã??ã??ã??ã?¾ã??ã??ã??
++Cã??FORTRANç??ã?®PGPLOTã?§ã??ã??ã?°ã??
++ã??ã??ã?§æ??å¾?ã?« pgend ã??å?¼ã??ã?§ã??ã??ã?¤ã?¹ã??é??ã??ã??å¿?è¦?ã??ã??ã??ã?¾ã??ã??
++ã??ã??ã??ã?ªã??ã?¨ã??ã??ã??ã?¤ã?¹ã?? Postscript ã?ªã?©ã?®ã?¨ã??ã??
++çµ?äº?å?¦ç??ã??ã??ã??ã?ªã??ã?®ã?§ã??ä¸?å®?å?¨ã?ªã??ã?¡ã?¤ã?«ã??ã?§ã??ã?¦ã??ã?¾ã??ã?¾ã??ã??
++ã??ã??ã?? Ruby/PGPLOTã?§ã?¯ã??Rubyã?¤ã?³ã?¿ã??ã?ªã?¿çµ?äº?æ??ã?«
++pgend ã??è?ªå??ç??ã?«å?¼ã?¶ã??ã??ã?«ã?ªã?£ã?¦ã??ã??ã?®ã?§ã??
++å¿?ã??ã??ã??æ??å¾?ã?« pgend ã??å?¼ã?¶å¿?è¦?ã?¯ã??ã??ã?¾ã??ã??ã??
++ã??ã? ã??Rubyã?®å®?è¡?é??中ã?§PGPLOTã??çµ?äº?ã??ã??ã??ã?¨ã??ã?®ã??ã??ã?«
++Rubyç??ã?§ã?? pgend ã?¡ã?½ã??ã??ã?¯ç?¨æ??ã??ã?¦ã??ã??ã?¾ã??ã??
+ 
+-°Ê²¼Â³¤¯(¤«¤â¤·¤ì¤Ê¤¤)
++以ä¸?ç¶?ã??(ã??ã??ã??ã??ã?ªã??)
+ <<< trailer
+ =end
diff -Nru ruby-pgplot-0.1.3/debian/patches/0003-Update-Cogen-for-Ruby1.9.2.patch ruby-pgplot-0.1.3/debian/patches/0003-Update-Cogen-for-Ruby1.9.2.patch
--- ruby-pgplot-0.1.3/debian/patches/0003-Update-Cogen-for-Ruby1.9.2.patch	1970-01-01 09:00:00.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/patches/0003-Update-Cogen-for-Ruby1.9.2.patch	2012-09-01 19:04:20.000000000 +0900
@@ -0,0 +1,44 @@
+From: Youhei SASAKI <uwabami@gfd-dennou.org>
+Date: Fri, 1 Jun 2012 18:57:48 +0900
+Subject: Update Cogen for Ruby1.9.2
+
+Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
+---
+ cogen.rb |   10 +++++++---
+ 1 file changed, 7 insertions(+), 3 deletions(-)
+
+diff --git a/cogen.rb b/cogen.rb
+index 2494f5f..15c4174 100644
+--- a/cogen.rb
++++ b/cogen.rb
+@@ -120,6 +120,10 @@ def pgfuncgen(name, inp, out)
+     retn = "rb_ary_new3(#{nout},"+retn.join(",")+")"
+   end
+ 
++  unless retn.class == String
++    retn = retn.join(" ")
++  end
++
+   prot = prot.join(",")
+   pass = pass.join(",")
+ 
+@@ -127,7 +131,7 @@ def pgfuncgen(name, inp, out)
+ static VALUE
+   rb_pgplot_#{name}(#{prot})
+ {
+-  #{vars}
++  #{vars.join(" ")}
+   c#{name}(#{pass});
+   return #{retn};
+ }
+@@ -143,8 +147,8 @@ def cogen_pgplot
+       $pgfuncs.each{|x| fout.print pgfuncgen(*x)}
+     elsif /--- auto-generated defs will be placed here ---/  =~ l
+       $pgfuncs.each{|x|
+-	n = x[1].split(",").size
+-	fout.print "  rb_define_module_function(mPgplot,\"#{x[0]}\",rb_pgplot_#{x[0]},#{n});\n"}
++        n = x[1].split(",").size
++        fout.print "  rb_define_module_function(mPgplot,\"#{x[0]}\",rb_pgplot_#{x[0]},#{n});\n"}
+     else
+       fout.print
+     end
diff -Nru ruby-pgplot-0.1.3/debian/patches/SupportRuby1.9.2 ruby-pgplot-0.1.3/debian/patches/SupportRuby1.9.2
--- ruby-pgplot-0.1.3/debian/patches/SupportRuby1.9.2	2011-05-18 05:04:21.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/patches/SupportRuby1.9.2	1970-01-01 09:00:00.000000000 +0900
@@ -1,277 +0,0 @@
---- ruby-pgplot.orig/kwarg.c
-+++ ruby-pgplot/kwarg.c
-@@ -9,6 +9,23 @@
-    NO WARRANTY.
- */
- #include <ruby.h>
-+#ifndef RUBY_19
-+#ifndef RSTRING_PTR
-+#define RSTRING_PTR(a) (RSTRING(a)->ptr)
-+#endif
-+#ifndef RSTRING_LEN
-+#define RSTRING_LEN(a) (RSTRING(a)->len)
-+#endif
-+#ifndef RARRAY_PTR
-+#define RARRAY_PTR(s) (RARRAY(s)->ptr)
-+#endif
-+#ifndef RARRAY_LEN
-+#define RARRAY_LEN(s) (RARRAY(s)->len)
-+#endif
-+#ifndef StringValuePtr
-+#define StringValuePtr(s) STR2CSTR(s)
-+#endif
-+#endif
- 
- /* void rb_scan_kw_args __((VALUE, ...)); */
- 
-@@ -18,7 +35,7 @@
- {
-   VALUE key;
- 
--  key = RARRAY(i)->ptr[0];
-+  key = RARRAY_PTR(i)[0];
-   if (TYPE(key)==T_SYMBOL) {
-     key = rb_funcall(key, rb_intern("id2name"), 0);
-   } else
-@@ -26,7 +43,7 @@
-     rb_raise(rb_eArgError, "keywords must be String or Symbol");
-   }
- 
--  rb_hash_aset(tmp, key, RARRAY(i)->ptr[1]);
-+  rb_hash_aset(tmp, key, RARRAY_PTR(i)[1]);
-   return Qnil;
- }
- 
-@@ -71,7 +88,7 @@
-   if (rb_funcall(tmp, rb_intern("empty?"), 0)==Qfalse) {
-     val = rb_funcall(tmp, rb_intern("keys"), 0);
-     val = rb_funcall(val, rb_intern("join"), 1, rb_str_new2(","));
--    rb_raise(rb_eArgError, "unknown keywords: %s",STR2CSTR(val));
-+    rb_raise(rb_eArgError, "unknown keywords: %s",StringValuePtr(val));
-   }
- 
-   va_end(vargs);
---- ruby-pgplot.orig/rb_pgplot.c.in
-+++ ruby-pgplot/rb_pgplot.c.in
-@@ -11,6 +11,23 @@
- #include <stdio.h>
- #include <cpgplot.h>
- #include <ruby.h>
-+#ifndef RUBY_19
-+#ifndef RSTRING_PTR
-+#define RSTRING_PTR(a) (RSTRING(a)->ptr)
-+#endif
-+#ifndef RSTRING_LEN
-+#define RSTRING_LEN(a) (RSTRING(a)->len)
-+#endif
-+#ifndef RARRAY_PTR
-+#define RARRAY_PTR(s) (RARRAY(s)->ptr)
-+#endif
-+#ifndef RARRAY_LEN
-+#define RARRAY_LEN(s) (RARRAY(s)->len)
-+#endif
-+#ifndef StringValuePtr
-+#define StringValuePtr(s) STR2CSTR(s)
-+#endif
-+#endif
- #include "narray.h"
- 
- #define min(a,b) (((a)<(b))?(a):(b))
-@@ -89,7 +106,7 @@
-   char *dev="?";
- 
-   rb_scan_args(argc,argv, "01", &vdev);
--  if (vdev!=Qnil) dev = STR2CSTR(vdev);
-+  if (vdev!=Qnil) dev = StringValuePtr(vdev);
- 
-   return INT2NUM(cpgopen(dev));
- }
-@@ -104,7 +121,7 @@
-   char  *dev="?";
- 
-   rb_scan_args(argc, argv, "03", &vdev,&vnxs,&vnys);
--  if (vdev!=Qnil) dev  = STR2CSTR(vdev);
-+  if (vdev!=Qnil) dev  = StringValuePtr(vdev);
-   if (vnxs!=Qnil) nxsub = NUM2INT(vnxs);
-   if (vnys!=Qnil) nysub = NUM2INT(vnys);
- 
-@@ -124,7 +141,7 @@
-      just: if just=1, the x and y axes is scaled equally,
-            otherwise scaled independently.
-      axis: controls of axes.
--*/ 
-+*/
- static VALUE
-   rb_pgplot_pgenv( int argc, VALUE *argv, VALUE self )
- {
-@@ -309,14 +326,14 @@
- /* PGERRB -- horizontal or vertical error bar
-    pgerrb, dir, x, y, err [,tlen]
- 
--   dir : direction to plot the error bar relative to the data point. 
-+   dir : direction to plot the error bar relative to the data point.
-          One-sided error bar:
-            DIR is 1 for +X (X to X+E);
-                   2 for +Y (Y to Y+E);
-                   3 for -X (X to X-E);
-                   4 for -Y (Y to Y-E).
-          Two-sided error bar:
--           DIR is 5 for +/-X (X-E to X+E); 
-+           DIR is 5 for +/-X (X-E to X+E);
-                   6 for +/-Y (Y-E to Y+E).
-    x   : world x-coordinates of the data.
-    y   : world y-coordinates of the data.
-@@ -500,9 +517,9 @@
-   return Qtrue;
- }
- 
--/* PGCONL -- label contour map of a 2D data array 
-+/* PGCONL -- label contour map of a 2D data array
-    pgconl, map, cont, label [,intval, minint, tr]
--   map    : 2-D array of map data 
-+   map    : 2-D array of map data
-    cont   : contour level tobe labeld
-    label  : label string
-    intval : spacing along the contour between labels, in grid cells.
-@@ -531,7 +548,7 @@
-   /* Show Contour */
-   cpgconl( NA_PTR_FLT(na_map), NA_SHAPE0(na_map), NA_SHAPE1(na_map),
- 	   1, NA_SHAPE0(na_map), 1, NA_SHAPE1(na_map),
--	   NUM2DBL(vcnt), tr, STR2CSTR(vlab), intval, minint);
-+	   NUM2DBL(vcnt), tr, StringValuePtr(vlab), intval, minint);
-   return Qtrue;
- }
- 
-@@ -624,7 +641,7 @@
-   else
-     cpggray( NA_PTR_FLT(na), NA_SHAPE0(na), NA_SHAPE1(na),
- 	     1, NA_SHAPE0(na), 1, NA_SHAPE1(na),
--	     range[0], range[1], tr );    
-+	     range[0], range[1], tr );
-   return Qtrue;
- }
- 
-@@ -774,7 +791,7 @@
-   int   value_len=20;
-   char *item, *value;
- 
--  item  = STR2CSTR(vitem);
-+  item  = StringValuePtr(vitem);
-   value = ALLOCA_N(char,value_len);
-   cpgqinf( item, value, &value_len );
- 
-@@ -819,7 +836,7 @@
-   VALUE vx,vy;
-   int i;
-   float xbox[4], ybox[4];
--  char *txt = STR2CSTR(text);
-+  char *txt = StringValuePtr(text);
- 
-   cpgqtxt( NUM2DBL(x),NUM2DBL(y),NUM2DBL(ang),NUM2DBL(fjust),txt,
- 	   xbox, ybox );
-@@ -979,7 +996,7 @@
-   if (NA_TYPE(x)!=NA_SFLOAT || NA_TYPE(y)!=NA_SFLOAT)
-     rb_raise(rb_eArgError, "Array must NArray.sfloat");
- 
--  cpgolin( min(NA_TOTAL(x),NA_TOTAL(y)), &npt, 
-+  cpgolin( min(NA_TOTAL(x),NA_TOTAL(y)), &npt,
- 	   NA_PTR_FLT(x), NA_PTR_FLT(y), sym );
- 
-   return INT2NUM(npt);
-@@ -1009,7 +1026,7 @@
-   if (NA_TYPE(x)!=NA_SFLOAT || NA_TYPE(y)!=NA_SFLOAT)
-     rb_raise(rb_eArgError, "Array must NArray.sfloat");
- 
--  cpgncur( min(NA_TOTAL(x),NA_TOTAL(y)), &npt, 
-+  cpgncur( min(NA_TOTAL(x),NA_TOTAL(y)), &npt,
- 	   NA_PTR_FLT(x), NA_PTR_FLT(y), sym );
- 
-   return INT2NUM(npt);
-@@ -1037,7 +1054,7 @@
-   if (NA_TYPE(x)!=NA_SFLOAT || NA_TYPE(y)!=NA_SFLOAT)
-     rb_raise(rb_eArgError, "Array must NArray.sfloat");
- 
--  cpglcur( min(NA_TOTAL(x),NA_TOTAL(y)), &npt, 
-+  cpglcur( min(NA_TOTAL(x),NA_TOTAL(y)), &npt,
- 	   NA_PTR_FLT(x), NA_PTR_FLT(y) );
- 
-   return INT2NUM(npt);
-@@ -1058,7 +1075,7 @@
-     baseline parallel to the axis and reading in the same direction as
-     the axis (from point 1 to point 2). Current line and text attributes
-     are used.
--   
-+
-     Arguments:
-      X1, Y1  : world coordinates of one endpoint of the axis.
-      X2, Y2  : world coordinates of the other endpoint of the axis.
-@@ -1095,7 +1112,7 @@
-   if (tickr ==Qnil)  tickr = INT2FIX(0);
-   if (disp  ==Qnil)  disp  = INT2FIX(1);
-   if (orient==Qnil)  orient= INT2FIX(0);
--  if (vstr  !=Qnil)  str   = STR2CSTR(vstr);
-+  if (vstr  !=Qnil)  str   = StringValuePtr(vstr);
- 
-   cpgtick( NUM2DBL(x1),NUM2DBL(y1),NUM2DBL(x2),NUM2DBL(y2),
- 	   NUM2DBL(v), NUM2DBL(tickl),NUM2DBL(tickr),
-@@ -1114,25 +1131,25 @@
- 
-     Draw a labelled graph axis from world-coordinate position (X1,Y1) to
-     (X2,Y2).
--   
-+
-     Normally, this routine draws a standard LINEAR axis with equal
-     subdivisions.   The quantity described by the axis runs from V1 to V2;
--    this may be, but need not be, the same as X or Y. 
--   
-+    this may be, but need not be, the same as X or Y.
-+
-     If the 'L' option is specified, the routine draws a LOGARITHMIC axis.
-     In this case, the quantity described by the axis runs from 10**V1 to
--    10**V2. A logarithmic axis always has major, labeled, tick marks 
-+    10**V2. A logarithmic axis always has major, labeled, tick marks
-     spaced by one or more decades. If the major tick marks are spaced
-     by one decade (as specified by the STEP argument), then minor
-     tick marks are placed at 2, 3, .., 9 times each power of 10;
-     otherwise minor tick marks are spaced by one decade. If the axis
-     spans less than two decades, numeric labels are placed at 1, 2, and
-     5 times each power of ten.
--   
-+
-     If the axis spans less than one decade, or if it spans many decades,
-     it is preferable to use a linear axis labeled with the logarithm of
-     the quantity of interest.
--   
-+
-     Arguments:
-      x1, y1  : world coordinates of one endpoint of the axis.
-      x2, y2  : world coordinates of the other endpoint of the axis.
-@@ -1180,7 +1197,7 @@
-   if (argc>0 && TYPE(argv[argc-1]) == T_HASH)
-     val = argv[--argc];
- 
--  rb_scan_kw_args( val, 
-+  rb_scan_kw_args( val,
- 		   "opt",&vopt, "step",&step, "nsub",&nsub,
- 		   "tickl",&tickl, "tickr",&tickr,
- 		   "frac",&vfrac, "disp",&disp, "orient",&orient, 0);
-@@ -1192,7 +1209,7 @@
-   if (tickr ==Qnil)  tickr = INT2FIX(0);
-   if (disp  ==Qnil)  disp  = INT2FIX(1);
-   if (orient==Qnil)  orient= INT2FIX(0);
--  if (vopt  !=Qnil)  opt   = STR2CSTR(vopt);
-+  if (vopt  !=Qnil)  opt   = StringValuePtr(vopt);
-   if (vfrac !=Qnil)  frac  = NUM2DBL(vfrac);
- 
-   cpgaxis( opt, NUM2DBL(x1),NUM2DBL(y1),NUM2DBL(x2),NUM2DBL(y2),
---- ruby-pgplot.orig/cogen.rb
-+++ ruby-pgplot/cogen.rb
-@@ -97,7 +97,7 @@
-   ninp = inp.size
-   nout = out.size
-   # int->0, float->1
--  val2 = ["NUM2INT","NUM2DBL","STR2CSTR"]
-+  val2 = ["NUM2INT","NUM2DBL","StringValuePtr"]
-   type = ["int","float",nil]
-   conv = ["INT2NUM","rb_float_new",nil]
-   # Initialize Array
diff -Nru ruby-pgplot-0.1.3/debian/patches/fix_extconf.rb ruby-pgplot-0.1.3/debian/patches/fix_extconf.rb
--- ruby-pgplot-0.1.3/debian/patches/fix_extconf.rb	2011-05-25 15:46:10.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/patches/fix_extconf.rb	1970-01-01 09:00:00.000000000 +0900
@@ -1,15 +0,0 @@
---- ruby-pgplot.orig/extconf.rb
-+++ ruby-pgplot/extconf.rb
-@@ -34,10 +34,10 @@
- exit unless have_header("cpgplot.h")
- 
- # Check NArray
--$CPPFLAGS = " -I#{CONFIG['sitearchdir']} "+$CPPFLAGS
-+$CPPFLAGS = " -I#{CONFIG['vendorarchdir']} "+$CPPFLAGS
- exit unless have_header("narray.h")
- if RUBY_PLATFORM =~ /cygwin|mingw/
--  $LDFLAGS = " -L#{CONFIG['sitearchdir']} "+$LDFLAGS
-+  $LDFLAGS = " -L#{CONFIG['archdir']} "+$LDFLAGS
-   exit unless have_library("narray","na_make_object")
- end
- 
diff -Nru ruby-pgplot-0.1.3/debian/patches/series ruby-pgplot-0.1.3/debian/patches/series
--- ruby-pgplot-0.1.3/debian/patches/series	2011-05-18 05:04:21.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/patches/series	2012-09-01 19:15:01.000000000 +0900
@@ -1,2 +1,3 @@
-fix_extconf.rb
-SupportRuby1.9.2
+0001-Update-extconf-and-Add-support-for-Ruby-1.9.2.patch
+0002-Fix-mkdoc-for-Ruby-1.9.2.patch
+0003-Update-Cogen-for-Ruby1.9.2.patch
diff -Nru ruby-pgplot-0.1.3/debian/ruby-pgplot.docs ruby-pgplot-0.1.3/debian/ruby-pgplot.docs
--- ruby-pgplot-0.1.3/debian/ruby-pgplot.docs	2011-05-18 05:04:21.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/ruby-pgplot.docs	2012-07-25 14:40:47.000000000 +0900
@@ -1,5 +1,5 @@
-doc/*.html
-doc/*.html.ja
+debian/doc/*.html
+debian/doc/*.html.ja
 doc/*.css
 README.en
 README.ja
diff -Nru ruby-pgplot-0.1.3/debian/rules ruby-pgplot-0.1.3/debian/rules
--- ruby-pgplot-0.1.3/debian/rules	2011-05-18 05:04:21.000000000 +0900
+++ ruby-pgplot-0.1.3/debian/rules	2012-09-01 18:51:18.000000000 +0900
@@ -4,12 +4,12 @@
 
 override_dh_auto_build:
 	dh_auto_build
-	( cd doc && make )
+#	( cd doc && make )
 
 override_dh_strip:
 	dh_strip --dbg-package=ruby-pgplot-dbg
 
 override_dh_auto_clean:
 	dh_auto_clean
-	( cd doc && make clean )
+#	( cd doc && make clean )
 	[ ! -f rb_pgplot.c ] || rm -f rb_pgplot.c

--- End Message ---
--- Begin Message ---
On Sun, 2012-09-02 at 07:27 +0900, Youhei SASAKI wrote:
> At 1 Sep 2012 22:25:45 +0100,
> "Adam D. Barratt" <adam@adam-barratt.org.uk> wrote:
> > On Sun, 2012-09-02 at 05:53 +0900, Youhei SASAKI wrote:
> > > I'll request you to unblock ruby-pgplot package, version 0.1.3-6
> > >
> > >  - It will fix three FTBFS bugs:
> > >    - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675390
> > >    - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682409
> > >    - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685963
> >
> > The version information suggests that only one of those actually affects
> > the package in testing; is that correct?  (I'm not sure from looking at
> > the reports if the other bugs actually exist in testing or were
> > introduced by later fixes.)
> 
> Because current ruby-pgplot in Wheezy is 0.1.3-2, these three FTBFS fixed
> in 0.1.3-{3,4,5}. I forget sent unblock request about them. Sorry for my
> rudeness. The debdiff output I sent is between 0.1.3-2(in wheezy) and
> 0.1.3-6(in unstable)

I realised that. :-)  What I wasn't clear about was whether they were
all bugs that already existed in -2 or whether e.g. the fix in -3 caused
the bug which was fixed in -4.

> > >  - Add X11, PNG support for users
> >
> > Could you expand a little more on what this means, beyond the addition
> > of the build dependencies?  It sounds a little "new feature"ish, which
> > isn't really what we'd like during a freeze.
> 
> Although there were no bug reports, these library(libX11, libpng.so)
> needs in order to execute ruby scripts using ruby-pgplot. Thus this is
> bug fix and not new feature. I am sorry whose contents which I wrote to
> changelog were inaccurate. 

If they're needed to /execute/ the scripts, shouldn't they be runtime
dependencies, rather than build-time?  Ah, I see, there are runtime
dependencies, generated via shlibs.

Unblocked; thanks.  As the pgplot build-dependency is non-free,
ruby-pgplot can't be built on the Debian buildd network; you'll need to
sort out builds for other architectures before the package can migrate.

Regards,

Adam

--- End Message ---

Reply to: