/pidgin-sipe-1.13.2/src/adium/README.Adium

# · Unknown · 56 lines · 38 code · 18 blank · 0 comment · 0 complexity · b0e42cc021d276b80fb0f8585e79d0e7 MD5 · raw file

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