summaryrefslogtreecommitdiff
path: root/solenv
AgeCommit message (Collapse)Author
2015-11-20wrap to allow for tests with longer names without inconvenient linebreaksBjoern Michaelsen
Change-Id: I9d1ae01d29ff08ce9de34d86088c1bbbe53bd159
2015-11-20Revert "Fix dependency for Mac"Bjoern Michaelsen
This reverts commit de37e7ae4808dc9cdd84a8c21411958ed51db56. This should now be properly fixed with a2185987. nitpick: That commit was refering to a wrong commit anyway, it should have refered to a2185987d instead. Change-Id: Ic46db94568ac4074f471f42678cdf8d9fb32ef67
2015-11-20set gb_PythonTest_DEPS in .../platform/macosx.mk for realBjoern Michaelsen
Change-Id: Icc7f6f063e6a31d3d84e9757dc45859f6fe1703c
2015-11-20Fix dependency for MacStephan Bergmann
...broken with 4f76e46290b26deeb4f9660c580a5ffef58a557e "make CPPUNITTRACE=TRUE a shortcut for debuging on WNT" Change-Id: Ie6a601da3d4310ea4d43410f8a8e2ddaa16e287d
2015-11-17make CPPUNITTRACE=TRUE a shortcut for debuging on WNTBjoern Michaelsen
Change-Id: Ie834e1e1592163977435f0af6dde04c4fe86c1bf Reviewed-on: https://gerrit.libreoffice.org/19977 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-11-17refactor unittest help messageBjoern Michaelsen
- get platform switch logic out of shell script - platform specific stuff should be in $(GBUILDDIR)/platform, if possible - do not suggest shell-polluting exports, which might lead to confusion later, suggest setting the var as a one-off addition to the make command - move exception caching down, as it is assumed to be used rather rarely Change-Id: I01db3ca07582a6c6213ebac86fddabb28c925d50 Reviewed-on: https://gerrit.libreoffice.org/19976 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-11-12Make "make debugrun" use lldb on MacStephan Bergmann
...the way command line arguments for the debugee need to be passed to lldb with some JSON quoting looks really odd Change-Id: I11a74ee6f8969664e9ba1cd72d2e3723848ceea1
2015-11-12tdf#76239 extract real file version from ttf filesAndras Timar
Change-Id: I9f611a272e6694fe1f9bd5f75358e865eaf3fe5f Reviewed-on: https://gerrit.libreoffice.org/19941 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-11-12Generalize COM_GCC_IS_CLANG -> COM_IS_CLANGStephan Bergmann
...in anticipation of building with clang-cl.exe on Windows Change-Id: I1d723c9d3b5ca8a2bc6b27ef0189a7b053581398 Reviewed-on: https://gerrit.libreoffice.org/19928 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-10tdf#76239 fake file version for font filesAndras Timar
Change-Id: I59a9401c0bdc2d641ea54498af0eb1e589ab12f3
2015-11-10Avoid -Werror=pedantic when building CppunitTest_libreofficekit_checkapiStephan Bergmann
...at least the Linux-deb-x86_64@56-lhm-ubuntu-trusty tinderbox complains that > include/LibreOfficeKit/LibreOfficeKitInit.h:223:77: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object [-Werror=pedantic] > pSym2 = (LokHookFunction2 *) lok_dlsym(dlhandle, "libreofficekit_hook_2"); Change-Id: Ibd75a44fcc7da35ea32bde3fd2a300a16493789f
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I5dfb8238b1365502544f6a383313311a9afd0e80
2015-11-09Remove misleading 'make build' line from gbuild helpThorsten Behrens
Change-Id: If389e2dc6f5af07662e6ab8aa94e0e9ce8e30f5b Reviewed-on: https://gerrit.libreoffice.org/19865 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-11-03Support of popupmenu resource typeMaxim Monastirsky
Reusing the same xml format as the menubar, except that a popup menu use menu:menupopup as the root element. Change-Id: I2987af0dc698b09aeeb757cff828617515bc3009
2015-11-02Let --enable-symbols only control emitting debuginfo, not optimization on MacStephan Bergmann
...as on all the other platforms Change-Id: I12def7c50b5aabf29e156e87321cd76d216191ad
2015-11-02Pass emit-debuginfo flags into special bridge compilations, if applicableStephan Bergmann
(i.e., if any of --enable-dbgutil, --enable-debug, or --enable-symbols); introduce gb_DEBUGINFO_FLAGS for the platform-specific flags Change-Id: I4306fa30ced57d40d5b1206a0b26a886411118ef
2015-11-02Improve gb_Helper_print_on_error, and use in a CustomTargetStephan Bergmann
* always wrap the sub-command in ( ... ) * if no 2nd arg is given, use a temp file Change-Id: I7b43214dda1e4f8ee5e9b9a7310d58adee2a6500
2015-10-29filelist-split: reading dos files under cygwin retains \r\nChristian Lohmaier
so \r needs to be taken care of in the split-regex as well Change-Id: I834d8dcb95b48bbe6c8fa034d5621f006c0dcef8
2015-10-29filelist split: condition the pattern instead the whole blockChristian Lohmaier
avoids a more complex regex with branches, and doesn't duplicate the execution block Change-Id: I48550c7ea2938001c139b9baecd1282727d7db31
2015-10-29solenv: hack to maybe fix WNT instset creationMichael Stahl
Apparently that regex doesn't work on WNT for non-obvious reasons; clearly this should be fixed properly by somebody with actual Perl knowledge. (regression from 644fe0abd5dd9fb468c913337ae616fe26f9e3ad) Change-Id: Ifed4ff3305e4961709a45f6a0ce40dc0683ccf28
2015-10-26solenv: try to fix installer erroneous error detection of python3.5Michael Stahl
... which (on Mac) has files named "error.cpython-35.opt-1.pyc", "error.cpython-35.opt-2.pyc", and "error.cpython-35.pyc". Change-Id: I24cea3c7d2aacbda5e39224a975e1c6b34a57244 Reviewed-on: https://gerrit.libreoffice.org/19608 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-26allow file names with a space in filelistsDavid Tardon
Change-Id: If83c73c3a8a0aab24c31199e3c31d90c215f3eac
2015-10-25fix typoDavid Tardon
Change-Id: I06373679497ffc3472905251327073c878b48342
2015-10-24Remove left over references to SYSTEM_MOZILLADavid Ostrovsky
In a0c53a961a0af21f69f592b43799cd635c994810 SYSTEM_MOZILLA was removed. Change-Id: I421a293c7611dd5ed0d810c9c8a80f19faf1689a Reviewed-on: https://gerrit.libreoffice.org/19580 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-23lp#1170035: Fix l10n for quicklistBjoern Michaelsen
2015-10-22gbuild: incremental builds with --enable-pch are unsoundMichael Stahl
The problem is that the precompiled headers' dependency files are not run through concat-deps, hence they directly refer to headers of external libraries' headers, which are not targets in the build system; therefore re-building an external library does not cause the dependent PCH to re-build and (at least with MSVC) the object files don't depend on headers included via PCH anyway, so we get the recent link failure in comphelper with MSVC, which wasn't rebuilt for icu's ABI change. To fix that just use concat-deps, which re-writes header dependencies to UnpackedTarball target dependencies. Change-Id: Ic7555822925aaa1ff09b29bb73801fb83923bfab
2015-10-20tdf#95169 - copy snk files before using them to link.Michael Meeks
Ideally this should not be necessary; apparently something takes an exclusive lock which messes with parallel 'al' invocation using the SNK key file. Change-Id: Id4d5818a734a5591f826af230b71839dc076bb1f Reviewed-on: https://gerrit.libreoffice.org/19442 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-10-16Missing dependenciesStephan Bergmann
Change-Id: I7e0248c0e238910bedc098d98107a6a1083e41d6
2015-10-14Output all links.txt icons pointing to other icons in one goYousuf Philips
Change-Id: I9fa031c84157d573a63c9e31458ba578618e1596 Reviewed-on: https://gerrit.libreoffice.org/19350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-11tdf#90053 add svgio to Android Viewer, so display of svg worksChristian Lohmaier
the default Impress templates also make use of it, so not having it only displays white background... Change-Id: I34ffab7389fce60941fd926673a4999d40c50190
2015-10-08OOOVENDOR is redundant here, it is defined by configureAndras Timar
Change-Id: Ied46fd0bfaf010fc819e312a49e2fe3aa5656ee4 Reviewed-on: https://gerrit.libreoffice.org/19255 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-10-07relax deps of link target on external projectsDavid Tardon
Compilation of the link target's source files does not require the external project to be built, just unpacked, unless the project generates some needed headers during configure/build. Change-Id: I2c9947cf13ce86878d2649829052551fc54f3883
2015-10-05Emscripten: First steps of porting to EmscriptenSamuel Mehrbrodt
See https://wiki.documentfoundation.org/Development/Emscripten for details Change-Id: I977a8b9e98b9be13c263fef48f567b92347d0492 Reviewed-on: https://gerrit.libreoffice.org/18643 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-05Fix gb_CppunitTest__use_vcl dependenciesStephan Bergmann
Regression introduced with 41c66312885393614c274897fd75a25c2ddf6ba0 "The 'svp' 'plug-in' library is empty so don't build it at all" Change-Id: I534173372ee21e16c78693f60957706bbf61c1c8
2015-10-02Remove setting Make SHELL completely from the build systemStephan Bergmann
...this is a follow-up to efad388f756014a7df5ed6f8e4ce417d24e9aba9 "Clean up Make SHELL handling," which broke out-of-tree builds. There appears to be no good reason at all to fiddle with Make's own behavior of determining its SHELL variable (which defaults to /bin/sh and can be overridden via a SHELL=... command line argument when invoking Make). The SHELL_BASH fiddling in configure.ac and Makefile.in was probably cargo cult carried along ever since 815f157c05ebc20e91a050823f048a977b8ae103 "CWS-TOOLING: integrate CWS configuretoplevel," in a time when the OOo build system still defaulted to tcsh. Change-Id: If906164abb6aae649ce8088d945a40213deed361 Reviewed-on: https://gerrit.libreoffice.org/19093 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-02Clean up Make SHELL handlingStephan Bergmann
* In configure.ac, honour a preset SHELL_BASH when determining SHELL_BASH (so it can be passed in via autogen.input). * For both toplevel "make" and per-module "cd $module && make", consistenly use the SHELL_BASH determined in configure.ac as the Make SHELL. (By moving the setting to a new, common soleng/gbuild/shell.mk. This also exports SHELL as an environment variable to sub-processes now; this exporting can probably be reverted if it is not what is actually wanted---but note that this exporting of an environment variable to sub-processes is unrelated to how nested invocations of $(MAKE) obtain their Make SHELL setting, see below.) * Remove the gb_SHELL override feature from solenv/gbuild/gbuild.mk; for one, it is unclear how it was intended to interact with setting SHELL=@SHELL_BASH@ in the toplevel Makefile; for another, overriding SHELL can be done globally via setting SHELL_BASH in autogen.input now. * Make treats SHELL specially, in that it never uses the SHELL environment variable to determine the Make SHELL variable. Instead, if this Make invocation, or any outer Make invocation it is nested in via calls of $(MAKE), was called with a SHELL=... command line argument, then that value is used (and otherwise the default is hardwired as /bin/sh). So, when calling nested invocations of $(MAKE) from the toplevel Makefile, pass down the current SHELL value via a SHELL=... command line argument via GMAKE_OPTIONS. (And further nested invocations of $(MAKE) will then automatically inherit the SHELL value given on the outer invocation's command line.) Change-Id: I67fa1b88e4e90d09456c1fcad2d082fdce3c019b
2015-10-02tdf#88801 android: add services needed to load flat ODF documentsMiklos Vajna
Change-Id: I5767fa9a240b23de098fc6012555691dfb22c400
2015-10-01loplugin:unusedmethodsNoel Grandin
- improvements to the plugin to find more method calls - improvements to python script to remove more false+ - fix the FORCE_COMPILE_ALL build flag to include code in the $WORKDIR Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836 Reviewed-on: https://gerrit.libreoffice.org/19064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30Fix typosAndrea Gelmini
Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c Reviewed-on: https://gerrit.libreoffice.org/18977 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-28SDK apps actually find URE libs via DYLD_LIBRARY_PATHStephan Bergmann
Change-Id: I29c8177ee0c79f7e2b1834d4c181289cccfab17a
2015-09-25Replace GUIBASE with USING_X11Samuel Mehrbrodt
That's what it actually means. Also make it a boolean Change-Id: I249e18351253b34b5dada28e2a9c6bc0c06b730c Reviewed-on: https://gerrit.libreoffice.org/18688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-19We hardly want xsec stuff for iOS if not for Android eitherTor Lillqvist
Change-Id: Ic6485b060eceb47dc96ee102733f308d71beedb8
2015-09-18Use a C99 flexible array memberStephan Bergmann
...so the following strcpy does not cause a false abort under _FORTIFY_SOURCE=2 Change-Id: I395136f11020064766db76f87ed8f5b01c083c3a Reviewed-on: https://gerrit.libreoffice.org/18681 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-14gbuild: add a comment why C4589 is disabledMichael Stahl
Change-Id: I25f03d64b44c4bf8c913d0be77f1f4919355998a
2015-09-13Disable Warning 4589David Ostrovsky
Change-Id: I017d21153880e92d59477ed2d6bdabc2629672e0 Reviewed-on: https://gerrit.libreoffice.org/18521 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-07solenv: improve unittest-failed.sh for WindowsMiklos Vajna
Instead of saying what to do, do it, so the CPPUNITTRACE="... /debugexe" part can be copy&pasted. Change-Id: I2ae54ad52ffa7dfbbf8b4e61f1fa8a0079c7b570
2015-09-07module-deps now distinguishes merged-libs in its output.Michael Meeks
Change-Id: Icc3a965e59f5b2d4e23e0e5a4d0400b6b175c9c1 Reviewed-on: https://gerrit.libreoffice.org/18346 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-09-03setup_native: Add vcruntime and libucrt on MSVC 14.0David Ostrovsky
Change-Id: If55979b55b4bc8dee785f0940461a01995060682 Reviewed-on: https://gerrit.libreoffice.org/17362 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-09-03add stagingcheck target for unstable/failing testsBjoern Michaelsen
Change-Id: I4d1e54bdf579b0d6dd143b3a68de259ab7d3d562
2015-09-03remove KDE3 support, --enable-kde and --enable-kdeabMichael Stahl
With the new RHEL6-era baseline TDF can finally ship KDE4 support. Change-Id: I227278b576a3ed2f2aaa751d41b469ca92dc78b3 Reviewed-on: https://gerrit.libreoffice.org/18267 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>