Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Building Adium 1.5 on Mountain Lion/Xcode 4.4.1, plus setting up meanwhile logging_proxy

Assumptions

  • libtool installed by macports
  • mercurial installed by macports
  • Mountain Lion 10.8
  • Xcode 4.4.1

Procedure

  • Open Terminal window

      # assuming you store your code in ~/repos
      cd ~/repos
      hg clone http://hg.adium.im/adium
      cd adium
      hg checkout adium-1.5.3
    
      # update SDK_ROOT and PATH in Dependencies/build.sh
      perl -pi -e 's/SDK_ROOT=.*/SDK_ROOT=\"\$\{DEVELOPER\}\/Platforms\/MacOSX.platform\/Developer\/SDKs\/MacOSX10.8.sdk\"/g' Dependencies/build.sh
      perl -pi -e 's/\$DEVELOPER\/usr\/sbin$/\$DEVELOPER\/usr\/sbin:\/opt\/local\/bin/g' Dependencies/build.sh
    
      vi Dependencies/phases/build_purple.sh
      	# add after "log make -j $NUMBER_OF_CORES"
      	perl -pi -e 's/libpurple.0.dylib/libpurple.0.10.5.dylib/g' libpurple/*.la
      	perl -pi -e 's/libpurple.0.dylib/libpurple.0.10.5.dylib/g' libpurple/.libs/*.lai
      	cd libpurple/.libs
      	mv libpurple.0.dylib libpurple.0.10.5.dylib
      	ln -fs libpurple.0.10.5.dylib libpurple.dylib
      	cd ../../
    
      cd Dependencies
      ./build.sh --download-libpurple
      ./copy_frameworks.sh
    
      cd ~/repos/adium
      open Adium.xcodeproj
    
  • Build and run Adium

Building/running local proxy

	cd ~/repos/adium-1.5.3/Dependencies/source/meanwhile/samples
	./build logging_proxy
	./logging_proxy 1533:crdc-chat.kp.org:1533

You can then set adium to connect to localhost:1533, and it will log all messages between server/client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.