User Tools

Site Tools


en:debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:debian [2010/12/07 23:15] zeten: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.
- 
 <code> <code>
 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://launchpad.net/~psi-plus/+archive/ubuntu/ppa
  
-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://notesalexp.org/|special PPA]]:
 <code> <code>
-sudo apt-get install git-core qt4-dev-tools libqt4-dev build-essential subversion patch +1) echo "deb https://notesalexp.org/debian/bookworm/ bookworm main" | sudo tee /etc/apt/sources.list.d/psi-plus.list 
-</code>+2) sudo touch /etc/apt/preferences.d/psi-plus 
 +3) sudo nano /etc/apt/preferences.d/psi-plus
  
-Remove previous build to clean build+Package* 
-<code> +Pin: release o=notesalexp.org 
-cd ~ +Pin-Priority: 200
-rm -rf psi +
-</code>+
  
-Download the Psi source code and submodules from git+Packagepsi-plus* 
-<code> +Pinrelease o=notesalexp.org 
-git clone git://git.psi-im.org/psi.git +Pin-Priority: 500
-cd psi +
-git submodule update --init +
-</code>+
  
-The resulting directory can be saved and then run the commands in this directory you can get the latest version Psi+4) ^o 
-<code> +5) enter 
-git pull +6) ^x 
-git submodule update+7) sudo apt-get install apt-transport-https 
 +8) sudo apt-get update -oAcquire::AllowInsecureRepositories=true 
 +9) sudo apt-get install notesalexp-keyring -oAcquire::AllowInsecureRepositories=true 
 +10) sudo apt-get update 
 +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 
 </code> </code>
  
-Download all patches and applies them to the Psi source code: +=== System updates ===
-<code> +
-cd ~ +
-svn co http://psi-dev.googlecode.com/svn/trunk/patches/ psi +
-cd psi +
-cat *.diff|patch -p1 +
-</code>+
  
-Download iconsets and type current revision in Psi:+In the future you will receive updates of psi-plus* packages as usual:
 <code> <code>
-svn export --force http://psi-dev.googlecode.com/svn/trunk/iconsets/system/default iconsets/system/default +sudo apt update 
-svn export --force http://psi-dev.googlecode.com/svn/trunk/iconsets/roster/default iconsets/roster/default +sudo apt upgrade
-rev=`svnversion` +
-sed "s/\(xxx\)/${rev}/" -i src/applicationinfo.cpp+
 </code> </code>
  
-Building Psi+ and install (root privileges needed to install):+===== Build from source =====
  
-<code> +Note, Psi+ won't build with Qt version 5.6.
-qconf && ./configure --enable-plugins && make && sudo make install +
-</code> +
- +
-__**Note!**__  If the **qconf** not installed you must be independently download it from the official [[http://delta.affinix.com/qconf/|site]] and build it.+
  
-If the command //./configure// get an qtcore error, then we write:+Install packages to build Psi +Installed once at the first build
 <code> <code>
-qmake-qt4 --version+$ sudo apt install build-essential cmake git libhunspell-dev libidn11-dev libminizip-dev libotr5-dev \ 
 +                   libqca2-dev libqca-qt5-2-dev libqt5multimedia5-plugins libqt5svg5-dev libqt5webkit5-dev \ 
 +                   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
 </code> </code>
- +Download and build Psi+ from source code
-Look at the path and then run //./configure// with the parameter:+
 <code> <code>
-./configure --qtdir=<path>+$ git clone --depth=1 https://github.com/psi-plus/psi-plus-snapshots  
 +$ mkdir psi-plus-snapshots/build 
 +$ cd psi-plus-snapshots/build 
 +$ 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
 </code> </code>
  
-Most likely it will be: +===== Emoticons, moods and other iconsets =====
-<code> +
-./configure --qtdir=/usr/bin +
-</code>+
  
 +Just use downloader plugin.
 +For manual install take a look at https://github.com/psi-im/resources
  
 +===== Finally =====
  
 +Enjoy ;-)
  
- 
- 
- 
-==== Other resources ==== 
- 
-If you need to install additional emoticons, icons and customer moods and/or Russian localization, then do the following. 
- 
- 
- 
-=== Emoticons, moods and other iconsets === 
  
 <code> <code>
-cd /usr/local/share/psi +psi-plus
-rm -rf iconsets +
-svn co http://psi-dev.googlecode.com/svn/trunk/iconsets iconsets+
 </code> </code>
- 
-Previous operation is done once, at the first build. Then it will be enough to do: 
- 
-<code> 
-cd /usr/local/share/psi/iconsets 
-svn up 
-</code> 
- 
- 
- 
-=== Russian localization === 
- 
-<code> 
-cd /usr/local/share 
-svn co http://psi-ru.googlecode.com/svn/branches/psi-plus psi 
-</code> 
- 
-Previous operation is done once, at the first build. Then it will be enough to do: 
- 
-<code> 
-cd /usr/local/share/psi 
-svn up 
-</code> 
- 
- 
- 
- 
- 
-==== Compile and install Psi+ Plugins ==== 
- 
-Consider the example of [[plugins#gmail_service_plugin|Gmail Service Plugin]]: 
- 
-<code> 
-cd ~/psi/src/plugins/generic 
-svn co http://psi-dev.googlecode.com/svn/trunk/plugins/generic/gmailserviceplugin gmailserviceplugin 
-cd gmailserviceplugin 
-qmake gmailserviceplugin.pro 
-make 
-mkdir /usr/local/share/psi/plugins 
-cp libgmailserviceplugin.so /usr/local/share/psi/plugins 
-</code> 
- 
- 
- 
- 
- 
- 
- 
-===== Finally ===== 
- 
-Enjoy ;-) 
- 
- 
  
  
en/debian.1291763756.txt.gz · Last modified: 2010/12/07 23:15 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki