Forum: Ruby Ruby/Tk-Kit for RubyInstaller 1.9.1p378rc2

E4f967492dbd03c526cc9b397e68021d?d=identicon&s=25 Hidetoshi NAGAI (Guest)
on 2010-05-21 00:23
(Received via mailing list)
Hi.
Now, you can download a trial version of Ruby/Tk-Kit for RubyInstaller
1.9.1p378rc2 (tested on Windows XP). Ruby/Tk-Kit version of tcltklib.so
includes full environment of Tcl/Tk. So, you don't need to install
Tcl/Tk
on your windows box.

You can download at
http://www.dumbo.ai.kyutech.ac.jp/~nagai/RubyTk/?R...
(The page is written in Japanese. sorry.)

RubyInstaller 1.9.1p378rc2 doesn't include Ruby/Tk files. At first,
please download "rubytk-simple-w-img_ext-for-RubyInstaller191.zip".
The file is a full package. Please extract it at RubyInstaller's
lib/ruby/1.9.1 directory.

"tcltklib.so-simple-20100520-ruby191-mingw-for-RubyInstaller191"
and
"tcltklib.so-w-exts-20100520-ruby191-mingw-for-RubyInstaller191"
are files for replacement of tcltklib.so.
The former includes standard Tcl/Tk only,
and the latter includes many Tcl/Tk extensions.
If you want to use the one of those, please rename it to tcltklib.so
and copy to RubyInstaller's lib/ruby/1.9.1/i386-mingw32 directory.

The structure of tcltklib.so is same as Tclkit for Tcl/Tk.
It means that the tool "SDX" (http://www.equi4.com/starkit/sdx.html)
for Tclkit (Starkit) can treat tcltklib.so of Ruby/Tk-Kit.

If you try it, it's my pleasure.
Any kind of reports are welcome.
Bec38d63650c8912b6ba9b557fb953b9?d=identicon&s=25 Roger Pack (rogerdpack)
on 2010-05-21 18:10
> Now, you can download a trial version of Ruby/Tk-Kit for RubyInstaller
> 1.9.1p378rc2 (tested on Windows XP). Ruby/Tk-Kit version of tcltklib.so
> includes full environment of Tcl/Tk. So, you don't need to install
> Tcl/Tk
> on your windows box.

The rubyinstaller guys would be happy to accept a patch to their recipes
to bundle Tcl/Tk with the installer, as well...

-rp
E4f967492dbd03c526cc9b397e68021d?d=identicon&s=25 Hidetoshi NAGAI (Guest)
on 2010-05-21 21:35
(Received via mailing list)
From: Roger Pack <rogerpack2005@gmail.com>
Subject: Re: Ruby/Tk-Kit for RubyInstaller 1.9.1p378rc2
Date: Sat, 22 May 2010 01:10:41 +0900
Message-ID: <02d11b6c7ccb0b59c5ca91b2e09f67f5@ruby-forum.com>
> > Now, you can download a trial version of Ruby/Tk-Kit for RubyInstaller
> > 1.9.1p378rc2 (tested on Windows XP). Ruby/Tk-Kit version of tcltklib.so
> > includes full environment of Tcl/Tk. So, you don't need to install
> > Tcl/Tk on your windows box.
> The rubyinstaller guys would be happy to accept a patch to their recipes
> to bundle Tcl/Tk with the installer, as well...

Please give me time to clean up Ruby/Tk-Kit version of tcltklib.c.
It's not only for RubyInstaller,
I think that it is a new (and selectable) make-style of Ruby/Tk.

To make such tcltklib.so, libraries for Tclkit are required.
Isn't it a problem for recipes of RubyInstaller?
Bec38d63650c8912b6ba9b557fb953b9?d=identicon&s=25 Roger Pack (rogerdpack)
on 2010-05-21 22:48
> Please give me time to clean up Ruby/Tk-Kit version of tcltklib.c.
> It's not only for RubyInstaller,
> I think that it is a new (and selectable) make-style of Ruby/Tk.
>
> To make such tcltklib.so, libraries for Tclkit are required.
> Isn't it a problem for recipes of RubyInstaller?

does it need tclkit or is just tcl/tk enough?  I have a patch for those
ones ready...
-rp
E4f967492dbd03c526cc9b397e68021d?d=identicon&s=25 Hidetoshi NAGAI (Guest)
on 2010-05-22 00:25
(Received via mailing list)
From: Roger Pack <rogerpack2005@gmail.com>
Subject: Re: Ruby/Tk-Kit for RubyInstaller 1.9.1p378rc2
Date: Sat, 22 May 2010 05:49:01 +0900
Message-ID: <ab046b78cf31e2abfbc5b44b95d4e7b9@ruby-forum.com>
> does it need tclkit or is just tcl/tk enough?

It requires Tcl/Tk sources or static build libraries,
some sources of Tclkit, Metakit4, TclVFS, zlib,
and (maybe optional) iTcl.
E4f967492dbd03c526cc9b397e68021d?d=identicon&s=25 Hidetoshi NAGAI (Guest)
on 2010-05-23 00:18
(Received via mailing list)
From: Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
Subject: [ANN] Ruby/Tk-Kit for RubyInstaller 1.9.1p378rc2
Date: Fri, 21 May 2010 07:23:16 +0900
Message-ID: <20100521.072315.74731089.nagai@ai.kyutech.ac.jp>
> Now, you can download a trial version of Ruby/Tk-Kit for RubyInstaller
> 1.9.1p378rc2 (tested on Windows XP). Ruby/Tk-Kit version of tcltklib.so
> includes full environment of Tcl/Tk. So, you don't need to install Tcl/Tk
> on your windows box.
>
> You can download at
> http://www.dumbo.ai.kyutech.ac.jp/~nagai/RubyTk/?R...
> (The page is written in Japanese. sorry.)

Sorry. Files at 20100520 include silly bug.
If you downloaded 20100520 version, please download 20100523 version
and replace tcltklib.so.
Bec38d63650c8912b6ba9b557fb953b9?d=identicon&s=25 Roger Pack (rogerdpack)
on 2010-05-24 18:09
>> does it need tclkit or is just tcl/tk enough?
>
> It requires Tcl/Tk sources or static build libraries,
> some sources of Tclkit, Metakit4, TclVFS, zlib,
> and (maybe optional) iTcl.

Oh ok.  Sounds like an interesting project.  I think rubyinstaller plans
on distributing with a "built" tk in the future, so making sure it can
overwrite those files would be a plus.
-rp
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.