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

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

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

Ruby/GTK3 that is bindings for GTK+ 3 is added!
You can install it by the following command:

  gem install gtk3

We also uploaded a gem that includes binary for Windows. You
can use Ruby/GTK3 by the above command.
(But I didn't try it on Windows. If you have Windows, please
try and tell us result.)

This release also adds bindings for Clutter and Clutter-GTK.
They are implemented by GObject Introspection.

== 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 create raw GObject Introspection based bindings of them.

For GStreamer:
  https://github.com/ruby-gnome2/ruby-gnome2/blob/ma...
For GooCanvas:
  https://github.com/ruby-gnome2/ruby-gnome2/blob/ma...

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
  % cd vim sample/xxx.rb
  require "gst-gi"
  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
  % cd 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


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.0: 2013-01-24

GTK+ 3 support release!

=== Changes

==== All

  * Added ruby-gtk3 package. Here is a list:
    * Ruby/GLib2
    * Ruby/ATK
    * Ruby/Pango
    * Ruby/GdkPixbuf2
    * Ruby/GDK3
    * Ruby/GTK3

==== Ruby/GLib2

  * Improvements
    * Supported custom VALUE <-> GBoxed conversion
    * Supported VALUE <-> GBoxed conversion by RVAL2GOBJ
    * Added GLib::Source::REMOVE
    * Added GLib::Source::CONTINUE
    * Added rbgobj_make_boxed_raw()
    * Added GLib::Value for internal use
    * [windows] Updated to the latest GLib: 2.28.8-1 -> 2.34.3
  * Changes
    * Removed deprecated GLib::Win32.get_package_installation_directory
    * Removed deprecated
GLib::Win32.get_package_installation_subdirectory
    * Added user_data to RGConvertTable callbacks
    * rbgobj_convert_define() copies passed RGConvertTable
    * Removed deprecated G_DEF_FUNDAMENTAL. Use RG_DEF_CONVERSION
instead

==== Ruby/GIO2

  * Improvements
    * Installed headers

==== Ruby/ATK

  * Improvements
    * [windows] Updated to the latest ATK: 1.32.0 -> 2.6.0

==== Ruby/Pango

  * Improvements
    * [windows] Updated to the latest Pango: 1.28.3 -> 1.32.6

==== Ruby/GdkPixbuf2

  * Improvements
    * [windows] Updated to the latest gdk-pixbuf: 2.24.0 -> 2.26.5

==== Ruby/GTK2

  * Improvements
    * Removed needless not copy flag from Allocation
    * [windows] Updated to the latest GTK+ 2: 2.24.8 -> 2.24.14

==== Ruby/GDK3

  * Improvements
    * [windows] Supported: 3.6.4

==== Ruby/GTK3

  * Improvements
    * Removed needless not copy flag from Allocation
    * [windows] Supported: 3.6.4

==== Ruby/GObjectIntrospection

  * Improvements
    * Supported over loaded method
    * Supported over loaded constructor
    * Supported GBoxed object
    * Supported char *
    * Supported GInterface
    * Supported CallableInfo
    * Supported may be null
    * Supported union object
    * Supported not GBoxed struct
    * Supported out parameter
    * Supported C array
    * Added "?" suffix to predicate method name
    * Supported SourceFunc callback
    * Supported GValue
    * Added GObjectIntrospection::Loader.register_boxed_class_converter
    * Supported inout parameter
    * Supported binary data array
  * Changes
    * ArgInfo#[] -> ArgInfo#get_arg

==== Ruby/CairoGObject

  * Added

==== Ruby/Clutter

  * Added

==== Ruby/ClutterGtk

  * Added

Thanks,
--
kou
B078cb4f4fb473c7a54d1fc36d10c70e?d=identicon&s=25 Regis d'Aubarede (raubarede)
on 2013-01-24 21:22
Hello,

After some test on windows (saples dir of Ruiby dsl), I got
some issues:
* scratch ( require 'gtksourceview2' ?)
* styles bad : font policy changed, not pretty ...
* many many deprecated :

22:in `initialize': 'Gtk::Window::POS_CENTER' has been deprecated. Use
'Gtk::Window::Position::CENTER' or ':center'.
27:in `stack': 'Gtk::VBox.new' has been deprecated. Use
'Gtk::Box.new(:vertical, spacing)'.
29:in `flow': 'Gtk::HBox.new' has been deprecated. Use
'Gtk::Box.new(:horizontal, spacing)'.


928:in `calendar': 'Gtk::Calendar::SHOW_HEADING' has been deprecated.
Use 'Gtk::Calendar::DisplayOptions::SHOW_HEADING' or ':show_heading'.
928:in `calendar': 'Gtk::Calendar::SHOW_DAY_NAMES' has been deprecated.

Use 'Gtk::Calendar::DisplayOptions::SHOW_DAY_NAMES' or
':show_day_names'.
929:in `calendar': 'Gtk::Calendar::SHOW_WEEK_NUMBERS' has been
deprecated. Use 'Gtk::Calendar::DisplayOptions::SHOW_WEEK_NUMBERS' or
':show_week_numbers'.

19:in `error': 'Gtk::MessageDialog::ERROR' has been deprecated. Use
'Gtk::MessageType::ERROR' or ':error'.
61:in `message': 'Gtk::Dialog::DESTROY_WITH_PARENT' has been deprecated.
Use 'Gtk::Dialog::Flags::DESTROY_WITH_PARENT' or ':destroy_with_parent'.
61:in `message': 'Gtk::MessageDialog::QUESTION' has been deprecated. Use
'Gtk::MessageType::QUESTION' or ':question'.
62:in `message': 'Gtk::MessageDialog::BUTTONS_CLOSE' has been
deprecated. Use 'Gtk::MessageDialog::ButtonsType::CLOSE' or ':close'.
60:in `new': 'Gtk::MessageDialog#initialize(parent, flags, type,
buttons_type, message)' style has been deprecated. Use
'Gtk::MessageDialog#initialize(:parent => nil, :flags => 0, :type =>
:info, :buttons_type => :ok, :message => "")' style.
. . .

Regards,
Régis d'Aubarède
983428278161aebf0513417242794952?d=identicon&s=25 David Maciejak (Guest)
on 2013-01-24 22:47
(Received via mailing list)
Le jeudi 24 janvier 2013, Kouhei Sutou a crit :

> We also uploaded a gem that includes binary for Windows. You
> Introspection based bindings. If the bindings is GObject
> support the latest version semi automatically. Both
> developers and users will be happy.
>
>
Wouhouu. Great, this is definitely what we need.
Thank you for the work, I am using goocanvas and gstreamer bindings in
my
network monitoring tool written in ruby (
https://rubygems.org/gems/gnms/versions/2.1.0.rc2) but got some
segfaults
with old gstreamer,
I hope to find some time to test all this!

Regards,
David
B078cb4f4fb473c7a54d1fc36d10c70e?d=identicon&s=25 Regis d'Aubarede (raubarede)
on 2013-01-25 16:13
Here some more test on windows/Ruiby :


DrawingArea :  no such signal: expose-event
(what is new name for  it?)

Toolbar : insert(index,widget) become insert(widget,index)

ComboBox: to be changed to ComboBoxText for append_text()

require 'gtksourceview2' : seem to be replace by 'gtksourceview3',
but error installing it :
  checking for attribute assignment... no
  checking for gtksourceview-3.0... no

Styles differences : check
http://regisaubarede.posterous.com/gnome2-gnome3

Regards,
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-01-26 01:52
(Received via mailing list)
Hi,

Thanks for trying Ruby/GTK3 on Windows!
I'm happy that it can show a window even if it has some
issues. :-)

In <1e456b68d7be77c4df121ce714d7c1c9@ruby-forum.com>
  "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 1.2.0" on Thu, 24 Jan
2013 21:22:30 +0100,
  Regis d'Aubarede <ruby-forum-incoming@andreas-s.net> wrote:

> After some test on windows (saples dir of Ruiby dsl), I got
> some issues:
> * scratch ( require 'gtksourceview2' ?)
> * styles bad : font policy changed, not pretty ...
> * many many deprecated :
...

Thanks for the report!
Could you write patches to solve the issue? Or could
someone help him to write patches? Or could some write
patches for the reported issues?

It seems that some of them are not Windows specific
issues. Someone on Linux such as Ubuntu will be able to help
us. :-)

Here is instruction to create a patch:

  1. Install gtk3 gem:
     % gem install gtk3

  2. Fork ruby-gnome2/ruby-gnome2 on GitHub:
     https://github.com/ruby-gnome2/ruby-gnome2
     See also: https://help.github.com/articles/using-pull-requests

  3. Clone the repository:
     % git clone git@github.com:#{YOUR_ACCOUNT}/ruby-gnome2
     % cd ruby-gnome2/gtk3

  4. Run samples:
     [ruby-gnome2/gtk3]% cd sample/gtk-demo
     [ruby-gnome2/gtk3/sample/gtk-demo]% ruby main.rb

     [ruby-gnome2/gtk3]% cd sample/testgtk
     [ruby-gnome2/gtk3/sample/testgtk]% ruby testgtk.rb

     [ruby-gnome2/gtk3]% cd sample/misc
     [ruby-gnome2/gtk3/sample/misc]% ruby XXX.rb

  5. Fix a issue:
     % editor XXX.rb
     % git add XXX.rb
     % git commit XXX.rb
     % git push

  6. Send a pull request!
     See also again:
https://help.github.com/articles/using-pull-requests


Thanks,
--
kou
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-01-26 02:19
(Received via mailing list)
Hi,

In <16818c6c3ba66eb15dc02e58955136d8@ruby-forum.com>
  "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 1.2.0" on Fri, 25 Jan
2013 16:13:28 +0100,
  Regis d'Aubarede <ruby-forum-incoming@andreas-s.net> wrote:

> Here some more test on windows/Ruiby :

Thanks again!

> DrawingArea :  no such signal: expose-event
> (what is new name for  it?)

It seems that "draw" signal:
  http://developer.gnome.org/gtk3/stable/GtkWidget.h...

The following code will work:

  drawing_area.signal_connect("draw") do |cairo_context|
    # ...
  end

The following sample code will help you to use cairo_context:
  https://github.com/rcairo/rcairo/blob/master/samples/pac.rb

> Toolbar : insert(index,widget) become insert(widget,index)
> ComboBox: to be changed to ComboBoxText for append_text()

Thanks for the information! Many users who migrate their
application to Ruby/GTK3 from Ruby/GTK2.

> require 'gtksourceview2' : seem to be replace by 'gtksourceview3',
> but error installing it :
>   checking for attribute assignment... no
>   checking for gtksourceview-3.0... no

Sorry. We don't provide Ruby/GtkSourceView3 binary for
Windows. I'll try it later.

> Styles differences : check
> http://regisaubarede.posterous.com/gnome2-gnome3

Thanks!
Screenshot is very helpful because I don't have Windows.

It seems that toolbar style and widget style are fine but
other styles such as font and frame style aren't fine.

GTK+ 2 provides Windows theme by default but GTK+ 3 doesn't
provide it yet. :<

GTK+ 2 theme:
http://git.gnome.org/browse/gtk+/tree/modules/engi...

GTK+ 3 migrated to CSS based style configuration from the
above RC file style.

Here is a documentation to migrate to CSS based style from
RC style:
http://developer.gnome.org/gtk3/stable/gtk-migrati...

If you try to create a theme for GTK+ 3 on Windows, the
following instruction will help you: (I don't try. So the
information may incorrect. Sorry. :<)

  1. Create a CSS file to
     #{GEM_HOME}/gdk3-1.2.0/vendor/local/share/themes/MS-Windows/gtk-3.0/gtk.css

     NOTE: GTK+ 3 binary is bundled in "gdk3" gem not "gtk3" gem!

  2. Uncomment the following comment in:
     #{GEM_HOME}/gdk3-1.2.0/vendor/local/etc/gtk-3.0/settings.ini

       # gtk-theme-name = MS-Windows

  3. Run a Ruby/GTK3 application

Or

  1. Add "gtk-font-name" configuration to
     #{GEM_HOME}/gdk3-1.2.0/vendor/local/etc/gtk-3.0/settings.ini
     . For example:

       gtk-font-name = "Sans 20"

  2. Run a Ruby/GTK3 application


Thanks,
--
kou
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-01-27 05:12
(Received via mailing list)
Hi,

In <20130126.101800.1773993546363561200.kou@cozmixng.org>
  "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 1.2.0" on Sat, 26 Jan
2013 10:18:00 +0900 (JST),
  Kouhei Sutou <kou@cozmixng.org> wrote:

>> require 'gtksourceview2' : seem to be replace by 'gtksourceview3',
>> but error installing it :
>>   checking for attribute assignment... no
>>   checking for gtksourceview-3.0... no
>
> Sorry. We don't provide Ruby/GtkSourceView3 binary for
> Windows. I'll try it later.

I've uploaded gtksourceview3 gem for Windows.
Please try again.


Thanks,
--
kou
0d130f179f85401f248e6ebc2ef8292f?d=identicon&s=25 Eric C. (eric_c)
on 2013-01-27 07:49
Hi:

I tried installing the gtk3 gem on my Ubuntu 10.10 machine:

Hope this helps.

eric@eric-DX4822:~$ gem install gtk3
Fetching: glib2-1.2.0.gem (100%)
Building native extensions.  This could take a while...
Fetching: gio2-1.2.0.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing gtk3:
  ERROR: Failed to build gem native extension.

        /home/eric/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... yes
checking for -Wformat=2 option to compiler... yes
checking for -Winit-self option to compiler... yes
checking for -Wlarger-than-65500 option to compiler... yes
checking for -Wmissing-declarations option to compiler... yes
checking for -Wmissing-format-attribute option to compiler... yes
checking for -Wmissing-include-dirs option to compiler... yes
checking for -Wmissing-noreturn option to compiler... yes
checking for -Wmissing-prototypes option to compiler... yes
checking for -Wnested-externs option to compiler... yes
checking for -Wold-style-definition option to compiler... yes
checking for -Wpacked option to compiler... yes
checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
checking for -Wpointer-arith option to compiler... yes
checking for -Wswitch-default option to compiler... yes
checking for -Wswitch-enum option to compiler... yes
checking for -Wundef option to compiler... yes
checking for -Wunsafe-loop-optimizations option to compiler... yes
checking for -Wwrite-strings option to compiler... yes
checking for rb_define_alloc_func() in ruby.h... yes
checking for rb_block_proc() in ruby.h... yes
checking for new allocation framework... yes
checking for attribute assignment... no
checking for rb_exec_recursive() in ruby.h... yes
checking for rb_errinfo() in ruby.h... yes
checking for Win32 OS... no
checking for gio-2.0... yes
checking for gio-unix-2.0... yes
checking for gobject-2.0... yes
creating ruby-gio2.pc
creating Makefile

make
compiling rbgiosrvtarget.c
compiling rbgiosocket.c
compiling rbgioappinfo.c
compiling rbgioioschedulerjob.c
compiling rbgioemblem.c
compiling rbgiozlibcompressor.c
compiling rbgiodrive.c
compiling rbgiocharsetconverter.c
compiling rbgiosocketlistener.c
compiling rbgiofileiostream.c
compiling rbgiosocketservice.c
compiling rbgioloadableicon.c
compiling rbgiounixmounts.c
compiling rbgiomount.c
compiling rbgioemblemedicon.c
compiling util.c
compiling rbgiomountoperation.c
compiling rbgiosocketclient.c
compiling rbgioinetaddress.c
compiling rbgiofileoutputstream.c
compiling rbgioseekable.c
compiling rbgiofilenamecompleter.c
compiling rbgiofileicon.c
compiling rbgiodesktopappinfo.c
compiling rbgionetworkaddress.c
compiling rbgioioscheduler.c
compiling rbgiounixsocketaddress.c
compiling rbgiocontenttype.c
compiling rbgioasyncresult.c
compiling rbgioiomodule.c
compiling rbgiofileinputstream.c
compiling rbgiofiledescriptorbased.c
compiling rbgiofileattributeinfo.c
compiling rbgiounixmountmonitor.c
compiling rbgioiostream.c
compiling rbgioinitable.c
compiling rbgioiomodules.c
compiling rbgiofileattributematcher.c
compiling rbgioconverteroutputstream.c
compiling rbgioconverter.c
compiling rbgioconverterinputstream.c
compiling rbgiodatainputstream.c
compiling rbgiobufferedinputstream.c
compiling rbgiounixfdlist.c
compiling rbgiosocketaddressenumerator.c
compiling rbgiounixfdmessage.c
compiling rbgiounixoutputstream.c
compiling rbgioinetsocketaddress.c
compiling rbgiotcpconnection.c
compiling rbgiofile.c
compiling rbgioio.c
compiling rbgiovolume.c
compiling rbgiounixmountpoints.c
compiling rbgio.c
compiling rbgiounixconnection.c
compiling rbgiofileinfo.c
compiling rbgiothemedicon.c
compiling rbgiotlscertificate.c
rbgiotlscertificate.c: In function ‘rg_initialize’:
rbgiotlscertificate.c:29: error: ‘GTlsCertificate’ undeclared (first use
in this function)
rbgiotlscertificate.c:29: error: (Each undeclared identifier is reported
only once
rbgiotlscertificate.c:29: error: for each function it appears in.)
rbgiotlscertificate.c:29: error: ‘certificate’ undeclared (first use in
this function)
rbgiotlscertificate.c:30: warning: ISO C90 forbids mixed declarations
and code
rbgiotlscertificate.c:32: warning: implicit declaration of function
‘g_tls_certificate_new_from_pem’
rbgiotlscertificate.c:32: warning: nested extern declaration of
‘g_tls_certificate_new_from_pem’
rbgiotlscertificate.c: In function ‘rg_s_load’:
rbgiotlscertificate.c:48: error: ‘GTlsCertificate’ undeclared (first use
in this function)
rbgiotlscertificate.c:48: error: ‘certificate’ undeclared (first use in
this function)
rbgiotlscertificate.c:52: warning: implicit declaration of function
‘g_tls_certificate_new_from_file’
rbgiotlscertificate.c:52: warning: nested extern declaration of
‘g_tls_certificate_new_from_file’
rbgiotlscertificate.c:55: warning: implicit declaration of function
‘g_tls_certificate_new_from_files’
rbgiotlscertificate.c:55: warning: nested extern declaration of
‘g_tls_certificate_new_from_files’
rbgiotlscertificate.c: In function ‘rg_verify’:
rbgiotlscertificate.c:69: error: ‘GTlsCertificateFlags’ undeclared
(first use in this function)
rbgiotlscertificate.c:69: error: expected ‘;’ before ‘flags’
rbgiotlscertificate.c:71: error: ‘flags’ undeclared (first use in this
function)
rbgiotlscertificate.c:71: warning: implicit declaration of function
‘g_tls_certificate_verify’
rbgiotlscertificate.c:71: warning: nested extern declaration of
‘g_tls_certificate_verify’
rbgiotlscertificate.c:74: error: ‘G_TYPE_TLS_CERTIFICATE_FLAGS’
undeclared (first use in this function)
rbgiotlscertificate.c: In function ‘Init_gtlscertificate’:
rbgiotlscertificate.c:80: error: ‘G_TYPE_TLS_CERTIFICATE’ undeclared
(first use in this function)
rbgiotlscertificate.c:83: error: ‘G_TYPE_TLS_CERTIFICATE_FLAGS’
undeclared (first use in this function)
make: *** [rbgiotlscertificate.o] Error 1


Gem files will remain installed in
/home/eric/.rvm/gems/ruby-1.9.3-p125/gems/gio2-1.2.0 for inspection.
Results logged to
/home/eric/.rvm/gems/ruby-1.9.3-p125/gems/gio2-1.2.0/ext/gio2/gem_make.out
eric@eric-DX4822:~$
983428278161aebf0513417242794952?d=identicon&s=25 David Maciejak (Guest)
on 2013-01-28 11:28
(Received via mailing list)
Hi,

just updated the gems to 1.2.0, now my soft is seg faulting, below the
output from gdb, hope it helps:


I, [2013-01-28T11:24:22.228005 #10960]  INFO -- GNMS: Using Ruby version
1.9.3
I, [2013-01-28T11:24:22.228005 #10960]  INFO -- GNMS: System
configuration is ok
/var/lib/gems/1.9.1/gems/gdk_pixbuf2-1.2.0/lib/gdk_pixbuf2.rb:29:
warning: already initialized constant LOG_DOMAIN

Program received signal SIGSEGV, Segmentation fault.
rb_type (obj=465666304) at ./include/ruby/ruby.h:1349
1349  ./include/ruby/ruby.h: No such file or directory.
(gdb) bt
#0  rb_type (obj=465666304) at ./include/ruby/ruby.h:1349
#1  rb_any_hash (a=465666304) at hash.c:83
#2  0x4013ed71 in st_lookup (table=0x83b5550, key=key@entry=465666304,
value=value@entry=0xbfffdd0c) at st.c:341
#3  0x400aaaed in rb_hash_aref (hash=137270540,
key=key@entry=465666304) at hash.c:512
#4  0x4077f5ba in rbgobj_lookup_class (klass=465666304) at
rbgobj_type.c:68
#5  0x40774310 in rbgobj_instance_from_ruby_object
(obj=obj@entry=1102099680) at rbgobject.c:85
#6  0x41b0c1e6 in int_range_rvalue2gvalue (value=1102099680,
result=0x40021000) at rbgst-value.c:241
#7  0x40775822 in rbgobj_convert_get_superclass (type=type@entry=204,
result=result@entry=0xbfffddec) at rbgobj_convert.c:78
#8  0x4077f4d8 in get_superclass (gtype=204) at rbgobj_type.c:97
#9  0x4077f44d in rbgobj_lookup_class_by_gtype_without_lock (parent=4,
gtype=204, create_class=<optimized out>) at rbgobj_type.c:177
#10 rbgobj_lookup_class_by_gtype_without_lock (gtype=204, parent=4,
create_class=1) at rbgobj_type.c:135
#11 0x400957cb in rb_ensure (b_proc=b_proc@entry=0x4077f570
<rbgobj_lookup_class_by_gtype_body>, data1=data1@entry=3221217108,
    e_proc=e_proc@entry=0x4077ef50
<rbgobj_lookup_class_by_gtype_ensure>, data2=data2@entry=3221217108)
at eval.c:744
#12 0x4077f724 in rbgobj_lookup_class_by_gtype_full
(gtype=gtype@entry=204, parent=parent@entry=4,
create_class=create_class@entry=1) at rbgobj_type.c:286
#13 0x4077f75b in rbgobj_lookup_class_by_gtype (gtype=gtype@entry=204,
parent=parent@entry=4) at rbgobj_type.c:271
#14 0x4077f7c8 in rbgobj_define_class (gtype=204,
name=name@entry=0x41b1c63b "IntRange", module=module@entry=143143300,
mark=mark@entry=0x0, free=free@entry=0x0,
    parent=parent@entry=4) at rbgobj_type.c:312
#15 0x41b0c7d5 in Init_gst_value (mGst=143143300) at rbgst-value.c:442
#16 0x41b1a3de in Init_gst_classes () at rbgst.c:67
#17 rg_s_init (argc=1, argv=0x40686128, self=143143300) at rbgst.c:157
#18 0x40188351 in call_cfunc (func=0x41b1a0e0 <rg_s_init>,
recv=<optimized out>, len=-1, argc=1, argv=0x40686128) at
vm_insnhelper.c:317
#19 0x40197377 in vm_call_cfunc (me=0x89f8020, blockptr=0x0,
recv=<optimized out>, num=1, reg_cfp=0x40705d48, th=0x804bb88) at
vm_insnhelper.c:404
#20 vm_call_method (th=th@entry=0x804bb88, cfp=cfp@entry=0x40705d48,
num=num@entry=1, blockptr=0x0, flag=flag@entry=0, id=id@entry=12128,
me=me@entry=0x89f8020,
    recv=143143300) at vm_insnhelper.c:534
#21 0x4018e11e in vm_exec_core (th=0x804bb88, th@entry=0xbfffe2d8,
initial=initial@entry=0) at insns.def:1015
#22 0x40192818 in vm_exec (th=0xbfffe2d8) at vm.c:1220
#23 0x40199ecf in rb_iseq_eval (iseqval=143046640) at vm.c:1447
#24 0x40097172 in rb_load_internal (fname=142914260,
wrap=wrap@entry=147100432) at load.c:310
#25 0x40098433 in rb_require_safe (fname=142915060,
fname@entry=142841680, safe=0) at load.c:619
#26 0x400987f4 in rb_f_require (obj=134742780, fname=142841680) at
load.c:465
#27 0x4018832b in call_cfunc (func=0x400987d0 <rb_f_require>,
recv=<optimized out>, len=1, argc=1, argv=0x406860ec) at
vm_insnhelper.c:323
#28 0x40197377 in vm_call_cfunc (me=0x8195188, blockptr=0x0,
recv=<optimized out>, num=1, reg_cfp=0x40705dcc, th=0x804bb88) at
vm_insnhelper.c:404
#29 vm_call_method (th=th@entry=0x804bb88, cfp=cfp@entry=0x40705dcc,
num=num@entry=1, blockptr=0x0, flag=flag@entry=8, id=id@entry=14488,
me=me@entry=0x8195188,
    recv=134742780) at vm_insnhelper.c:534
#30 0x4018e11e in vm_exec_core (th=0x804bb88, th@entry=0xbfffe868,
initial=initial@entry=0) at insns.def:1015
#31 0x40192818 in vm_exec (th=0xbfffe868) at vm.c:1220
---Type <return> to continue, or q <return> to quit---
#32 0x40199ecf in rb_iseq_eval (iseqval=143854000) at vm.c:1447
#33 0x40097172 in rb_load_internal (fname=136846820,
wrap=wrap@entry=138818792) at load.c:310
#34 0x40098433 in rb_require_safe (fname=136848420,
fname@entry=136848440, safe=0) at load.c:619
#35 0x400987f4 in rb_f_require (obj=134742780, fname=136848440) at
load.c:465
#36 0x4018832b in call_cfunc (func=0x400987d0 <rb_f_require>,
recv=<optimized out>, len=1, argc=1, argv=0x406860a4) at
vm_insnhelper.c:323
#37 0x40197377 in vm_call_cfunc (me=0x8195188, blockptr=0x0,
recv=<optimized out>, num=1, reg_cfp=0x40705ea8, th=0x804bb88) at
vm_insnhelper.c:404
#38 vm_call_method (th=th@entry=0x804bb88, cfp=cfp@entry=0x40705ea8,
num=num@entry=1, blockptr=0x0, flag=flag@entry=8, id=id@entry=14488,
me=me@entry=0x8195188,
    recv=134742780) at vm_insnhelper.c:534
#39 0x4018e11e in vm_exec_core (th=0x804bb88, th@entry=0xbfffedf8,
initial=initial@entry=0) at insns.def:1015
#40 0x40192818 in vm_exec (th=0xbfffedf8) at vm.c:1220
#41 0x40199ecf in rb_iseq_eval (iseqval=136117940) at vm.c:1447
#42 0x40097172 in rb_load_internal (fname=135830400,
wrap=wrap@entry=136028480) at load.c:310
#43 0x40098433 in rb_require_safe (fname=135830840,
fname@entry=135830920, safe=0) at load.c:619
#44 0x400987f4 in rb_f_require (obj=134742780, fname=135830920) at
load.c:465
#45 0x4018832b in call_cfunc (func=0x400987d0 <rb_f_require>,
recv=<optimized out>, len=1, argc=1, argv=0x40686044) at
vm_insnhelper.c:323
#46 0x40197377 in vm_call_cfunc (me=0x8195188, blockptr=0x0,
recv=<optimized out>, num=1, reg_cfp=0x40705f58, th=0x804bb88) at
vm_insnhelper.c:404
#47 vm_call_method (th=th@entry=0x804bb88, cfp=cfp@entry=0x40705f58,
num=num@entry=1, blockptr=0x0, flag=flag@entry=8, id=id@entry=14488,
me=me@entry=0x8195188,
    recv=134742780) at vm_insnhelper.c:534
#48 0x4018e11e in vm_exec_core (th=0x804bb88, th@entry=0xbffff388,
initial=initial@entry=0) at insns.def:1015
#49 0x40192818 in vm_exec (th=0xbffff388, th@entry=0x804bb88) at
vm.c:1220
#50 0x40199fcc in rb_iseq_eval_main (iseqval=iseqval@entry=135831260)
at vm.c:1461
#51 0x4009444c in ruby_exec_internal (n=0x8189edc) at eval.c:204
#52 0x40094f84 in ruby_exec_node (n=n@entry=0x8189edc) at eval.c:251
#53 0x40096996 in ruby_run_node (n=0x8189edc) at eval.c:244
#54 0x08048678 in main (argc=2, argv=0xbffff684) at main.c:38



regards,
david

On Sun, Jan 27, 2013 at 7:49 AM, Eric C.
983428278161aebf0513417242794952?d=identicon&s=25 David Maciejak (Guest)
on 2013-01-28 12:06
(Received via mailing list)
i forced gstreamer gem install to 1.2.0, seems i do not have the seg
fault anymore.

regards,
david


On Mon, Jan 28, 2013 at 11:27 AM, David Maciejak
B078cb4f4fb473c7a54d1fc36d10c70e?d=identicon&s=25 Regis d'Aubarede (raubarede)
on 2013-01-28 12:16
Kouhei Sutou wrote in post #1093924:

> I've uploaded gtksourceview3 gem for Windows.
> Please try again.
>


gtksourceview is Ok, ruby 1.9.3.windows 7.

Thank you.


.... `block in canvas': undefined method `create_cairo_context'

There are many deprecated/incompatibility between gtk2/gtk3.
Is there a documentation somewhere ?



> Screenshot is very helpful because I don't have Windows.
>

Perhaps i can send you a windows login in a personal internet host,
send me a email...



Regards,
99e586da5d74b5a7c7932349956af369?d=identicon&s=25 "Sergio Campamá" <sergio@satelinx.com> (Guest)
on 2013-01-28 12:31
(Received via mailing list)
Installing gstreamer didn't fix my segfault issues... is there anything
else I can try?


On Mon, Jan 28, 2013 at 8:16 AM, Regis d'Aubarede <
B078cb4f4fb473c7a54d1fc36d10c70e?d=identicon&s=25 Regis d'Aubarede (raubarede)
on 2013-01-28 12:59
Regis d'Aubarede wrote in post #1094036:

> Is there a documentation somewhere ?

Oups...
Docs founded in gdk gem :
ruby19/lib/ruby/gems/1.9.1/gems/gdk3-1.2.0-x86-mingw32/
   vendor/local/share/gtk-doc/html/gtk3/index.html
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-01-28 15:13
(Received via mailing list)
Hi,

In <3f4d46212c0cec8763af3540754984de@ruby-forum.com>
  "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 1.2.0" on Sun, 27 Jan
2013 07:49:52 +0100,
  "Eric C." <ruby-forum-incoming@andreas-s.net> wrote:

> I tried installing the gtk3 gem on my Ubuntu 10.10 machine:

Ubuntu 10.10 is out of date distribution. So we don't
support it. Sorry. (And Ubuntu 10.10 doesn't have GTK+ 3
package.)

(Your GLib is too old to build Ruby/GIO.)


Thanks,
--
kou
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-01-28 15:20
(Received via mailing list)
Hi,

In <CAEyH2mAEEGKhP=N2y7dAWVY7AY_-pOuFQe9VpDg35GG9F2KjaQ@mail.gmail.com>
  "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 1.2.0" on Mon, 28 Jan
2013 12:05:54 +0100,
  David Maciejak <david.maciejak@gmail.com> wrote:

> i forced gstreamer gem install to 1.2.0, seems i do not have the seg
> fault anymore.

It's good news.
Thanks for trying.

--
kou
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-01-28 15:22
(Received via mailing list)
Hi,

In <3269e83eafd26314afe159a2b0c9ef37@ruby-forum.com>
  "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 1.2.0" on Mon, 28 Jan
2013 12:59:27 +0100,
  Regis d'Aubarede <ruby-forum-incoming@andreas-s.net> wrote:

>> Is there a documentation somewhere ?
>
> Oups...
> Docs founded in gdk gem :
> ruby19/lib/ruby/gems/1.9.1/gems/gdk3-1.2.0-x86-mingw32/
>    vendor/local/share/gtk-doc/html/gtk3/index.html

You can also see documentation on Web:

  http://developer.gnome.org/gtk3/stable/
  http://developer.gnome.org/gdk3/stable/


Thanks,
--
kou
B078cb4f4fb473c7a54d1fc36d10c70e?d=identicon&s=25 Regis d'Aubarede (raubarede)
on 2013-01-28 20:02
Attachment: gtk.css (70 KB)
Hello,

A css whith correct (for me...) look&feel on windows :
https://gist.github.com/4658090

Based on GreyBird theme : http://github.com/shimmerproject/Greybird

Result is viewable at : http://regisaubarede.posterous.com/gnome2-gnome3
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-01-30 14:14
(Received via mailing list)
Hi,

In <8d0b1b303af0a1b028ac172b5cf7ade2@ruby-forum.com>
  "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 1.2.0" on Mon, 28 Jan
2013 20:02:29 +0100,
  Regis d'Aubarede <ruby-forum-incoming@andreas-s.net> wrote:

> A css whith correct (for me...) look&feel on windows :
> https://gist.github.com/4658090
>
> Based on GreyBird theme : http://github.com/shimmerproject/Greybird
>
> Result is viewable at : http://regisaubarede.posterous.com/gnome2-gnome3
>
> Attachments:
> http://www.ruby-forum.com/attachment/8082/gtk.css

Thanks for your work!

Could you tell us what is changed from GreyBird theme? If
there are only small changes (and those changes aren't
important for you), I want to add the latest GreyBird theme
to gtk3 gem. Because it will be maintained well.


Thanks,
--
kou
This topic is locked and can not be replied to.