Skip to content

Building on *NIX

dx edited this page May 16, 2016 · 4 revisions

Dependencies

Make sure glib, json-glib, libpurple (pidgin), and zlib are installed with their headers and development information.

If these packages came from the distribution's repository, they will likely need additional development packages, usually suffixed with -dev.

Debian and Derivatives (Ubuntu, Mint, etc)

  • Only required for git builds (not release tarballs):
    • autoconf
    • automake
    • libtool
    • mercurial
  • build-essential
  • libglib2.0-dev
  • libjson-glib-dev
  • libpurple-dev

Compiling

You can build either from a release tarball (which is slightly easier and takes less time), or from the latest git/mercurial revision (if you really need something not included in the last release).

From A Release Tarball

Download the latest release tarball (the first .tar.gz, not the ones labeled "source code")

$ tar xvf purple-facebook-*.tar.gz
$ cd purple-facebook-*
$ ./configure
$ make

From the Git Repository

Building from this git repository additionally requires autoconf, automake and mercurial (for update.sh).

$ git clone https://github.com/jgeboski/purple-facebook.git
$ cd purple-facebook
$ ./autogen.sh
$ make

Installing

System-Wide Installation

For most cases just running this as root (with su or sudo) will be enough:

# make install

This will install it to /usr/lib/purple-2

Local Installation (to your user home)

$ mkdir -p ~/.purple/plugins
$ cp pidgin/libpurple/protocols/facebook/.libs/libfacebook.so ~/.purple/plugins

Using the Plugin

See: Basic Usage

You can’t perform that action at this time.