summaryrefslogtreecommitdiff
path: root/solenv/gbuild/platform
AgeCommit message (Collapse)Author
2013-06-13rename HAVE_CXX0X->HAVE_CXX11 and clean up to #define in a config headerLuboš Luňák
Change-Id: Id13e77fe890301a8510952994a91853568a7aea6
2013-06-13Enable -fstrict-aliasing, -fstrict-overflow in -O0 debug buildsStephan Bergmann
...so that -Wstrict-aliasing, -Wstrict-overflow=1 included in -Wall do not only produce warnings/errors in non-debug builds. Change-Id: I4534427738fa7688853564e8c7255a0c3cd199e1
2013-06-13gb_COMPILERNOOPTFLAGS, gb_COMPLEROPTFLAGS, gb_DEBUG_CFLAGS all already definedStephan Bergmann
...in com_GCC_defs.mk Change-Id: I0a3b29e1a91acf3425afa44dea0353bebf88f58f
2013-06-10Unbreak back MinGW64 buildFridrich Štrba
Change-Id: I68410bc1a8b77877b07f60e6ace0f54c255de95f
2013-06-09gbuild/platform: factor out common code for mingw cross-compilationMatúš Kukan
Change-Id: Iaad3f195438369dc5d3d947995d60351bf39538c
2013-06-07gbuild: do not register static librariesMatúš Kukan
It does not make sense, there was only one group anyway. Change-Id: I606138ceed0bfc628b8a23abb864280d9626ed60
2013-06-07gbuild: install extension directly from workdirMatúš Kukan
Also kill ExtensionTarget indirection causing duplication. Change-Id: I24f7e6d85df6acf2ededaade20dd1a788d916594
2013-06-06Some more modules at least building with mingw64Fridrich Štrba
Change-Id: I3ea039655aecb7885bb310b1f2c29d66f9f7bb4f
2013-06-04gbuild: get rid of that horrible $(shell...)Michael Stahl
... just check against the only still supported MSVC instead (2010). Change-Id: I898bddb9156c04fa1daaf78fca9d5b4ec8f430cf
2013-06-04gbuild: Use gb_RCFLAGSIsamu Mogi
gb_RCFLAGS is defined. But it wasn't used anywhere. Change-Id: Ib9c5ba85a7c72560a94829fde4eee8c73fad3c5a Reviewed-on: https://gerrit.libreoffice.org/4125 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-06-04gbuild: Add -nologo option for rc.exe in VC2012Isamu Mogi
rc.exe in Windows SDK version higher than 6.0A accepts -nologo. And according to configure.ac:3131 VC2012 can't use 7.x, 6.0A or older. So it's a safe bet. Change-Id: I833e96adad322bb0f5eed36c9a09ece88111b5f7 Reviewed-on: https://gerrit.libreoffice.org/4127 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-06-04Some configury and non-working stubs to start to compiler for Win64 with MinGWFridrich Štrba
Change-Id: I907c3ea083e8d7f9e48fc62dd6d5b783639438cb
2013-06-03gbuild: Fix indentIsamu Mogi
Change-Id: I9dafd3dd75f00a8447b78d4765ec1087c84f61c2 Reviewed-on: https://gerrit.libreoffice.org/4126 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-06-03re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-05-30Seems that -Wl,-fatal_warnings causes more trouble than it's worthTor Lillqvist
The ld in 10.6 did not have that switch. Change-Id: I53a581b26fae591eb6a696a053f985a917466820
2013-05-24Disable also C4913: user defined binary operator ',' exists but ...Tor Lillqvist
MSVC generates the warning "user defined binary operator ',' exists but no overload could convert all operands, default built-in binary operator ',' used" when iterators from newer Boost are combined with comma expressions, as in for() statements. Or something like that. Change-Id: I3225d07ad0d1e05f4deeb784cf2ec081748b1ab4
2013-05-22Be more picky about Mac OS X linker warningsStephan Bergmann
...useful for cases like 913ba61d008c6629272ba3df8d22dbff0e2dc4f9 "Make liborcus -fvisibility setting consistent with LO one." Feel free to revert if it causes trouble, though. (I was only able to test it with a 10.7 build, not a 10.6 baseline one.) Change-Id: Ic8e57cd917ef186f4dec8d876fc8da6d6db57b3d
2013-05-20fdo#46553 Update embedded manifest on win32 builds to declare dpiAwareAndras Timar
Change-Id: I71a3960b21f2c996b97e1a5707f20b30819fd6bd Reviewed-on: https://gerrit.libreoffice.org/3981 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-14fix filter-showIncludesLuboš Luňák
We want what is after the prefix, not the prefix itself. 80cf1c22b629d524de18f20dcfd155d889ee5d2f could not have possibly worked. Change-Id: Ic2ab84d8c60ac608a773368b873ea5f98be4cd29
2013-05-13the program dir is called MacOS on MacOS XDavid Tardon
program is only a symlink to it there, created by the installer. (Hmm, would it be possible to have MacOS symlink to program instead? It would simplify things :-) Change-Id: If21df47da5ac7c77358656f40d9caaaa62a7e87f
2013-05-13gbuild: Replace SHOWINCLUDES_PREFIX without regexp.Isamu Mogi
With MSVC Japanese, SHOWINCLUDES_PREFIX includes regexp special charactor \x5b (left square bracket). In this case replacing SHOWINCLUDES_PREFIX with regexp fails. To fix it, this commit changes the script not to use regexp. Example value of $SHOWINCLUDES_PREFIX from MSVC Japanese: $ echo $SHOWINCLUDES_PREFIX | hexdump -C 83 81 83 82 3a 20 83 43 83 93 83 4e 83 8b 81 5b |....:.C...N...[| 83 68 20 83 74 83 40 83 43 83 8b 3a 20 20 43 3a |.h.t.@.C..: C:| 5c 54 65 6d 70 5c 73 74 64 69 6f 2e 68 0d 0a |\Temp\stdio.h..| Change-Id: Ic7d85fc3a93807de11155488e9d0368427375c78 Reviewed-on: https://gerrit.libreoffice.org/3579 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-05-10gbuild: gcc platforms: link with C compiler if no C++ filesMichael Stahl
In 5589c72b88e502bfca045ae38af16c854afdd401 a problem due to linking pyuno_wrapper with g++ was fixed: the library should not have a dependency on libstdc++. It's possible to implement this in gbuild directly by checking whether there are any C++ input files. (apparently on GNU/Linux g++ implicitly links in libm too...) Change-Id: I04dce06f796e20047ce7f5eab65e6110c0244445
2013-05-10More gb_PROGRAMDIRNAME clean upStephan Bergmann
Change-Id: I5af86e15bcb8958a680e7309f13d7a865f29d7a9
2013-05-08gbuild: MSVC avoid a warning from pyuno...Michael Stahl
... which is caused by CPython's crazy naming convention that python module DLLs need to have .pyd suffix, so substitute that too when generating .pdb and .ilk filenames. Change-Id: Iaba9bdfb4c67d5fca016a0552e5ce9b0bdeb12ea
2013-05-07codesign --timestamp=none is not supported on 10.6Norbert Thiebaud
Change-Id: Ie1e853fd1dd3154c6805eb8129c35a49150b458c Reviewed-on: https://gerrit.libreoffice.org/3806 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-05-02fdo#54087 link the correct resource file to npsoplugin.dllAndras Timar
I had to add a new function to gbuild system: set_nativeres, because the trick in extensions/Library_npsoplugin.mk did not work. It linked the default.res, and that made the plugin unusable under Windows. Also, one export was missing compared to LibreOffice 3.5. Conflicts: extensions/Library_npsoplugin.mk extensions/WinResTarget_npsoplugin.mk Change-Id: Ib91fa2a3b72b15912587f22becccb0aebc2aa390
2013-04-30fix typo: trailing \Matúš Kukan
regression from 22e1a5b836b898298b6a5cfbaf1c82d9c3f08349 Change-Id: Ia7dbad2fdad9c00c86a55395308dc35ecc510dee
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-30gbuild: UNOLIBS_OOO group is no moreMatúš Kukan
Change-Id: I1b239844391c0d59fc26e44f789cc39ed602f54b
2013-04-29gb_JunitTest_JunitTest_platform_longpathname_hack is unusedStephan Bergmann
...since 81af84c04fa7ef8c8c12d2a9d3899a9a75cb8260 "gbuild: let JunitTests run with MSVC." Change-Id: I4ba97431c3439c0bed74149fe66cbb76db5317ce
2013-04-29move to MPLv2 and remove my name from the header itselfNorbert Thiebaud
Change-Id: I1961da149ed350131e19233bd5694ae8b6fe65ba
2013-04-26Towards a Mac OS X PythonTestStephan Bergmann
Use URE_BOOTSTRAP instead of listing ~its content individually. [DY]LD_LIBRARY_PATH needs to be set to all of installdir's ure and program as well as OUTDIR, as initPoniesMode (pyuno/source/module/pyuno_module.cxx) tries to load the OUTDIR test library. Abstracted as gb_PythonTest_PRECOMMAND. Abstracted Mac's special LibreOffice.app/Content path as gb_DEVINSTALLROOT, adapted a number of places accordingly. Change-Id: I1646615c77dfab342675f84dbb83c579bf16058d
2013-04-26Bad "NONE" layer path prefixStephan Bergmann
Change-Id: I8f6859e172d272887166203919c5a4538c61b6cc
2013-04-26gbuild: MSVC: only re-link libraries if exported symbols changeMichael Stahl
Implement commit 3213cd54b76bc80a6f0516aac75a48ff3b2ad67c for MSVC. Not sure what the extra "Summary" section at the end of the output does, and whether it would make sense to filter it. Change-Id: I874abec0e8bb8d1ec2894fd6e94bc78b48e384e1 Reviewed-on: https://gerrit.libreoffice.org/3612 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-24libpython.so is now in instdirPeter Foley
Change-Id: Ib1b1a853d265a28bfab19c0fa25b778fcec92ba6
2013-04-24gbuild: get rid of processdeps.awkMichael Stahl
The only thing that processdeps.awk does that is actually useful is to be able to set the target name freely, but that is only important for the default resource file which was just renamed. Instead hack makedepend to provide the required functionality directly: - write dummy rules for included files so builds don't break on rename/removal - format deps one per line like concat-deps expects - concat-deps expects standard POSIX line ends, so open in binary mode (also disable that awful backup copying nonsense) Though in retrospect it would perhaps be a better investment of time to try to replace makedepend... Change-Id: I54fafdcdcf1a52692e62b8f1f4b96fb9a93d4421
2013-04-24rename "shlinfo.rc" to "default.rc"Michael Stahl
makedepend annoyingly picks up the target file name from the source file Change-Id: I4e7378e3f428dbae42fb99cb1c21ed840c20da40
2013-04-24Update location of log-areas.doxTor Lillqvist
Change-Id: If54a3d7047f13ae9c9345c21737a89afee645403
2013-04-23kill RTLIBS group; and autoinstall the librariesMatúš Kukan
This commit changes names for comphelper i18nlangtag and ucbhelper. Change-Id: I93731ef31f894854f9c642d3adee41006552e303
2013-04-22remove executable bitLuboš Luňák
Change-Id: I4582e96d97f40b1f592882de4e84036b017d8679
2013-04-22replace python-core zip built in pyuno with direct use of PackageMichael Stahl
- python3: deliver files to INSTDIR, with same layout as instset and do not deliver .lib files - pyuno: remove obsolete python.bin targets - pyuno: remove usage of CustomTarget_zip for WNT and non-Mac UNX platforms (sadly it is apparently still needed for "system" python on MinGW) - scp2: use the python3 filelist There is still a problem here because the installer does not currently allow to preserve the executable bit on files in a filelist - RepositoryExternal: run python executable from INSTDIR and link against libraries in UnpackedTarball dir Change-Id: I931ca0a8be6ff40051b1ca50da1f0770e6057832 Reviewed-on: https://gerrit.libreoffice.org/3525 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-21gbuild: fix spurious delivering of import libs (MSVC)Michael Stahl
The DLL aux-target is always newer than the work-dir import lib, which causes spurious re-delivery of the solver import lib. Touch the DLL file to the same timestamp as the import lib to prevent this. Change-Id: I8394201c7a672a50db3af51b9442f8992cdef1d1
2013-04-21accidentally renamed variableMichael Stahl
Change-Id: I940a807a6bd92393fa4bf01790c1478234228e5e
2013-04-20gbuild: PythonTest: try to make it more portableMichael Stahl
Mac OS X is not tested though. Change-Id: I143e20e91378b5c0546c0435dda756682d7773e7
2013-04-19Add -wd4996 back in the debvugging runtime (_DEBUG, dbgutil build) caseTor Lillqvist
Otherwise we get: 'std::_Copy_impl': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. Change-Id: I7d9cdb243b1bd7c884c5e4e658cfcd13d1ca8223
2013-04-19Interactive JuniTest debugging on Mac OS X, tooStephan Bergmann
Change-Id: If1faab6b5903e287d800899f243b8b568b27c312
2013-04-19fdo#42781 Do not unnecessarily ignore MSVC warningsPetr Kraus
Removed some ignored warnings for MSVC compiler that should not occur. MSVC 2010 can, but do not issue these for me. Some of them are "disabled by default" and should not occur unless -Wall C warnings: C4180, C4250, C4255, C4275, C4290, C4503, C4511, C4611, C4640 CXX warnings: C4180, C4242, C4265, C4503, C4511, C4626, C4640, C4996 Change-Id: I61b692a9c02a8900f80b019e11ad4acdea3e4dfc Reviewed-on: https://gerrit.libreoffice.org/3203 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-18Revert "Use -D_GLIBCXX_DEBUG here, too, in a dbgutil build"Tor Lillqvist
It is broken in the same way on iOS as on OS X, they use the same libstdc++. This reverts commit ca3392e833ef932664e236eafddeff874eb95d70.
2013-04-18gdb-core-bt: don't talk about core files without a reason.Miklos Vajna
When exit code is <128, then the test probably just failed, it did not get a SIGSEGV or similar signal, so it's expected that no core file is created. Change-Id: Ie9e3599bd6738c04afacb95000d09f9dd2a5c426