[ANN] Ruby-GNOME2 0.90.0

Hi,

The Ruby-GNOME2 project released Ruby-GNOME2 0.90.0:
Download ruby-gtk2-0.90.0.tar.gz (Ruby-GNOME 2)
Download ruby-gnome2-all-0.90.0.tar.gz (Ruby-GNOME 2)

We will release 1.0.0 soon. (‘soon’ means the next release
or the next next release. :slight_smile: So we use ‘0.90.0’ for this
release.

This release supports Ruby/GTK2’s RubyGems. But they aren’t
available for now. See the previous mail about RubyGems
related problems.

=== Changes

==== Ruby/GTK2

  • Bug fixes:
    • [ruby-gnome2-devel-en] Gtk 2.20, Gtk::Builder and ‘name’
      add Gtk::Buildable#builder_name/set_builder_name.
      [Simon A., Kouhei S.]

=== Thanks

  • Simon A.

Thanks,

kou

On Thu, Sep 23, 2010 at 09:33, Kouhei S. [email protected] wrote:

The Ruby-GNOME2 project released Ruby-GNOME2 0.90.0:
 Download ruby-gtk2-0.90.0.tar.gz (Ruby-GNOME 2)
 Download ruby-gnome2-all-0.90.0.tar.gz (Ruby-GNOME 2)

We will release 1.0.0 soon. (‘soon’ means the next release
or the next next release. :slight_smile: So we use ‘0.90.0’ for this
release.

I see that gio didn’t make it into 0.90; why?

When will gio be added?

Hi,

In [email protected]
“Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 0.90.0” on Thu, 23 Sep
2010 14:00:34 +0200,
Nikolai W. [email protected] wrote:

I see that gio didn¢t make it into 0.90; why?

When will gio be added?

Is Ruby/GIO ready? If your answer is ‘yes’, I’ll add it in
the next release. :slight_smile:

Thanks,

kuo

2010/9/23 Kouhei S. [email protected]:

 Download ruby-gnome2-all-0.90.0.tar.gz (Ruby-GNOME 2)
the next release. :slight_smile:
There are certainly some omissions/TODOs, but the library is usable.
I’ll add it to the table of how finished different parts are at some
point. How about documentation? How do you generally generate it?

I am not sure whose fault it is, but it seems that the buildsystem
doesn’t copy gtk2.rb and gtk2/base.rb anymore, here’s what I can found
in the packaging process in RPM build:

[gc@localhost rpmbuild]$ find
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/ | grep ‘.rb’
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/gtkglext.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/gnomeprint2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/gnomeprintui2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/gtksourceview2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/gnome2-win32-binary-downloader.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/gtkhtml2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/libart2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/glib2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/gnome2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/gdk_pixbuf2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/gnomevfs.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/libglade2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/bonoboui2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/gst.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/bonobo2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/glib-mkenums.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/gconf2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/panelapplet2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/mkmf-gnome2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/gnomecanvas2.rb
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/vte.rb

(yet gtk2 submodule seems built properly as e.g.
BUILDROOT/ruby-gnome2-0.90.0-1mdv2010.0.i386/usr/lib/ruby/site_ruby/1.9.1/i586-linux/gtk2.so
is present, so I think the build seems to have been fine…)

same for atk.rb pango.rb rsvg2.rb poppler.rb; once I’ve manually
copied them into the destination directory, I could complete the RPM
building, and installation seemed to work properly as my rg2 app works
as before.

On Thu, Sep 23, 2010 at 9:33 AM, Kouhei S. [email protected] wrote:

This release supports Ruby/GTK2’s RubyGems. But they aren’t
[Simon A., Kouhei S.]
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
Best Open Source Mac Front-Ends 2023


ruby-gnome2-devel-en mailing list
[email protected]
ruby-gnome2-devel-en List Signup and Options


Guillaume C. - Guillaume Cottenceau

Hi,

In [email protected]
“Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 0.90.0” on Thu, 23 Sep
2010 15:43:37 +0200,
Guillaume C. [email protected] wrote:

I am not sure whose fault it is, but it seems that the buildsystem
doesn’t copy gtk2.rb and gtk2/base.rb anymore, here’s what I can found
in the packaging process in RPM build:

0.90.0 has bugs in {atk,pango,gtk,rsvg,poppler}/ext/*/depend.
There are needless ‘…/’ in the following line:

    $(INSTALL_DATA) ../ruby-gtk2.pc $(libdir)/pkgconfig

Please remove ‘…/’ from those dpend files and retry it.

The problem had been fixed in trunk.

Thanks,

kou

Hi,

In [email protected]
“Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 0.90.0” on Thu, 23 Sep
2010 14:49:15 +0200,
Nikolai W. [email protected] wrote:

 Download ruby-gtk2-0.90.0.tar.gz (Ruby-GNOME 2)
Is Ruby/GIO ready? If your answer is ‘yes’, I’ll add it in
the next release. :slight_smile:

There are certainly some omissions/TODOs, but the library is usable.
I’ll add it to the table of how finished different parts are at some
point. How about documentation? How do you generally generate it?

Use mkrd/mkrd.rb in
Ruby-GNOME 2 download | SourceForge.net
with the above patch:

===
Index: mkrd/mkrd.rb

— mkrd/mkrd.rb (revision 3885)
+++ mkrd/mkrd.rb (working copy)
@@ -1,4 +1,3 @@
-#!/usr/bin/env ruby

mkrd.rb: Create RD style skelton

@@ -17,19 +16,14 @@

Set targets.

-$TARGET_LIBS = [“gtk2”, “gconf2”, “gnome2”, “gnomeprint2”,
“gnomeprintui2”]
-$TARGET_MODULES = [“Gtk”, “Gdk”, “GConf”, “Gnome”]
+$TARGET_LIBS = [“gio2”]
+$TARGET_MODULES = [“GIO”]

$TARGET_LIBS.each do |lib|
require lib
end

-#
-# Call initialize the libraries.
-#
-Gtk.init

#################################################################

Don’t touch below.

#################################################################

I tried Ruby/GIO2 but it seems that more works:

% ruby -I…/glib/{lib,ext/glib2} -I{lib,ext/gio2} -e ‘require “gio2”’
(eval):3: wrong argument type Module (expected Class) (TypeError)
from ./lib/gio2.rb:11
from -e:1:in `require’
from -e:1

I need the attached patch to fix the problem.
But I meets other problem…

Please add some sample programs and/or test cases.

Thanks,

kou

The problem had been fixed in trunk.

I see. That would need creating a 0.90.1 I guess?


Guillaume C. - Guillaume Cottenceau