summaryrefslogtreecommitdiff
path: root/solenv/gbuild
AgeCommit message (Collapse)Author
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-25rebuild scp if autoinstalled libs changeDavid Tardon
Change-Id: I76cca4646bd0258cdf64a079edb017e6243839af
2013-04-25change warning to errorDavid Tardon
It seems that the nonexistent include paths introduced by the headers move have been cleaned up. We do not want to introduce new ones. Change-Id: Ife53bbf0c63e12a41f6b447357472ad41eed5cbe
2013-04-24fixes for libmergedPeter Foley
Change-Id: I77c7ebcbba4fd2c78d66d6088bbbf4a3122f7c8a
2013-04-24libpython.so is now in instdirPeter Foley
Change-Id: Ib1b1a853d265a28bfab19c0fa25b778fcec92ba6
2013-04-24gbuild: AllLangResTarget: add missing dependency on concat-depsMichael Stahl
... was missing from 8379fceb2e7c33e5e0555295be06fde60a6bb240 Change-Id: I664cfabdaf8834b1023dcc7e2a28b584abf10908
2013-04-24Prevent gb_Helper_PHONY from leaking into the shellTor Lillqvist
Change-Id: Ifec0ea4dd06c9c06a796f293f0fc0973296fed60
2013-04-24Let climaker work on *.rdb.oldformat for nowStephan Bergmann
...as it still reads type data via com.sun.star.registry.SimpleRegistry Change-Id: Ib65848eb77d220b83f5e70cb98ecf3cb9c46d7de
2013-04-24gbuild: AllLangResTarget: use concat-depsMichael Stahl
Change-Id: Ieb5e380b6e7a1c097d403f962b4e82b84cce40b5
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-24gbuild: do not use ' quotes when echoing dependenciesMichael Stahl
In AllLangResTarget the gb_Helper_abbreviate_dirs replaces the paths in the echo command with $W, which the shell then does not expand due to ' quotes. Mixing gb_Helper_abbreviate_dirs and ' is unsafe. Change-Id: Ia99d185917a55486d5fd67f82d5b323a05e3f5bd
2013-04-24Generate new format type rdb filesStephan Bergmann
With the main components (theTypeDescriptionManager, codemakers) supporting the new unoidl format, it is time to switch the generated type rdb files to that new format. For now, this is done as a two-stage process, though: Every $(WORKDIR)/UnoApiTarget/*.rdb file in the new format is accompanied by an *.rdb.oldformat file; both are generated in the same [UNO] gbuild step. This is for several reasons: * idlc still generates old format output. * The regcompare step (comparing against a reference rdb to catch incompatible changes) is still based on the old format. (The reg2unoidl tool needs any dependend rdbs as additional inputs, that's why the use_api information needs to be tracked as UNOAPI_DEPRDBS for now. That can be removed again when reg2unoidl is no longer used.) Change-Id: Id625c88f9ecdbaba9e2af7410417e00b4ba36acc
2013-04-24install gen. IDL docs using filelistDavid Tardon
Change-Id: I474f6e7a45d09683eb0dd7172114407c9dca84d7 Reviewed-on: https://gerrit.libreoffice.org/3571 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24Add license filtering to configure.Michael Meeks
Change-Id: Icd53c6ccfcca25d828d79ad62d1e075869998850
2013-04-24Clean up of dead code, now that UnoApiMerge.mk is goneStephan Bergmann
Change-Id: Ib65496c3bd26a55a713717776184441a959e5469
2013-04-24allow out-of-srctree builds on windowsChristian Lohmaier
config_host (config_$(gb_Side) dir was included from SRCDIR, but when runing the build in another directory, it is in BUILDDIR WinResTarget.mk was forgotten when the other references were updated in ae4e327739112ba326a2945fc0d5550739f3083d and follow-up ones. Change-Id: I8c5a8edb4a17dd33abdcdb04c3af830cad44e07a Reviewed-on: https://gerrit.libreoffice.org/3593 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-24UnoApiMerge has become unused nowStephan Bergmann
Change-Id: I9e4e153e1a9ac82d4015b73ecf3a9a2429ab346f
2013-04-24Update location of log-areas.doxTor Lillqvist
Change-Id: If54a3d7047f13ae9c9345c21737a89afee645403
2013-04-24make sure the dir existsDavid Tardon
I am hitting this problem with libcppunit.so.exports. It happens because libcppunit.so is not built by LinkTarget, so nothing has created $(WORKDIR)/LinkTarget/Library/ yet. Change-Id: Ibdde83c746f02110aab113491a2bf37bf2d417eb
2013-04-24gbuild: fix generated deps for API headersDavid Tardon
This should be reverted after some time, as it solves a one-time problem. Change-Id: Iaa4bc17267a24bd744573e56108b8d207936629c Reviewed-on: https://gerrit.libreoffice.org/3506 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: do not deliver UNO API headersDavid Tardon
There is no reason to copy 1000s of files to $(OUTDIR)/inc when we can easily include them from $(WORKDIR). Change-Id: I133ab6506ba76af132143b982f056e652c09d8f5 Reviewed-on: https://gerrit.libreoffice.org/3505 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24move URE headers to include/David Tardon
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23kill RTLIBS group; and autoinstall the librariesMatúš Kukan
This commit changes names for comphelper i18nlangtag and ucbhelper. Change-Id: I93731ef31f894854f9c642d3adee41006552e303
2013-04-23urelibs: do not merge purpenvhelper (unless mergelibs=all)Matúš Kukan
Change-Id: I147d05b91d46f05461f0548000c891f89486bcc7
2013-04-23always build also cppu and cppuhelper librariesMatúš Kukan
Otherwise auxtargets for these libraries are missing for URELIBS=TRUE Change-Id: Id07b052813609eac0cb68a651f1f976a88168c65
2013-04-23urelibs: add more librariesMatúš Kukan
Change-Id: Ibe1e811c2ee1db93200b63023dc5922cf1ecb6ca
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-22gbuild: LinkTarget: try to fix gb_LinkTarget_add_auxtarget for make 3.81Michael Stahl
Apparently make 3.81 has trouble with the wildcard in there, it never seems to find the file... implement the test in shell instead, since we invoke a command on both branches it shouldn't be slower. Change-Id: I93cc2cf09ae8af1d9379fde314a44ef92a28b434
2013-04-22add a check to catch typos in Package namesDavid Tardon
Change-Id: Icae1d4f9f96d8e79e4992f546aad0630f5ae9236 Reviewed-on: https://gerrit.libreoffice.org/3542 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-21gbuild: work around problems with aux-targets and DLL renames (MSVC)Michael Stahl
When renaming a DLL but not the import lib it can happen that the "touch" rule creates the DLL file which is not helpful. Since there is no easy way to fix this properly, and DLLs are not renamed often, put in a lame hack to detect the situtation and delete the import lib, which will get it re-linked on the next make invocation. Change-Id: I3909cf7d377433d263e517719cca07005bade512
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-21Some changes in qtz handlingZolnai Tamás
Executalbes, which work one language, generat qtz by own. (stringex,helpex,treex,propex) So these executables can generate qtz without po file when use them with qtz, call them with "-m" flag without parameter. Change-Id: I56c34db7151dc3ef0ce1c85ed607719e4cbb5e92
2013-04-21accidentally renamed variableMichael Stahl
Change-Id: I940a807a6bd92393fa4bf01790c1478234228e5e
2013-04-20gbuild: PythonTest: automatic GDB backtrace on failuresMichael Stahl
This requires changing the interface a bit to pass the directory containing the test modules separately, because strangely the "unittest" thingy cannot load the test modules by their absolute path when changing the current working dir to where the core dump should happen. So put the directory onto the PYTHONPATH to work around that; arguably it's even nicer for clients this way. Change-Id: I0d1d39f33d0c086c6c3014d2f9ba93f0a3dc0128
2013-04-20gbuild: PythonTest: try to make it more portableMichael Stahl
Mac OS X is not tested though. Change-Id: I143e20e91378b5c0546c0435dda756682d7773e7
2013-04-20warn if using nonexist. dirs in include pathDavid Tardon
Change-Id: If3c44175a20b7c1720c7200c9bb06372740f95fe
2013-04-19fdo#63591 pack images referenced by .ui filesDavid Tardon
Change-Id: Ia7e932a98d3f2c8bca981261406798760b69f8e8
2013-04-19gbuild: fix deps for UIConfig packagesDavid Tardon
Change-Id: I18c270cbcde82c315fd7cf1ba8dfc37ebe1a81aa
2013-04-19gbuild: PythonTest: do not invoke the python.bin directlyMichael Stahl
This works to run the test (with the fixed RPATH in python.bin from previous commit), but debugging with gdb becomes impossible. The tests need PYTHONPATH set to find the internal python libraries, but gdb also uses PYTHONPATH and then tries to load the libraries there which do not necessarily match the Python version that gdb is built against. Invoking the python wrapper shell script avoids this, and since that "exec"'s python.bin debugging with gdb works too. Change-Id: I6ea2feb44cebeda1ba2c397baa3837f9f1259a08
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-19run PythonTests with internal python tooMichael Stahl
... and use PYTHON_FOR_BUILD in the system python case. Change-Id: If3c3305ab4f613642bea9b775e4c7a602f5a476c TODO: needs testing on more platforms Reviewed-on: https://gerrit.libreoffice.org/3471 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-18gbuild: do not zip Configuration outputDavid Tardon
Change-Id: I9779cf6069737fcf10a592e1f5c750d5710d22e1
2013-04-18gbuild: use different announce strings for xcu stuffDavid Tardon
Change-Id: I650c810c4034019fc8928a07b11dd9d1f949a927