Contents

Stable and unstable packages

Beagle packages are available in Debian.

Stable/Etch contains the old 0.2.12 version, which has a few problems such as excessive memory use and Word files not being indexed.

Unstable/Sid usually is up-to-date with the latest Beagle version. (It is probably a bad idea to install the Beagle-version from unstable on an Etch system, because that will update key libraries).

Use the normal package management to install. You may want to install poppler-utils and gnumeric as well, to get indexation of PDF and Excel-files. Example:

 apt-get install beagle poppler-utils gnumeric

After install read the instructions from /usr/share/doc/beagle/README.Debian

Building Beagle on Debian

The following guide will allow you to compile and run Beagle, however without gsf-sharp, gst-sharp, or Evolution addressbook support.

preliminaries

First, make sure you have enabled extended attributes on your home partition.

It is highly recommended you enable inotify support in the kernel, too.

mono package sources

The required mono packages are in the unstable distribution. If you are running unstable already, you shouldn't need to change your sources. If you are running sarge or etch however, edit your /etc/apt/sources.list file and add the following lines:

deb     http://ftp.debian.org/debian unstable main non-free contrib
deb-src http://ftp.debian.org/debian unstable main non-free contrib

...Or be kind and use a mirror[1] nearer to you instead.

If you want to continue running a sarge system, add APT::Default-Release "stable"; to /etc/apt/apt.conf. For Etch, you want APT::Default-Release "testing";. Then, run apt-get update.

dependencies

Install build dependency packages:

# apt-get install libgtkspell-dev libglib2.0-dev mozilla-dev libexif-dev \
libgnomevfs2-dev libgnome2-dev libgconf-cil libgecko-cil libgecko2.0-cil libglade-cil \
libglib-cil libgnome-cil libgtk-cil libvte-cil libmono-dev mono \
gtk-sharp mono-mcs intltool gtk-doc-tools libsqlite0 libsqlite0-dev \
mono-devel mono-jay libgnomeui-dev zip docbook-utils cli-common mono-jit mono-classlib-1.0

Using this installation procedure and with the stable distribution fixed in apt.conf I encountered dependency errors. These could be overcome by fixing the target distribution using the -t unstable command:

# apt-get install -t unstable \
libgtkspell-dev libglib2.0-dev mozilla-dev libexif-dev \
libgnomevfs2-dev libgnome2-dev libgconf-cil libgecko-cil libgecko2.0-cil libglade-cil \
libglib-cil libgnome-cil libgtk-cil libvte-cil libmono-dev mono \
gtk-sharp mono-mcs intltool gtk-doc-tools libsqlite0 libsqlite0-dev \
mono-devel mono-jay libgnomeui-dev zip docbook-utils cli-common mono-jit mono-classlib-1.0

Be aware that a lot of files will be downloaded from your unstable mirror!

You may also need to install libxss-dev in order to overcome a dependency problem with screensaver extensions:

# apt-get install libxss-dev

gmime

You will need to build gmime, as the mono bindings are not enabled by default. However, the build processes creates them if you have mono installed, so the process is quite simple. From a working directory:

$ apt-get source gmime2.1
$ cd gmime2.1-*/
$ dpkg-buildpackage -rfakeroot
# dpkg -i ../libgmime2.1*.deb
# cp -rp ./debian/tmp/* /

Update: The gmime2.1 mono bindings are now available from Debian unstable, so instead of building them from source you can install them directly:

# apt-get install libgmime2.1-cil

Update: Beagle 0.1.0 requires a newer version of gmime to build, you can grab a more recent version here.

Edit: After following the above instructions on Etch, I needed to install gtk-sharp2 in order to build gmime from the .tar.gz.

# ./configure && make && sudo make install

Optional prerequisites

Some of the optional prerequisites are available as debian packages.

program package
wv1 not entirely available[2]
pdfinfo xpdf-utils
Firefox mozilla-firefox
ssindex gnumeric

Finally

build Beagle.


This page was last modified 19:49, 7 January 2008. This page has been accessed 37,910 times.

  
MediaWiki

Copyright © 2004-2007