summaryrefslogtreecommitdiff
path: root/extras/CustomTarget_autotextshare.mk
AgeCommit message (Collapse)Author
2024-05-03makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo)Christian Lohmaier
…by a simple/static $(gb_CustomTarget_workdir)/foo The build system has a lot of overly complicated leftovers from when it was introduced and had not only deal with split repositories but also had to coexist with another buildsystem. Along with lots of copy'n'paste along the years the makefiles became hard to grasp for newcomers with all our calls and evals. As a first step to streamline that, the macros from TargetLocations that simply prefix a static path to the argument (and similar of the same kind) are a natural pick before simplifying the rules themselves/getting rid of a bunch of eval statements. Change-Id: Ia06dbbcd5d1994755a2ff05b84f72ccbc4e3cab5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167005 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-04-26run zip via wsl in wsl-as-helper caseChristian Lohmaier
Change-Id: I0c5b75c39c211aba08ae6d56f02bcc93ca11e2bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166337 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-02-10simplify autotextshare makefile/only build what's packagedChristian Lohmaier
The multiple indirections/complex nested constructs don't really provide any benefit here, they certainly don't make the makefile easier to read. It was building the autotext .bau files for all languages, despite being packaged only for the requested UI langauges (via AllLagPackage) and the long list of autotext files was duplicated (even if all .bau files should be built, the list could be reused from the other makefile) Also remove the empty mimetype files and just touch them instead of copying them. The xml, mimetype and other files are now intermediates and are removed by make once the .bau is built. (if that's not desired, they can be flagged as .SECONDARY) The list of individual files (3.6k lines) could also be cut down if using e.g. make's wildcard function Change-Id: I223a49d26d1de1435d62a68a04b3713278a8320c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129696 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-09-08remove unnecessary meta.xml from autotextJustin Luth
I kept this separate to simplify spotting errors. There were about 130 unique md5sum hashes, and all were roughly the same size. I spot checked a few with "meld" and didn't see anything that seemed valuable. find . -name meta.xml -exec rm {} \; git grep -l \/meta.xml *.xml | xargs sed -i /\/meta.xml/d git grep -l \/meta.xml ../CustomTarget_autotextshare.mk \ | xargs sed -i "/\/meta.xml/d" Change-Id: Id11ec9973a8764ffbc809f9161868d6cacb80a85 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121606 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Laurent Balland-Poirier <laurent.balland-poirier@laposte.net>
2021-09-06remove unnecessary settings.xml from autotextJustin Luth
I don't think that anyone wants their document settings adjusted just by entering some autotext. [Now, it didn't seem to be doing that because I suppose that since the value already exists, the import won't overwrite it.] find extras/source -name settings.xml | md5sum | sort //shows only a few unique entries. Visual comparing with "Meld" //didn't reveal any reason why the files are useful. I also removed ./autotext/lang/bg/standard/FN/Obj0012D655/settings.xml based on Laurent's advice, even though it contains <config:config-item config:name="Formula" E=mc^2 Otherwise, the other 7 versions were almost identical, differening only in OOo version .9, or 1.1 and show redline changes on/off. cd exttras/source find . -name settings.xml -exec rm {} \; git grep -l \/settings.xml *.xml | xargs sed -i /\/settings.xml/d git grep -l \/settings.xml ../CustomTarget_autotextshare.mk \ | xargs sed -i "/\/settings.xml/d" Change-Id: I9c148bdff55e6757e6fa98401486bc7c41ebf25d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121605 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
2020-02-16GBUILD_TRACE, support for finding out where the build time is spentLuboš Luňák
See instructions in solenv/gbuild/Trace.mk . This generates a file than can be viewed e.g. in the Chromium tracing view. Change-Id: I5f90647c58ca729375525b6daed2d4918adc8188 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88754 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2019-09-24Update AutoText for srLaurent BP
Change lang code to AutoText to fit UI languages: replace sr-CS, sr-ME, sr-RS and sr-Latn-CS, sr-Latn-ME, sr-Latn-RS with sr and sr-Latn Change-Id: I68b437c8a93c8ecf926d0169b3bee93145375e0b Reviewed-on: https://gerrit.libreoffice.org/78805 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Remove useless AutoTextLaurent BP
As no UI available in these languages, autotext were removed for: ab af-ZA (af is used) an az en-AU ga-IE (ga is used) jv kl ky lb-LU (lb is used) nl-BE (nl is used) sah ti ur Change-Id: If048baec9821dde3bbd60de202d6b8e0b188fc5d Reviewed-on: https://gerrit.libreoffice.org/78839 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-08tdf#81436 Add default Autotext to all l10nLaurent BP
For l10n that do not have yet Autotext, add: FN: Formula Numbering LOREM: Lorem Ipsum dummy text Change-Id: Ife882cdc70758ccbbc3fa8e185eca10fab005e4a Reviewed-on: https://gerrit.libreoffice.org/78353 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-05-14tdf#125010 No compression to mimetype in all embded filesLaurent BP
same change as change https://gerrit.libreoffice.org/71473/ for : - autocorrection files .DAT - autotext share files .BAU - autotext user file .BAU - Writer templates: OfficeCorr, OfficeMisc, Personal, Styles .OTT - Impress templates .OTP Change-Id: Ie467b19bc833006fdfef45a72b9cb4a0eba8e7bd Reviewed-on: https://gerrit.libreoffice.org/71830 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2016-02-03Update Hungarian Autotext patternsLászló Németh
Remove obsolete patterns for date field insertion, add a current one. Change-Id: Ifb7109b6b3eb210f1b1b40bab236794c07a105d7 Reviewed-on: https://gerrit.libreoffice.org/21943 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-08-28use nonet for xsltprocCaolán McNamara
Change-Id: I47f020722b46b727ad03a937f28f0b33033d61cb
2014-08-12Simplify make file for autocorr and autotextLaurent Balland-Poirier
Build mimetype file list with other lists Change-Id: Ia30fd6af9d312e4eb7d68b6460221a55f608a808 Reviewed-on: https://gerrit.libreoffice.org/10887 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-03remove stray \David Tardon
Change-Id: I55a695835d6c7085aebd36c37de4866daebb8134
2014-07-03rename makefileDavid Tardon
Change-Id: I05b0bd047176cb35f162592e1be48765d955be8a