SugHimsi.

At Sat, 19 Feb 2000 16:42:18 +0900,
in [ruby-talk:01511] Re: Ruby/GTK 0.23 released,
Hiroshi IGARASHI <igarashi / ueda.info.waseda.ac.jp> wrote:
>
> There ars documents only in Japanese:
>   http://www.swlab.csce.kyushu-u.ac.jp/~kurisu/ruby/win32-install.html
>   http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/17424
>
> I hope that someone translate or write documents...

OK, This is a brute translation of the latter.
 (See also [ruby-list:01513] for the former. I've not checked it yet...)

Please _note the date_, though.

  --------  --------  --------  8<  --------  --------  --------
Ruby/GTk for Cygwin

Pardon this a-bit-rather old information
 (originally written in Tue, 05 Oct 1999 19:01:52 +0900).
 |From: ken-ichi.tamura / nifty.ne.jp
 |Subject: [ruby-list:17424] Summary: Ruby/GTK for Cygwin
 |Date: Tue, 5 Oct 1999 19:16:27 +0900

First, get [1-3].

1. Ruby/Gtk 0.21 for Cygwin b20.1+
ftp://ftp.ruby-lang.org/pub/lang/ruby/pc/ruby-gtk-0.21-cygwin.zip
Ruby/Gtk Ver1.4.x for Cygwin,
by Mr. WATANABE Hirofumi <watanabe / ase.ptg.sony.co.jp>.

2. Gtk Related. (Gtk and GIMP for Windows)
http://www.gimp.org/~tml/gimp/win32/glib-dev-19990828.zip
http://www.gimp.org/~tml/gimp/win32/gtk+-dev-19990828.zip
http://www.gimp.org/~tml/gimp/win32/extralibs-dev-19990828.zip
http://www.gimp.org/~tml/gimp/win32/gdk_imlib-dev-19990828.zip

Your Gtk needs to use in Win32 environment, which are 
all large packages including libraries and headers, 
because these are for developers.
What we really need is only *.dll's in each archives.
Their (zip'ed) size is below:

  430524 extralibs-dev-19990828.zip
  939946 gdk_imlib-dev-19990828.zip
  511695 glib-dev-19990828.zip
 1351442 gtk+-dev-19990828.zip

http://www.iki.fi/tml/gimp/win32/
http://www.gimp.org/~tml/gimp/win32/

3. Ruby/Gtk 0.21 original
http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/ruby-gtk-0.21.tar.gz
It is packaged by Mr. Igarashi, the Ruby/GTk maintainer.
It includes some sample scripts, a manual, and so on.
Files source/*.* are no need for who doesn't compile them.

4. Get them, and install:
Read README.cygwin.ja in ruby-gtk-0.21-cygwin.zip for first step.
(Gtk related archives miss extralibs.)
Each .dll in Gtk is suitable along the path same as ruby.exe.

gdk-1.3.dll
gdk_imlib.dll
glib-1.3.dll
gmodule-1.3.dll
gnu-intl.dll
gthread-1.3.dll
gtk-1.3.dll
imlib-gif.dll
imlib-jpeg.dll
imlib-png.dll
imlib-tiff.dll
pthread.dll

 (BTW: upx + zip'ed .dll's came to 774KBytes.)

To Display Japanese characters:
Cut below, and make %windir%\gtk\gtkrc .
(see README.cygwin.ja)

===^
style "default"
{
  font = "-unknown-*-*-r-normal-*-*-160-*-*-*-*-windows-shiftjis"
}
widget_class "*" style "default"
===$

Recommended URL for reference:
http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/gtk-ja.html
Ruby/Gtk maintainer's site. There's also a solid link list.

That's all. Thanx
  --------  --------  --------  8<  --------  --------  --------

-- 
SugHimsi (SUGIHARA Hiroshi)
manamist / white.diamond.ne.jp