Skip to content

ruby-gnome/ruby-gnome

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 13, 2022 06:33
January 15, 2023 15:59
April 15, 2023 23:46
December 1, 2018 09:48
April 16, 2023 15:07
May 4, 2023 10:18
gsf
January 7, 2021 16:55
January 5, 2019 18:38
April 16, 2023 00:37
January 15, 2023 15:59
January 31, 2023 16:54
January 15, 2023 15:59
April 19, 2022 15:22
December 1, 2018 09:48
March 18, 2020 16:57
October 16, 2013 23:20
May 4, 2023 06:53
September 1, 2022 23:43
January 31, 2023 16:54
October 19, 2022 16:08
July 19, 2022 05:56
January 31, 2023 16:54

Ruby-GNOME

Gem Version

Ruby-GNOME Logo Ruby bindings for GNOME

This is a set of bindings for the GNOME 3.x and 4.x libraries to use from Ruby 2.5, 2.6 and 2.7.

Installation

Install the current releases.

The gems of the Ruby-GNOME 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.

Create Gemfile like the following:

source "https://rubygems.org/"

git "https://github.com/ruby-gnome/ruby-gnome.git" do
  gem "gtk3"
end

Install these gems by Bundler:

% bundle install

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-2021 Ruby-GNOME 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/sample/ directory for details.

Project Website

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