Changeset - 39edd165e6ef
[Not reviewed]
0 1 0
vitalyster - 9 years ago 2016-06-01 13:34:20
vitalyster@gmail.com
Update packages_debian_ubuntu.md
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
documentation/installation/packages_debian_ubuntu.md
Show inline comments
 
@@ -22,16 +22,16 @@ You need to rebuild source libcommuni and spectrum packages from our source pack
 
        # 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 ..
 

	
 
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 >`.
 

	
 
## Quick packaging with CPack
 

	
 
If you want to test latest changes and save time on full rebuilding all packages, you can quickly create a single package from usual build tree, like:
 
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:
 

	
 
        # cpack -G DEB -D CPACK_PACKAGE_CONTACT="Your Name <your@email.address>" -D CPACK_PACKAGE_NAME="spectrum2-nightly" -D CPACK_PACKAGE_FILE_NAME="spectrum2-nightly" -D CPACK_PACKAGE_VERSION="2.0.x" -D CPACK_DEBIAN_PACKAGE_DEPENDS="libboost-all-dev (>= 1.49), libc6 (>= 2.14), libswiften2 | libswiften3, libcurl3, liblog4cxx10, libpurple0" -D CPACK_DEBIAN_PACKAGE_CONFLICTS="spectrum2, spectrum2-backend-libpurple, spectrum2-backend-twitter, spectrum2-backend-swiften, spectrum2-dbg, libtransport2.0, libtransport-plugin2.0"
 

	
0 comments (0 inline, 0 general)