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/12/07 23:23] – zet | 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>=4.6.0**. If you do not - they must be installed prior to build. | + | === 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 clean build: | + | Package: * |
- | < | + | Pin: release o=notesalexp.org |
- | cd ~ | + | Pin-Priority: 200 |
- | rm -rf psi | + | |
- | </ | + | |
- | Download the Psi source code and submodules from git: | + | Package: psi-plus* |
- | < | + | Pin: release o=notesalexp.org |
- | git clone git:// | + | Pin-Priority: 500 |
- | cd psi | + | |
- | git submodule update | + | |
- | </ | + | |
- | The resulting directory can be saved and then run the commands in this directory you can get the latest version Psi: | + | 4) ^o |
- | < | + | 5) enter |
- | git pull | + | 6) ^x |
- | git submodule | + | 7) sudo apt-get install apt-transport-https |
+ | 8) sudo apt-get update -oAcquire:: | ||
+ | 9) sudo apt-get install notesalexp-keyring -oAcquire:: | ||
+ | 10) sudo apt-get | ||
+ | 11) sudo apt-get install psi-plus psi-plus-webkit psi-plus-webengine psi-plus-plugins psi-plus-l10n psi-plus-skins psi-plus-sounds psi-plus-icons-nonfree | ||
</ | </ | ||
- | Download all patches and applies them to the Psi source code: | + | === System updates === |
- | < | + | |
- | cd ~ | + | |
- | svn co http:// | + | |
- | cd psi | + | |
- | cat *.diff|patch -p1 | + | |
- | </ | + | |
- | Download iconsets and type current revision in Psi: | + | In the future you will receive updates of psi-plus* packages as usual: |
< | < | ||
- | svn export --force http:// | + | sudo apt update |
- | svn export --force http:// | + | sudo apt upgrade |
- | rev=`svnversion` | + | |
- | sed " | + | |
</ | </ | ||
- | Building Psi+ and install (root privileges needed to install): | + | ===== Build from source ===== |
- | <code> | + | Note, Psi+ won't build with Qt version |
- | qconf && | + | |
- | </ | + | |
- | + | ||
- | __**Note!**__ | + | |
- | If the command //./ | + | Install packages to build Psi +. Installed once at the first build: |
< | < | ||
- | qmake-qt4 --version | + | $ sudo apt install build-essential cmake git libhunspell-dev libidn11-dev libminizip-dev libotr5-dev \ |
+ | | ||
+ | | ||
+ | | ||
</ | </ | ||
- | + | Download | |
- | Look at the path and then run // | + | |
< | < | ||
- | ./configure --qtdir=< | + | $ 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 --disable-keychain | ||
+ | $ make -j5 | ||
+ | $ sudo make install | ||
+ | $ cd ../../ | ||
+ | $ rm -rf psi-plus-snapshots # remove not needed anymore source directory | ||
</ | </ | ||
- | Most likely it will be: | + | ===== Emoticons, moods and other iconsets ===== |
- | < | + | |
- | ./configure --qtdir=/usr/bin | + | |
- | </ | + | |
+ | Just use downloader plugin. | ||
+ | For manual install take a look at https:// | ||
+ | ===== Finally ===== | ||
+ | Enjoy ;-) | ||
- | |||
- | |||
- | |||
- | ==== Other resources ==== | ||
- | |||
- | If you need to install additional emoticons, icons and customer moods and/or Russian localization, | ||
- | |||
- | |||
- | |||
- | === Emoticons, moods and other iconsets === | ||
< | < | ||
- | cd / | + | $ psi-plus |
- | 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 gmailserviceplugin | ||
- | qmake gmailserviceplugin.pro | ||
- | make | ||
- | mkdir / | ||
- | cp libgmailserviceplugin.so / | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ===== Finally ===== | ||
- | |||
- | Enjoy ;-) | ||
- | |||
- | |||
en/debian.1291764218.txt.gz · Last modified: 2010/12/07 23:23 (external edit)