summaryrefslogtreecommitdiff
path: root/solenv/gbuild
AgeCommit message (Collapse)Author
2013-03-19touch --no-dereference does not work on MACOSXPetr Mladek
Change-Id: I71e8658453e0e96e631cc2ef3996d660950c49cc
2013-03-19fix race condition when using hardlinks to deliver into solverPetr Mladek
We need to use "touch --no-dereference" on the delivered files. Otherwise, it creates empty target file when you touch symlinks and delivering the real target file might fail. This caused many build failures when delivering: liblcms2.so -> liblcms2.so.2.0.4 liblcms2.so.2 -> liblcms2.so.2.0.4 liblcms2.so.2.0.4 Change-Id: Ibd61815c12e002b495e848a125a959b8524b0935 Reviewed-on: https://gerrit.libreoffice.org/2840 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-15remove trailing whitespaceBjoern Michaelsen
- as this is being quoted, this causes breakage Change-Id: I6834a3235ae2334a0d6f7df0f97dcde7cdc6a5d0 Reviewed-on: https://gerrit.libreoffice.org/2739 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-02-15rhbz#908674: Adapt rtl::Allocator::construct to C++11Stephan Bergmann
...otherwise, at least with some --with-system-boost versions and C++11 compilers, like with Fedora's boost-1.50.0-4.fc18.x86_64 and gcc-c++-4.7.2-8.fc18.x86_64, using this to copy-construct an instance of boost::unordered::detail::ptr_node<std::pair<rtl::OUString,Bootstrap_Impl*>> in the call to p_bootstrap_map->insert(...) in rtl_bootstrap_args_open (sal/rtl/source/bootstrap.cxx) would memcopy the ptr_node and fail to call rtl_uString_acquire, leading to memory corruption later on when rtl_uString_release is called one time too often. It is not entirely clear to me whether this is a shortcoming of the given Boost version, but this patch solves the problem and brings rtl::Allocator::construct in line with the (changed) Allocator requirements of C++11 anyway. The problem potentially lurks with every use of rtl::Allocator, but only showed now begining with LO 4.0 where e5111574fd904b38a3980ca4ea3d21cfcb22dea6 "Revert 'sb140: sb140: #i116981# clean up memory upon exit'" re-introduced code into rtl_bootstrap_args_open that inserts into a boost::unordered_map that uses rtl::Allocator. (cherry picked from commit c91d353872b7d4e1a39192bff1444b46cab6e5eb) Conflicts: config_host/config_global.h.in ...solved by resorting to the old -DHAVE_CXX11_PERFECT_FORWARDING logic spread across various solenv/.../*.mk instead. Change-Id: I3be22f59a8eb49d31458480c27f3ce15803c7fd4 Reviewed-on: https://gerrit.libreoffice.org/2166 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-01-14add config path for commit bf85d5eb33ff33c9ff94336de9d9f67825296c10Noel Power
Change-Id: Ib8dfd276246bc6bd157a63c26184991a9993c3c5
2013-01-10Add configure switch that allows hardlink deliverTomas Chvatal
This switch just makes possible to configure in ln delivery instead of cp based one. The feature was already in the place, we just make it visible as configure option now. Change-Id: I778ef3b03e6b9a57057e66ff6307e7da46bcd935
2013-01-07deliver qtz translations for .ui filesDavid Tardon
regression from 76091d814ca084ba66fcb9db8bc4565c47ee16a5 Change-Id: I70c27cd3f72c453a1b4c2fb65b6172c8c251a741 (cherry picked from commit 85e36d2baa54eb7b65cc680389eacb2b5884c100) Signed-off-by: David Tardon <dtardon@redhat.com>
2013-01-02only package .ui translations that can be producedDavid Tardon
That means that there is corresponding .po file for given language. As a slight optimization, do not even try to run uiex if _no_ translation would be produced. Change-Id: I901e88b20edfb55e4f8bc661bacf8218b603bdcb (cherry picked from commit 76091d814ca084ba66fcb9db8bc4565c47ee16a5) Signed-off-by: David Tardon <dtardon@redhat.com>
2012-12-29rethink external executable setupDavid Tardon
Change-Id: I5293fea9b5404b82e72761407d325c408a2e45ca (cherry picked from commit bbf2f413958e7be2bef34c62932fc76f83e7ed18) Signed-off-by: David Tardon <dtardon@redhat.com>
2012-12-28fix delivery of qtz "translations"David Tardon
Change-Id: I2f0ae1eff5bd009a7cb467b38c1743eff51dc563 (cherry picked from commit f45a07d6f4eefc75d983d7aca2b57d075749b4e7) Signed-off-by: David Tardon <dtardon@redhat.com>
2012-12-28simplify UI packagingDavid Tardon
Change-Id: Id829cd4f12cb4d3fc8cb08dc5b297ee3cfc7591b (cherry picked from commit 4faaf5579937e2e2fc91aef28ba4974020d2fa9f) Signed-off-by: David Tardon <dtardon@redhat.com>
2012-12-28create all translations for a .ui file in one uiex callDavid Tardon
This should help a lot with Windows release build times (i.e., move it from "glacially slow" category to just "slow"). Change-Id: I6d397eb5d1ec1779616c3eef8e51f9cf29d5acec (cherry picked from commit b209dec8bbc9be5471438837a4da64adfa350298) Signed-off-by: David Tardon <dtardon@redhat.com>
2012-12-28let uiex produce more translations in one runDavid Tardon
uiex differs from the other *ex tools in that translation for every language must be in a standalone file, named after the language code. So uiex should take an output _directory_ instead of a file. Change-Id: If3ed966147c6d11d1fe85c484463f1bca4eec172 (cherry picked from commit c27b2e377f612de2476ff0aa0ddc909ff214fcb2) Signed-off-by: David Tardon <dtardon@redhat.com>
2012-12-17Remove --with-stlport from LO 4.0Stephan Bergmann
The STLport was only built for the benefit of old extensions on platforms that once used it themselves (Linux x86, Solaris x86 and SPARC, Windows). We deliberately break such old extensions for LO 4.0 by no longer shipping that backwards-compatiblity cludge. Keeps STLport listed in readlicense_oo/ because of o3tl/inc/o3tl/compat_functionality.hxx. Also removes GXX_INCLUDE_PATH, as that was only used by STLport (if at all?). (cherry picked from commit 77d3777c8934171a9557a96872d020cf12443fb9, minus the code that addressed Windows C4005 warnings -- which after all were due to unrelated changes for PCH rather than this commit) Conflicts: postprocess/prj/build.lst Change-Id: Ie138a219fbbc86fb5aaa7ea0b88cf349935d9829
2012-12-06rm intermediate files that are input of helpindexer and should not be packagedAndras Timar
Change-Id: I8b3e526fd413bd3ced75bf1cd81f9be2540bf9e8
2012-12-04revert the huge performance regression in gbuild intoduced with ↵Bjoern Michaelsen
0a45deba2be4a77db7540bd050b25bd6c26d7513 - we should default to make -r - everything else grows exponentially with the number of targets - gbuild should now have sane noop builds again even on make 3.82
2012-12-04adding calc add-in for option pricingtino
Change-Id: Ica4b621a7ae7e5ab447192ae3fe7b8911295bef2 Reviewed-on: https://gerrit.libreoffice.org/1232 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2012-12-03make sure fast string operator+ is used only by LO codeLuboš Luňák
Change-Id: Iaa8fc379e4d032931c0f60a3e3525783d8d28964
2012-12-03Use -W4 instead of -Wall, and don't disable warnings that are off by defaultTor Lillqvist
2012-12-03More -wd fixupsTor Lillqvist
2012-12-02gbuild: call gb_ExternalExecutable_collect_registrations...Michael Stahl
...after reading platform makefile because at least python uses platform dependent gb_PYTHON_PRECOMMAND. Change-Id: I894dfd56b4a96828556f657ae63c6f69eebdea0b
2012-12-02ditch unused makefileDavid Tardon
Change-Id: If859e46758c622f4841b8b0389abe2485f4af85a
2012-12-02move setting up of ext. executables out of gbuild.mkDavid Tardon
Change-Id: Icacd44abfa5bf5f75f0ee719b39fba6821976a8a
2012-12-02Don't disable warnings that supprted MSVC versions don't generateTor Lillqvist
2012-12-02Document the warnings we disableTor Lillqvist
2012-12-02Argh, I meant Visual Studio 2010Tor Lillqvist
2012-12-02Disable MSVC warning C4986Tor Lillqvist
This is a new warning in Visual Studio 2012. Otherwise, when using /Wall (as we do), you get tons of warnings from the compiler's own headers: .../crtdbg.h(1041) : warning C4986: 'operator new[]': exception specification does not match previous declaration .../new(79) : see declaration of 'operator new[]' It seems to be generally recommended not to use /Wall with MSVC (that option does not really have the same intended use as gcc's -Wall, people say), but use /W4 instead: http://stackoverflow.com/a/4001759/259398 So maybe we should change that -Wall to -W4? Also, we should go over the long list of -wd options and check each whether we really want it or not. Maybe, while at it, add a comment for each giving its one-line meaning.
2012-12-02No lang no qtzZolnai Tamás
Change-Id: I6b5649077fda265a2aff253b5e2534bfd818b3bc
2012-12-02Make qtz work in UIZolnai Tamás
Change-Id: Iced0b874405942782574fe46b58c3caafb2deeb4
2012-12-01Not make qtz properties in release buildZolnai Tamás
Change-Id: Ib012faeb3eb1bfd10cfce20426afa138a2ed8d34
2012-12-01files need to be added before patches are appliedLuboš Luňák
xmlsec1-mingw32.patch patches keywrapers.c
2012-11-28gbuild: UnoApiTarget: delete RDB file before rebuilding itMichael Stahl
regmerge does not by itself remove those parts of the RDB that have their IDL files removed. Change-Id: Ie3972779deb7de4250e1a5f0f66c2e964fc60043
2012-11-28gbuild: UnoApiTarget: fix spurious rebuilds:Michael Stahl
Since commit 800f388206b15db545d8b96d5546b766a4fc7b32 there are spurious rebuilds when a IDL file is rebuilt, because the rule for the idlc invocation was changed to rebuild all IDL files, but the dummy rule for .urd files only touched that when its own IDL file changes; this means that the header target is not seen as outdated in this make run, but it will be outdated in the next make run because then the .urd file timestamp is checked and is newer. The dummy rule for .urd files must touch the .urd file if and only if the rule for the .done file re-builds that .urd file. Change-Id: I37938aef0621c7d46809e02a06d22248de28271b
2012-11-25Work around make 3.81 pattern rule problemsRob Snelders
Change-Id: Ife5cccd8c7011199e370cd68a76a077451675a55
2012-11-25Work around Windows' missing symlinksStephan Bergmann
Instead of creating a single solver/*/installation/program -> ../../bin symlink used by all gb_CppunitTest_use_executable together, individually copy each gb_CppunitTest_use_executable into a true solver/*/install/program/ diretory. (Renamed solver/*/installation/ to solver/*/install/ so that old existing solver/*/installation/program symlinks on non-Windows platforms would not interfere with the new cp rule.) Change-Id: I4ce82b41856056669ad074ff2ef8004fdc6533c1
2012-11-24Turn PDF import from bundled extension to plain codeStephan Bergmann
No need for dirty hacks linking in basegfx objects statically any more. To avoid unnecessary confusion between the newly plain code and any instance of the old extension still installed (per-user or shared), I renamed all relevant UNO implementation identifiers from com.sun.star.comp.documents.* to org.libreoffice.comp.documents.*. Also, existing installations of the extension are explicitly not migrated to new user profiles. The xpdfimport executable is now in program/, its xpdfimport_err.pdf in share/xpdfimport/. To simplify finding the _err.pdf from xpdfimport, its full pathname is now given as additional second argument to xpdfimport. To find xpdfimport executable from CppunitTest, CppunitTest creates a symlink from solver's unittest/installation/program to solver's bin, so that "$BRAND_BASE_DIR/program/xpdfimport" works there (as CppunitTest now sets BRAND_BASE_DIR to solver's unittest/installation). The sdext/source/pdfipmort/dialogs/ Basic stuff appeared to be unused (even though it was included in the .oxt) and has been removed. The --disable-ext-pdfimport configure switch is renamed to --disable-pdfimport. Having it still conditional requires some pdf_Portable_Document_Format vs. pdf_Portable_Document_Format_import foo in module filter. Change-Id: Iee58c2f6187142a418decc9ea3a5df10eb7e0523
2012-11-24Move in-build liblangtag data to solver's unittest/installation/shareStephan Bergmann
...let BRAND_BASE_DIR point to solver's unittest/installation during CppUnit tests, and get rid of LIBLANGTAG_SHARE special case. (Intending to add further code to CppUnit tests soon that requires a fake BRAND_BASE_DIR, so clean this up now.) Change-Id: Ia5f0f247e54952f901c37ca31eda53f9c6591458
2012-11-24missing po files should not don't break the buildAndras Timar
Change-Id: I686341c79e77f16c6a4cd81cf9fedcd25c4e4996
2012-11-23restore --enable-symbols optionDavid Ostrovsky
Currently there are 4 different debug options: --enable-dbgutil (the recommended one) --enable-debug --enable-selective-debuginfo --enable-symbols (for advanced users only) In this table the properties of each option is shown: ---------------------------------------- options\properties | O | S | D | T | U | ---------------------------------------- production-code | x | - | - | - | - | ---------------------------------------- --enable-symbols | x | x | - | - | - | ---------------------------------------- --enable-debug | - | x | x | x | - | ---------------------------------------- --enable-dbgutil | - | x | x | x | x | ---------------------------------------- where O: optimization S: debug symbols D: debug STL T: trace facility U: additional debug utility (object counting) Note: --enable-selective-debuginfo has the same properties as --enable-debug Change-Id: Ib8a28c6162f47526d6bb33f81f53835cd11894b2
2012-11-23build XHP first, then TREAndras Timar
Change-Id: Iab898ad984203e32df72f5ed643e3846a92548ee
2012-11-23Only rebuilding .urd for newer .idl is unsound when idlc changesStephan Bergmann
...as it will do in one of the following commits. Change-Id: Ie243504db965e3a4803c593b9c09f12d2cb0fcfc
2012-11-23Add experimental --disable-export configure optionTor Lillqvist
Even for an Android (or iOS, presumably) app with just viewer functionality, some export code gets included in the single .so or executable. For now, when we know that we are producing only viewer apps for Android and iOS anyway, it might be a good idea to be able to carefully bypass some particularly pathological places in the code that generate large amounts of code and/or data that is useless in a viewer app. Change-Id: I59b97024ff2855e7bbe53d6ec8782797705f61d8
2012-11-23ignore warnings in generated scannersDavid Tardon
Change-Id: I7c1e17ffba5b4e6d4f4229da8a93ac3db621253b
2012-11-22create SAL_DEPRECATED_INTERNAL for annotating APIMichael Meeks
It flags methods that we don't want used externally, but havn't finished removing internally. Change-Id: I818ee0ea2bf5294be816256a0e7f1868f26806b8
2012-11-22Probably want to check CROSS_COMPILING here, not (just) iOSTor Lillqvist
Change-Id: I5b9f6323e80b69e5baf81016ac92eda0b5bdd13d
2012-11-21re-base on ALv2 code. Includes:Michael Meeks
Patch contributed by Herbert Duerr: #i118662# remove berkeleyDB from module xmlhelp (author=orwitt) http://svn.apache.org/viewvc?view=revision&revision=1213188 #i119141# remove ISCII converter for now http://svn.apache.org/viewvc?view=revision&revision=1306246 make exceptions for cppunittester verbose http://svn.apache.org/viewvc?view=revision&revision=1174831 Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Patch contributed by Oliver-Rainer Wittmann 88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 drop OS/2 code, remove in-line assembler ARM atomics, and obsolete armarch header.
2012-11-21Improve gbuild help text with PARALLELISM env var.Thorsten Behrens
Change-Id: I30c9700127d04aee200386c94307a45da41b0025
2012-11-20Merge branch 'feature/killsdf'Andras Timar
Conflicts: desktop/prj/build.lst helpcontent2 l10ntools/Executable_gsicheck.mk l10ntools/Executable_uiex.mk regexp/inc/regexp/reclass.hxx solenv/gbuild/AllLangResTarget.mk Change-Id: I398f0cd9e7daefa8d2e04fd977d5bc2e9708169b
2012-11-20Generate qtz propertiesZolnai Tamás
Qtz has no own po files so use one of configured langauge's po files (en-US excludex) Plus copy all properties files independently of localization Change-Id: Ica7ccb7d3111f2fc2b3bbde4b839cb564967130a
2012-11-18fix makefileAndras Timar
Change-Id: I72de89aed6ac8901ee2b633c0236191ef3cfb7c1