Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gajim
gajim
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 194
    • Issues 194
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 20
    • Merge Requests 20
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gajim
  • gajimgajim
  • Wiki
    • Development
  • Ubuntu Development Setup

Last edited by Daniel Brötzmann Jul 03, 2020
Page history

Ubuntu Development Setup

Tested on (2019-Oct-25)

  • Ubuntu 18.04.3 (Python 3.7+ is required.)
  • Ubuntu 19.04

Note: Not using a fork in this example! Make sure to create a fork if you want to contribute some changes!

sudo apt install git python3-virtualenv libgirepository1.0-dev libcairo2-dev python3.7-dev
git clone https://dev.gajim.org/gajim/python-nbxmpp.git
git clone https://dev.gajim.org/gajim/gajim.git
git clone https://dev.gajim.org/gajim/gajim-plugins.git

# Apparently running virtualenv for Python 3 is weird: 
python3 -m virtualenv -p python3.7 venv
source venv/bin/activate
pip install -e python-nbxmpp
pip install pygobject css-parser pyopenssl ipython python-axolotl
  • python-axolotl is required for the omemo plugin to work
mkdir config
ln -s ../gajim-plugins config/plugins.testprofile  # Yes, this looks weird but that's how it works. ;)
cd gajim
./launch.py -p testprofile -c ../config -s -l gajim=DEBUG

Now make yourself a test account and you're good to go!

If you want an IPython console you can also run the last command again with an additional -i.

./launch.py -p testprofile -c ../config -s -l gajim=DEBUG -i

When you enter a command there you will get output in the terminal which is a bit confusing but it's usable.

Read more about debugging.

Clone repository
  • Gajim 0.16 MacOS
  • GajimFaq
  • community
    • Community
    • gajimvimpastebin
  • development
    • Development
    • Firststepsfordebugging
    • MUC Invite Logic
    • Ubuntu Development Setup
    • codingstandards
    • databaseextract
    • devdebian
    • devgit
    • devtranslate
    • filetransfer
    • gajimdevsslang
View All Pages