summaryrefslogtreecommitdiff
path: root/solenv/gbuild
AgeCommit message (Collapse)AuthorFilesLines
2013-05-02Make localization a bit more effectiveZolnai Tamás1-1/+1
1. get rid of some unefficiency The "old" executables used to parse items which has other language than en-US. To this items executables search MergeEntrys(read from po) and change the content if possible. This mixed localization method not need any longer. -cfgex: cfgmerge:WorkOnText() -xrmex: xrmmerge:WorkOnText() -transex3: export:PrepareTextToMerge() 2. Change the container of MergeData to get a bit efficiency. The new MergeDataHashMap is exploit that in most case the insertion and search happen in the same order.(similar to fifo) So add an iterator-chain to define an insertion order in the original hashmap. Every call of find it is a hint that the next element, to the last found one, is the searched one. If not than search such like in a HasMap. 3. Set up some order in helpex Helpex is the only one, which was not used to merge strings in the same order as export, so change it to work effective with the new HashMap. Helpex works with all file of a specific directory and po files contain the strings of these files in lexical order so use the same order for merge.(HelpTarget.mk) 4. Make export use MergeDataHashMap a bit more effective -The same MergeData contains strings to all language, so it need to get only once. -Just text entrys have MergeData, others not need to search for it. (e.g. bitmap) Plus delete some unused code. Change-Id: I6ec80cd2323ffea8f783d0b59dc89ca7eac3c205
2013-05-01gbuild: add group NONE for jars without comp. fileDavid Tardon2-2/+2
This is mainly to avoid polluting instdir because these jars are only used during build. Change-Id: Ia5bab3155787b690bd915f3e83e6b6144715948b
2013-05-01add spec. handling of jars to ExternalPackageDavid Tardon1-7/+33
Change-Id: Ib6561120f1c6f9804e5bf9ca36b6a655f1449d4f
2013-05-01let gbuild pick gb_RUNNABLE_INSTDIR from env.David Tardon1-0/+2
Change-Id: I0cf96aa137a33662c5713886dd6b2649e4dd01bc
2013-05-01copy jars into instdirDavid Tardon1-0/+28
Change-Id: I52d69be6b3b4208c90fd8e3ed4271f48fdc1ed47
2013-05-01add function for adding runtime libs to ExternalPackageDavid Tardon2-3/+52
This allows us to deliver libs needed at runtime to instdir in addition to solver. It could possibly also be used for autoinstalling external libs, just like we can already do for internal libs. Change-Id: I96d314c55581190e129adae8383224535748ac43
2013-05-01the internal packages should not be registeredDavid Tardon3-3/+3
Change-Id: I83f4c55582d1ff8ec6b468776090b453c4f85b89
2013-04-30...and fix gb_UNIT_FAILED_MSG outputStephan Bergmann2-5/+5
Change-Id: I0fa3036c5be34eb598e0390430028ae818ebef0d
2013-04-30Adapt PythonTest.mk to CppunitTest's b308d0b061b24688cf1312af817a2af1c21e2bd8Stephan Bergmann1-1/+1
"More helpful message how to re-run a unit test that failed." Change-Id: I2d99d1e7ff5fd326552f56d21fad7d1211966b2b
2013-04-30fix typo: trailing \Matúš Kukan1-1/+1
regression from 22e1a5b836b898298b6a5cfbaf1c82d9c3f08349 Change-Id: Ia7dbad2fdad9c00c86a55395308dc35ecc510dee
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks6-107/+21
2013-04-30More helpful message how to re-run a unit test that failed.Jan Holesovsky1-2/+5
Change-Id: Ibd85ecd6a24611313a24b79b3e4b122eccd02a81
2013-04-30gbuild: UNOLIBS_OOO group is no moreMatúš Kukan8-18/+2
Change-Id: I1b239844391c0d59fc26e44f789cc39ed602f54b
2013-04-29gb_JunitTest_JunitTest_platform_longpathname_hack is unusedStephan Bergmann1-29/+0
...since 81af84c04fa7ef8c8c12d2a9d3899a9a75cb8260 "gbuild: let JunitTests run with MSVC." Change-Id: I4ba97431c3439c0bed74149fe66cbb76db5317ce
2013-04-29climaker no longer needs *.rdb.oldformat input filesStephan Bergmann1-2/+2
Change-Id: I55447aba5abcc8205543c7ca64763b5c99854837
2013-04-29TyposStephan Bergmann1-2/+2
Change-Id: I2ff65979a9da7da12ad6ac97dc090898913a2e8c
2013-04-29urelibs: break cyclic dependency; treat regcompare as build toolMatúš Kukan1-0/+1
Build tools do not link against merged libraries but individual small ones we need for this (gb_BUILD_HELPER_LIBS). Change-Id: Ia765e11a93ed05d126334a3e146fb88e368954ac
2013-04-29move to MPLv2 and remove my name from the header itselfNorbert Thiebaud5-120/+20
Change-Id: I1961da149ed350131e19233bd5694ae8b6fe65ba
2013-04-28gbuild: copy resources into $(INSTDIR)David Tardon1-0/+14
Change-Id: I06d20538ec2b4f80963e0e7c6c401b3d573aac86
2013-04-28gbuild: copy executables into $(INSTDIR)David Tardon1-0/+29
Change-Id: I88f6327c12fa2b782aa5c82e5891006713348477
2013-04-28gbuild: copy shared libs into $(INSTDIR)David Tardon1-1/+38
Change-Id: I20612a93a25d1748725a792cfae0bce8c3ef262b
2013-04-28gbuild: add var. for enabling runnable instdirDavid Tardon1-0/+2
This is a part of my effort to get a runnable $(INSTDIR) as a more convenient alternative to make dev-install. I plan to copy all necessary shared libs, executables and other files to $(INSTDIR), which increases the disk space demands for a build (there would be three copies of a library/executable in the same build: one in $(WORKDIR), another in $(OUTDIR) and one in $(INSTDIR)). Because the runnable instdir idea is limited to Linux anyway (at least for now), it will be disabled by default. Change-Id: Ib61109b1a193c61c0236b50b64c34fea20f40297
2013-04-28do not copy anything to instdir in build stageDavid Tardon1-9/+6
Change-Id: I923704d47d4fbc764e847a1bd6eed9fca2dce089
2013-04-28drop UnoApiTarget_get_*headersDavid Tardon4-21/+1
This was actually meant for idls, not headers :-) And it is obsolete, as we do not deliver these to $(OUTDIR) anymore. We use explicit include paths into $(SRCDIR) instead. Change-Id: Iccb0dc529a99be59390f032fc331996146829abb
2013-04-28drop forgotten decl. of _inc Package for UnoApiDavid Tardon1-1/+0
We do not deliver the created headers anymore. Change-Id: I5317c43522d0b91044ccc880031795360816b21d
2013-04-28only deliver IDL files if neededDavid Tardon1-0/+14
Change-Id: If59a19363d9b82f17fcdfe4632edf6f757c65f64
2013-04-27fdo#55814 migrate java unit test to pythonDavid Ostrovsky1-0/+2
Change-Id: Ib7ef29354f5d43abd9e67745dd6d3fccaec8612e
2013-04-26remove executable bitLuboš Luňák1-0/+0
Change-Id: I3a26edc6bef3e7db875405458dbda8de06222bd3
2013-04-26do not output random 'true' in verbose buildLuboš Luňák1-1/+1
It's not necessary anyway from what I can tell. Change-Id: Idb4699f29eb1bba32197667c9a6785e653dd8382
2013-04-26At least for now, PythonTest runs against dev-install treeStephan Bergmann1-55/+1
...so clean up. (Changing this might be tricky, esp. on Windows where the python.exe wrapper adds the dev-install tree's dirs to PATH, so trying to run tests against solver instead of dev-install tree libs will result in chaos. This will become moot when we finally have solver == dev-install.) Change-Id: Icbfc3928a7ff178fd86d78d15ffcf539557efbb4
2013-04-26Mac OS X needs devinstall's program dir in PYTHONPATHStephan Bergmann1-1/+1
...otherwise, "import pyuno" won't work in the test. Change-Id: Ife6509af51a276043d6dfb1a9c1f45c717e219d7
2013-04-26Towards a Mac OS X PythonTestStephan Bergmann5-23/+44
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 Bergmann1-1/+1
Change-Id: I8f6859e172d272887166203919c5a4538c61b6cc
2013-04-26gbuild: MSVC: only re-link libraries if exported symbols changeMichael Stahl1-0/+8
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 Tardon2-7/+8
Change-Id: I76cca4646bd0258cdf64a079edb017e6243839af
2013-04-25change warning to errorDavid Tardon1-1/+1
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 Foley1-1/+4
Change-Id: I77c7ebcbba4fd2c78d66d6088bbbf4a3122f7c8a
2013-04-24libpython.so is now in instdirPeter Foley1-1/+1
Change-Id: Ib1b1a853d265a28bfab19c0fa25b778fcec92ba6
2013-04-24gbuild: AllLangResTarget: add missing dependency on concat-depsMichael Stahl1-1/+2
... was missing from 8379fceb2e7c33e5e0555295be06fde60a6bb240 Change-Id: I664cfabdaf8834b1023dcc7e2a28b584abf10908
2013-04-24Prevent gb_Helper_PHONY from leaking into the shellTor Lillqvist1-1/+1
Change-Id: Ifec0ea4dd06c9c06a796f293f0fc0973296fed60
2013-04-24Let climaker work on *.rdb.oldformat for nowStephan Bergmann1-4/+4
...as it still reads type data via com.sun.star.registry.SimpleRegistry Change-Id: Ib65848eb77d220b83f5e70cb98ecf3cb9c46d7de
2013-04-24gbuild: AllLangResTarget: use concat-depsMichael Stahl1-1/+2
Change-Id: Ieb5e380b6e7a1c097d403f962b4e82b84cce40b5
2013-04-24gbuild: get rid of processdeps.awkMichael Stahl3-94/+9
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 Stahl2-2/+2
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 Stahl3-4/+4
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 Bergmann3-5/+19
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 Tardon1-0/+61
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 Meeks1-1/+1
Change-Id: Icd53c6ccfcca25d828d79ad62d1e075869998850
2013-04-24Clean up of dead code, now that UnoApiMerge.mk is goneStephan Bergmann1-26/+2
Change-Id: Ib65496c3bd26a55a713717776184441a959e5469
2013-04-24allow out-of-srctree builds on windowsChristian Lohmaier1-2/+2
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>