Forum: Ruby-Gnome 2 Please test: [ANN] Ruby-GNOME2 2.0.3

Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-12-28 17:35
(Received via mailing list)
Hi,

I've released Ruby-GNOME2 2.0.3!

This release supports Ruby 2.1.0! It may also support
Windows again but I can't test it because I don't have
Windows. :<

Could someone test Ruby-GNOME2 2.0.3 on your Windows machine
or other environments? If this release doesn't have any big
problem. I want to release it as 2.1.0. It is the same
version of Ruby. :-)

How to try:

gtk2 gem:

  > gem install gtk2
  > ruby -r gtk2 -e 'w = Gtk::Window.new; w.signal_connect("destroy")
{Gtk.main_quit}; w.show_all; Gtk.main'

It is OK that a window is shown.

gtk3 gem:

  > gem install gtk3
  > ruby -r gtk3 -e 'w = Gtk::Window.new; w.signal_connect("destroy")
{Gtk.main_quit}; w.show_all; Gtk.main'

It is OK that a window is shown.

clutter gem:

  > gem install clutter
  > ruby -r clutter -e 's = Clutter::Stage.new;
s.signal_connect("destroy") {Clutter.main_quit}; s.show; Clutter.main'

It is OK that a window is shown.

gstreamer gem:

  > gem install gstreamer
  > ruby ${GEM_DIR}/gems/gstreamer-2.0.3/sample/gst-inspect.rb

It is OK that list elements without error like:

  % ruby /var/lib/gems/2.0.0/gems/gstreamer-2.0.3/sample/gst-inspect.rb
  1394: dv1394src: Firewire (1394) DV video source
  1394: hdv1394src: Firewire (1394) HDV video source
  ...
  yadif: yadif: YADIF deinterlacer
  zbar: zbar: Barcode detector

  Total count: 209 plugins, 1146 features

I will wait until 12/29 12:00 JST. Sorry for the short term. :<


Thanks,
--
kou
B078cb4f4fb473c7a54d1fc36d10c70e?d=identicon&s=25 Regis d'Aubarede (raubarede)
on 2013-12-28 19:31
> gtk2 gem:
OK

> gtk3 gem:

OK,
theme seem like old unix Motif ! see attachment


> clutter gem:
OK,
Trace :
d:/usr/ruby/Ruby200/lib/ruby/gems/2.0.0/gems/gobject-introspection-2.0.3-x86-mingw32/lib/gobject-introspection/loader.rb:
line 87
   Clutter-WARNING **:clutter_do_event: Event does not have a stage:
discarding.


> gstreamer gem:
>   Total count: 209 plugins, 1146 features

got many error on loading dll :

d:/usr/ruby/Ruby200/lib/ruby/gems/2.0.0/gems/gstreamer-2.0.3-x86-mingw32/lib/gst.rb:
line 109
   GStreamer-WARNING **:Failed to load plugin
'C:\Program
Files\OSSBuild\GStreamer\v0.10.6\lib\gstreamer0.10\libgstdvdread.dll':
'C:\Program Files\OS
SBuild\GStreamer\v0.10.6\lib\gstreamer-0.10\libgstdvdread.dll': Le
module spécifié est introuvable.

and then :

Total count: 132 plugins, 954 features

My code for showing video does not work with 2.0.3:
   require "clutter-gtk"
   require "clutter-gst"  # gem install clutter-gstreamer
   clutter = ClutterGtk::Embed.new
   video=ClutterGst::VideoTexture.new
   clutter.stage.add_child(video)

see screen-copy of main gtk window demo for gtk2/3 look difference.

and no more scrach on window move/resize !!

thank-you,
regis
B078cb4f4fb473c7a54d1fc36d10c70e?d=identicon&s=25 Regis d'Aubarede (raubarede)
on 2013-12-28 19:34
Attachment: gtk2gtk3-styles.jpg (100 KB)
see attachment
394f372e936f867e4e43bfd1315a0a4e?d=identicon&s=25 Masafumi Yokoyama (masafumi_y)
on 2013-12-28 21:40
(Received via mailing list)
Hi, I also tried.

2013/12/29 Regis d'Aubarede <ruby-forum-incoming@andreas-s.net>:
> My code for showing video does not work with 2.0.3:
>    require "clutter-gtk"
>    require "clutter-gst"  # gem install clutter-gstreamer
>    clutter = ClutterGtk::Embed.new
>    video=ClutterGst::VideoTexture.new
>    clutter.stage.add_child(video)

I want to know that. Could you tell us the error message?


> see screen-copy of main gtk window demo for gtk2/3 look difference.

Me, too. It's uncool...


> and no more scrach on window move/resize !!

Maybe, this problem depends on a theme...!


--
Masafumi Yokoyama
https://github.com/myokoym
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-12-29 00:43
(Received via mailing list)
Hi,

Thanks for trying 2.0.3!

In <31a1e7e55d383553a7bd6ab1783bb821@ruby-forum.com>
  "Re: [ruby-gnome2-devel-en] Please test: [ANN] Ruby-GNOME2 2.0.3" on
Sat, 28 Dec 2013 19:31:18 +0100,
  Regis d'Aubarede <ruby-forum-incoming@andreas-s.net> wrote:

>> gtk2 gem:
> OK

Good!

>> gtk3 gem:
>
> OK,
> theme seem like old unix Motif ! see attachment

Umm, I don't remember that 2.0.0, 2.0.1 or 2.0.2 apply
Windows like style theme? If old gtk3 gem works correctly
for theme, I can check difference between old released and
2.0.3.

>> clutter gem:
> OK,
> Trace :
>
d:/usr/ruby/Ruby200/lib/ruby/gems/2.0.0/gems/gobject-introspection-2.0.3-x86-mingw32/lib/gobject-introspection/loader.rb:
> line 87
>    Clutter-WARNING **:clutter_do_event: Event does not have a stage:
> discarding.

Maybe good.
We will look at it after this release.

> 'C:\Program Files\OS
> SBuild\GStreamer\v0.10.6\lib\gstreamer-0.10\libgstdvdread.dll': Le
> module spcifi est introuvable.

It seems that your gstreamer gem refers GStreamer provided
by OSSBuild. gstreamer gem bundles GStreamer, you should use
it...

Could you try gstreamer gem after uninstall OSSBuild version
GStreamer?

> and then :
>
> Total count: 132 plugins, 954 features
>
> My code for showing video does not work with 2.0.3:
>    require "clutter-gtk"
>    require "clutter-gst"  # gem install clutter-gstreamer
>    clutter = ClutterGtk::Embed.new
>    video=ClutterGst::VideoTexture.new
>    clutter.stage.add_child(video)

It seems that this is caused by the above OSSBuild version
GStreamer.



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.