From d63917759fa575f5e7a42003f1a6a5b7aac8ae6f Mon Sep 17 00:00:00 2001 From: vitalyster Date: Thu, 6 Oct 2016 12:36:49 +0300 Subject: [PATCH] Update packages_debian_ubuntu.md --- .../installation/packages_debian_ubuntu.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/documentation/installation/packages_debian_ubuntu.md b/documentation/installation/packages_debian_ubuntu.md index 08ccce5a..019fafd4 100644 --- a/documentation/installation/packages_debian_ubuntu.md +++ b/documentation/installation/packages_debian_ubuntu.md @@ -19,16 +19,19 @@ At the moment we support AMD64 and armhf (for ARM-based machines, like Raspberry You need to rebuild source libcommuni and spectrum packages from our source package repository: - # apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-keys 1AFDEA51 - # 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-key adv --keyserver hkp://pool.sks-keyservers.net --recv-keys 1AFDEA51 + $ 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 libcommuni-dev - # dget -x http://packages.spectrum.im/spectrum2/pool/main/s/spectrum2/spectrum2_2.0.3-1.dsc - # cd spectrum2_2.0.3-1 && DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc && cd .. + $ dget -x http://packages.spectrum.im/spectrum2/pool/main/s/spectrum2/spectrum2_2.0.3-1.dsc + $ cd spectrum2_2.0.3-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 >`. +### Troubleshooting +If you got gpg verification error, then `dscverify` can not find appropriate keystore, see http://askubuntu.com/a/215008 for fix. This shouldn't happened if you are install keys and build packages from the same account (Note, building doesn't require root) + ## Quick packaging with CPack If you want to test latest changes and save time on full rebuild of all packages, you can quickly create a single package from usual build tree, like: