41f03cd9 | 08-Apr-2018 |
Damjan Jovanovic |
Added an Ant target type to gbuild, that can be used to call Ant to build a deliverable. Added Ant support files that provide build infrastructure that can be used by Java projects, including
Added an Ant target type to gbuild, that can be used to call Ant to build a deliverable. Added Ant support files that provide build infrastructure that can be used by Java projects, including testing with JUnit at compile time, processing of external dependencies, using the IDL toolchain (idlc, regmerge, javamaker), and general build support like compiling into class files, building the JAR file and cleaning. These features require Ant version >= 1.9.1. Ported main/jurt to gbuild and this Ant infrastructure. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1828636 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
c4c42a0e | 30-Mar-2018 |
Damjan Jovanovic |
Port main/lingucomponent to gbuild. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1828081 13f79535-47bb-0310-9956-ffa450edef68 |
790ba93f | 25-Mar-2018 |
Damjan Jovanovic |
Move reg and store to UNOVERLIBS, as they are definitely URE libraries as per main/ure/source/README, and deal with their unusual names in RepositoryFixes.mk. Also remove special handling for
Move reg and store to UNOVERLIBS, as they are definitely URE libraries as per main/ure/source/README, and deal with their unusual names in RepositoryFixes.mk. Also remove special handling for them in gbuild. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1827695 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
f006f9b4 | 22-Mar-2018 |
Damjan Jovanovic |
Implement the ability to build "UDK versioned" libraries in gbuild for *nix platforms. Do this by setting the ELF SONAME to the libxyz.so.3 style library output name, changing the output file
Implement the ability to build "UDK versioned" libraries in gbuild for *nix platforms. Do this by setting the ELF SONAME to the libxyz.so.3 style library output name, changing the output file that the linker writes to to be in this format (from libxyz.so), making a symlink from libxyz.so to libxyz.so.3, adding libxyz.so.3 as a delivery AUXTARGET for the deliverable libxyz.so, and changing the deliver commands to copy symlinks properly. This is all what dmake does too. Use this to port main/registry to gbuild. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1827456 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
14d982de | 20-Mar-2018 |
Jim Jagielski |
Pattern match and back to s5abi for now... git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1827253 13f79535-47bb-0310-9956-ffa450edef68 |
2d079a25 | 19-Mar-2018 |
Jim Jagielski |
Use gcc3 for COMID for macOS/OSX git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1827215 13f79535-47bb-0310-9956-ffa450edef68 |
Revision tags: AOO415 |
|
edd74ba5 | 12-Mar-2018 |
Damjan Jovanovic |
Implement initial unfinished support for building 64 bit AOO on 64 bit Windows. For now, require --enable-win64 to be passed to ./configure and without it build 32 bit binaries like befo
Implement initial unfinished support for building 64 bit AOO on 64 bit Windows. For now, require --enable-win64 to be passed to ./configure and without it build 32 bit binaries like before. Detect the MSVC compiler only through oowintool (ie. registry keys) and the command line option, not by searching the path, as we need to know the exact path to determine whether the compiler outputs 32 or 64 bit binaries. Pass --aoo32-on-win64 to oowintool when doing the AOO32 on Win64 build, so oowintool known to look at the 32 bit registry for Java, as we need a JDK of matching bitness. We may need this option for other oowintool tasks. Introduce the "mscx" COMNAME for 64 bit AOO. Add the remaining gbuild and dmake changes necessary to use the 64 bit MSVC compiler. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1826580 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
386ca866 | 09-Mar-2018 |
Don Lewis |
#127664# $CCNUMVER from dmake to configure Move the calculation of $CCNUMVER and some other variables from main/solenv/inc/tg_compv.mk, where it is only usable by dmake, to configure
#127664# $CCNUMVER from dmake to configure Move the calculation of $CCNUMVER and some other variables from main/solenv/inc/tg_compv.mk, where it is only usable by dmake, to configure, where it can be used by both dmake and gbuild. This is a requirement to upstream some compiler bug workaround patches from the FreeBSD port. A bit of logic from set_soenv is also moved into configure. A bunch more should probably be moved so that the configuration logic is not spread across so many different places, but that can wait. Something else to consider is that it would be nice to use a different value of $COM for Apple's clang, maybe "ACLANG" or "APPLECLANG" since it has a different version numbering scheme that the open-source version of clang and having a unique identifier would simplify version checking when applying compiler bug workarounds. Note: I think the old value of $CCNUMVER on the Mac is wrong. It should look something like 000800010000 or 000700030000, depending on the installed version. Change -DCPPU_ENV on the Mac from $(COMID) to $(COMNAME) for consistency with the dmake side. It shouldn't make a difference in practice since both have the same value on the Mac. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1826296 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
5a0ac00f | 08-Jan-2018 |
Don Lewis |
Revert the part of r1818099 that changed the hardwired awk command in main/solenv/gbuild/Output.mk with $(gb_AWK). Unfortunately $(gb_AWK) is not defined at this point, so this change caused
Revert the part of r1818099 that changed the hardwired awk command in main/solenv/gbuild/Output.mk with $(gb_AWK). Unfortunately $(gb_AWK) is not defined at this point, so this change caused errors each time a gbuild makefile was invoked. The definition of $(gb_AWK) is in the platform gbuild files, which are included after Output.mk. Changing the order of the includes breaks the Windows build due to other chicken vs. egg problems. Fortunately using hardwired awk works everywhere except Solaris, which we no longer support. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1820587 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
78ecfec3 | 05-Jan-2018 |
Don Lewis |
Nothing uses GXX_INCLUDE_PATH, so remove it. The uretest/README file mentions is being needed by the STLport included in the URE, but that does not appear to be true any longer, and it is no
Nothing uses GXX_INCLUDE_PATH, so remove it. The uretest/README file mentions is being needed by the STLport included in the URE, but that does not appear to be true any longer, and it is not used by boost. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1820351 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
2de5e723 | 28-Dec-2017 |
Yuri Dario |
#i126518# OS/2 link with system libcx0 to use new exception and memory mapping handling. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1819430 13f79535-47bb-0310-9956-ffa450e
#i126518# OS/2 link with system libcx0 to use new exception and memory mapping handling. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1819430 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
e10cbedd | 15-Dec-2017 |
Don Lewis |
Enhance gb_LinkTarget_set_*_optimization functions to allow multiple targets to be specified. Convert optimization overrides in the gbuild library makefiles to use gb_LinkTarget_set_
Enhance gb_LinkTarget_set_*_optimization functions to allow multiple targets to be specified. Convert optimization overrides in the gbuild library makefiles to use gb_LinkTarget_set_*_optimization. There should be no functional change. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1818290 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
fb0ae187 | 14-Dec-2017 |
Yuri Dario |
#i126518# OS/2 environment vars are uppercase, breaks gnu make rules. Ignore escape sequence. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1818099 13f79535-47bb-0310-9956-ff
#i126518# OS/2 environment vars are uppercase, breaks gnu make rules. Ignore escape sequence. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1818099 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
8e6bd3e9 | 12-Dec-2017 |
Don Lewis |
Improvements to per-object optimization overrides in gbuild: * Less Library.mk editing required to add an optimization exception than what has been normally done to date. *
Improvements to per-object optimization overrides in gbuild: * Less Library.mk editing required to add an optimization exception than what has been normally done to date. * Add a variable to specify an override to -O1 instead of only allowing -O0. * Don't lose debug flags when overriding optimization. Convert the recent Mac optimization override in framework/Library_fwk.mk to the new style. Improvements to Windows debug builds in gbuild: * There are multiple dependency paths that trigger compiling a source file. Add a target specific $(PDBFILE) to the root of each so that $(PDBFILE) is set properly when compiling. Note: $(PDBFILE) is not getting set when compiling the sources for the per-module (Google Test) tests. * Don't inadvertantly disable the use of pre-compiled headers when enabling debug (not specific to Windows). Note: If both debug and pre-compiled headers are enabled, building of modules that contain more than one library will fail due to limitations of Visual Studio. The problem is that when we build the precompiled header, the output file(s) are based on the module name. Even though each Library_*.mk specifies the rule to build the precompiled header, it is only built once for the module. Visual Studio requires that the $(PDBFILE) used when compiling the sources match the $(PDBFILE) used when compiling the precompiled header, but the value of $(PDBFILE) is specific to each library. The best fix would be to compile the headers once for each library and stash the output in a per-library specific place, but this requires some fairly extensive changes. Another potential fix would be to use -Z7 optimization so that the debug information is stored in the object files. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1817946 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
63fbc773 | 29-Nov-2017 |
Jim Jagielski |
OK, let's try to maintain 10.7 as the min OSX version supported. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1816626 13f79535-47bb-0310-9956-ffa450edef68 |
3b02a9c8 | 28-Nov-2017 |
Damjan Jovanovic |
Add the ability to set a linker script in gbuild that is used to version symbols. This has been a bottleneck in continued gbuild porting and should help further development considera
Add the ability to set a linker script in gbuild that is used to version symbols. This has been a bottleneck in continued gbuild porting and should help further development considerably. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1816518 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
Revision tags: AOO414 |
|
958f5dcf | 10-Nov-2017 |
Damjan Jovanovic |
Only specify Hamcrest in the classpath during subsequent tests if it's been specified. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@18148
Only specify Hamcrest in the classpath during subsequent tests if it's been specified. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1814808 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
0587599f | 09-Oct-2017 |
Jim Jagielski |
More hoo-haa trying to get NSS to compile under macOS with 10.7 as the target. Moving to 10.9 most likely is the better fix, but that means AOO 4.2.0 will no longer support anything older
More hoo-haa trying to get NSS to compile under macOS with 10.7 as the target. Moving to 10.9 most likely is the better fix, but that means AOO 4.2.0 will no longer support anything older than Mavericks. Which I don't think we want to do. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1811598 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
fc3c81da | 15-Aug-2017 |
Don Lewis |
Strip carriage return characters from the output of MSVC in "make depend" mode so that these characters don't get appended to the file names in the dependency files. This breaks all the gbui
Strip carriage return characters from the output of MSVC in "make depend" mode so that these characters don't get appended to the file names in the dependency files. This breaks all the gbuild modules because gmake thinks the file names have ^M appended to them and can't find them. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1805063 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
Revision tags: AOO413 |
|
bcc22a4c | 07-Feb-2017 |
Damjan Jovanovic |
Add initial support for building AOO with Clang on Linux. This allows Ubuntu 16.04 to compile AOO with Clang 1.8 on an x86. Other architectures probably don't work, as Clang 1.8 is
Add initial support for building AOO with Clang on Linux. This allows Ubuntu 16.04 to compile AOO with Clang 1.8 on an x86. Other architectures probably don't work, as Clang 1.8 is pretty strict about the low-level C++ ABI hacks in main/bridges, but at least they should fail early in main/bridges instead of the previous behaviour, where main/bridges compiles nothing when "$(COM)" != "GCC" and main/i18npool then fails with a mysterious "error: cannot get uno environments" message. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1782030 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
cf91f1ae | 31-Jan-2017 |
Damjan Jovanovic |
We need to pass "-DEBUG" to the linker on Windows for debugging to work. Patch by: me Tested by: pats git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@178
We need to pass "-DEBUG" to the linker on Windows for debugging to work. Patch by: me Tested by: pats git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1781019 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
69f987b1 | 25-Jan-2017 |
Damjan Jovanovic |
When debug symbols are produced for C / C++ / Objective C, produce them for Java too. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1780248 13f
When debug symbols are produced for C / C++ / Objective C, produce them for Java too. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1780248 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
9e1b801e | 25-Jan-2017 |
Damjan Jovanovic |
Add debug symbols to gbuild modules when any of --enable-debug, --enable-symbols, or --enable-crashdump are passed to ./configure (just like it already is for dmake modules), as opposed to th
Add debug symbols to gbuild modules when any of --enable-debug, --enable-symbols, or --enable-crashdump are passed to ./configure (just like it already is for dmake modules), as opposed to the previous behaviour of only doing it on --enable-debug. Also implemented --enable-symbols=small for gbuild modules on platforms where AOO is built with GCC and Clang compilers (MSVC on Windows doesn't seem to support that). Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1780246 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
8f07f855 | 25-Jan-2017 |
Damjan Jovanovic |
Fix a FreeBSD regression in the gbuild gb_CPUDEFS variable caused by r1773166, where it was always set to POWERPC64 due to a swapped if-else. This needs further work, on all platforms!
Fix a FreeBSD regression in the gbuild gb_CPUDEFS variable caused by r1773166, where it was always set to POWERPC64 due to a swapped if-else. This needs further work, on all platforms! Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1780134 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
64c5c8b7 | 22-Jan-2017 |
Damjan Jovanovic |
Don't use the "archive" package format, which is to be extrated by smoketest as a side effect, for the subsequent tests. The smoketest is currently broken and won't do that, and the path is w
Don't use the "archive" package format, which is to be extrated by smoketest as a side effect, for the subsequent tests. The smoketest is currently broken and won't do that, and the path is wrong anyway, as it was for OpenOffice 3 and we're now on 4. Instead, use the office instance from the "installed" package format for subsequent tests, as it doesn't have to zipped up and unzipped, resulting in faster building and faster testing, and doesn't require a side effect in a module that will probably be moved from main/ to test/. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1779838 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|