summaryrefslogtreecommitdiff
path: root/solenv/gbuild
AgeCommit message (Collapse)AuthorFilesLines
2013-05-06[mono] build hack with copying assembly config files is needed only with monoPetr Mladek1-2/+2
Change-Id: Ie76a802bc890b00f0fa9358aeff65f86e35fd7a0
2013-05-02fdo#54087 link the correct resource file to npsoplugin.dllAndras Timar3-0/+13
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. Change-Id: Ib91fa2a3b72b15912587f22becccb0aebc2aa390
2013-05-01Merge tag 'libreoffice-4.0.3.2' into suse-4.0Petr Mladek2-2/+2
Tag libreoffice-4.0.3.2 Conflicts: basic/qa/cppunit/test_vba.cxx basic/source/runtime/step2.cxx dictionaries helpcontent2 instsetoo_native/util/openoffice.lst libvisio/UnpackedTarball_visio.mk sc/source/ui/vba/vbaapplication.cxx sc/source/ui/vba/vbavalidation.cxx solenv/inc/minor.mk sw/qa/extras/ooxmlimport/ooxmlimport.cxx translations Change-Id: Ic1f06489175f3db92d6bbcebb9732fadc1c61fed
2013-04-30[mono] mono-climaker.diff: add mono supportPetr Mladek1-0/+7
merged with buildfix-climaker-disabled.diff: add mono support merged with climaker-csharp-win.diff: add mono support merged with buildfix-use-climaker-in-unoil.diff: add mono support Conflicts: cli_ure/prj/d.lst cli_ure/source/bootstrap/makefile.mk cli_ure/source/climaker/makefile.mk cli_ure/unotypes/makefile.mk unoil/climaker/makefile.mk Change-Id: I4c0ec75954df7a34ed6f4173f84190ab10e62c4b
2013-04-30[mono] workaround for mono limitation where "al -link" does not accept pathPetr Mladek1-1/+7
Needed with mono-devel-2.6.7-0.9.1 on SLED11. Change-Id: I6869a92949f4c3eb6b9a74aa86cd580a062368d3
2013-04-30[mono] fix debug csflagsPetr Mladek1-5/+1
The mono compiler does not support the -o option; The whole condition was wery strange anyway. Change-Id: If247fc991f68c99c9f26e3a73c01e9f85002f204
2013-04-30[mono] define CliAssemblyTarget when building on UNIXPetr Mladek1-2/+2
Change-Id: I818b1913d98e8ed01b047d94065e5dec2b237fb3
2013-04-30[mono] backslash the path only when really using cygwinPetr Mladek1-1/+1
Change-Id: Ia51c83e3a39888f42461c55b927afcd4da0d1bf1
2013-04-30[mono] do not hardcode csc commandPetr Mladek1-1/+1
Change-Id: I7228e7227369c118405f693df1f6818478ff22d6
2013-04-30[mono] allow to use another C# compiler, e.g. gmcs instead of mcsPetr Mladek1-0/+6
Change-Id: If8a6efbfdd3a838496dc0680b68097498134ecf6
2013-04-30[mono] add CliExecutable gbuild targetPetr Mladek3-2/+195
Change-Id: Ie761cd2eefaac430c1532917403879285e19166f
2013-03-19touch --no-dereference does not work on MACOSXPetr Mladek1-1/+1
Change-Id: I71e8658453e0e96e631cc2ef3996d660950c49cc
2013-03-19fix race condition when using hardlinks to deliver into solverPetr Mladek1-1/+1
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 Michaelsen1-1/+1
- 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 Bergmann2-0/+12
...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 Power2-1/+4
Change-Id: Ib8dfd276246bc6bd157a63c26184991a9993c3c5
2013-01-10Add configure switch that allows hardlink deliverTomas Chvatal1-0/+4
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 Tardon1-3/+5
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 Tardon1-5/+29
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 Tardon5-47/+128
Change-Id: I5293fea9b5404b82e72761407d325c408a2e45ca (cherry picked from commit bbf2f413958e7be2bef34c62932fc76f83e7ed18) Signed-off-by: David Tardon <dtardon@redhat.com>
2012-12-28fix delivery of qtz "translations"David Tardon1-0/+14
Change-Id: I2f0ae1eff5bd009a7cb467b38c1743eff51dc563 (cherry picked from commit f45a07d6f4eefc75d983d7aca2b57d075749b4e7) Signed-off-by: David Tardon <dtardon@redhat.com>
2012-12-28simplify UI packagingDavid Tardon1-7/+4
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 Tardon2-96/+40
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 Tardon1-1/+1
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 Bergmann5-14/+0
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 Timar1-0/+1
Change-Id: I8b3e526fd413bd3ced75bf1cd81f9be2540bf9e8
2012-12-04revert the huge performance regression in gbuild intoduced with ↵Bjoern Michaelsen1-0/+9
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 pricingtino1-0/+1
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ňák1-2/+3
Change-Id: Iaa8fc379e4d032931c0f60a3e3525783d8d28964
2012-12-03Use -W4 instead of -Wall, and don't disable warnings that are off by defaultTor Lillqvist1-91/+3
2012-12-03More -wd fixupsTor Lillqvist1-5/+6
2012-12-02gbuild: call gb_ExternalExecutable_collect_registrations...Michael Stahl1-1/+3
...after reading platform makefile because at least python uses platform dependent gb_PYTHON_PRECOMMAND. Change-Id: I894dfd56b4a96828556f657ae63c6f69eebdea0b
2012-12-02ditch unused makefileDavid Tardon3-82/+0
Change-Id: If859e46758c622f4841b8b0389abe2485f4af85a
2012-12-02move setting up of ext. executables out of gbuild.mkDavid Tardon7-64/+156
Change-Id: Icacd44abfa5bf5f75f0ee719b39fba6821976a8a
2012-12-02Don't disable warnings that supprted MSVC versions don't generateTor Lillqvist1-25/+0
2012-12-02Document the warnings we disableTor Lillqvist1-2/+136
2012-12-02Argh, I meant Visual Studio 2010Tor Lillqvist1-2/+2
2012-12-02Disable MSVC warning C4986Tor Lillqvist1-0/+14
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ás1-0/+2
Change-Id: I6b5649077fda265a2aff253b5e2534bfd818b3bc
2012-12-02Make qtz work in UIZolnai Tamás6-16/+23
Change-Id: Iced0b874405942782574fe46b58c3caafb2deeb4
2012-12-01Not make qtz properties in release buildZolnai Tamás1-0/+2
Change-Id: Ib012faeb3eb1bfd10cfce20426afa138a2ed8d34
2012-12-01files need to be added before patches are appliedLuboš Luňák1-4/+4
xmlsec1-mingw32.patch patches keywrapers.c
2012-11-28gbuild: UnoApiTarget: delete RDB file before rebuilding itMichael Stahl1-0/+2
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 Stahl1-3/+7
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 Snelders1-8/+8
Change-Id: Ife5cccd8c7011199e370cd68a76a077451675a55
2012-11-25Work around Windows' missing symlinksStephan Bergmann2-8/+19
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 Bergmann1-0/+6
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 Bergmann1-1/+1
...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 Timar5-1/+8
Change-Id: I686341c79e77f16c6a4cd81cf9fedcd25c4e4996
2012-11-23restore --enable-symbols optionDavid Ostrovsky8-1/+48
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