en:mac_osx
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:mac_osx [2010/09/09 20:32] – created zet | en:mac_osx [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Psi+ и Mac OS ====== | + | ===== Building the Psi+ on Mac OS X "from scratch" |
- | Psi+ on Mac OS X Leopard 10.5: Patching & Building Instructions | ||
+ | ==== What is needed? ==== | ||
- | ===== Сборка Psi+ на Mac OS X "с нуля" | + | OS X 64-bit. |
+ | To build the application in the system must be installed: | ||
- | Рассмотрим на примере: | + | * Qt 4.7.x 32-bit/ |
+ | * Xcode | ||
+ | * git | ||
- | Данный пример актуален и для Leopard 10.5. | ||
- | ==== Что понадобится? | + | ==== Process |
- | Для | + | Download |
- | + | ||
- | * Qt 4.6.x | + | |
- | * Xcode 3.x.x | + | |
- | * qconf | + | |
- | * wget | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ==== Процесс ==== | + | |
- | + | ||
- | + | ||
- | + | ||
- | * Устанавливаем программу qconf: | + | |
- | * скачиваем с сайта по адресу http:// | + | |
- | * распаковываем и в каталоге программы выполняем команду: | + | |
< | < | ||
- | ./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 |
- | * Устанавливаем программу wget: | + | ./configure -release -arch x86 -arch x86_64 -sdk /Developer/ |
- | * скачиваем с сайта по адресу http://ftp.gnu.org/ | + | make |
- | * распаковываем и в каталоге программы выполняем команду: | + | sudo make install |
- | < | + | |
- | ./configure && make && | + | |
</ | </ | ||
- | * Скачиваем исходные коды | + | Download script for automate |
< | < | ||
- | 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/ |
</ | </ | ||
- | * Скачиваем все патчи и устанавливаем их: | + | 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/ | + | |
</ | </ | ||
- | * Скачиваем недостающие системные иконки 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. | ||
- | * Конфигурируем и компилируем, | + | The script downloads all the dependences necessary for Psi+ and makes a package. The working directory |
- | < | + | |
- | qconf && | + | |
- | </ | + | |
- | + | ||
- | * В итоге: | + | |
- | + | ||
- | По адресу | + | |
- | + | ||
- | + | ||
- | + | ||
- | ==== Установка дополнений ==== | + | |
- | + | ||
- | Если необходимо установить дополнительные смайлы, | + | |
- | + | ||
- | + | ||
- | === Иконки jabber-клиентов === | + | |
+ | 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: | |
- | === Смайлы === | + | |
< | < | ||
- | 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: | |
- | + | ||
- | === Занятия === | + | |
< | < | ||
- | cd / | + | TRANSLATIONS=" |
</ | </ | ||
- | + | For inclusion of all available languages use --with-translations key: | |
- | + | ||
- | === Настроения === | + | |
< | < | ||
- | cd / | + | sh psibuild |
</ | </ | ||
- | + | For OTR-Plugin compilling use --with-devplugins key: | |
- | === Роли === | + | |
< | < | ||
- | cd / | + | sh psibuild |
</ | </ | ||
- | + | Keys of a script can be combined: | |
- | + | ||
- | === Русская локализация === | + | |
< | < | ||
- | cd / | + | sh psibuild |
</ | </ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
en/mac_osx.1284064326.txt.gz · Last modified: 2010/10/17 15:36 (external edit)