Compiling and testing GNOME System Tools

  1. Choose a test directory and point envvars to it (i.e.: your jhbuild environment):

$ export PKG_CONFIG_PATH=$DBUS/gst-test/lib/pkgconfig:$PKG_CONFIG_PATH
  1. Download & install Net::Dbus :

$ wget http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/Net-DBus-0.33.2.tar.gz
$ tar -zxvf Net-DBus-0.33.2.tar.gz
$ cd Net-DBus-0.33.2
$ perl ./Makefile.PL PREFIX=$HOME/gst-test/
$ make
$ make install
  1. Download & install system-tools-backends:

$ wget http://ftp.gnome.org/pub/GNOME/sources/system-tools-backends/1.9/system-tools-backends-1.9.0.tar.bz2
$ tar -jxvf system-tools-backends-1.9.0.tar.bz2
$ cd system-tools-backends-1.9.0
$ ./configure --prefix=$HOME/gst-test/ --with-net-dbus=$HOME/gst-test/lib/perl/
$ make
$ make install
  1. Download & install liboobs:

$ wget http://ftp.gnome.org/pub/GNOME/sources/liboobs/0.1/liboobs-0.1.0.tar.bz2
$ tar -jxvf liboobs-0.1.0.tar.bz2
$ cd liboobs-0.1.0
$ ./configure --prefix=$HOME/gst-test/
$ make
$ make install
  1. Download & install gnome-system-tools, a fairly recent Gtk+ will be necessary:

$ wget http://ftp.gnome.org/pub/GNOME/sources/gnome-system-tools/2.15/gnome-system-tools-2.15.0.tar.bz2
$ tar -jxvf gnome-system-tools-2.15.0.tar.bz2
$ cd gnome-system-tools-2.15.0
$ ./configure --prefix=$HOME/gst-test/
$ make
$ make install
  1. If the DBus daemon prefix isn't the same than the one you're using, copy the conf file:

# cp $HOME/gst-test/etc/dbus-1/system.d/system-tools-backends.conf /etc/dbus-1/system.d/
  1. Backup your configuration files, if you're unsure of which ones (s-t-b doesn't touch more than necessary, really), you can tar your whole /etc)
  2. Run from one console the backend service, this task can be done as user too, so the changes wouldn't be applied, but to make sure that everything is OK, it's best to run it as root. The --report arg will make the backend notify through stderr of all the changes done.

$ sudo $HOME/gst-test/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl --report
  1. Run the tools, add stuff, modify stuff, delete stuff, and test that everything works as expected, and nag CarlosGarnacho if something doesn't.

Attic/GnomeSystemTools/CompilingAndTesting (last edited 2013-11-20 07:59:37 by WilliamJonMcCann)