9 Commits
Author SHA1 Message Date
Christian Lohmaier 725b107b1d add helper to rewrite timestamps in zip files to SOURCE_DATE_EPOCH
for reproducible builds, the timestams of zip members must not depend on
checkout date or file creation dates, the metadata should be clear of
those effects.

Only timestamps are rewritten since we want custom order/storage options
for open document files / our make rules should already have
deterministic order (or that determinism is just one additional $(sort…)
call away)

Change-Id: I49341cf3252d5ef5c092508c789fd188f21dc8df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207142
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2026-07-14 15:14:42 +02:00
Christian Lohmaier 0c4c84a14b makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo)
…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-05-03 16:06:14 +02:00
Christian Lohmaier f7c5dd5f95 run zip via wsl in wsl-as-helper case
Change-Id: I0c5b75c39c211aba08ae6d56f02bcc93ca11e2bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166337
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-04-26 14:01:43 +02:00
Christian Lohmaier 3cc082dd61 simplify autotextuser makefile
could be made static, but left as pattern based since the rules could be
combined with the other makefiles/there's no real need to treat building
the user using separate makefile rules, it's the same procedure for both
shared and user variant.

Change-Id: Ic1dbbcf4dfd8f533d215cc930cc455f95658db1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129725
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-02-10 11:35:22 +01:00
Luboš Luňák 0adc9b615f GBUILD_TRACE, support for finding out where the build time is spent
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>
2020-02-16 14:49:45 +01:00
Laurent BP afb4db7184 tdf#125010 No compression to mimetype in all embded files
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>
2019-05-14 20:42:01 +02:00
Caolán McNamara fe1eb8809d use nonet for xsltproc
Change-Id: I47f020722b46b727ad03a937f28f0b33033d61cb
2015-08-28 10:29:09 +01:00
Laurent Balland-Poirier e9dd058ccd Build all l10n AutoText
- 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-07-02 11:22:27 +00:00
Laurent Balland-Poirier 56e071690f Build default user AutoText file MyTexts.bau
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-06-04 09:00:50 +00:00