i18n: update bug tracker URL in script
[siplcs.git] / src / adium / README.Adium
blob8ade7ce9da1453325bc2069b476c50cb60f1096d
1 Compiling SIPE plugin for Adium
2 ===============================
3 To compile the Adium plugin you will need XCode, then to get the following dependencies:
5 * Adium 1.5+ code:              http://trac.adium.im/wiki/GettingNewestAdiumSource
6 * libnss 3.14+libnspr 4.9.2:    https://developer.mozilla.org/en-US/docs/NSS/NSS_3.14_release_notes
8 1. Get Adium
9 --------------
10 Follow the instructions at their URL above.
12 2. Setup Adium Source Tree variable in XCode 
13 ----------------------------------------------
14 Point a source tree variable ($ADIUM_SRCPATH) to the directory you put Adium in.
15 i.e If Adium is located in /tmp/Adium,  $ADIUM_SRCPATH should be set to /tmp/Adium
17 3. Get and build libnss and libnspr
18 -------------------------------------
19 $ curl -O https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_14_RTM/src/nss-3.14-with-nspr-4.9.2.tar.gz
20 $ tar -xvzf nss-3.14-with-nspr-4.9.2.tar.gz
21 $ cd nss-3.14
22 $ grep -lR '@executable_path' * | xargs sed -i '.orig' -e 's/@executable_path/@rpath/g' 
23 $ make nss_build_all install -C mozilla/security/nss BUILD_OPT=1 NSS_ENABLE_ECC=1 NS_USE_GCC=1 NO_MDUPDATE=1 NSS_USE_SYSTEM_SQLITE=1 USE_64=1 NSPR_INCLUDE_DIR=mozilla/nsprpub/dist/include/nspr
25 TODO: Import NSS/NSPR as an external build system target in XCode project, and pull RELEASE_OBJDIR_NAME from the autoconf.mk file to dynamically find the build products.
27 4. Setup NSS Source Tree variable in XCode 
28 --------------------------------------------
29 Point a source tree variable ($NSS_SRCPATH) to the directory you put NSS/NSPR in
30 i.e if NSS is located in /tmp/nss-3.14 ,  $NSS_SRCPATH should be /tmp/nss-3.14
32 5. Correct the NSS/NSPR library paths in XCode
33 ------------------------------------------------
34 Note: The XCode project file has hardcoded paths based off of the RELEASE_OBJDIR_NAME in autoconf.mk.  The path is different for different MacOS versions (Darwin11.4.2 for Lion, Darwin12.2.1 for Mountain Lion).  This project file is currently pointing to the Lion build variant.  You will have to correct the file path for the files that show as "missing" (in red in the Project Explorer view) to point to the correct RELEASE_OBJDIR_NAME if you are running on something other than Lion.  The above noted TODO, should resolve this.
36 6. Build SIPEAdiumPlugin.xcodeproj and test it
37 ------------------------------------------------
38 Load the project in XCode, hit build!
41 Now fire up Adium and add an Office Communicator account type.