A set of bindings for the GNOME-2.x libraries to use from Ruby.
C Ruby CSS Shell C++ Roff
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
atk-no-gi Update project website domain May 8, 2018
atk Update project website domain May 8, 2018
build rsvg2 windows: support cross compile with Rust Apr 7, 2018
cairo-gobject Update project website domain May 8, 2018
clutter-gdk Update project website domain May 8, 2018
clutter-gstreamer Update project website domain May 8, 2018
clutter-gtk Update project website domain May 8, 2018
clutter Update project website domain May 8, 2018
doc Update project website domain May 8, 2018
gdk3-no-gi Update project website domain May 8, 2018
gdk3 Update project website domain May 8, 2018
gdk4 Update project website domain May 8, 2018
gdk_pixbuf2-no-gi Update project website domain May 8, 2018
gdk_pixbuf2 gdk_pixbuf2: improve the default row_stride May 24, 2018
gio2 gio2: use ArgumentError for Gio::Setting.new(:schema => ...) May 19, 2018
glib2 glib2: add a code for GC on process finish May 25, 2018
gnumeric Update project website domain May 8, 2018
gobject-introspection map to_integer to to_i May 23, 2018
goffice Update project website domain May 8, 2018
gsf Update project website domain May 8, 2018
gstreamer gstreamer: make Gst::Bus#poll arguments omittable May 26, 2018
gtk2 Update project website domain May 8, 2018
gtk3-no-gi Update project website domain May 8, 2018
gtk3 gi: hide RBGICallbackData detail to use rbg_gc_guard()/unguard() May 22, 2018
gtk4 Update project website domain May 8, 2018
gtksourceview2 Update project website domain May 8, 2018
gtksourceview3-no-gi Update project website domain May 8, 2018
gtksourceview3 Update project website domain May 8, 2018
gvlc Update project website domain May 8, 2018
pango-no-gi Update project website domain May 8, 2018
pango pango: remove a needless file May 21, 2018
poppler-no-gi Update project website domain May 8, 2018
poppler poppler: Add Cairo::Context#show_poppler_page for consistency May 13, 2018
rsvg2-no-gi Update project website domain May 8, 2018
rsvg2 rsvg2: Add Cairo::Context#show_rsvg_handle for consistency May 13, 2018
travis travis: try using --path as a workaround May 19, 2018
vte Update project website domain May 8, 2018
vte3-no-gi Update project website domain May 8, 2018
vte3 Update project website domain May 8, 2018
webkit-gtk Update project website domain May 8, 2018
webkit-gtk2 Update project website domain May 8, 2018
webkit2-gtk Update project website domain May 8, 2018
.dir-locals.el windows: use "windows" instead of "win32" Nov 22, 2014
.dockerignore travis: run test via sh Apr 13, 2017
.gitignore Remove needless entry Apr 8, 2017
.travis.yml travis: re-add Ruby 2.1 again Apr 2, 2018
AUTHORS Updated news for upcoming release, tagged binding version as 0.17.0 Mar 19, 2008
COPYING.GFDL gtk3: use GFDL for script that is based on PyGObject-Tutorial Jun 9, 2015
COPYING.LIB Update LGPL 2.1 files Oct 16, 2013
Gemfile Use native-package-installer Apr 10, 2017
Gemfile.local.sample support Gemfile.local. Aug 6, 2014
NEWS Add 3.2.5 entry May 2, 2018
README.md Update project website domain May 8, 2018
Rakefile Update versions Apr 2, 2018
exec_make.rb * extconf.rb, exec_make.rb: Support MSVC++(nmake). Jan 31, 2005
extconf.rb Remove gdk4 from test targets Jan 27, 2018
run-ruby.sh Detect rcairo directory May 5, 2018
run-test.rb Stop to run gtk4 test for now Feb 16, 2018

README.md

Build Status Gem Version

Ruby-GNOME2

Ruby-GNOME2 Logo Ruby bindings for GNOME

This is a set of bindings for the GNOME 2.x and 3.x libraries to use from Ruby 2.1, 2.2, 2.3, 2.4 and 2.5.

Installation

Install the current releases.

The gems of the Ruby-GNOME2 projects can be easily installed with the gem command. For example in order to install the gtk3 gem and its dependencies:

gem install gtk3

Install from GitHub master branch

You can also install these gems from GitHub master branch.

% git clone https://github.com/ruby-gnome2/ruby-gnome2.git
% cd ruby-gnome2
% bundle install
% bundle exec rake gem:build
% bundle exec rake gem:install

Release packages

ruby-gtk2

  • Ruby/GLib2: GLib 2.12.x or later
  • Ruby/ATK: ATK 1.12.x or later
  • Ruby/Pango: Pango 1.14.x or later
  • Ruby/GdkPixbuf2: GTK+ 2.0.x or later
  • Ruby/GTK2: GTK+ 2.10.x or later
  • Ruby/GObjectIntrospection: GObject Introspection 1.32.1 or later

ruby-gtk3

  • Ruby/GLib2: GLib 2.12.x or later
  • Ruby/GIO2: GIO 2.16.x or later
  • Ruby/ATK: ATK 1.12.x or later
  • Ruby/Pango: Pango 1.14.x or later
  • Ruby/GdkPixbuf2: GTK+ 2.0.x or later
  • Ruby/GObjectIntrospection: GObject Introspection 1.32.1 or later
  • Ruby/CairoGObject: cairo-gobject 1.12.10 or later
  • Ruby/GDK3: GTK+ 3.4.2 or later
  • Ruby/GTK3: GTK+ 3.4.2 or later

ruby-gnome2-all

  • ruby-gtk2 + ruby-gtk3
  • Ruby/RSVG: librsvg 2.8.0 or later
  • Ruby/Poppler: poppler-glib 0.8.0 or later
  • Ruby/VTE: VTE 0.12.1 or later
  • Ruby/VTE3: VTE 0.37.0 or later
  • Ruby/GStreamer: GStreamer 1.0.0 or later
  • Ruby/GtkSourceView2: GtkSourceView 2.0.0 or later
  • Ruby/Clutter: Clutter 1.12.0 or later
  • Ruby/ClutterGTK: Clutter-GTK 1.2.0 or later
  • Ruby/ClutterGStreamer:Clutter-GStreamer 2.0.0 or later
  • Ruby/GtkSourceView3: GtkSourceView 3.4.2 or later
  • Ruby/WebKitGTK: WebKitGTK+ 1.8.1 or later (for GTK+ 3)
  • Ruby/WebKitGTK2: WebKitGTK+ 1.8.1 or later (for GTK+ 2)
  • Ruby/WebKit2GTK: WebKitGTK+ 2.0.0 or later (for GTK+ 3)

Experimental / Incomplete:

  • Ruby/GSF: GSF 1.14.0 or later
  • Ruby/GOffice: GOffice 0.10 or later
  • Ruby/Gnumeric: Gnumeric 1.12 or later

Advanced Installation

% ruby extconf.rb
% make
% sudo make install

To compile and install a particular sub-binding, you can add arguments:

% ruby extconf.rb [subdir]...
e.g.) ruby extconf.rb glib2 pango atk gdk_pixbuf2 gtk2

Or you can compile each sub-binding:

% cd <each sub-directory>
% ruby extconf.rb
% make
% sudo make install

extconf.rb options

  • --ruby

    • ruby directory
  • --topsrcdir

    • top source directory
  • --topdir

    • top directory
  • --strict

    • if some libraries fail to compile/install, "make" command returns 1(exit 1)

Bugs

Please report bugs either in our bug tracker

or on the ruby-gnome2-devel-en / ruby-gnome2-devel-ja mailing list

Copying

Copyright (c) 2002-2018 Ruby-GNOME2 Project Team

This program is free software. You can distribute/modify this program under the terms of the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.

Exceptions

Some GTK+ 3 examples are licensed under GNU Free Documentation License 1.3 or any later version later; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.

Because they are based on scripts in PyGObject-Tutorial. PyGObject-Tutorial is licensed under GFDL 1.3.

See gtk3/examples/ directory for details.

Project Website

https://ruby-gnome2.osdn.jp/