Skip to content

Compiling Synapse for Debian Jessie using Debian Way

** I am not a Debian Developer / I can not guarantee that the following build wont crash your pc **

I have no idea why there is a version of synapse for Debian Wheezy and Sid, but no for Jessie (Debian Stable) [1]

You can follow these steps to build by yourself ‘synapse’ or you can download  my version [2]**.

If you don’t have build-essential, install it:

$ sudo apt-get install build-essential devscripts debhelper fakeroot

Install some dependencies before download the source code. It worth note that you also should install vala compiler (valc) and many other dependencies.

$ sudo apt-get install libvala-0.26-dev libzeitgeist-dev libdbus-glib-1-dev libgtk2.0-dev libglib2.0-dev libgee-dev libjson-glib-dev libunique-dev libgtkhotkey-dev librest-dev libnotify-dev libgtk-3-dev libgee-0.8-dev libkeybinder-3.0-dev libzeitgeist-2.0-dev

Download synapse for Debian Sid and compile over Debian Jessie. I don’t wanna mix my Debian Stable repos with Debian Sid. I always compile by myself.

$ mkdir buildsynapse ; cd buildsynapse
$ dget

The output should be something like that

Good signature found
validating synapse_0.2.99.1.orig.tar.xz
validating synapse_0.2.99.1-1.debian.tar.xz
All files validated successfully.
dpkg-source: info: extracting synapse in synapse-
dpkg-source: info: unpacking synapse_0.2.99.1.orig.tar.xz
dpkg-source: info: unpacking synapse_0.2.99.1-1.debian.tar.xz
dpkg-source: info: applying 0001-silence-desktop-entry-lacks-keywords-entry.patch

$ cd synapse-

You can check other dependencies in ‘debian/control’ file. Make sure that no library is missing:

$ sudo apt-get install  intltool  pkg-config valac  libzeitgeist-2.0-dev libdbus-glib-1-dev libgtk-3-dev  libgee-0.8-dev  libjson-glib-dev  libkeybinder-3.0-dev  libnotify-dev

Now, we can run DebBuilder without checking file signature

$ debuild -us -uc

If everything worked, you should have the following output:

dpkg-deb: building pakage ‘synapse’ em ‘../synapse_0.2.99.1-1_amd64.deb’.
dpkg-deb: building pakage ‘synapse-dbg’ em ‘../synapse-dbg_0.2.99.1-1_amd64.deb’.
dpkg-genchanges  >../synapse_0.2.99.1-1_amd64.changes

You can install. The .deb file is located in upper directory

$ cd ..
$ sudo dpkg -i synapse_0.2.99.1-1_amd64.deb

You may check if everything went to its place

$ dpkg -L synapse


You can test it running

$ synapse

You are good to go!

You can use the old good style: ./configure ; make && make install or ./configure ; make && checkinstall




Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.