office-gobmx/readlicense_oo
Andras Timar 503b14eee1 Remove mention of apr and apr-util from NOTICE cause we don't use them...
since

commit f45b7871e7
Author: Michael Stahl <michael.stahl@allotropia.de>
Date:   Tue Dec 14 16:03:46 2021 +0100

    ucb: remove --with-webdav=serf

    Remove code in ucb/source/ucp/webdav, and now unused externals
    apr, apr-util, serf.

Change-Id: Idfb1f921c0d048f18f23263c04ac718ca1c95ebf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147886
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2023-03-07 07:29:40 +00:00
..
docs readme.xrm: update for macOS 2023-01-16 12:49:55 +00:00
license Remove mention of apr and apr-util from NOTICE cause we don't use them... 2023-03-07 07:29:40 +00:00
CustomTarget_license.mk
CustomTarget_readme.mk
Makefile
Module_readlicense_oo.mk
Package_files.mk
Package_license.mk
Package_readlicense_oo_readmes.mk
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.