Coder Social home page Coder Social logo

cyclotron3k / ruby-gnome Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ruby-gnome/ruby-gnome

0.0 1.0 0.0 32.6 MB

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

Home Page: http://ruby-gnome2.osdn.jp/

License: Other

Shell 0.12% Ruby 50.33% C++ 0.03% C 45.79% Emacs Lisp 0.01% CSS 0.36% Makefile 0.01% GLSL 0.01% Dockerfile 0.10% R 3.25%

ruby-gnome's Introduction

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/

ruby-gnome's People

Contributors

arjunmenon avatar aurelj avatar cedlemo avatar cosmo0920 avatar dai-vdr avatar dmaciejak avatar geoffyoungs avatar htrb avatar ismailarilik avatar kitachro avatar kojix2 avatar kou avatar kubo avatar lilole avatar masaakiaoyagi avatar matobinder avatar mephistobooks avatar msakai avatar mvz avatar myokoym avatar peterzhu2118 avatar pterjan avatar shiro615 avatar sjoerdsimons avatar smellman avatar spchamp avatar ted-n avatar vasfed avatar vinc-mai avatar yselkowitz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.