office-gobmx/readlicense_oo
Christian Lohmaier 9469044db4 update credits
Change-Id: Iea1190aa7e0b9d81a8cf73ebbafd318e73fca757
2023-03-24 17:16:05 +01:00
..
docs readme.xrm: update for macOS 2023-01-16 12:49:55 +00:00
license update credits 2023-03-24 17:16:05 +01:00
CustomTarget_license.mk GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
CustomTarget_readme.mk GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
Makefile migrate readlicense_oo to gbuild 2012-09-23 15:05:49 +02:00
Module_readlicense_oo.mk single source file for licensing info with conditional text 2019-03-19 15:16:51 +01:00
Package_files.mk single source file for licensing info with conditional text 2019-03-19 15:16:51 +01:00
Package_license.mk (blind) fix of 'ERROR: Source for LICENSE.html not found!' on macOS 2019-04-01 23:09:58 +02:00
Package_readlicense_oo_readmes.mk Add readmes to instdir, too 2016-01-07 13:48:00 +01:00
README.md Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00

LibreOffice Licensing Blurb

Contains the stock libreoffice licensing blurb, as distributed in the install directory, and also potentially at run-time.

Generating Licence Files

License files are generated from a single source file (license/license.xml). Output file formats are plain text and html.

  • The plain text and the html format is generated with XSLT. There are two separate XSL files for plain text and html.

Conditional Text

The contents of the license file depends on the build configuration. Several externals may or may not be shipped with LibreOffice. Therefore, we need to pass information about build configuration to the XSLT processor.

Variables used for conditional text:

  • BUILD_TYPE: A space separated list of libraries/externals. If an external is present in that list, then the related license text should be included.

  • MPL_SUBSET: If the variable is defined, then GPL and LGPL license text will not be included, because none of the built-in code need it.

  • OS: The target platform. E.g. MSVC Runtime is packaged and used only on Windows.

  • WITH_THEMES: A space separated list of icon sets that are used in the build.

Conditional text are surrounded by and extra <div> tag. The class attribute of that <div> tag decides which parameter values are taken into consideration.