summaryrefslogtreecommitdiffstats
path: root/solenv
Commit message (Collapse)AuthorAgeFilesLines
* Revert "fdo#51115: gb_Extension_add_file: fix Windows build:"Michael Stahl2013-09-221-6/+1
| | | | | | | This actually should no longer be necessary since AUXTARGETS were fixed in 85b6a93cf41fb05e726027e34fcd805330e20414. This reverts commit e818f8fa1f79c2eb2d647678333b8d12599dda69.
* gbuild: remove SOVERSION variable since it is hardcoded anywayMichael Stahl2013-09-225-13/+8
| | | | Change-Id: I625291ea86c1c3caf7fa5400e380defa6d0d0bc8
* gbuild: make the versioned library the linktarget on UnixesMichael Stahl2013-09-228-52/+57
| | | | | | | | | | | | | | | | | If there is a SOVERSION then the versioned library is a real file and the unversioned one just a symlink; better to have the real file be the target. - add gb_Library_UDK_MAJORVER variable for SOVERSION - remove version parameter of gb_Library_set_soversion_script; instead hardcode the SOVERSION since it must be included in the file name in gb_Library_FILENAMES anyway - store the unversioned symlink in the ILIBTARGET variable - via new gb_Library_get_workdir_target_versionlink function - removed gb_Helper_install call that resulted in both versioned and unversioned libs in instdir Change-Id: I2c6f1698f0e39fdb2c07964d43ed9485cbca0b30
* gbuild: make the DLL the LinkTarget of Library and CppunitTestMichael Stahl2013-09-2211-77/+70
| | | | | | | | | | | | | | | | ... instead of the import lib. If the DLL is an auxtarget, it cannot be deleted without annoying errors, and we want to be able to rm -r $(INSTIDR) and build incrementally from there. - replace DLLTARGET -> ILIBTARGET - replace gb_Library_DLLFILENAMES -> gb_Library_FILENAMES - replace gb_Library_FILENAMES -> gb_Library_ILIBFILENAMES - replace gb_Library_get_dllname -> gb_Library_get_filename - replace gb_Library_get_filename -> gb_Library_get_ilibfilename - replace gb_CppunitTest_get_libfilename -> gb_CppunitTest_get_ilibfilename - replace gb_LinkTarget_set_dlltarget -> gb_LinkTarget_set_ilibtarget Change-Id: I92a2f061a653b9b5941f3232d729987b1317b6f8
* gbuild: deduplicate gb_Library_get_exports_targetMichael Stahl2013-09-223-10/+4
| | | | | | and remove comment obsoleted by 170668d83911c12475eccf69eba5e191863d4a56 Change-Id: Iba8db6214e04480eaf45bcd069ccd8b41fd25874
* gbuild: refactor LinkTarget representationMichael Stahl2013-09-2211-72/+122
| | | | | | | | | | | | | | | | | | | | | | | | If the link targets are not in workdir then 2 different aspects are needed: the previously used location relative to workdir's LinkTarget dir (for all the misc. related targets), and the full target file. Adding an additional parameter to all LinkTarget functions would be quite annoying, especially since it would need passing through all the gb_LinkTarget__use functions in RepositoryExternal.mk; instead encode both into the linktarget itself, and modify the functions gb_LinkTarget_get_target to return the target and all others to return the workdir linktargetname. - replace gb_Library_get_linktargetname with either: * gb_Library__get_workdir_linktargetname * gb_Library__get_linktarget_target * gb_Library_get_linktarget - similar for gb_Executable_get_linktargetname - similar for gb_StaticLibrary_get_linktargetname - similar for gb_CppunitTest__get_linktargetname - add calls to gb_LinkTarget__get_workdir_linktargetname where needed Change-Id: I917ad7957fee50ec2517a9f9cc9ff452c8d97d1b
* PoC: no libs in solverBjoern Michaelsen2013-09-222-3/+3
| | | | Change-Id: I8efd69d5a6f26fdfd334ff0bc38848eccc7a85fd
* gbuild: document parameters of LinkTarget methodsMichael Stahl2013-09-221-10/+81
| | | | Change-Id: Ib22df5811ab07e93a9d7e987b66b12506265bf96
* gbuild: add gb_Library_use_restargetMichael Stahl2013-09-222-0/+11
| | | | Change-Id: Ic0a2fd3c1adeb55ec27f6a2eb4709be598120fba
* gbuild: remove unused gb_LinkTarget_use_headersMichael Stahl2013-09-222-13/+0
| | | | Change-Id: Idce74274169970bdd35869578cc0046fe502e614
* installer: actually WINDOWSBASISROOTNAME was wrongMichael Stahl2013-09-221-2/+3
| | | | | | | | What _actually_ determines the prefix of the destination is the HostName property of the scp2 Directory with Style OFFICEDIRECTORY, so check that. The two are often the same but not when building a LibreOffice_Dev_SDK. Change-Id: Ic127447ef40731f0967b89ece631f9c7b076720f
* gbuild: gb_SdiObject_get_dep_target does not existMichael Stahl2013-09-221-2/+2
| | | | Change-Id: Id744a6035ad60cc66d791e8ce34b60ad5b200923
* gbuild: ExternalPackage: fix stupid typoMichael Stahl2013-09-221-1/+1
| | | | Change-Id: Ie8d8ac0ead879c90557f8f76d1a63fe9fde764d0
* undefined function warning gb_Library__set_soversion_script_platformMichael Stahl2013-09-222-0/+5
| | | | Change-Id: I81df2b8d2016a900bdebc0feaa33db7e587ba4bb
* gbuild: remove gb_NoExPrecompiledHeader_get_clean_targetMichael Stahl2013-09-221-1/+1
| | | | | | Obsolete since 2bf530153e9fb24aef62bf5e16e23ea1412887dd. Change-Id: I6a66e14420bd3c6cb7557932a83cf0c4b95cdd11
* Use tempfile instead of stdin in exectest.plStephan Bergmann2013-09-201-20/+32
| | | | | | ...so it can easily be reused to test unoidl-write, too. Change-Id: I4992850b44faaa152bcf1d281f2787824d6ad036
* Strip exectest.pl down to what is needed by its only clientStephan Bergmann2013-09-201-37/+12
| | | | Change-Id: I9355f8618757f657fb8f8408a10b02f113fc0966
* Directly build UNOIDL .rdb files from .idl filesStephan Bergmann2013-09-197-246/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...via unoidl-write and the new source-format registry provicers, instead of using idlc to produce .urd files, regmerge to merge them into legacy .rdb files, and unoidl-write to translate those to new UNOIDL .rdb files. gb_UnoApi and gb_InternalUnoApi ctors take an additional argument now that is the path (below $(SRCDIR)) of the source-format registry from which to obtain UNOIDL entity definitions. It can either be an .idl file (in which case no *_add_idlfiles calls should be used and the resulting .rdb will contain all the entities from that one .idl file; used in some tests to conveniently define all test-specific entities in a single file) or a directory denoting the root of an .idl file tree (in which case *_add_idlfiles calls specify the entites to include in the resulting .idl file). (In the first case, the generated .rdb file needs to depend on that single .idl file, so the gb_UnoApiTarget ctor contains a dependency on that additional argument, which happens, as a side effect, to trigger rebuilds in the second, tree-based case when addition/removal of .idl files in the tree causes updates of directory time-stamps.) UnoApiPartTarget and all the dependency-tracking logic based on .urd files in solenv/gbuild/UnoApiTarget.mk is gone. Generation of an .rdb file now depends on its source registry (see previous paragraph) and all the .idl files specified with *_add_idlfiles (in the second, tree-based case above). A consequence of that is that gb_UnoApi_add_idlfile, -_nohdl, and -_noheader all do the same now. I left them in for now anyway, maybe they become relevant again when the use of cppumaker is changed to read directly from a source-format registry instead of going via a .rdb registry. The legacy tools idlc, regcompare, regmerge, and regview are still contained in the URE or SDK for now. cb344cd59e1ddb7c6db66dbd9263b4755969d4ba "Revert 'Looks like idlc resolved typedefs inside sequence<...>'" is re-reverted as now "the current offapi.rdb is generated via unoidl-write instead of idlc." Change-Id: I3d9d92f17326bc9f49dd934c85aab6a17951d06d
* Revert "gcc-wrapper: warn on invalid path names."Jan Holesovsky2013-09-191-5/+1
| | | | | | This reverts commit 5f0145818cba17558708ef731e2bcc6a0b92a9f7. Breaks the tinderboxes, I am afraid.
* Fix documentationStephan Bergmann2013-09-181-3/+4
| | | | Change-Id: I0fa7a31ea783437632838ef82ee4d21c38f75698
* gcc-wrapper: warn on invalid path names.Michael Meeks2013-09-181-1/+5
| | | | Change-Id: Ib057d519485da3a454bad579675ae718c42155eb
* Replace binary type_references with human-readable .idl versionsStephan Bergmann2013-09-182-11/+2
| | | | | | | ...obtained from the old .rdb files via "unoidl-read --published". This removes the need for update-rdb.sh. Change-Id: I73c0d026af7e27370602f83c61dfa76fc4d17a83
* New unoidl-check tool to replace regcompareStephan Bergmann2013-09-183-10/+10
| | | | | | | | | | | | | | | | ...for checking compatibility with the reference rdbs. unoidl-check is no longer based on the legacy registry format, but can process all the various new UNOIDL registry formats. regcompare is still included in the SDK for now. (gb_UnoApi[Target]_set_reference_rdbfile now takes a non-empty sequence of rdb files, any necessary dependencies of the final rdf file preceding it just like it is required on the unoidl-check command line. Also, executing the unoidl-check now properly depends on those rdb files.) TODO: unoidl-check is too conservative for now and flags some changes as incompatible that are not. Change-Id: I92e4c69403c5e3fcb31707c98c65a2f509592dd4
* Sign .msi/.msp files when build signing is enabled on WindowsAndras Timar2013-09-181-0/+49
| | | | Change-Id: I927d78ae898596e6425b086f4d50fc4e1b9361c1
* do not copy invalid, merged libraries to instdirMatúš Kukan2013-09-171-1/+1
| | | | Change-Id: I7f8e12530344e23e9bc68510795e90640ea8fd43
* goodbye linkoo.. you have served wellMatúš Kukan2013-09-173-618/+2
| | | | | | | | | | This commit: - removes linkoo and --disable-linkoo option - removes 'dev-update' make target - creates --disable-ooenv option - removes LD_LIBRARY_PATH and PATH settings in ooenv Change-Id: I9530558531e9cb58b8282754ec8a6c655f190480
* Replace reg2unoidl with unoidl-writeStephan Bergmann2013-09-162-4/+4
| | | | | | | ...that can also generate an .rdb containing a specific set of entities, intended to replace idlc (when reading directly from .idl source registries). Change-Id: I630ce4640828979d7952dc24dbbef80a42a8140a
* fdo#68790: fix build error on Win when system locale=="Japanese(Japan)"Tomofumi Yagi2013-09-141-1/+2
| | | | | | | | | | | | | | This patch modifies transex3. Modified transex3 outputs a file with BOM(if MergeMode is true). *.[hs]rc files with BOM avoid this problem. This problem is that MSVC interprets UTF-8 source code without BOM as local codepage when system locale is "Japanese(Japan)". Change-Id: I3e12499a91a954236f48e6d7e360d26c93d19ed6 Reviewed-on: https://gerrit.libreoffice.org/5851 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Kohei Yoshida <libreoffice@kohei.us> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
* Clean up Mac OS X .jnilibsStephan Bergmann2013-09-142-97/+1
| | | | | | | | | Those .jnilibs that are not needed as .dylibs (this includes those that are also UNO components) are handled via RepositoryFixes.mk. The remaining one, libjava_uno.jnilib is packaged as a symlink in instdir. Everything else is not necessary and removed (including the venerable oddity macosx-create-bundle). Change-Id: I34a1801b0733cdff885c1c72db16fa631c5d82ef
* installer: put in a hack for MacOSX to find language pack filesMichael Stahl2013-09-132-1/+6
| | | | | | | | | | | | | | The files are in LibreOffice.app, are packaged in LibreOffice Language Pack.app and will then be copied into LibreOffice.app when the lang-pack is clicked by the user. This also neatly avoids having to deal with file names with spaces in make. Also, root directory is $(PRODUCTNAME).app which works with --disable-release-build too. Change-Id: Ie064831316d790b137022a1632721c62500a46a1
* configure: ensure that install_name_tool matches the toolchain...Michael Stahl2013-09-131-1/+1
| | | | | | | ... used to build, since otherwise it'll break with "malformed object" errors. Alo replace now unused XCRUN variable. Change-Id: I58a20c34f903b7a7acb46597d94243389e6b3842
* gbuild: add missing directory dependencies for Obj{C,Cxx}ObjectMichael Stahl2013-09-131-0/+2
| | | | Change-Id: Ifafcbe6ed88a2cc18ecb1ff123adf974e10e5187
* gbuild: fix rule for gb_ObjCxxObject_get_dep_targetMichael Stahl2013-09-131-1/+3
| | | | | | | The typo causes spurious re-builds and error messages about the dep-target. Change-Id: Ia8bc236759c7ef13f81fe91c88f467d6e507bf29
* installer: find files in INSTDIR also on WNTMichael Stahl2013-09-122-4/+9
| | | | | | | ... where everything is inside some artificial "LibreOffice 4" directory that is set as WINDOWSBASISROOTNAME in openoffice.lst.in Change-Id: Ib04f84a8064739e0ea9d11b3b79cc1fa167a06e5
* gbuild: remove gb_Rdb__get_final_targetMichael Stahl2013-09-121-11/+18
| | | | | | | | ... by replacing gb_Rdb_install with a separate constructor so the right target can be registered at the module. There is still an ugly special case for the ure/services. Change-Id: I81c004143f201aaf38daca99819888313ee24f49
* gbuild: remove gb_Pagein__get_final_targetMichael Stahl2013-09-122-8/+9
| | | | Change-Id: Ie3fcd7330e4e9f9d3ab48227edd192984d7ec49a
* ';' as a delimiter sometimes does not work for unknown reasonMatúš Kukan2013-09-121-3/+3
| | | | | | Or rather it does work only sometimes. Change-Id: I97efd718dc6fcf370ca6456432b275e563f62f62
* gb_CustomTarget_ulfex_rule: add dependency on directoryMatúš Kukan2013-09-121-1/+1
| | | | Change-Id: Ibe00404978cc5b7efc31fe84cb5d0a79a0e13ce3
* use ';' instead of ':' to separate two parts of a stringMatúš Kukan2013-09-121-3/+3
| | | | | | ':' is used in a path to files on Windows Change-Id: I3ca283a575bb753cbcd4dfd350947710efad3a62
* Unbreak mingw build of udkapiFridrich Štrba2013-09-121-0/+3
| | | | Change-Id: I8b88aec19d5aa95761f58b26b4290b7a468dcb8f
* installer: restore these tooThomas Arnhold2013-09-121-0/+28
| | | | | | This was dumb - I can't use search correctly ;) Change-Id: I966ad8bce2edbd4a6c58f82568210e110c88a6c5
* installer: restore generate_cab_filename_for_some_cabsThomas Arnhold2013-09-121-0/+24
| | | | Change-Id: I98155bcf6663aa0e7944807fd7cc8b49ab349ee8
* installer: Remove packager.plThomas Arnhold2013-09-127-543/+0
| | | | | | | | | | | | | This script seems obsolete since: 1d84e9d1d363bd550129efcbeafe670c0a049dd0 updatepack: $(PERL) -w $(SOLARENV)$/bin$/packager.pl Found it because it calls dmake. Change-Id: I9cb1c194ed56d1fc8125ae5848190854dfe4d86e
* installer: remove unused variablesThomas Arnhold2013-09-1210-30/+1
| | | | Change-Id: I3c9669f6fdf25a1a244335ae0317c3a8a933762b
* installer: spring cleaningThomas Arnhold2013-09-1212-536/+0
| | | | | | some uncalled and unused stuff Change-Id: I74cc7f58a78befa119102f18560782c5b1ff45fd
* installer: search files in INSTDIRMichael Stahl2013-09-122-0/+21
| | | | | | | | | | | INSTDIR has everything that will be installed anyway, so ideally the file search patch should only be INSTDIR + whatever is needed to get the Package file lists; especially WORKDIR seems inappropriate there. The exception is extension .oxt files which apparently are not in INSTDIR; not sure what to do about those. Change-Id: I2477c25ab9fcf953fae9c219e76c467e14729cda
* installer: remove support for FILE_CAN_MISS styleMichael Stahl2013-09-122-5/+0
| | | | | | The idea appears fundamentally error prone, and is unused. Change-Id: I65e1c5b80d7101b8ba37c213fcb787d31e3b9d1d
* installer: remove resolving_hidden_flagMichael Stahl2013-09-122-80/+0
| | | | | | | Fortunately such "tooling" appears to be extinct, and there are no HIDDEN flags in scp2 anyway. Change-Id: I33bd80e3e74cc1eaaab0fbc50d02090088ae4be4
* solenv: remove other addsym-macosx.sh tooMichael Stahl2013-09-111-68/+0
| | | | | | Unnecessary since gbuild does not use map files on Mac OS X. Change-Id: I2d3ae95634a5c4fe925f391ea37b62f73d2f1524
* remove comment about removed multi-repository supportMichael Stahl2013-09-111-12/+0
| | | | Change-Id: I67e9caa794ec5b55a7e7ab897c331008a675a2ac