Version 6 (modified by sander, 10 years ago) (diff)


The People at Itaapy have written a tool that can greek (anonymise) an ODF document. This functionality can be tied into Officeshots. To do that, the script needs to be installed locally.


  • Python 2.5
  • Python GObject with GIO bindings (python-gobject)

Installing python-gobject

The Debian Lenny version of python-gobject is too old. It lacks the GIO interface required by iTools. Therefor we need to backport this package from Debian Squeeze. You can't install the Squeeze version directly because it will cause a lot of package conflicts on your system.

install dependencies

A few packages package is required to use python-gobject. They available from

# aptitude install -t lenny-backports gobject-introspection libglib2.0-0 libglib2.0-dev

Backport python-gobject

Create a directory and download the source code. Note that you need to add the Debian Squeeze repositories to your sources.list.

$ mkdir python-gobject
$ cd python-gobject
$ apt-get source python-gobject

Install the buils dependencies.

# apt-get build-dep python-gobject

Build the package

$ cd pygobject-2.21.1
$ dpkg-buildpackage -us -uc -rfakeroot

Install the newly built packages.

# cd ..
# dpkg -i python-gobject_2.21.1-2_i386.deb


Check out a copy of the upstream Git repository.

$ git clone git://
$ cd itools
$ git branch 0.60 origin/0.60
$ git checkout 0.60

Run the installation:

# python ./ install