Hi,
We have sample programs in sample/ directory. If you
installed Ruby/GTK2 as gem, you will find samples in
$GEM_HOME/gems/gtk2-0.90.7/sample/.
Some of samples aren't Ruby 1.9 ready. We want to make all
samples Ruby 1.9 ready. We want your help. Could you try
all Ruby-GNOME2 (Ruby/GLib2, Ruby/GTK2 and so on) samples,
fix not Ruby 1.9 ready samples and send a patch?
(We don't have a list of all not Ruby 1.9 ready
samples. Sorry.)
Here are main broken reasons:
1. not M17N ready
Solution: add "# -*- coding: utf-8 -*-" at the top.
2. $LOAD_PATH doesn't have '.'
Solution: add "$LOAD_PATH.unshift('.')".
We hope your help!
Thanks,
--
kou
on 2011-02-19 15:59
on 2011-02-20 21:50
I try to help with that in the coming months but personally I am still using Ruby 1.8.x so it will take me some time before I manage to migrate to Ruby 1.9.x successfully :) (I had and still have many problems with the encoding changes in Ruby 1.9.x) Thanks.
on 2011-02-21 16:39
Hi. Can I find sample codes in svn repo ? They have eluded me. (I do not use gems.) -- Vincent Carmona
on 2011-02-22 17:38
I have created a page on the hiki : http://ruby-gnome2.sourceforge.jp/hiki.cgi?Status+of+samples . I have list all the ruby files I found in samples directories. I will test the glib2 samples soon. -- Vincent Carmona
on 2011-02-22 23:29
Hi, In <9084f7cbaecfcfee029b49346666f418@ruby-forum.com> "Re: [ruby-gnome2-devel-en] [HELP] make samples Ruby 1.9 ready" on Sun, 20 Feb 2011 21:50:49 +0100, Marc Heiler <ruby-forum-incoming@andreas-s.net> wrote: > I try to help with that in the coming months but personally I am still > using Ruby 1.8.x so it will take me some time before I manage to migrate > to Ruby 1.9.x successfully :) > > (I had and still have many problems with the encoding changes in Ruby > 1.9.x) Thanks! We'll waiting for you! -- kou
on 2011-02-22 23:33
Hi, In <AANLkTi=U1ze_EGZY17Qy8zDbyoYh_7p67RqJgbodi+J2@mail.gmail.com> "Re: [ruby-gnome2-devel-en] [HELP] make samples Ruby 1.9 ready" on Mon, 21 Feb 2011 16:38:36 +0100, Vincent Carmona <vinc4mai@gmail.com> wrote: > Can I find sample codes in svn repo ? Yes. You can find sample codes in sample/ directory. % svn co https://ruby-gnome2.svn.sourceforge.net/svnroot/ru... ruby-gnome2 % ruby-gnome2 % ls -d */sample gdk_pixbuf2/sample gstreamer/sample gtksourceview2/sample rsvg2/sample glib2/sample gtk2/sample pango/sample vte/sample goocanvas/sample gtkmozembed/sample poppler/sample Hmm!? You already found sample codes! I'm sorry for my late response. :< -- kou
on 2011-02-22 23:35
Hi, In <AANLkTinf+pZUWFKyL6aCs0KW9NPTcJ3oznqGPTu9RBqj@mail.gmail.com> "Re: [ruby-gnome2-devel-en] [HELP] make samples Ruby 1.9 ready" on Tue, 22 Feb 2011 17:36:47 +0100, Vincent Carmona <vinc4mai@gmail.com> wrote: > I have created a page on the hiki : > http://ruby-gnome2.sourceforge.jp/hiki.cgi?Status+of+samples . > I have list all the ruby files I found in samples directories. Thanks! It's very helpful! > I will test the glib2 samples soon. Thanks. We'll waiting for your work. -- kou
on 2011-02-23 00:05
2011/2/22 Kouhei Sutou <kou@cozmixng.org>: > Thanks! It's very helpful! > >> I will test the glib2 samples soon. > > Thanks. We'll waiting for your work. glib2 tests: - bookmarkfile.rb gives a warning - completion.rb and keyfile.rb gives an error - I am not sure how to use iochannel.rb - all other samples are ruby 1.9 ready See http://ruby-gnome2.sourceforge.jp/hiki.cgi?Status+... . > > > -- > kou > -- Vincent Carmona
on 2011-02-25 11:42
Hi, In <AANLkTinAquRmm5=9=r4Mct-DZGEi2JG8LaUOH61a1eLd@mail.gmail.com> "Re: [ruby-gnome2-devel-en] [HELP] make samples Ruby 1.9 ready" on Wed, 23 Feb 2011 00:04:55 +0100, Vincent Carmona <vinc4mai@gmail.com> wrote: > glib2 tests: > - bookmarkfile.rb gives a warning > - completion.rb and keyfile.rb gives an error > - I am not sure how to use iochannel.rb > - all other samples are ruby 1.9 ready > > See http://ruby-gnome2.sourceforge.jp/hiki.cgi?Status+... . Thanks for checking Ruby/GLib2 samples. Could someone fix the warning and error on Ruby 1.9? Thanks, -- kou
on 2011-02-28 20:21
Hi. I have checked all the gtk-demo samples but the cairo ones. I will try to commit my changes (see diff file). Should I split them in 2 commits (main.rb and textview.rb). Does the syntax of Changelog is correct ? For the commit should I use this URL svn+ssh://vinc-mai@ruby-gnome2.svn.sourceforge.net/svnroot/ruby-gnome2 or https protocole is enough ?
on 2011-03-01 04:49
Hi, In <AANLkTi==43AqeXfgCRTyWyJL9+OSVKLXkEhLixYtEgtm@mail.gmail.com> "Re: [ruby-gnome2-devel-en] [HELP] make samples Ruby 1.9 ready" on Mon, 28 Feb 2011 20:21:12 +0100, Vincent Carmona <vinc4mai@gmail.com> wrote: > I have checked all the gtk-demo samples but the cairo ones. Thanks! > I will try to commit my changes (see diff file). Should I split them > in 2 commits (main.rb and textview.rb). I've checked your patch. It looks OK to me. Please commit it. You don't need to split them in 2 commits because both of them are fixes for Ruby 1.9. If changes aren't relative, please split them in some commits. > Does the syntax of Changelog is correct ? A line following your name line is missing: Before: +2011-02-28 Vincent Carmona + * sample/gtk-demo/main.rb: Add gtk-demo directory to $: to fix + bugs with ruby1.9. + * sample/gtk-demo/textview.rb: add coding header. + After: +2011-02-28 Vincent Carmona + + * sample/gtk-demo/main.rb: Add gtk-demo directory to $: to fix + bugs with ruby1.9. + * sample/gtk-demo/textview.rb: add coding header. + > For the commit should I use this URL > svn+ssh://vinc-mai@ruby-gnome2.svn.sourceforge.net/svnroot/ruby-gnome2 > or https protocole is enough ? You can use https URL: https://ruby-gnome2.svn.sourceforge.net/svnroot/ru... Thanks, -- kou
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.