[ANN] Ruby-GNOME2 0.19.2

Hi,

I’ve released Ruby-GNOME2 0.19.2:
Download ruby-gtk2-0.19.2.tar.gz (Ruby-GNOME 2)
Download ruby-gnome2-all-0.19.2.tar.gz (Ruby-GNOME 2)

This release is a bug fix release of 0.19.1.

=== Changes

==== Ruby/GLib2

  • Bug fixes:
    • empty $(vendorarchdir) related build problem on CentOS 5.3 x86_64.
      [Toshiyuki Suzumura, Kouhei S.]
    • [#2862022] fix multi thread blocking with Ruby
      1.8.6-p368 or later and 1.8.7-p173 or later.
      [Roy W., Andrea D., Kouhei S.]
    • [Debian #502262] work Ruby thread with GTK+.
      [Johan Walles, Kouhei S.]

==== Ruby/GTK2

  • Bug fixes:
    • [#2679744] fix a typo:
      Gtk::Widget#set_scroll_adjustments →
      Gtk::Widget#set_scroll_adjustment.
      [Kentaro F., Kouhei S.]

==== Ruby/GtkMozEmbed

  • Bug fixes:
    • fix .pc detection.
      [OBATA Akio, Kouhei S.]

=== Thanks

  • OBATA Akio
  • Toshiyuki Suzumura
  • Roy W.
  • Andrea D.
  • Johan Walles
  • Kentaro F.

Thanks,

kou

I’ve released Ruby-GNOME2 0.19.2:

Cool!

On 09/23/2009 04:35 AM, Kouhei S. wrote:

 * [#2862022] fix multi thread blocking with Ruby
   1.8.6-p368 or later and 1.8.7-p173 or later.

where can i find more info on this?
here? :
http://sourceforge.net/tracker/index.php?func=detail&aid=2862022&group_id=53614&atid=470969
thanks
Balint

Kouhei S. wrote:

  • Bug fixes:
    • empty $(vendorarchdir) related build problem on CentOS 5.3 x86_64.
      [Toshiyuki Suzumura, Kouhei S.]

I don’t have a vendorarchdir (nil), so I get

ruby-gnome2-all-0.19.2/glib/src/lib/mkmf-gnome2.rb:378:in `exist?’:
can’t convert nil into String (TypeError)
from
/home/sarnaud/src/ruby-gnome2-all-0.19.2/glib/src/lib/mkmf-gnome2.rb:378

You might want to change to

if Config::CONFIG[“sitearchdir”] &&
File.exist?(Config::CONFIG[“sitearchdir”])
$CPPFLAGS << " -I$(sitearchdir) "
end
if Config::CONFIG[“vendorarchdir”] &&
File.exist?(Config::CONFIG[“vendorarchdir”])
$CPPFLAGS << " -I$(vendorarchdir) "
end

regards

Simon

Kouhei S. wrote:

Do you have INCFLAGS variable in your glib/src/Makefile? I
want to use INCFLAGS instead of CPPFLAGS.

I can’t check until tomorrow. Will tell you.

Simon

Kouhei S. wrote:

Do you have INCFLAGS variable in your glib/src/Makefile? I
want to use INCFLAGS instead of CPPFLAGS.

After ruby extconf.rb

With ruby 1.8.6, glib/src/Makefile :
INCFLAGS = -I. -I.
-I/home/sarnaud/.rvm/ruby-1.8.6-p383/lib/ruby/1.8/x86_64-linux
-I/home/sarnaud/src/ruby-gnome2-all-0.19.3/glib
-I/home/sarnaud/.rvm/ruby-1.8.6-p383/lib/ruby/site_ruby/1.8/x86_64-linux
CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC
-DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_UNISTD_H
-DHAVE_G_SPAWN_CLOSE_PID -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH
-DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE
-DHAVE_RUBY_SET_CURRENT_SOURCE -DHAVE_RB_CURR_THREAD
-DRUBY_GLIB2_COMPILATION

With ruby 1.9.1, glib/src/Makefile :
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir)
-I$(srcdir) -I$(sitearchdir) -I$(vendorarchdir)
CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC
-DHAVE_OBJECT_ALLOCATE -DHAVE_UNISTD_H -DHAVE_G_SPAWN_CLOSE_PID
-DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV
-DHAVE_RB_CHECK_ARRAY_TYPE -DHAVE_RB_EXEC_RECURSIVE -DHAVE_RB_ERRINFO
-DHAVE_RB_SOURCEFILE -DHAVE_RB_SOURCELINE
-DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RUBY_NATIVE_THREAD_P
-DRUBY_GLIB2_COMPILATION $(DEFS) $(cppflags)

If you want more info, I can post the whole Makefile for each, and
config::CONFIG, or some items in particular in it.

Simon

Hi,

In [email protected]
“Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 0.19.2” on Wed, 30 Sep
2009 11:23:29 +0200,
Simon A. [email protected] wrote:

-I/home/sarnaud/.rvm/ruby-1.8.6-p383/lib/ruby/site_ruby/1.8/x86_64-linux
CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC
-DHAVE_OBJECT_ALLOCATE -DHAVE_UNISTD_H -DHAVE_G_SPAWN_CLOSE_PID
-DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV
-DHAVE_RB_CHECK_ARRAY_TYPE -DHAVE_RB_EXEC_RECURSIVE -DHAVE_RB_ERRINFO
-DHAVE_RB_SOURCEFILE -DHAVE_RB_SOURCELINE
-DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RUBY_NATIVE_THREAD_P
-DRUBY_GLIB2_COMPILATION $(DEFS) $(cppflags)

If you want more info, I can post the whole Makefile for each, and
config::CONFIG, or some items in particular in it.

Thanks! It’s enough information for me.


kou

Hi,

In [email protected]
“Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 0.19.2” on Thu, 24 Sep
2009 12:12:01 +0200,
Simon A. [email protected] wrote:

/home/sarnaud/src/ruby-gnome2-all-0.19.2/glib/src/lib/mkmf-gnome2.rb:378
end
Oops… Sorry…
I’ll release 0.19.3 that fixes the problem soon.

Do you have INCFLAGS variable in your glib/src/Makefile? I
want to use INCFLAGS instead of CPPFLAGS.

Thanks,

kou