README 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. README (English)
  2. ##################################################
  3. Building packages
  4. ##################################################
  5. All sub-directories of "build" directory contains files required to build
  6. automatically Dolibarr packages.
  7. There are several tools:
  8. - To build full Dolibarr packages, launch the script
  9. > Launch command perl makepack-dolibarr.pl
  10. Note: Prerequisites to build tgz, debian, rpm package
  11. > apt-get install tar dpkg dpatch p7zip-full rpm zip
  12. Note: Prerequisites to build autoexe DoliWamp package:
  13. > apt-get install wine q4wine
  14. > Launch "wine cmd" to check a drive Z: pointing to / exists.
  15. > Install InnoSetup
  16. For example by running isetup-5.3.9.exe (http://www.jrsoftware.org)
  17. > Install WampServer into "C:\Program Files\Wamp"
  18. For example by running wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-32b.exe (http://www.wampserver.com)
  19. > Install WampServer addon to have versions: Mysql5.0.45
  20. For example by running WampServer2-MYSQL5045.exe (http://www.wampserver.com)
  21. > To build from Windows (running from makepack-dolibarr.pl script is however
  22. recommanded), open file build/exe/doliwamp.iss and click on button "Compile".
  23. The .exe file will be build into directory build.
  24. > Add path to ISCC into PATH windows var:
  25. Launch wine cmd, then regedit and add entry int HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment\PATH
  26. - To build a theme package, launch the script
  27. > perl makepack-dolibarrtheme.pl
  28. - To build a package for a module, launch the script
  29. > perl makepack-dolibarrmodule.pl
  30. - To build developper documentation, launch the script
  31. > perl dolybarr-doxygen-build.pl
  32. Note:
  33. The build directory and all its contents is absolutely not required to make
  34. Dolibarr working. It is here only to build Dolibarr packages, and those
  35. generated packages will not contains this "build" directory.
  36. We can find in "build", following sub-directories:
  37. * debian:
  38. To build Debian package.
  39. * dmg:
  40. To build Mac OS package (not ready yet).
  41. * doap:
  42. To build Doap descriptor to promote/describe Dolibarr releases.
  43. * doxygen:
  44. Dir with config file to build doxygen documentation.
  45. * exe:
  46. To build exe package for Windows that distribute Dolibarr sources or
  47. to build the complete DoliWamp package.
  48. * launchpad:
  49. Doc file to explain how to use launchpad.
  50. * live:
  51. Doc file to explain how to create a demo live CD.
  52. * obs:
  53. Doc file to explain how to push release onto OBS.
  54. * pad:
  55. To build a PAD file descriptor to promote/describe Dolibarr releases.
  56. * patch:
  57. Script file to generate a patch file to distribute a Dolibarr mod.
  58. * perl:
  59. Tool to install dolibarr when using virtualmin pro
  60. * rpm:
  61. To build Redhat, Opensuse or Mandriva package.
  62. * tgz:
  63. To build a tgz package.
  64. * zip:
  65. To build a zip package.