Commit Graph
37 Commits
Author SHA1 Message Date
Michael Stahl 5450f0a241 add oox to WITH_GALLERY_BUILD build side
This is needed for WNT/ARM cross build since commit
ce4c154e8b.

Change-Id: I03cf9a2bb3bc505772b1bd2a2d96cd2b29cf14c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144170
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-12-14 20:43:40 +00:00
Tomaž Vajngerl 9d0460ae72 add drawinglayercore to merged libs
Change-Id: I3c2fc7f72fab8eb5deb21c609bd60663ba35e251
2021-12-23 11:38:24 +09:00
Tomaž Vajngerl a51d464a75 add drawinglayercore to RepositoryModule_{build,host}
Change-Id: I06d24306e3a56bd1d1f7107a25d1b556c60f1521
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127345
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-12-23 03:25:51 +01:00
Jan-Marek Glogowski 14069d8417 configure: Improve help-options handling
This patch includes:

* A README.help.md as a general documentation for the different
  help types, the LO code and help-related build options.
* Adds --disable-xmlhelp for removing the xmlhelp support from the
  build. Disable for iOS, Android and Emscripten. This was partly
  included in HAVE_FEATURE_DESKTOP before.
* Rename WITH_HELP define to WITH_HELPPACKS, which reflects the
  actual usage AFAIK.
* Depend --with-omindex on --with-help=online and don't override
  the --with-help setting. Error out on conflicting options.
* Depend --with-helppack-integration on build help variants, which
  actually result in help packs.

Kind of reverts commit 2c38ea6d16
("Building without --with-help is not supposed to disable help
functionality").

Change-Id: Ie4cb73905b3ed94e991d9f1bd75cfbd6de9da385
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116222
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-06-22 14:25:51 +02:00
Jan-Marek Glogowski 5de0f4e7b5 Don't lock galleries build into DESKTOP
And add the missing dependency of Executable_gengal on
Package_svx_gengal, so the actual executable script is
created in instdir_for_build for the cross-toolset.

Change-Id: I98ea1d58273c871f0a3b804a93970eedfb7f8908
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108108
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-12-23 01:52:11 +01:00
Jan-Marek Glogowski a8e2ffe038 build-tools: default to system PCH setting
Originally disabled for the build-tools to get rid of an other
potential build failure while implementing the cross build on
Windows for the Windows Arm64 build.

Change-Id: I720d0812de26ddb1f71a14db708595babbefe84c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105035
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-10-30 12:46:42 +01:00
Jan-Marek Glogowski 63972e79bb Fix the minimal build-tools target
The revert commits change the build-tools target for a DESKTOP
build to build the complete LO. This restores the original,
minimal one and also adds a whitelist of allowd build types.

OpenCL needs a configure switch, as it's status is also stored
in a config header, so preventing the build is not enough.

This also reverts:
- commit 802161a505
- commit 02d931a59e

Change-Id: Ibfcb0c54e72da1b7c2e63c082ea6586520a787fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102480
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-09-11 18:34:48 +02:00
Tor Lillqvist 802161a505 More WIP work for macOS on Apple Silicon
If cross-compiling to a DESKTOP platform, just use
RepositoryModule_host.mk on the build platform, too.

Change-Id: Icd3f3081e5af0c7cda95e9bce7572d37567d4f6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97356
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-29 08:49:11 +02:00
Tor Lillqvist 0ebdd6ebad There is no mysqlc module
Change-Id: I0106f5a86b86e40e97bbaf6918bc77601bd3a7fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97220
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-26 15:56:29 +02:00
Caolán McNamara 00657aef09 migrate to boost::gettext
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl
* all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string")
* ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching
  MODULE .mo files
* UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui
  goes from l10n target to normal one, so the res/lang.zips of UI files go away
* translation via Translation::get(hrc-define-key, imbued-std::locale)
* python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there
  to keep finding the .hrc file uniform) so magic numbers can go away there
* java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation
  mechanism
* en-US res files go away, their strings are now the .hrc keys in the source code
* remaining .res files are replaced by .mo files
* in .res/.ui-lang-zip files, the old scheme missing translations of strings
  results in inserting the english original so something can be found, now the
  standard fallback of using the english original from the source key is used, so
  partial translations shrink dramatically in size
* extract .hrc strings with hrcex which backs onto
   xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap
* extract .ui strings with uiex which backs onto
   xgettext --add-comments --no-wrap
* qtz for gettext translations is generated at runtime as ascii-ified crc32 of
   content + "|" + msgid
* [API CHANGE] remove deprecated binary .res resouce loader related uno apis
      com::sun::star::resource::OfficeResourceLoader
      com::sun::star::resource::XResourceBundleLoader
      com::sun::star::resource::XResourceBundle
    when translating strings via uno apis
      com.sun.star.resource.StringResourceWithLocation
    can continue to be used

Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-07-21 08:20:50 +01:00
Armin Le Grand 83535a28c5 emfplus: create a wmf/emf/emf+ primitive based importer
First steps to organize an importer that can read/interpret
wmf/emf/emf+ and deliver a primitive representation for
the content by parsing it. Use the same mechanisms as
already applied for Svg, so to reuse abilities to keep
original binary data to allow save again and embedding in
files and have an implemented replacement bitmap based
representation. For this, unify the used helper classes
to handle more than just Svg. For 1st try, add test code
and static bool switches

Change-Id: I6e0a82943541d811a8f8d65a84115569fcd8cee7
2017-07-15 11:01:29 +02:00
Caolán McNamara 4ebe249104 drop basebmp entirely now
Change-Id: I534848c4be8eadf86b7f31ac742a80982405f56f
2016-01-20 09:43:28 +00:00
Tor Lillqvist c42d2a5c7a Set up the instdir_for_build URE unorc file when cross-compiling
Change-Id: Icde8c214f510d168b52f2594821071a5aff19ecf
2014-09-17 16:29:34 +03:00
Michael Stahl 727e2e7190 normalize values of WITH_GALLERY_BUILD
... and remove the unimplemented "package" option.

Change-Id: I2b0cfcdc040b653fe0c4cd061ae4e0d7f745068c
2014-03-11 11:57:18 +01:00
Tor Lillqvist ad478d812f Need more modules when cross-compiling to a desktop platform
Because gengal.

Change-Id: I679177b8bade42787dc921a500679c53278029d1
2014-01-16 23:38:41 +02:00
Khaled Hosny 3273d2385b fdo#70393: move zlib to a subdir of external
Change-Id: I13dec52e6999d9c8aa0ba1f0c31ee8c36e1b6aac
Reviewed-on: https://gerrit.libreoffice.org/6556
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-11-04 02:55:03 -06:00
Khaled Hosny 112c60b484 fdo#70393: move vigra to a subdir of external
Change-Id: I98e2ae25865c4ec38da19a24ba4347540d170e4f
Reviewed-on: https://gerrit.libreoffice.org/6554
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-11-04 02:52:43 -06:00
Khaled Hosny a06d8eb9a9 fdo#70393: move ucpp to a subdir of external
Change-Id: I05419939ca0d6c55d24088d4b4adf3e262e50083
Reviewed-on: https://gerrit.libreoffice.org/6553
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-11-04 02:48:25 -06:00
Khaled Hosny 55df380f00 fdo#70393: move nss to a subdir of external
Change-Id: Ibbeb6b284c6c5fb9bba4ad52abed69321bba90d8
Reviewed-on: https://gerrit.libreoffice.org/6545
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-11-04 02:26:20 -06:00
David Tardon a0786fa280 it seems we need svgio too
Change-Id: Iff6165fd440150bdd325c54e41df529bd5349df2
2013-11-03 08:02:15 +01:00
David Tardon c7ce98cc4f these are in external now
Change-Id: I3d84a202ae0058a8fe8a810f7e7de2522393f417
2013-10-19 10:17:12 +02:00
Khaled Hosny 8d46e3968c fdo#70393: move libxslt to a subdir of external
Change-Id: Ibf6fd5c32a62752044e70961cf33b05fdcdce104
Reviewed-on: https://gerrit.libreoffice.org/6340
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-10-19 07:41:44 +00:00
Khaled Hosny f2b51cdfd6 fdo#70393: move libxml2 to a subdir of external
Change-Id: Ifea928fc56239043f976ed1e0d2c986bc5cfb934
Reviewed-on: https://gerrit.libreoffice.org/6339
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-10-19 07:40:52 +00:00
Khaled Hosny fc26490252 fdo#70393: move liblangtag to a subdir of external
Change-Id: I18cded289591bdf872c7a818326a35ac00d38482
Reviewed-on: https://gerrit.libreoffice.org/6330
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-10-19 07:34:56 +00:00
Marcos Paulo de Souza b538fc543e fdo#60698: Move fileaccess module to ucb
Change-Id: I4c688a4aeedcae56ed6404574bd1bb392d4190cb
Reviewed-on: https://gerrit.libreoffice.org/6311
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-18 12:25:11 +00:00
Tor Lillqvist 66bb3616a8 These are now in external/Module_external.mk
Change-Id: I6b28b1f6bf867844a70e0ba74aeefeae8b8f8510
2013-10-18 10:28:36 +03:00
Tor Lillqvist 04aaf0a52f These are handled in external/Module_external.mk
Change-Id: I1d1fbef457a34f730c9a83c5580fd56a0bed455c
2013-10-17 22:53:43 +03:00
Stephan Bergmann 6db34b6b33 Directly build UNOIDL .rdb files from .idl files
...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.

cb344cd59e "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
2013-09-19 15:50:04 +02:00
Matúš Kukan 7be7133686 there is no libfbembed module
Change-Id: I9c95b826fb3b48a4430fe9e869b1e3fa45682574
2013-07-16 20:54:07 +02:00
Andrzej J.R. Hunt 3f195b9b14 libfbembed depends on firebird being enabled.
Change-Id: Id2b9891fda5755440b13fa7401db3c988b5e0be5
2013-07-16 16:59:49 +02:00
Andrzej J.R. Hunt 0f16fa0fa5 Build firebird 2.5 internally. Also adds libatomic_ops.
Change-Id: I44a45e781dfb3624cdebf4530ae44870bf39a82a
2013-07-16 16:40:09 +02:00
Michael Stahl 7a5a192187 remove cosv, udm and autodoc
implementing UNO IDL support in doxygen:  9 days of work
converting IDL file comments to doxygen:  5 days of work
removing 57k lines of unmaintained buggy
autodoc, bespoke String and File classes: priceless

Change-Id: I566edb4f91454baa35e07d901432a8dfd35b9c29
2013-06-04 12:01:12 +02:00
Matúš Kukan bae52ee3ef fix cross-compilation of Galleries
- RepositoryModule_build: add modules necessary to build gengal and
libraries used at run-time
- add dependencies to gb_Executable__register_gengal.bin
- use gb_Helper_OUTDIR_FOR_BUILDLIBDIR

Change-Id: I4a88c1786b1ee2ee2b75b1a5dd75009ef70ed353
2013-05-16 12:44:20 +02:00
Michael Meeks 62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Eike Rathke 4ac1c8c369 re-add i18npool to cross_toolset
Change-Id: I8d82da2ff8ea24ffa5b68954946251e275ae5bdd
2013-04-05 19:42:13 +02:00
Eike Rathke 876c619b94 new module i18nlangtag
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.

This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.

Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
Matúš Kukan ce1bdc424f Let's use only one Makefile forwarding to gbuild.
Well, there is still another one: solenv/gbuild/partial_build.mk
This enables you to do in SRCDIR:
make gb_Side=build -r -f Makefile.gbuild <target>
which was not possible previously.

Change-Id: I6f8ce1c6503124526986e192b7d3552b909fc157
2013-03-05 09:06:18 +01:00