Skip to content
This repository

A set of bindings for the GNOME-2.x libraries to use from Ruby.

Merge pull request #231 from detlefreichl/colorbutton

add initialization with Gdk::RGBA value

Patch by Detlef Reichl. Thanks!!!
latest commit d2ad37440a
Kouhei Sutou kou authored
Octocat-spinner-32 atk atk windows: support built_file December 25, 2013
Octocat-spinner-32 cairo-gobject cairo-gobject: add tests November 13, 2013
Octocat-spinner-32 clutter-gstreamer clutter-gstreamer: prevent gi reload when error occurred. March 09, 2014
Octocat-spinner-32 clutter-gtk clutter-gtk: prevent gi reload when error occurred. March 09, 2014
Octocat-spinner-32 clutter clutter: skip a not defined task April 02, 2014
Octocat-spinner-32 gdk3-no-gi gdk3-no-gi: disable running test April 12, 2014
Octocat-spinner-32 gdk3 gdk3 test: Gdk::Event* class initialize takes one argument April 15, 2014
Octocat-spinner-32 gdk_pixbuf2 gdk_pixbuf2 windows: upgrade bundled gdk-pixbuf March 09, 2014
Octocat-spinner-32 gio2 gio2: add missing depend to install .pc March 11, 2014
Octocat-spinner-32 glib2 glib2: return boolean for checking_for April 13, 2014
Octocat-spinner-32 gobject-introspection gi: add Loader.register_constant_rename_map April 14, 2014
Octocat-spinner-32 goocanvas goocanvas: prevent gi reload when error occurred. March 09, 2014
Octocat-spinner-32 gstreamer gstreamer: prevent gi reload when error occurred. March 09, 2014
Octocat-spinner-32 gtk2 Revert "gtk2 homebrew: fix package name" April 13, 2014
Octocat-spinner-32 gtk3 this time make it realy work April 14, 2014
Octocat-spinner-32 gtksourceview2 gtksourceview2: suppress a warning March 08, 2014
Octocat-spinner-32 gtksourceview3 gtksourceview3: remove gdk3 dependency for building April 07, 2014
Octocat-spinner-32 gvlc Remove needless required_ruby_version = ">= 1.9.3" December 28, 2013
Octocat-spinner-32 pango pango windows: upgrade bundled HarfBuzz and Pango March 09, 2014
Octocat-spinner-32 poppler poppler windows: upgrade bundled Poppler March 09, 2014
Octocat-spinner-32 rsvg2 rsvg2 windows: support built_file December 26, 2013
Octocat-spinner-32 vte Update LGPL 2.1 files October 16, 2013
Octocat-spinner-32 vte3-gi vte3-gi: remove needless variable assign April 08, 2014
Octocat-spinner-32 vte3 vte3: remove gdk3 dependency fo rbuilding April 07, 2014
Octocat-spinner-32 webkit-gtk webkit-gtk: prevent gi reload when error occurred. March 09, 2014
Octocat-spinner-32 webkit-gtk2 webkit-gtk2: prevent gi reload when error occurred. March 09, 2014
Octocat-spinner-32 .dir-locals.el Use .dir-locals.el for all common configuration January 03, 2013
Octocat-spinner-32 .gitignore gi: add BUILD_VERSION December 25, 2012
Octocat-spinner-32 .travis.yml glib2: support Ruby head March 11, 2014
Octocat-spinner-32 AUTHORS Updated news for upcoming release, tagged binding version as 0.17.0 March 19, 2008
Octocat-spinner-32 COPYING.LIB Update LGPL 2.1 files October 16, 2013
Octocat-spinner-32 Gemfile Use URI for RubyGems source March 28, 2013
Octocat-spinner-32 NEWS Fill 2.2.0 entry March 09, 2014
Octocat-spinner-32 README update READMEs October 13, 2013
Octocat-spinner-32 Rakefile Don't build needless Ruby modules for testing March 09, 2014
Octocat-spinner-32 exec_make.rb * extconf.rb, exec_make.rb: Support MSVC++(nmake). January 31, 2005
Octocat-spinner-32 extconf.rb gdk3-no-gi: remove from build target April 04, 2014
Octocat-spinner-32 release.rd * release.rd: add about SVN_USER parameter. September 18, 2011
Octocat-spinner-32 run-test.rb Don't run deprecated module November 24, 2013
Octocat-spinner-32 travis-before-script.sh travis: fix unable to fetch error January 10, 2014
README
# -*- RD -*-

= README

== Ruby-GNOME2 -- Ruby bindings for GNOME-2.x

This is a set of bindings for the GNOME-2.x and GNOME-3.x libraries to
use from Ruby 1.9.x and 2.0.0.

== 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-gtk2 - Ruby/GTK2
  * Ruby/GDK3:            GTK+ 3.4.2 or later
  * Ruby/GTK3:            GTK+ 3.4.2 or later

=== ruby-gnome2-all

  * ruby-gtk2 + ruby-gtk3 - duplicated libraries
  * 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/GtkSourceView2:  GtkSourceView 2.0.0 or later
  * Ruby/GIO2:            GIO 2.16.x or later
  * Ruby/CairoGObject:    cairo-gobject 1.12.10 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/VTE3:            VTE 0.32.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/GStreamer:       GStreamer 1.0.0 or later
  * Ruby/GooCanvas:       GooCanvas 0.8.0 or later

=== Experimental / Incomplete:

  * ...

=== Deprecated

  * Ruby/PanelApplet:     gnome-panel 2.6.0 or later (deprecated since 0.16.0)
  * Ruby/GConf2:          GConf 2.0.x or later
  * Ruby/GNOME2:          libgnome-2.0.x, libgnomeui-2.0.x or later
  * Ruby/GnomeCanvas2:    libgnomecanvas-2.0.x or later
  * Ruby/GnomePrint:      libgnomeprint-2.8.x or later
  * Ruby/GnomePrintUI:    libgnomeprintui-2.6.x or later
  * Ruby/GnomeVFS:        GnomeVFS 2.0.x or later
  * Ruby/GtkHtml2:        GtkHtml2 2.0.x or later
  * Ruby/GtkGLExt:        GtkGLExt 1.0.3 or later
  * Ruby/Libart2:         libart_lgpl 2.3.12 or later
  * Ruby/GtkSourceView:   GtkSourceView 1.0.1 or later
  * Ruby/Libglade2:       Libglade 2.0.x or later
  * Ruby/GtkMozEmbed:     GtkMozEmbed (Mozilla 1.7.x or FireFox-1.0.x or later)

== Install

  % 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)

=== Environment Variables

: CAIRO_PATH
    rcairo path (for Win32).

=== Dependencies

You should install a sub-binding with its dependencies.  The
current dependencies are:

: Ruby/GLib
   none.

: Ruby/ATK
   depends on Ruby/GLib.

: Ruby/Pango
   depends on Ruby/GLib, rcairo(optional).

: Ruby/GdkPixbuf
   depends on Ruby/GLib.

: Ruby/GTK
   depends on Ruby/GLib, Ruby/ATK, Ruby/Pango,
   Ruby/GdkPixbuf, rcairo(optional)

: Ruby/RSVG
   depends on Ruby/GLib, Ruby/GdkPixbuf2.

: Ruby/Poppler
   depends on Ruby/GLib, Ruby/GdkPixbuf(optional), rcairo(optional).

: Ruby/VTE
   depends on Ruby/GTK.

: Ruby/GtkSourceView2
   depends on Ruby/GTK.

: Ruby/GIO2
   depends on Ruby/GLib.

=== Experimental

: Ruby/GStreamer
   depends on Ruby/GLib.

: Ruby/GooCanvas
   depends on Ruby/GTK.

=== Deprecated

: Ruby/PanelApplet
   depends on Ruby/GTK (since libpanel-applet 2.25) or
   Ruby/GNOME (before libpanel-applet 2.25).

: Ruby/Libart
   depends on Ruby/GLib(Use mkmf-gnome2.rb only).

: Ruby/GConf
   depends on Ruby/GLib.

: Ruby/GNOME
   depends on Ruby/GnomeCanvas.

: Ruby/GnomeCanvas
   depends on Ruby/GTK, Ruby/Libart.

: Ruby/GnomeVFS
   depends on Ruby/GLib.

: Ruby/GnomePrint
   depends on Ruby/GLib, Ruby/Pango, Ruby/Libart2.

: Ruby/GnomePrintUI
   depends on Ruby/GTK, Ruby/GnomePrint.

: Ruby/GtkHtml2
   depends on Ruby/GTK.

: Ruby/GtkGLExt
   depends on Ruby/GTK, rbogl.

: Ruby/GtkSourceView
   depends on Ruby/GTK.

: Ruby/Libglade
   depends on Ruby/GTK, Ruby/GNOME(optional), REXML(optional).

== Bugs

Please report bugs either in our bug tracker
((<URL:http://sourceforge.net/tracker/?group_id=53614&atid=470969>))

or on the ruby-gnome2-devel-en / ruby-gnome2-devel-ja mailing list
((<URL:http://sourceforge.net/mail/?group_id=53614>))

== Copying

Copyright (c) 2002-2009 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.

== Project Website

((<URL:http://ruby-gnome2.sourceforge.jp/>))
Something went wrong with that request. Please try again.