summaryrefslogtreecommitdiff
path: root/config_host.mk.in
AgeCommit message (Collapse)AuthorFilesLines
2012-11-23restore --enable-symbols optionDavid Ostrovsky1-0/+1
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-23Add experimental --disable-export configure optionTor Lillqvist1-0/+1
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-23fdo#55435 orcus needs Boost.System with recent BoostDavid Tardon1-0/+1
Change-Id: I2df230e0ca6293131ceaf9211fb301165981ab86
2012-11-22Use xcrun when available to run install_name_toolTor Lillqvist1-0/+1
This hopefully should help in situations like Jonathan Aquilina's, where /usr/bin/install_name_tool does not correspond to the tool-chain used (but is from an earlier version of Xcode). Change-Id: I5b4ca9e5e163fb4a84967577d2146cdbe8344f03
2012-11-21Turn presenter screen from bundled extension to plain codeStephan Bergmann1-1/+0
The immediate trigger was 5e5c11c664f67ff9fd1120905b09a32bea3b2f6c "fdo#42070 Fix RTL support in presenter console" causing build failures on Mac OS X when linking the extension against vcl, but there should be more benefits of going from a bundled-anyway extension to plain code. (Not the least to get rid of the com.sun.star.drawing.XPresenterHelper hack.) 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 identifiers as follows: * UNO implementation com.sun.star.comp.Draw.framework.PresenterScreenJob -> org.libreoffice.comp.PresenterScreenJob * UNO implementation com.sun.star.sdext.presenter.PresenterProtocolHandler -> org.libreoffice.comp.PresenterScreenProtocolHandler * protocol handler schema vnd.com.sun.star.comp.PresenterScreen -> vnd.org.libreoffice.presenterscreen * configuration schema /org.openoffice.Office.extension.PresenterScreen -> /org.openoffice.Office.PresenterScreen (it appears this contains little to no user-changeable data anyway, so not migrating it to a new user profile due to the schema name change should not be problematic) * job ID onDocumentOpenedJob -> org.libreoffice.PresenterScreen Even with these precautions, having the presenter screen installed both as plain code and as a (per-user or shared) extension still leads to a crash when activating presentation mode (likely due to how both codes want to take control of the screen). To mitigate this, existing installations of the extension are explicitly not migrated to new user profiles. The sdext/source/presenter/bitmaps/*.png files were moved to icon-themes/galaxy/sd/res/presenterscreen-*.png and are now accessed via SdResId (adding the relevant data to sd/source/ui/inc/res_bmp.hrc and sd/source/ui/app/res_bmp.src; not sure whether these locations are already ideal). The code itself has been left mostly unchanged in sdext/source/presenter/, and it still clumsily communicates with sd core code via XPresenterHelper. There is a lot of room for improvement here. The help data is left untouched at sdext/source/presenter/help/ and needs to be incorporated properly into helpcontent2 in a follow-up commit. The --disable-ext-presenter-console configure switch is gone. Change-Id: I71adb7ae6dcdbd1802151fce6e3871d8a2026332
2012-11-21dung out berkeleydb gnumake / configure bits ...Michael Meeks1-6/+0
2012-11-21Use subset of ICU data in a bundled ICUTor Lillqvist1-0/+1
Change-Id: I71673271ec3e10d16f17f5640cbf6a90a1bfb9f4
2012-11-20Key different browser plugin features to specific flagsStephan Bergmann1-1/+2
This is a rework of f9059d4eee8e53c0a6b531fff16e1fade58cb8b0 "Key all browser plugin features to --enable-nsplugin." The problem with that was that Mac OS X supports pluging browser plugins into LO documents (which was originally controlled by --enable-mozilla) but not plugging LO into browser windows (which was originally controlled by --enable-nsplugin), so controlling the former with the same switch as the latter did not actually work. Thus I replaced the single ENABLE_NSPLUGIN feature flag with two dedicated ones, ENABLE_NPAPI_FROM_BROWSER (for plugging browser plugins into LO documents) and ENABLE_NPAPI_INTO_BROWSER (for plugging LO into browser windows). The --enable-nsplugin configure switch is gone completely, setting the feature flags is always done fully automatically now. Change-Id: Iecf706637465e865c987563b5de489fa90b4c904
2012-11-16renamed --enable-bluetooth to --enable-sdremote-bluetoothEnrico Weigelt, metux ITS1-1/+1
The current configure option --enable-bluetooth is a bit misleading, it doesn't really tell what it's actually for. Therefore renamed it, so it's more clear that it's an sdremote backend using bluetooth. Change-Id: Ia8b46ee001ea112b80521baa502dcab2bb7e83aa Reviewed-on: https://gerrit.libreoffice.org/1086 Reviewed-by: Rene Engelhard <rene.engelhard.re@googlemail.com> Tested-by: Rene Engelhard <rene.engelhard.re@googlemail.com>
2012-11-15Rename "Mozilla headers" to "NPAPI headers" (incl. configure option name)Stephan Bergmann1-2/+2
...to avoid confusion what that is actually about. (Especially, it is completely unrelated to --enable-mozilla.) ATTENTION: This renames the configure option --with-system-mozilla-headers to --with-system-npapi-headers. Change-Id: I48f3c79d69c4d4f445a94e7ddbeab06ea667becc
2012-11-14remove ancient lo-menubar implementation now that we have the shiny new oneBjoern Michaelsen1-1/+0
Change-Id: Ie5ea41e7376838ac7f2ebfbe0d703e6a28d8a8a9
2012-11-14allow to override PARALLELISM and CHECK_PARALLELISM at make timeNorbert Thiebaud1-2/+2
this allow for CHECK_PARALLELISM=1 make check Change-Id: Id7dee09440dda54588965a846f950176d2b4c671
2012-11-13Revert "fdo#38878 upgrade xpdf to poppler"Tor Lillqvist1-1/+1
Also revert my two minor follow-up popper commits. Poppler doesn't build on Mac OS X. It uses fontconfig, and we don't depend on that on the Mac. There is a patch from 2009 http://lists.freedesktop.org/archives/poppler/2009-July/004932.html (actual patch at http://lists.freedesktop.org/archives/poppler/attachments/20090712/f3b154d0/attachment-0001.obj ) that makes poppler not use fontconfig on the Mac, but it was never upstreamed. And that patch uses the obsolete ATSUI API, which we want to stop using in LO code, not introduce new uses of. This reverts commit 39f9eb0d856293a974e2f024b29dca20068af073. This reverts commit 0941c211858416f6117548e093b428b64785f98a. This reverts commit a6e9bb4c7bad649cb44efaeef67fa18090348c53.
2012-11-13fdo#38878 upgrade xpdf to popplerPeter Foley1-1/+1
Change-Id: Ib908a3acba1faabeb411b4d1459968a362ee8029 Reviewed-on: https://gerrit.libreoffice.org/1036 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-12fix gb_SPACE in LIBPNG_CFLAGSEike Rathke1-1/+1
Change-Id: I901390b39573f7cf8b3a8971e32e52e9d479d645
2012-11-09remove make-specific code from config_host.mkLuboš Luňák1-15/+5
Apparently some people still try to source it from shell (scripts). Change-Id: If26a5c5eb83739d3ccce043afd095000d355a543
2012-11-09configure: define FOO_CFLAGS/FOO_LIBS so that they are never emptyMichael Stahl1-104/+111
This allows us to simply pass the already exported variables to invoked configures, where the non-empty values will override the detection logic there. Change-Id: I7353a313814c58922e34843aeae380e5afa442ca
2012-11-09binfilter.die.die.dieNorbert Thiebaud1-1/+0
Change-Id: Ia3c103e4343d309b997ed37e33a382ffdfbddac3 Reviewed-on: https://gerrit.libreoffice.org/1014 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-08convert lcms2 to gbuildPeter Foley1-1/+1
Change-Id: I96de6b20b2a68f0982a30d33359e9e9cda9e642c
2012-11-08Add more fontsStefan Knorr1-0/+4
(PT Serif, Source Code Pro and Souce Sans Pro under OFL; Open Sans under ALv2) Change-Id: Ic783f0d5841cafce6dba60213b0a658978ff2cfd Reviewed-on: https://gerrit.libreoffice.org/1007 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2012-11-08move more tarball names to configureMatúš Kukan1-0/+20
Change-Id: I10e3a1f9d375ded2087b7bbd9c3d98b35e7868be
2012-11-07convert lpsolve to gbuildPeter Foley1-0/+1
Change-Id: I0038b21a1b3bde4d8d3f5dd0092d15d858336680 Reviewed-on: https://gerrit.libreoffice.org/1002 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-06Goodbye gettext, glib, gdk-pixbuf, pango, libcroco, libgsf and librsvgTor Lillqvist1-14/+0
Now with librsvg no longer used, and liblangtag no longer using glib, a bunch of bundled (in some configurations, always on some platforms) 3rd-party libraries are no longer needed. Initial work by rene, continued by tml. Change-Id: I76edd7aea5452e3487499f0b9ed9f767cf760194
2012-11-04Enough with that...Norbert Thiebaud1-2/+0
peter's gbuildifications caused and ocean of red, that 1/ was not followed up by any attempt by the author to fix 2/ I wasted a good part of the weekend to de-entangle with only partial sucess reverting the whole mess for now... to be resubmited when a bit less borked... This reverts commit c4c160a4519f20d50e7189ef92aac99b83c4cc6a. This reverts commit faef2e51d0c7b74334a11400b205daf382805780. This reverts commit 057ce1fe2911f51be97199bf95e175db8aebfa42. This reverts commit a7d34af344900233ba08aee2a56a3daf85ab2421. This reverts commit befae0ceb80deb4623f3e41ff88b6dcb63eca0ad. This reverts commit 433b43bcd2dbd146a9d6342fab0704d653c50d29. This reverts commit 93e2c4a9d257ebbe794fbaba888229857e7c42d8.
2012-11-04convert lcms2 to gbuildPeter Foley1-0/+1
Change-Id: I96de6b20b2a68f0982a30d33359e9e9cda9e642c
2012-11-03convert lpsolve to gbuildPeter Foley1-0/+1
Change-Id: I0038b21a1b3bde4d8d3f5dd0092d15d858336680
2012-11-03convert hyphen to gbuildPeter Foley1-0/+1
Change-Id: I55b3832128aa096eb44b67a26ec2afeb6c573604
2012-11-03these have been converted; use _tarball variablesMatúš Kukan1-1/+3
Change-Id: I9215fbfaf5c2e5d40e7257cd52d8d9544599ea63
2012-10-31remove GIT_REPO_NAMES (duplicated by GIT_NEEDED_SUBMODULES)Christian Lohmaier1-1/+0
use plain copy instead of git-new-workdir when using --with-linked-git configure switch (point it to your master copy of the core-repo) also remove obsolete bin/create_bootstrap_links, bin/mkworkdir and bin/repo-list[.in] Change-Id: I37028badf2c46a24a3d628e80476efe4dd365d06 Reviewed-on: https://gerrit.libreoffice.org/912 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-10-31fdo#55514 libgmodule is needed tooDavid Tardon1-0/+1
Change-Id: Icee2ffbe18ea732220f174cd4bf433ceb03d128b
2012-10-31fdo#54327 put system nss dlls into the install setDavid Tardon1-0/+1
Change-Id: Ie809bba726c4d17eac25d36381d93ea9781d74be
2012-10-30fix parallelism variables and let's have only --with-parallelism from now onMatúš Kukan1-3/+1
Rationale: - it is advised to use max-jobs and num-cpus with the same value in wiki - max-jobs was used only for lcms2 and few gbuild modules outside of tail_build anyway. Also fixes: - really use CHECK_PARALLELISM when meant to - EXTMAXPROCESS is not defined in gbuild; use parent's jobservers in sub-make where possible Change-Id: I501de732d223ce0c935081bd1d73da611d16ee88 Reviewed-on: https://gerrit.libreoffice.org/930 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-30fdo#55514 put liblangtag dll to install setDavid Tardon1-0/+2
Change-Id: Ia2df651604358c70c0af129b5d60b149d2f1629e
2012-10-29Setting CLASSPATH/XCLASSPATH appears to be a leftoverStephan Bergmann1-2/+0
...from the old dmake and/or Hamburg-specific set up. Change-Id: I441ce66dd91d353196cd9d1a9853720195a6fcdc
2012-10-29convert curl to gbuildPeter Foley1-0/+1
Change-Id: I8c038a0c59660f4fb672d71c08e6ee0b56c302ee
2012-10-28convert hunspell to gbuildPeter Foley1-0/+1
Change-Id: I285292ca7f7252399c3898ca49f73727ab569fca
2012-10-28openldap: convert to gbuildMatúš Kukan1-0/+1
Change-Id: Ic1c4c58a09fd41bce78731e61349baa129f5e935
2012-10-28epm: convert to gbuildMatúš Kukan1-1/+1
Change-Id: I1548f3b9339163a7abab637acad620b50cfc3a26
2012-10-28convert mythes to gbuildPeter Foley1-0/+1
Change-Id: I9c6b670a2df8b1d3a868d91737fcf93e7d40bcb4
2012-10-26minizip is not used anymoreDavid Tardon1-4/+0
Change-Id: I0ddc4d343882248d208c9f96366625bcbe6ac4f7
2012-10-26gbuildify zlibDavid Tardon1-0/+1
Change-Id: I702c044fdf510c67364f2fc32889ca394583edf6
2012-10-25graphite: convert to gbuildMatúš Kukan1-0/+1
Change-Id: I47c279d1cf53ef2c092467070d97b13f949d06f6
2012-10-25gbuildification of expatDavid Ostrovsky1-0/+1
Two different xmlparse libraries are created: ascii_expat_xmlparse and expat_xmlparse. One without -DXML_UNICODE and one with. Source file are duplicated and renamed with gb_UnpackedTarball_set_post_action function to be able to add artifacts twice to gbuild machinery. On windows 64 bit additional two librares are created: expat_xmlparse_x64 and expat_xmltok_x64. That is due the problem with shell/shlxthandler (comment): ------------------------------------------------------ use UNICODE only because shell/shlxthandler doesn't link against ascii_expat_xmlparse ------------------------------------------------------ Include files are delivered to $(OUTDIR)/inc/external/expat now and not to $(OUTDIR)/inc/external any more. set_include call is added in RepositoryExternal.mk. To define dependency between StaticLibrary and ExternalProject new function was introduced: gb_StaticLibrary_use_external_project. Change-Id: I3b3aa40f39ef82c70f6f28790b582c83e48bdf76
2012-10-25remove all traces of saxonDavid Tardon1-4/+0
Change-Id: I33ca2c27d557d24e3900d7ebf8f3ea2d99b3cfb0
2012-10-24freetype: convert to gbuildMatúš Kukan1-0/+1
Change-Id: I67f550385fa1f4073873f1e503eb153665e718ef
2012-10-24fontconfig: convert to gbuildMatúš Kukan1-0/+1
Change-Id: Ia0ba9294e36c30147ed52826eac4b0059cfed200
2012-10-23gbuildification of ct2nDavid Ostrovsky1-0/+1
Conflicts: config_host.mk.in Change-Id: I98ca1bb2af19d99a7a908991cf27a148ee84c543
2012-10-22CLANGPLUGIN_CPPFLAGS for building plugin for Clang in nonstandard locationStephan Bergmann1-0/+1
(i.e., configure with CLANGPLUGIN_CPPFLAGS=-I.../clang-installation/include -I.../clang-build/tools/clang/include) Change-Id: Ic6d2973629103f71c32f44ebba2ac70d137d18e7
2012-10-22make configure remember C/CXX/OBJC/OBJCXX/LDFLAGS if explicitly passed to itLubos Lunak1-0/+15
If not, the build system selects the right flags depending on --enable-debug etc. , but e.g. packagers may want to do builds with e.g. both -O and -g. This is also reasonably close to what autotools do, except that there configure forces -g -O2 if nothing is explicitly given. Change-Id: I1889569177ad3cbd6decdc7e9986f67ef5d4456a
2012-10-22clean up configure options for debugging buildLubos Lunak1-2/+3
By default a product (non-developer) build is done. Code is optimized and no debugging information is included (may be overriden though, see below). Developers should preferably build with --enable-dbgutil , or at least --enable-debug. The --enable-symbols switch has been removed. Use explicit CFLAGS/CXXFLAGS/LDFLAGS instead if needed. With --enable-debug optimizations are turned off and debugging information is included (in order to make it possible to examine the code in a debugger). Additionally assertions and logging is enabled (see SAL_WARN/SAL_INFO documentation for details and better control). This switch should primarily by used for occassional development (such as when it is needed to debug one module in a non-debug build, see also 'make DEBUG=true' below). Using --enable-dbgutil is the recommended developer option. In addition to --enable-debug it also enables additional checks, such as debugging mode for STL or checking compiler plugins. This switch may also enable additional logging from obsolete debugging tools (which should be converted to SAL_WARN/SAL_INFO for better control). Note that this option makes the build binary incompatible from a --disable-dbgutil build, so it is not possible to mix them. When using --enable-debug/--enable-dbgutil , the build is noticeably larger because of the included debugging information (compiler -g option). When disk space is an issue (or the computer is not very powerful), the --enable-selective-debuginfo option allow specifying where the debugging information should or should not be used. The option takes a list of arguments, where all means everything, - prepended means not to enable, / appended means everything in the directory; there is no ordering, more specific overrides more general, and disabling takes precedence). For example, --enable-selective-debuginfo="all -sw/ -Library_sc" enables debugginfo for everything except for anything in the sw module and the sc library. Explicitly specified CFLAGS/CXXFLAGS/LDFLAGS override optimization and debugging options (can be now also passed to configure which will make the build system use them). If in a non-debug build it is needed to temporary build something as a debug build, 'make DEBUG=true' temporarily works as if --enable-debug was specified. It also temporarily overrides debuginfo disabled using --enable-selective-debuginfo. Old code using old logging functionality also has a concept of a debug level, forced using 'make DBGLEVEL=2'. Using a debug level of 2 (or higher) enables additional logging output. New code should use SAL_WARN/SAL_INFO and use extra areas for additional logging output that can be selectively enabled/disabled using SAL_LOG variable. (Some smaller parts of this design will be implemented by separate follow-up commits.) Change-Id: Ia6420ee3c99c217ead648e8967165eed7f632258