README 2.0 KB

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