diff --git a/documentation/installation/debian_ubuntu.md b/documentation/installation/debian_ubuntu.md index 0e857562..3b09e575 100644 --- a/documentation/installation/debian_ubuntu.md +++ b/documentation/installation/debian_ubuntu.md @@ -2,35 +2,5 @@ layout: page title: Spectrum 2 --- -### Using spectrum repository -We have APT repositories for Debian and Ubuntu that make it very easy to install Spectrum 2. -To use the repositories, just add the following lines to `/etc/apt/sources.list`: - - deb http://repo.spectrum.im $dist main - -where $dist is either lucid, oneiric, precise, quantal, sid, squeeze, wheezy. If you are unsure, you can usually find your distribution in the file /etc/lsb-release. We also have a source repository at the same location if you want to build the package yourself. - - apt-get update - -### Building packages for different distributions/architectures -At now we do not have resources to support all different debian-based distributions and/or architectures, but you always can create packages for desired distribution yourself. -All required files for building Spectrum debian packages are present in the `packaging/debian` directory of spectrum Git repository. Most of required dependencies should be in the main Debian/Ubuntu repositories, except: - -1. Swiften - the old Swiften library used by Spectrum is present in stable [Debian](https://packages.debian.org/jessie/libswiften-dev) and [Ubuntu LTS](http://packages.ubuntu.com/trusty/libswiften-dev) but may be missing in unstable/rolling Debian/Ubuntu trees. However, you can use their own [Debian/Ubuntu repository](https://github.com/hanzz/spectrum2/blob/master/.travis.yml#L10) or create packages yourself using the same method described here for Spectrum :) -2. Communi - this library is unavailable in Debian/Ubuntu, but we provide a special [repository](https://github.com/vitalyster/libcommuni-gbp) from which you can build libcommuni - -#### Packaging for your current distribution -[TBD] -#### Creating package for different debian-based distro -We will show how to build Spectrum for the popular [Raspberry Pi](https://www.raspberrypi.org/) (or any similar) ARM-based machine with Debian-based distribution installed on it - -[TBD] - -### Install spectrum2 - -After you have done that, simply do: - - apt-get install spectrum2 spectrum2-backend-libpurple - -Note that these repositories pull in quite a few dependencies, depending on the distribution you use. +This is old page, please read [this page](packages_debian_ubuntu.html) intead. diff --git a/documentation/installation/packages_debian_ubuntu.md b/documentation/installation/packages_debian_ubuntu.md index fa33fd93..91679262 100644 --- a/documentation/installation/packages_debian_ubuntu.md +++ b/documentation/installation/packages_debian_ubuntu.md @@ -23,8 +23,8 @@ You need to rebuild source libcommuni and spectrum packages from our source pack # apt-get install devscripts fakeroot libssl-dev libqt4-dev # dget -x http://packages.spectrum.im/spectrum2/pool/main/c/communi/communi_3.4.0-1.dsc # cd communi_3.4.0-1 && dpkg-buildpackage -rfakeroot -us -uc && cd .. - # apt-get install libpurple-dev libswiften-dev libprotobuf-dev libmysqlclient-dev liblog4cxx10-dev protobuf-compiler libpopt-dev libdbus-glib-1-dev libpqxx3-dev cmake libevent-dev libboost-all-dev libidn11-dev libxml2-dev libavahi-client-dev libavahi-common-dev libcurl4-openssl-dev libsqlite3-dev - # dget -x http://packages.spectrum.im/spectrum2/pool/main/s/spectrum2/spectrum2_2.0.0-1.dsc - # cd spectrum2_2.0.0-1 && dpkg-buildpackage -rfakeroot -us -uc && cd .. + # apt-get install libpurple-dev libswiften-dev libprotobuf-dev libmysqlclient-dev liblog4cxx10-dev protobuf-compiler libpopt-dev libdbus-glib-1-dev libpqxx3-dev cmake libevent-dev libboost-all-dev libidn11-dev libxml2-dev libavahi-client-dev libavahi-common-dev libcurl4-openssl-dev libsqlite3-dev libcommuni-dev + # dget -x http://packages.spectrum.im/spectrum2/pool/main/s/spectrum2/spectrum2_2.0.1-1.dsc + # cd spectrum2_2.0.1-1 && DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc && cd .. When the compilation process has ended the .deb packages for libcommuni and spectrum will be generated in the current directory and can be installed with `dpkg -i < filename.deb >`.