summaryrefslogtreecommitdiff
path: root/extras/Module_extras.mk
AgeCommit message (Collapse)Author
2024-06-28makefile simplification: cleanup template packaging messChristian Lohmaier
the tmplate packaging code was full of copy'n'paste code with little understanding on how the rules actually work/what the statements actually do. (e.g. using separate calls to addprefix can be a matter of taste, but adding the call to get the extra files each time is pointless and just adds the same set of files multiple times). Unifying the fixed list of files and standardizing the base path for the relative filenames further allows to streamline the recipes Change-Id: I814fdb6f6534a9d5046281c45b6da87110f2093e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169342 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-06-12tdf#161173 Replace HTML template and idxexampleLaurent Balland
with their XML code Change html.stw to html.oth idxexample: simplify font list Change-Id: I6a7cdcce916222a979d0bef78ac19160ca9f744e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168269 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2023-10-05tdf#101970 Introduce config option for building with orBalazs Varga
without the not necessary template files. The default is building with all templates, otherwise we can use: --with-templates=no/yes --with-templates -->yes --without-templates -->no Change-Id: I13f5b411057254771ad4021aa9521c153702af16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157600 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2022-10-14Merge makefiles of Writer and Draw templatesLaurent BP
Simplify the list of files in the same way as for wizard templates Change-Id: If93374de161b670a96b9d2447f03f29d8c085efa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141274 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-10-11tdf#143956 Convert all Wizards template to XMLLaurent BP
All templates used by Wizards are now built from their XML It eases maintenance Page size, language and country attributes were removed Merge all wizard/package in one file Change-Id: I32193b2ff4c6a1b31934e6ed4e08d56801e5662e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137159 Tested-by: Jenkins Reviewed-by: Laurent Balland <laurent.balland@mailo.fr>
2022-01-20WASM --enable-wasm-strip now skips lots of LO codeArmin Le Grand (Allotropia)
... resulting in a stripped-down, Writer-only build to decrease the resulting WASM bytecode size. It removes the following code from the build: * All other major modules: Base, Calc, Chart, Draw, Impress and Math and related writerperfect filters * The premultiply tables * The (auto-)recovery functionality * All accessibility (but not the accessibility document checker) * The LanguageGuess component * EPUB support * The start center / BackingWindow * The TipOfTheDay functionality * The splash screen communication Currently crashs with anything different then soffice --writer. Closing the document also still crashes. FYI: many of these features are now behind ENABLE_WASM_STRIP_* defines, but they normally don't work on their own, globally! That's because we started with stripping the main components. Change-Id: Ib9c0f9452815910c0a2aceaf142ba1ad4a9cb0d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126182 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-07-15tdf#133788 Missing pieces for Gallery localizationChristian Lohmaier
Change-Id: Id11227b4a271351b50c43f6b5a531b47261c6fc5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98544 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-05-06Template: add Draw BPMN templateandreas kainz
Change-Id: Ib3dca0ea391718bb92827764f197fe24143e9805 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93514 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-10tdf#131948 Remove /extras/source/gallery/www-grafandreas kainz
Change-Id: I9392c0b550328fc16e1f6c30b02a6d4afbdb2ff0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91923 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-08tdf#131949 Remove /extras/source/gallery/htmlexpoandreas kainz
Change-Id: I7868900d3dceb39497896bcef529fafef3bf268a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91866 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131786 Remove Arrow Galleryandreas kainz
Change-Id: I82536295fcfd6afa3a61aa3726eb7019a3d2cbde Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91690 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131787 Remove Diagramm Galleryandreas kainz
Change-Id: I3ded18ed9c929ce7fc415f32af426a11d7a90d6a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91689 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131796 Remove Symbols Galleryandreas kainz
Change-Id: Ia835ee18df1fe2141f018fb282c97d72bc315950 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91688 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131782 Remove Text Shape Galleryandreas kainz
Change-Id: I25c089c81ce039c19e4937600c41e52dd6c4013c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91686 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131792 Remove People galleryandreas kainz
Change-Id: I352879b2a0dd814b5d614c0cf6fc4513dcf6e326 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91683 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131780 Remove Transportation galleryandreas kainz
Change-Id: I74098444b2c9afbc54e6bf78fa61bc9f30852fa9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91681 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131790 Remove Finance galleryandreas kainz
Change-Id: I35ea3b9aeae1b1bbd11aaf327f2d2db8ee8de6f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91675 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-04tdf#131789 Remove Environment galleryandreas kainz
Change-Id: I3ed3c2be50457b1ace70f62c23e4495483c80bf1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91674 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-03tdf#131789 Remove Environment gallery will be available as extensionandreas kainz
Change-Id: Ifb27b0999450b0af1659aea14d50b721712c23db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91662 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-04-03Revert "tdf#131224 update bullets and numbering images"Heiko Tietze
This reverts commit 51d78ecd2c0ef0e5b8d44f8ab211e4435f6efeb0. Reason for revert: Breaks Android Change-Id: Id5194ef837bf0f12f2164a070b73379d45d73a62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91402 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-04-02tdf#131308 Gallery: Remove Computer Galleryandreas kainz
Change-Id: I3205f630d61b86c71a8554432295a9e56c1623a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91492 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-03-29tdf#131224 update bullets and numbering imagesandreas kainz
* New bullets added as ordinary gallery * makefile not within the WITH_GALLERY_BUILD switch because Bullets & Numbering rely on these images Change-Id: Iaa2f58129b80bd468baaabd2c495557f053fc59e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90185 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-03-14Revert "Resolves tdf#99675: Add BPMN images to the gallery"Heiko Tietze
This reverts commit 2e74fdc559eb1b7bab1a6661203400017f93b234. Reason for revert: Does not work Change-Id: I8014d2d046385a795777208330e2a6af1b9f5222 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90395 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-03-12Resolves tdf#99675: Add BPMN images to the galleryandreas kainz
Sources provided at the bugzilla ticket Change-Id: Ibef652980f307272278722d85322db81d3682c0a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/77480 Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-01-14tdf#128226: make OpenSymbol font an internal resourceMike Kaganski
OpenSymbol is crucial for Math; so it is not just some font that could be used if present, but part of program resources. As such, it must be available with other program resources, and not depend on user preferences, like uninstallation of the font from system. This patch puts it into program/resource/common/fonts, and adds that path to the paths used for private fonts. This is in addition to share/fonts/truetype, which is optional, and is usually absent on most Linux and Windows installations (on Linux, it is usually in a separate package installing it to system fonts; on Windows, it is also installed to system by MSI). Change-Id: Ibf5e12e70dacb62b965035645fc53e9d83cd8793 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86649 Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Rene Engelhard <rene@debian.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2019-12-16Revert "Make font-based unit test depend on instdir fonts"Jan-Marek Glogowski
The following build: $ make clean && make gb_CppunitTest_sc_ucalc [...] $ cd sc $ make gb_CppunitTest_sc_ucalc triggers: sc/CppunitTest_sc_subsequent_filters_test.mk:133: *** Missing font filelist -> run make more_fonts extras. This didn't help the general Win32 font build problem AFAIK. There were additional patches to the way Windows loads the LO provided fonts, so just revert this. This reverts commit 368c996b24e09c427a30972b3405493328db6779. Change-Id: I841f96fe8312c47980c8e3be2e9d88242df5b28d Reviewed-on: https://gerrit.libreoffice.org/84633 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-07-05Make font-based unit test depend on instdir fontsJan-Marek Glogowski
The current dependency is already a hack, because there is no way I know of to depend on delivered top-level modules like more_fonts. The original patch parses the gb_Package_MODULE_ooo_fonts list of registered packages to add them as build dependencies. But this is not sufficient, as it just adds the dependencies on the installed / unpacked fonts in the workdir (actually it's just the installer filelist), where they can't be found by the unit test running in the instdir environment. So this converts the depndency into a make error, if either the filelist is missing or the included font files. But if we are in a full run and know the more_fonts module, we simply depend on its delivered files. This needs some minimal changes to gbuild, as neither the delivered file list nor the modules class names are yet available. And this moves the fontconfig handling to extras, where the opensymbol font is already handled. Change-Id: I1b70a4c45ff189266ce56c57e534ddc45e7c5c19 Reviewed-on: https://gerrit.libreoffice.org/74624 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2018-10-27simplify personas generation by using a single templateChristian Lohmaier
Change-Id: I127181fff198dd865d0d958675db7446c73d09d0 Reviewed-on: https://gerrit.libreoffice.org/62427 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
2018-10-19Personas: add 6 new default themesandreas kainz
design part of the personas patch Change-Id: I53c3b4d7dd6a4b47ac2d27b361978faa597386e6 Reviewed-on: https://gerrit.libreoffice.org/61507 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-08-19Writer templates: built from XML codeLaurent BP
Maintaining XML code is easier if we need to change a font (name or size). See tdf#114749 Change-Id: I1c1e5951c24863be717aef3dd22d533f5fd23a4f Reviewed-on: https://gerrit.libreoffice.org/58787 Tested-by: Jenkins Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> Tested-by: Heiko Tietze <tietze.heiko@gmail.com>
2018-05-29add --enable-build-opensymbol option to build opens___.ttf from sourceRene Engelhard
... and handle opens___.ttf like unowinreg.dll (-> download.lst/$(TARFILE_LOCATION)) Change-Id: Id4723fb15c4b4b04133dedf97b1262441baa4756 Reviewed-on: https://gerrit.libreoffice.org/54938 Tested-by: Rene Engelhard <rene@debian.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rene Engelhard <rene@debian.org>
2018-02-20Impress templates: build from XML codeLaurent BP
Mainting XML code is easier if we need to change a font name or font size for asian and complex. See tdf#114749 or tdf#114746 For Classy_red.otp, Object 1 was renamed Object1, as no space are allowed in file names. Change-Id: I6ed0b4df20943396640a9d9b749b77d5ba16ed2d Update: as suggested by Mark, add indentation with xmllint --format Reviewed-on: https://gerrit.libreoffice.org/47221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
2018-02-18tdf#114817 new bitmap presets for Area Fillandreas kainz
Change-Id: Icc48efc2f6c085ccf0754620dc1cbf5132a7f824 Reviewed-on: https://gerrit.libreoffice.org/49551 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
2016-07-11Move all Impress Templates in one folderSamuel Mehrbrodt
Change-Id: Ifad82946403f11a44147d2569063bb4af635393c Reviewed-on: https://gerrit.libreoffice.org/27126 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-04-22add some default style presets to templatesTomaž Vajngerl
Change-Id: If7051720b09b8472d1866ddecbb547d321539423
2015-01-07Include the new templates in the installation.Jan Holesovsky
Change-Id: I9fa578fafa5e350a186a77b3e023474b289e0fb8
2014-11-26share/template/shellnew/soffice.od? are only installed on WindowsStephan Bergmann
Change-Id: Id6afa19b5d1cbb0a76bb7d8a34d40ba4eda214ec
2014-07-03rename makefileDavid Tardon
Change-Id: I05b0bd047176cb35f162592e1be48765d955be8a
2014-07-02Build all l10n AutoTextLaurent Balland-Poirier
- Remove .bau files - Unzip .bau - Add missing mimetype files - Remove trailing spaces and tabs - Change directory names of standard/FN/Object 1 to standard/FN/Object_1 - Add files to project (3800 files) - Remove non-UTF8 characters in sk/template/HLB and sk/template/HRB - Move user autotext in CustomTarget to a sub directory "user" to avoid conflict with shared autotext - Change all META-INF/manifest.xml to add DOCTYPE line and complete manifest tag - Add AllLangCustomTarget_autotextshare.mk - Make relative path for office.dtd and Manifest.dtd in xml file - Correct pl/standard/ZO/atevent.xml and pl/template/PT1/atevent.xml Caolan's dream: https://bugs.freedesktop.org/show_bug.cgi?id=40499#c36 Change-Id: I17486cd88f380976990291a7d12969cc7751fb84 Reviewed-on: https://gerrit.libreoffice.org/9954 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-04Build default user AutoText file MyTexts.bauLaurent Balland-Poirier
Unzip Mytexts.bau and add files to project Add empty mimetype file Change-Id: Icc8099bcc4fe51e12b5314a4f25fcaf5f2e0938b Reviewed-on: https://gerrit.libreoffice.org/9639 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-21drop spadminCaolán McNamara
Change-Id: Ie10ee80f1d35b40c0baf9d7ba5c1181b52405b5f
2014-03-11normalize values of WITH_GALLERY_BUILDMichael Stahl
... and remove the unimplemented "package" option. Change-Id: I2b0cfcdc040b653fe0c4cd061ae4e0d7f745068c
2013-11-14make l10n buildable separatelyBjoern Michaelsen
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
2013-11-04fdo#70393: move external accessories to a subdir of externalKhaled Hosny
Change-Id: If69c8e10eb3ce19208390f63aef49cf1d9554ef1 Reviewed-on: https://gerrit.libreoffice.org/6572 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-10-31move bundled binary OXT to new module external/misc_extensionsMichael Stahl
... and use ExtensionPackageSet to copy them to INSTDIR. Change-Id: I3c77e986c308ffbabb5e55b93d3e04e6282bf4c9
2013-05-15gallery: allow disabling the from-source build in configureStephan Bergmann
Change-Id: Ic390ceeb9f52953d5dea6999b194956e90eb4629
2013-05-15migrate galleries to new, cleaner build infrastructure.Michael Meeks
Change-Id: I95402d81aef426de14ca928ea811aac6f1cd289d
2013-05-15remove pre-compiled textshapes and transportation galleries.Michael Meeks
Further gnumake fixups, package the files in the Gallery rules. Change-Id: Icda2de9cfcd2ff573db2e9ab27e2670dcfa5f0a8
2013-05-15migrate transportation gallery.Michael Meeks
Change-Id: Idec88df28724bcf4b3145bb169fa0fe08a8e282a
2013-05-15gallery: convert text-shapes to new build logic.Michael Meeks
Change-Id: Ia45a2eed7104b376b92290e1a40219e8988d927b