Forum: Ruby-Gnome 2 [ANN] Ruby-GNOME2 1.2.6

Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-04-06 10:57
(Received via mailing list)
Hi,

The Ruby-GNOME2 project released Ruby-GNOME2 1.2.6:
  http://ruby-gnome2.sourceforge.jp/hiki.cgi?News_20130406_1

This release includes a Ruby/Poppler and cairo integration
bug fix.

For Windows users, bundled GTK+ 3 is bumped to 3.8.0! :-)

== Help us!

=== About Ruby/GTK3

Many sample programs for Ruby/GTK3 aren't migrated from
Ruby/GTK2. They reports many warnings. We want to migrate
all sample programs from Ruby/GTK2. We want you to help us
for the work.

Here are work flows to start the work.

  % gem install gtk3
  % git clone git@github.com:ruby-gnome2/ruby-gnome2.git
  % cd ruby-gnome2/gtk3/gtk-demo
  % ruby main.rb # reports many warnings
  % vim xxx.rb # You fix warnings and errors
    # See Ruby/GTK2 version program to confirm the expected behavior:
    #   % cd ${RUBY_GNOME2_TOP_DIR}/gtk2/gtk-demo
    #   % ruby main.rb
    # And see also the original sample programs in GTK+ 3:
    #   https://git.gnome.org/browse/gtk+/tree/demos/gtk-demo
    # We may have some missing samples. If you find some
    # missing samples, please port it to Ruby/GTK3.

We are happy that you send a pull request for the work.

The above work flows for gtk-demo but there are more samples
in gtk3/misc/ and gtk3/testgtk/. We want you to help us for
the samples.

=== About GObject Introspection bindings

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 git@github.com: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/tr...

For example:
  http://cgit.freedesktop.org/gstreamer/gstreamer/tr...

For GooCanvas:

  % gem install gobject-introspection
  % git clone git@github.com: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
  http://git.gnome.org/browse/goocanvas/tree/demo


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 git@github.com: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.6: 2013-04-02

Broken Ruby/Poppler fix release!

=== Changes

==== Ruby/GLib2

  * Improvements
    * Removed deprecated GLib::Completion.
    * Removed deprecated g_suorce_get_current_time() use.
    * [windows] Updated bundled GLib to 3.8.0.
    * [windows] Updated bundled glib-networking to 3.8.0.
    * [windows] Updated bundled GnuTLS to 3.1.10.

==== Ruby/ATK

  * Improvements
    * [windows] Updated bundled ATK to 2.8.0.

==== Ruby/GdkPixbuf2

  * Improvements
    * [windows] Updated bundled gdk-pixbuf to 2.28.0.

==== Ruby/Pango

  * Improvements
    * [windows] Updated bundled Pango to 1.34.0.

==== Ruby/GDK3

  * Improvements
    * [windows] Updated bundled GTK+ to 3.8.0.

==== Ruby/Poppler

  * Fixes
    * Fixed a bug that Poppler::Page#render is broken.
      [SF.net#184] [Reported by HARUYAMA Seigo]

==== Ruby/GooCanvas

  * Improvements
    * Added a Ruby/GObjectIntrospection based sample.
      [GitHub #139] [Patch by Masafumi Yokoyama]

=== Thanks

  * Masafumi Yokoyama
  * HARUYAMA Seigo

Thanks,
--
kou
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.