Net-DBus-GLib
view release on metacpan or search on metacpan
Net::DBus::GLib
===============
Net::DBus::GLib provides a Perl XS API to the dbus glib bindings.
Currently it performs integration with the glib main loop context.
For more information on dbus visit the project website at:
http://www.freedesktop.org/software/dbus/
This version operates against DBus 0.33, through 1.1.2 and
probably later versions, if there have been no serious API
changes. It works against dbus-glib 033, through 0.73 and
probably later versions.
INSTALLATION
------------
To install this module type the following:
perl Makefile.PL
make
make test
sudo make install
The makefile calls the C<pkg-config> script to determine the
correct flags to pass to the compiler & linkers when building
the XS part of the module. Thus, ensure pkg-config is in
a directory listed by the $PATH environment.
The pkg-config program will likely find the DBus install in /usr
provided by the base OS distribution, so if testing against an
alternate install of DBus, set the $PKG_CONFIG_PATH env
variable before generating the Makefile. For example, if your
dbus installation is in C<$HOME/usr/dbus-cvs-tip> , then to build
and install against this version of DBus do
export PKG_CONFIG_PATH=$HOME/usr/dbus-cvs-tip/lib/pkg-config
perl Makefile.PL PREFIX=$HOME/usr/dbus-cvs-tip
make
make test
make install
DEPENDENCIES
------------
This module requires the following:
Net::DBus
Glib
dbus-glib
And to run the test suite:
Test::More
Test::Pod (optional, but recommended)
Test::Pod::Coverage (optional, but recommended)
Although they are not part of the base Perl distribution, most
OS distributor will already provide addon packages containing
these modules. Failing this, they are all available from CPAN
http://search.cpan.org/
EXAMPLES
--------
There are a number of example programs in the examples/
subdirectory demonstrating use of the high level application
( run in 1.231 second using v1.01-cache-2.11-cpan-39bf76dae61 )