Apache OpenOffice (AOO) Bugzilla – Issue 118604
IP clearance: Remove dmake source
Last modified: 2013-02-21 23:22:46 UTC
The dmake source code that is built by the bootstrap script is under GPL license and therefore can not remain in the OpenOffice SVN repository. Dmake, however, is an essential tool for compiling the OpenOffice source code. One or the other variant of having dmake as system dependency has to remain.
Created attachment 77025 [details] Added support for pre-installed dmake and for downloading source This is a first version of handling dmake. Using, downloading, and/or building of dmake works like this: 1. If no other (dmake) option is given, then configure tries to locate a pre-installed dmake executable in the usual (and system dependent) places. 2a. When it is not found and --with-dmake-path=<path-to-executable> is given to configure then the dmake executable is searched for in the specified path. This option is only necessary when dmake has been installed into a non-standard location, where it is not found by configure. 2b. When it is not found and --with-dmake-url=<url-to-source-package> is given to configure then the bootstrap script (by means of the fetch_tarballs.sh script) will download a source package from the given URL. This package is expected to have a top-level directory that is identical to the package name without the file extension. The package may be a .tar.gz/.tgz, .tar.bz2, or .zip archive. The package is unpacked and built and the resulting dmake.exe is deployed to the solver module. 3. (Temporary) If none of the above works, then the internally provided dmake source code in the dmake module is built and the resulting executable is deployed.
Created attachment 77028 [details] Removed dmake module, part 1/3 Updated patch: - Removed dmake module - Added example URL to description of --with-dmake-url= configure option.
Created attachment 77029 [details] Removed dmake module, part 2/3
Created attachment 77030 [details] Removed dmake module, part 3/3
Had to split the last path into three parts due to a general size limit on uploaded files (the removed dmake module apparently contained a lot of code.) Please use something like cat part1 part2 part3 > 118604.patch to join them together.
Created attachment 77031 [details] Fixed deployment of dmake executable
patch integrated see, http://svn.apache.org/viewvc?rev=1204412&view=rev
Created attachment 77043 [details] Fixed use of user supplied or system dmake executable.
FWIW, There is still left a semi empty dmake directory with an AUTHORS file.
@Pedro: Not any more :-) Thanks for the reminder. Removed in revision 1211852.
Closing resolved issue.