README 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Copyright 2007-2008 Andrew Lewman
  2. Copyright 2009-2010 The Tor Project
  3. ----------------
  4. General Comments
  5. ----------------
  6. These are some hacks for making polipo work and install a package native
  7. to OSX or Windows.
  8. They need some work before they can be committed upstream:
  9. - Merge the three makefiles into one with specific builds such as "make
  10. dist-osx" or "make dist-win32"
  11. - Configure the options for tor in polipo config, just leave them
  12. commented out for easy activation.
  13. - Work out better polipo config options for Tor.
  14. As always, I'm happy to accept patches.
  15. --------------------------
  16. Pre-requisites for Windows
  17. --------------------------
  18. Polipo for Win32 requires the mingw gnu regex library and dlls at
  19. http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=73286&release_id=140957
  20. You'll need to download the -bin and -dev tarballs. And extract them
  21. into your MinGW directory.
  22. Instructions for building polipo under mingw32 for Windows:
  23. 1) Copy Makefile.mingw over Makefile.
  24. 2) Run 'make'.
  25. You should have a polipo.exe in the current directory.
  26. -------------------------------------------
  27. Creating an installation package in Windows
  28. -------------------------------------------
  29. If you want to build an installer using the Nullsoft Installer, install
  30. the NSI Compiler. In Windows Explorer, navigate to the directory in
  31. which you placed polipo-mingw.nsi. Right click on polipo-mingw.nsi and
  32. choose Compile NSIS Script. You'll then create a polipo installer.
  33. The Polipo NSI installer assumes libgnurx-0.dll is in the same directory as polipo.exe.
  34. You'll need to copy libgnurx-0.dll into "./" in order to make the
  35. installation package.
  36. ---------------------------------------------
  37. OSX Universal Binary and Installation package
  38. ---------------------------------------------
  39. 1) Copy Makefile.osx over Makefile.
  40. 2) Run 'make'.
  41. 3) Copy the contents of this directory into a directory named "contrib".
  42. 4) Run './contrib/package.sh'
  43. 5) You should have a Polipo-version.dmg ready for installation.