patch-Config_h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. $OpenBSD: patch-Config_h,v 1.5 2012/12/12 14:58:00 dcoppa Exp $
  2. --- Config.h.orig Wed Dec 5 15:53:11 2012
  3. +++ Config.h Thu Dec 6 15:12:55 2012
  4. @@ -59,7 +59,7 @@
  5. # if MAEMO_VERSION >= 5
  6. # define INSTALL_BASE_PATH "/opt/numptyphysics"
  7. # else
  8. -# define INSTALL_BASE_PATH "/usr/share/numptyphysics"
  9. +# define INSTALL_BASE_PATH "${TRUEPREFIX}/share/numptyphysics"
  10. # endif
  11. #endif
  12. #define DEFAULT_LEVEL_PATH INSTALL_BASE_PATH
  13. @@ -81,10 +81,6 @@
  14. #endif
  15. #define USER_LEVEL_PATH USER_BASE_PATH
  16. -#define DEMO_TEMP_FILE "/tmp/demo.nph"
  17. -#define HTTP_TEMP_FILE "/tmp/http.nph"
  18. -#define SEND_TEMP_FILE "/tmp/mailto:numptyphysics@gmail.com.nph"
  19. -
  20. #define ICON_SCALE_FACTOR 6
  21. #define VIDEO_FPS 20
  22. @@ -126,11 +122,6 @@ class Config
  23. static const std::string& userDataDir()
  24. {
  25. static const std::string d = std::string(getenv("HOME")) + Os::pathSep + USER_BASE_PATH;
  26. - return d;
  27. - }
  28. - static const std::string& planetRoot()
  29. - {
  30. - static const std::string d("http://10.10.10.10:8080");
  31. return d;
  32. }
  33. static std::string findFile( const std::string& name );