maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Cant find Ruby GTK anywhere? (https://talk.maemo.org/showthread.php?t=39797)

kaspernj 2010-01-14 16:07

Re: Cant find Ruby GTK anywhere?
 
I should really write this in a seperate PHP-post, but here it goes:

I just added the following packages to the repository:
php53 (tested)
php53-gtk2 (tested)
php53-mysql
php53-sqlite
php53-gd
php53-mbstring
php53-xml
php53-dev

After installing php53 and php53-gtk2, you can run PHP-scripts like this:
phpgtk myscript.php

Or without Gtk-support:
php myscript.php

kaspernj 2010-01-14 19:54

Re: Cant find Ruby GTK anywhere?
 
By taking some old ruby-hildon packages and mixing some .so's together I actually included the hildon-package successfully.

Do any of you know, where I can find some documentation on how to use Ruby Hildon in order to test it?

If the tests goes well I will of course publish the ruby-hildon package as well.

I also packaged ruby-libruby today, if any of you needs those files. All optified of course.

wmarone 2010-01-14 19:59

Re: Cant find Ruby GTK anywhere?
 
Quote:

Originally Posted by kaspernj (Post 471945)
By taking some old ruby-hildon packages and mixing some .so's together I actually included the hildon-package successfully.

Excellent

Quote:

I also packaged ruby-libruby today, if any of you needs those files. All optified of course.
Hero! When I am home this evening I will remove my Ruby packages and pull yours down.

kaspernj 2010-01-14 20:07

Re: Cant find Ruby GTK anywhere?
 
Anyway - to the guys complaining about the missing glade-package. Glade should be included in the "ruby-gnome2-all"-package.

At least these lines work on my N900:
require "gtk2"
require "libglade2"

Please write me back if Glade does not work on your phones, then I will look further into it...


I have also included "ruby-mysql" and "ruby-postgres" in the repository.

fry 2010-01-16 10:35

Re: Cant find Ruby GTK anywhere?
 
great, thanks a lot for your work!

I've also installed ruby-gems, but when I run the gem command it only gives out:

-sh: gem: not found

I have previously installed gems from source which ran ok (but not optified) and wanted to try your version to have something optified.

Cheers,
Fabian

kaspernj 2010-01-16 16:36

Re: Cant find Ruby GTK anywhere?
 
Hi fry.

I have not been able to re-produce your problem. Have you tried removing the package and then installing it again?

Are you trying as root or your nomal user? (type "whoami" to find out)

What is the output of:
ls -l /usr/bin | grep gem

What is the output of:
ls -l /opt/ruby/bin

fry 2010-01-17 07:00

Re: Cant find Ruby GTK anywhere?
 
thanks for the quick reply. I've tried it both as root and normal user, same result.

Here the other outputs:
~ # ls -l /usr/bin | grep gem
lrwxrwxrwx 1 1000 1000 17 Jan 17 17:53 gem -> /opt/ruby/bin/gem

~ # ls -l /opt/ruby/bin
-rwxr-xr-x 1 1000 1000 547 Jan 11 02:27 gem

I've now uninstalled the ruby-gems package and installed ruby-gems from rubyforge, this works fine.

Not sure if it's my system or the package.

Cheers,

Fabian

edgedemon 2010-01-17 09:12

Re: Cant find Ruby GTK anywhere?
 
Im getting a '404 Not Found' for the kaspernj repo.
Anyone else getting the same

EIDT
Im also getting it for the maemo.org repo as well...

Might be something to do with the server move, so I will try again later and see how I get on..

Alan_Peery 2010-01-17 22:21

Re: Cant find Ruby GTK anywhere?
 
Quote:

Originally Posted by edgedemon (Post 477687)
Im getting a '404 Not Found' for the kaspernj repo.
Anyone else getting the same
.

I am also having problems with his repository. In sharing it with the entire Maemo communitty on a day when the normal repositories have been out of commission, he may have had enough traffic that he's gone over his traffic limit at his hosting service. (A theory only, no proof...)

wmarone 2010-01-17 22:23

Re: Cant find Ruby GTK anywhere?
 
Quote:

Originally Posted by Alan_Peery (Post 478762)
I am also having problems with his repository. In sharing it with the entire Maemo communitty on a day when the normal repositories have been out of commission, he may have had enough traffic that he's gone over his traffic limit at his hosting service. (A theory only, no proof...)

None of the packages he's hosting are in the primary repos yet.


All times are GMT. The time now is 13:29.

vBulletin® Version 3.8.8