Hi,
The Ruby-GNOME2 project released Ruby-GNOME2 1.2.3:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?News_20130317_2
http://ruby-gnome2.sourceforge.jp/hiki.cgi?News_20130317_1
(Ruby-GNOME2 1.2.2 also had been released but I don’t
announced yet. Sorry.)
This release supports Ruby 2.0.0! Windows binary gems
include binaries for Ruby 1.9.3 and Ruby 2.0.0. Ruby 1.8.7
support is dropped.
== Help us!
We want to replace existing bindings by GObject
Introspection based bindings. If the bindings is GObject
Introspection ready. To be specific, first we want to
replace Ruby/GStreamer and Ruby/GooCanvas with GObject
Introspection based bindings. We want you to help us for the
work.
GStreamer and GooCanvas has many API. So their bindings
aren’t completed yet. Their bindings are still
“experimental”. And their bindings don’t support the latest
version yet. (GStreamer 1.0.0 had been released!)
If we get GObject Introspection based bindings, we can
support the latest version semi automatically. Both
developers and users will be happy.
To be specific, we want you to port sample programs for them
to Ruby.
We want you to port sample programs of GStreamer and
GooCanvas to Ruby by requiring those bindings.
Here are work flows to start the work.
For GStreamer:
% gem install gobject-introspection
% git clone [email protected]:ruby-gnome2/ruby-gnome2.git
% cd ruby-gnome2/gstreamer-gi
% vim sample/xxx.rb
require “gst”
Gst.init
Port a sample
% ruby -I sample sample/xxx.rb
You can find samples for GStreamer at
http://cgit.freedesktop.org/gstreamer/gstreamer/tree/tests/examples/
For example:
http://cgit.freedesktop.org/gstreamer/gstreamer/tree/tests/examples/helloworld/helloworld.c
For GooCanvas:
% gem install gobject-introspection
% git clone [email protected]:ruby-gnome2/ruby-gnome2.git
% cd ruby-gnome2/goocanvas
% vim sample/xxx.rb
require “goocanvas-gi”
Port a sample
% ruby -I sample sample/xxx.rb
You can find samples for GooCanvas at
demo · master · GNOME / goocanvas · GitLab
And we want to use GObject Introspection for new bindings
such as Ruby/WebKitGTK. There are the bindings but it
doesn’t have ported samples. We need to port WebKitGTK+
samples to create usable API. Here is work flow to start the
work:
% gem install gobject-introspection
% git clone [email protected]:ruby-gnome2/ruby-gnome2.git
% cd ruby-gnome2/webkit-gtk
% vim sample/xxx.rb
require “webkit-gtk”
WebKitGtk.init
Port a sample
% ruby -I sample sample/xxx.rb
We are happy that you send a pull request for a sample.
You may find a sample that can’t be ported well. If you find
it, please tell us by pull request or sending an email to
this mailing list. The sample may use a feature that is not
implemented in Ruby/GObjectIntrospection.
== Ruby-GNOME2 1.2.3: 2013-03-17
Clean up release!
=== Changes
==== Ruby/GTK2
- Remove needless signale handlers restore.
==== Ruby/GTK3
- Remove needless signale handlers restore.
== Ruby-GNOME2 1.2.2: 2013-03-11
Ruby 2.0.0 support release!
=== Changes
==== Ruby/GLib2
- Improvements
- Supported test on Ruby 2.0.0.
[GitHub #134] [Reported by mtasaka]
- Supported test on Ruby 2.0.0.
==== Ruby/Poppler
- Improvements
- Removed deprecated GDK support.
==== Ruby/GDK3
- Improvements
- Supported Ruby 2.0.0.
[GitHub#129] [Reported by TOMITA Masahiro]
- Supported Ruby 2.0.0.
==== Ruby/GObjectIntrospection
- Improvements
- Supported not GType based flags.
- Supported not GType based enum.
- Supported custom callback function.
- Supported .h install.
- Supported .pc install.
- More Rubyish method names are used.
- Stopped to raise exception when there are two or more out
parameters. - Added Loader.start_callback_dispatch_thread().
- Supported arguments validation.
- Stopped to use array for just one return value.
- Supported Enumerator.
- Hide constructor methods.
==== Ruby/GtkSourceView3
- Fixes
- Fixed wrong deb package name.
==== Ruby/Clutter
- Fixes
- Fixed wrong initialized check.
- Stopped to override Clutter.init unexpectedly.
==== Ruby/ClutterGTK
- Fixes
- Fixed wrong initialized check.
==== Ruby/WebKitGTK
- Fixes
- Fixed wrong initialized check.
=== Thanks
- Vincent C.
(for unreleased GObjectIntrospection based GStreamer bindings) - TOMITA Masahiro
- NAKAJIMA Takashi
(for unreleased GObjectIntrospection based GStreamer bindings) - mtasaka
Thanks,
kou