en:mac_osx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:mac_osx [2010/09/09 21:29] – zet | en:mac_osx [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Psi+ и Mac OS ====== | ||
- | |||
- | Psi+ on Mac OS X Leopard 10.5: Patching & Building Instructions | ||
- | |||
- | |||
===== Building the Psi+ on Mac OS X "from scratch" | ===== Building the Psi+ on Mac OS X "from scratch" | ||
- | Consider the following example: Psi+ on Mac OS X Snow Leopard 10.6. | + | ==== What is needed? ==== |
- | This example is relevant for Leopard 10.5. | + | OS X 64-bit. |
- | + | ||
- | + | ||
- | ==== What is needed? ==== | + | |
To build the application in the system must be installed: | To build the application in the system must be installed: | ||
- | * Qt 4.6.x | + | * Qt 4.7.x 32-bit/ |
- | * Xcode 3.x.x | + | * Xcode |
- | * qconf | + | * git |
- | * wget | + | |
Line 26: | Line 16: | ||
==== Process ==== | ==== Process ==== | ||
- | * Install the program **qconf**: | + | Download Qt sources, |
- | * download from the site at http:// | + | |
- | * extract and in the program directory run the command: | + | |
< | < | ||
- | ./configure && make && sudo make install | + | curl -o 4.8.2_mac_10.5.diff https:// |
- | </code> | + | patch -p1 < 4.8.2_mac_10.5.diff |
- | * Install the program **wget**: | + | ./configure -release -arch x86 -arch x86_64 -sdk /Developer/ |
- | * download from the site at http://ftp.gnu.org/ | + | make |
- | * extract and in the program directory run the command: | + | sudo make install |
- | < | + | |
- | ./configure && make && | + | |
</ | </ | ||
- | * Download | + | Download |
< | < | ||
- | git clone git://git.psi-im.org/psi.git && cd psi && git submodule init && git submodule update && git pull && git submodule update | + | curl -o psibuild https://raw.github.com/psi-plus/ |
</ | </ | ||
- | * Download all patches and install them: | + | Set QTDIR variable like this: QTDIR=/ |
+ | Run script: | ||
< | < | ||
- | cd && svn co http://psi-dev.googlecode.com/svn/trunk/ | + | QTDIR=/usr/local/Trolltech/Qt-4.8.2 sh psibuild |
- | cd ~ && cd psi/ | + | |
</ | </ | ||
- | * Download the missing system iconset for Psi+ | + | Also you can add next line to your ~/.profile file: |
< | < | ||
- | cd ~ && cd psi/iconsets/system/default && svn co http://psi-dev.googlecode.com/ | + | export QTDIR=/usr/local/Trolltech/Qt-4.8.2 |
</ | </ | ||
+ | and restart terminal. | ||
- | * Configure and compile by running in the Psi catalog the command: | + | The script downloads all the dependences necessary for Psi+ and makes a package. The working directory |
- | < | + | |
- | qconf && | + | |
- | </ | + | |
- | + | ||
- | * Finally: | + | |
- | + | ||
- | At //~/psi/src// is ready the binary file, you can copy this file to the folder " | + | |
- | + | ||
- | + | ||
- | + | ||
- | ==== Installing addons ==== | + | |
- | + | ||
- | If you need to install additional emoticons, icons, mood or Russian localization then do the following: | + | |
- | + | ||
- | + | ||
- | === Client iconsets === | + | |
+ | For manual dependences compilling run script with -b key: | ||
< | < | ||
- | cd /Applications/psi.app/ | + | sudo mkdir /psidepsbase |
+ | sudo chmod 777 /psidepsbase | ||
+ | sh psibuild | ||
</ | </ | ||
+ | Thus in an automatic mode downloads all necessary dependences (find them is possible in a / | ||
- | + | For compilling Psi+ with webkit use -w key: | |
- | === Emoticons === | + | |
< | < | ||
- | cd / | + | sh psibuild |
- | wget http://psi-dev.googlecode.com/ | + | |
- | wget http:// | + | |
</ | </ | ||
- | + | For inclusion in a package translations files it is possible to set variable TRANSLATIONS in which through a blank specify necessary languages: | |
- | + | ||
- | === Activities === | + | |
< | < | ||
- | cd / | + | TRANSLATIONS=" |
</ | </ | ||
- | + | For inclusion of all available languages use --with-translations key: | |
- | + | ||
- | === Moods === | + | |
< | < | ||
- | cd / | + | sh psibuild |
</ | </ | ||
- | + | For OTR-Plugin compilling use --with-devplugins key: | |
- | === Affiliations === | + | |
< | < | ||
- | cd / | + | sh psibuild |
</ | </ | ||
- | + | Keys of a script can be combined: | |
- | + | ||
- | === Russian localization === | + | |
< | < | ||
- | cd / | + | sh psibuild |
</ | </ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
en/mac_osx.1284067772.txt.gz · Last modified: 2010/10/17 15:36 (external edit)