[ANN] D-Bus/Ruby 0.1.4

Hi,

I’m happy to announce the first public release of D-Bus/Ruby.

What is it?

···

========

Ruby bindings for the D-BUS message bus found on more recent versions
of Linux (and possibly BSDs, in the future).

How do I get it?

DBus/Ruby is available from RPA (http://rubyarchive.org), the next
release will be available in RubyGem format as well.

You can also download a .tar.gz or .zip from RubyForge:

http://rubyforge.org/projects/dbus-ruby/

What does it require?

It requires that you have at least version 0.22 of D-BUS installed on
your system, as well as the Glib2 bindings from Ruby/GNOME2. Earlier
versions of D-BUS may or may not work, no guarantees.

If you’re on a Debian system, do:

$ apt-get install libglib2-ruby dbus-glib-1-dev

To grab the necessary build dependencies.

What can I do with it?

D-BUS may become the primary IPC mechanism for GUI desktop
applications on Linux and possibly other Unixes as well. Both GNOME
and KDE have committed to using it as a common IPC mechanism. Its not
tied to the GUI though, and doesn’t have a dependency on GNOME or KDE
libraries, its only dependency is an XML parser.

Since HAL (used on recent Linux distributions such as Ubuntu or Fedora
Core 3) uses D-BUS as well, you can hook into the Global Device List
of all hardware devices on your system as enumerated by HAL, and
receive notifications on hardware addition/removal/status changes,
query device properties, etc.

The list of applications using D-BUS is likely to keep on growing.

See the examples/ directory in the source for some examples of usage.

Is there documentation?

This release has only API documentation, but I believe it to be pretty complete:

http://dbus-ruby.rubyforge.org/doc/api/0.1.4/

Bugs

Please don’t bug the FreeDesktop people with bugs in the bindings,
I’ll forward any bugs in D-BUS itself on to them.

Reporting to the RubyForge bugtracker is fine:

http://rubyforge.org/tracker/?atid=1838&group_id=463&func=browse

More info on D-BUS:

http://www.freedesktop.org/wiki/Software_2fdbus

Leon

I'm happy to announce the first public release of D-Bus/Ruby.

[...]

Ruby bindings for the D-BUS message bus found on more recent versions
of Linux (and possibly BSDs, in the future).

How do I get it?

DBus/Ruby is available from RPA (http://rubyarchive.org), the next
release will be available in RubyGem format as well.

You forgot to give the port name :wink:
  
   rpa install dbus

···

On Wed, Nov 24, 2004 at 08:51:39PM +0900, leon breedt wrote:

====

Port: dbus
Classification: Top.Library
Available-Version: 0.1.4-3
RPA-Version: 0.0
Updated: Wed, 24 Nov 2004 12:47:05 +0100
Source-URL: http://rpa-base.rubyforge.org/ports/dbus_0.1.4-3.rps
Description:
  Ruby bindings for D-BUS.
  .
  This module allows Ruby programs to interface with the D-BUS message
  bus installed on newer Unix operating systems.
  .
  You must have the D-BUS library, and the Ruby Glib2 bindings installed
  to build this module.

--
Hassle-free packages for Ruby?
RPA is available from http://www.rubyarchive.org/

leon breedt <bitserf@gmail.com> writes:

Hi,

I'm happy to announce the first public release of D-Bus/Ruby.

You are a glorious golden god and I like you very much.

Glad you like it :slight_smile:

I'm interested to know whether you find the wrapping API in the DBus
module (http://dbus-ruby.rubyforge.org/doc/api/0.1.4/\) easy enough to
use. Its currently a bit Pythonic as I used the Python bindings as a
starting point. I'm planning on making it more Ruby-like for the next
release though.

Leon

···

On Thu, 25 Nov 2004 00:42:21 +0900, Mikael Brockman <mikael@phubuh.org> wrote:

You are a glorious golden god and I like you very much.