This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:development:buildguide [2013/01/10 15:18] kjellski |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Building from source ===== | ||
- | |||
- | ==== Create a place to work in ==== | ||
- | |||
- | Create a folder somewhere, whatever you prefer, but I would recommend to keep all the code in the same place. For example create one in you home directory | ||
- | |||
- | < | ||
- | mkdir -p ~/code/x2go && cd ~/code/x2go | ||
- | </ | ||
- | |||
- | ==== Get the sources ==== | ||
- | |||
- | First, you have to get the [[wiki: | ||
- | |||
- | You should now have cloned all repositories actually shown [[http:// | ||
- | |||
- | ==== Get the build and development dependencies ==== | ||
- | |||
- | Then you should use your favorite available packet manager to install the build dependencies although I'm not 100% sure wether we need all of them or some are optional... | ||
- | |||
- | < | ||
- | sudo apt-get install build-essential qt4-designer qtcreator qtcreator-doc \ | ||
- | | ||
- | | ||
- | | ||
- | </ | ||
- | |||
- | ==== Build the actual code ==== | ||
- | |||
- | Before you build, consider this: when you're on the master branch, you're on the bleeding edge. This could contain any sort of errors or experimental code. Have a look at the available tags: | ||
- | |||
- | < | ||
- | git tag | ||
- | </ | ||
- | |||
- | Also, you might want to have in mind, that the actual build is based on the branch *build-main*. Have a look at what's there with | ||
- | |||
- | < | ||
- | git branch < | ||
- | </ | ||
- | |||
- | Change to the branch or tag of project you want to build and *build the project* with: | ||
- | |||
- | < | ||
- | debuild -us -uc | ||
- | </ | ||
- | |||