en:debian
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:debian [2010/10/17 15:36] – external edit 127.0.0.1 | en:debian [2024/04/24 16:54] (current) – kukuruzo | ||
---|---|---|---|
Line 3: | Line 3: | ||
In debian testing and sid and in the ubuntu packages are in the official repositories. | In debian testing and sid and in the ubuntu packages are in the official repositories. | ||
- | |||
< | < | ||
sudo apt-get install psi-plus psi-plus-plugins psi-plus-icons psi-plus-skins | sudo apt-get install psi-plus psi-plus-plugins psi-plus-icons psi-plus-skins | ||
Line 9: | Line 8: | ||
- | ===== Building Psi + on Debian and Debian-based systems from scratch (on the bare system) ===== | + | ===== Nightly builds |
+ | === Ubuntu === | ||
- | ==== What may be needed and how to build? ==== | + | Follow the instruction on adding ppa https:// |
- | Your system may not be **QtCrypto** and **QtDev**> | + | === Debian === |
- | + | ||
- | Install packages to build Psi +. Installed once at the first build: | + | |
+ | Adding of [[https:// | ||
< | < | ||
- | sudo apt-get install git-core qt4-dev-tools libqt4-dev build-essential subversion patch | + | 1) echo "deb https:// |
- | </code> | + | 2) sudo touch / |
+ | 3) sudo nano /etc/ | ||
- | Remove previous build to build " | + | Package: * |
+ | Pin: release o=notesalexp.org | ||
+ | Pin-Priority: | ||
- | < | + | Package: psi-plus* |
- | cd ~ | + | Pin: release o=notesalexp.org |
- | rm -rf psi | + | Pin-Priority: 500 |
- | </ | + | |
- | Download the Psi source code and submodules from git: | + | 4) ^o |
- | + | 5) enter | |
- | < | + | 6) ^x |
- | git clone git://git.psi-im.org/psi.git | + | 7) sudo apt-get install apt-transport-https |
- | cd psi | + | 8) sudo apt-get update -oAcquire:: |
- | git submodule update | + | 9) sudo apt-get install notesalexp-keyring -oAcquire:: |
+ | 10) sudo apt-get update | ||
+ | 11) sudo apt-get install | ||
</ | </ | ||
- | The resulting directory can be saved and then run the commands in this directory you can get the latest version Psi: | + | === System updates === |
+ | In the future you will receive updates of psi-plus* packages as usual: | ||
< | < | ||
- | git pull | + | sudo apt update |
- | git submodule | + | sudo apt upgrade |
</ | </ | ||
- | Download all patches and applies them to the source | + | ===== Build from source |
- | <code> | + | Note, Psi+ won't build with Qt version |
- | cd ~ | + | |
- | svn co http:// | + | |
- | cd psi | + | |
- | cat *.diff|patch -p1 | + | |
- | </ | + | |
- | + | ||
- | Download iconsets and type current revision in Psi: | + | |
+ | Install packages to build Psi +. Installed once at the first build: | ||
< | < | ||
- | svn export | + | $ sudo apt install build-essential cmake git libhunspell-dev libidn11-dev libminizip-dev libotr5-dev \ |
- | rev=`svnversion` | + | libqca2-dev libqca-qt5-2-dev libqt5multimedia5-plugins libqt5svg5-dev libqt5webkit5-dev \ |
- | sed "s/\(xxx\)/ | + | libqt5x11extras5-dev libsignal-protocol-c-dev libssl-dev libtidy-dev libxss-dev |
+ | pkg-config qt5keychain-dev qt5-qmake qtbase5-dev qtmultimedia5-dev qttools5-dev libusrsctp-dev | ||
</ | </ | ||
- | + | Download and build Psi+ from source code | |
- | Building | + | |
< | < | ||
- | qconf && | + | $ git clone --depth=1 https:// |
+ | $ mkdir psi-plus-snapshots/ | ||
+ | $ cd psi-plus-snapshots/ | ||
+ | $ cmake -DCHAT_TYPE=basic -DENABLE_PLUGINS=ON -DBUNDLED_IRIS=ON .. | ||
+ | # or ../configure --qtselect=5 | ||
+ | $ make -j5 | ||
+ | $ sudo make install | ||
+ | $ cd ../../ | ||
+ | $ rm -rf psi-plus-snapshots # remove not needed anymore source directory | ||
</ | </ | ||
- | __**Note!**__ | + | ===== Emoticons, moods and other iconsets ===== |
- | If the command | + | Just use downloader plugin. |
+ | For manual install take a look at https://github.com/psi-im/resources | ||
- | < | + | ===== Finally ===== |
- | qmake-qt4 --version | + | |
- | </ | + | |
- | Look at the path and then run // | + | Enjoy ;-) |
- | < | ||
- | ./configure --qtdir=< | ||
- | </ | ||
- | |||
- | Most likely it will be: | ||
< | < | ||
- | ./ | + | $ psi-plus |
</ | </ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ==== Other resources ==== | ||
- | |||
- | If you need to install additional emoticons, icons and customer moods and/or Russian localization, | ||
- | |||
- | |||
- | |||
- | === Emoticons, moods and other iconsets === | ||
- | |||
- | < | ||
- | cd / | ||
- | rm -rf iconsets | ||
- | svn co http:// | ||
- | </ | ||
- | |||
- | Previous operation is done once, at the first build. Then it will be enough to do: | ||
- | |||
- | < | ||
- | cd / | ||
- | svn up | ||
- | </ | ||
- | |||
- | |||
- | |||
- | === Russian localization === | ||
- | |||
- | < | ||
- | cd / | ||
- | svn co http:// | ||
- | </ | ||
- | |||
- | Previous operation is done once, at the first build. Then it will be enough to do: | ||
- | |||
- | < | ||
- | cd / | ||
- | svn up | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ==== Compile and install Psi+ Plugins ==== | ||
- | |||
- | Consider the example of [[plugins# | ||
- | |||
- | < | ||
- | cd ~/ | ||
- | svn co http:// | ||
- | cd gmailnotifyplugin | ||
- | qmake gmailnotifyplugin.pro | ||
- | make | ||
- | mkdir / | ||
- | cp libgmailnotifyplugin.so / | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ===== Finally ===== | ||
- | |||
- | Enjoy ;-) | ||
- | |||
- | |||
en/debian.1287329812.txt.gz · Last modified: 2010/12/07 23:13 (external edit)