![]() |
Re: Cant find Ruby GTK anywhere?
Awesome news. I'm looking forward to it like you wouldn't believe. I'm actually on vacation this week and was hoping to get some ruby-gtk hacking going on the phone, so I'm curious how long you think it might be :) Thanks!
|
Re: Cant find Ruby GTK anywhere?
I am absolutely interested :)
|
Re: Cant find Ruby GTK anywhere?
Hi all.
I just finished setting up the repository for my Ruby-packages (I will try to upload them to the testing-devel repositories at a later time, when the packages are tested a bit more). Create a new catalog on your phone and type in the following: Name: kaspernj.org Webaddress: http://maemorepo.kaspernj.org Distribution: fremantle Components: main SSH to your phone, do a "apt-get update" and then "apt-cache search ruby". To install Ruby with GTK and SQLite3: apt-get install ruby ruby-gnome2-all ruby-sqlite3 Everything should now work as usual, when you are working with Ruby on your normal computer. I would really appreciate, if you could give me some feedback. Bugs, extensions you want or whatever. Happy hacking! |
Re: Cant find Ruby GTK anywhere?
Ty!!!
I'll try it on weekend! Yesterday I compiled ruby-gnome2-all and it works well. But, what about ruby-hildon? It exists? Has anyone tried this before? http://site.realitybites.eu/download/ruby-hildon-src |
Re: Cant find Ruby GTK anywhere?
Quote:
Quote:
Kaspernj how did you get ruby-hildon to build (also, where did you source it from?) And if you could, include ruby-glade as it makes designing at least a plain GTK gui very, very easy. |
Re: Cant find Ruby GTK anywhere?
Quote:
I've ruby on rails installed so I moved and symlinked /usr/lib/ruby to /home/opt/ruby and it works well, not as server of course :D About ruby-hildon there is a link (not tested by me) in my previous post. |
Re: Cant find Ruby GTK anywhere?
I'm installing these packages as we speak! And yeah, i'll probably try to make ruby-hildon behave, if it's functional. Thanks much. I'd put my vote in for ruby-glade as well, but I'm thrilled to have this for free. You rule.
|
Re: Cant find Ruby GTK anywhere?
Quote:
By contrast, the 32GB eMMC gets about 14MB/s and my microSD card gets about 6MB/s. High capacity, but comparatively low speed. Knewter: best of luck getting ruby-hildon to behave, I couldn't work out what the Makefile was trying to do. It looked like it belonged in some other suite or something. |
Re: Cant find Ruby GTK anywhere?
wmarone, why not use GtkBuilder to design GUI? Isnt Glade deprecated? I dont think it is being developed any more anymore... I actually thought that Glade was already in my packages, but I will look into it after lunch today.
GtkBuilder works very well. I will post an example after lunch as well, so you can see how to get started. I have NOT been able to compile ruby-hildon... Sadly. But I will also give that another try, when I get the time. I havent been able to compile Revolution either, which we need to get access to the contacts, the calendar and so on. It looks like the evolution-libs used by Maemo are just too old for Revolution. Right now I am also working on packaging PHP and PHP-GTK for all the PHP-devs who would like to write some code for the phone. I have been able to compile PHP with all the libs except ODBC and IMAP until now. |
Re: Cant find Ruby GTK anywhere?
Here is a GtkBuilder-example, which works with my build (GtkBuilder is almost like Glade).
class MyWindow def initialize @gui = Gtk::Builder.new @gui.add_from_file("gui/win_main.ui") @gui.connect_signals(){|handler|method(handler)} @window = @gui.get_object("window") @window.show end def on_window_destroy Gtk::main_quit end end |
All times are GMT. The time now is 13:29. |
vBulletin® Version 3.8.8