1 Compiling SIPE plugin for Adium
2 ===============================
4 To compile the Adium plugin you will need XCode, then to get and compile:
6 * Adium 1.5+ code: http://trac.adium.im/wiki/GettingNewestAdiumSource
7 * libnss 3.12.6+libnspr: https://developer.mozilla.org/NSS_3.12.6_release_notes
12 Adium 1.5 should compile out-of-the-box. Build the Release build, then link
13 the required frameworks into your home directory. The frameworks you need are:
14 * glib, gobject, intl, purple (pre-packaged in Adium source)
15 * AIUtilities, Adium, AdiumLibpurple (build with Adium)
17 (These steps assume you put source in ~/src/, so change that appropriately)
19 $ cd ~/Library/Frameworks
20 $ for x in glib gobject intl purple; do ln -s ~/src/adium/Frameworks/lib$x.framework lib$x.framework; done
21 $ for x in AIUtilities Adium AdiumLibpurple; do ln -s ~/src/adium/build/Release/$x.framework $x.framework; done
23 2. Build libnss and libnspr
24 ---------------------------
26 $ cd nss-3.12.6/mozilla/security/nss
27 $ USE_64=1 make nss_build_all install
28 $ mkdir ~/lib ~/include
29 $ cp -LR ../../dist/Darwin*/lib/* ~/lib
30 $ cp -LR ../../dist/Darwin*/include/* ../../dist/public/* ~/include
32 (There may be an easier way to do this, if so please update the instructions)
34 3. Build SIPEAdiumPlugin.xcodeproj and test it
35 ----------------------------------------------
37 Load the project in XCode hit build!
39 Test by linking the framework into the Adium plugins directory:
41 $ cd "~/Library/Application Support/Adium 2.0/PlugIns/"
42 $ ln -s ~/src/siplcs/src/adium/build/Release/SIPEAdiumPlugin.AdiumLibpurplePlugin SIPEAdiumPlugin.AdiumLibpurplePlugin
44 Now fire up Adium and add an Office Communicator account type.
50 Older versions of SIPE (1.12.x) worked with Adium 1.4.x, but as of SIPE 1.13.0,
51 libnss is no longer optional. The 32-bit version of libnss is difficult to
52 build on MacOS, so Adium 1.5 (which compiles as x86_64) is required. If you
53 can build the 32-bit version of libnss and libnspr build, the plugin API is
54 still compatible with Adium 1.4. To make a 1.4-compatible version, change the
55 Architecture back to 32-Bit under Targets -> pidgin-sipe -> Get Info -> Build.