1334 Commits
Author SHA1 Message Date
elioperdreau 4d0ef4a077 odfstudio: synchronize with LibreOffice upstream 2026-09-16 22:00:48 +02:00
elioperdreau dbb22f9fd8 odfstudio: enable native Debian packaging
Define ODFStudioDev as an installer product inheriting from LibreOfficeDev and add it to the sysui product list.

Remove the stale odfstudio_branding package registration, as no corresponding package is currently provided.

This allows the native instsetoo packaging process to generate ODFStudioDev Debian packages and desktop integration.

Change-Id: I541efe6f5a686a7d4e73bc636a6ecbbc2a510f95
2026-09-02 22:44:30 +02:00
Christian Lohmaier 402a392bd4 packaging: faked-tcp can cause hangs, prefer fakeroot-sysv
especiall when creating installsets with high parallelism, the packaging
stage can hang until faked-tcp is killed.
So avoid this race-condition altogether by switching to the sysv backend
if available.

Change-Id: If554abb8fb51218e6055e70c98622be77ecce58e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205896
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2026-06-02 13:21:58 +02:00
Adam Jones 6f3a82a46f tdf#157867 Remove reference to Windows2K.
Just removes the reference to Windows 2000 in the Windows error messages.

Change-Id: I197aa83d4febd702bdd90e5bff604c2a0fda309d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188069
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2025-07-28 16:35:45 +02:00
Stephan Bergmann e4b24dba07 Emscripten: Put back -gseparate-dwarf
...which had been replaced with -gsplit-dwarf in
8ecdff7ac3 "Modernize wasm debug symbol
generation".  But -gseparate-dwarf and -gsplit-dwarf are apparently orthogonal:

-gseparate-dwarf adds a supplementary *.wasm.debug.wasm (whose relative URL is
recorded in an external_debug_info section in the original *.wasm), and the
original *.wasm and the supplementary *.wasm.debug.wasm have exactly the same
content, except that only the supplementary *.wasm.debug.wasm contains any of
the .debug_* sections (and only the original *.wasm contains the
external_debug_info section).  That way, the original *.wasm stays small (so
that it does not exceed any limits of the browser's JS WebAssembly instantiation
machinery), while the browser's debugger (like Chrome's "C/C++ DevTools Support
(DWARF)" extension) uses the supplementary *.wasm.debug.wasm.  This is
especially relevant when building LO with e.g. -fsanitize=address, where the
resulting soffice.wasm would otherwise easily grow too large.

-gsplit-dwarf, on the other hand, leaves certain debug information in .debug_*
sections in the original *.wasm and offloads further debug data to an auxiliary
*.wasm.dwp (which the browser's debugger will then load and use in addition to
using the original *.wasm's debug information).  When combined with
-gseparate-dwarf, there's an overall three files now: the original *.wasm (used
by the browser's JS WebAssembly instantiation machinery; lacking any debug
information), the supplementary *.wasm.debug.wasm (used by the browser's
debugger; containing some debug information), and the auxiliary
*.wasm.debug.wasm.dwp (used by the browser's debugger; containing further debug
information).  (One might assume that when using -gseparate-dwarf there would be
no benefit from additionally using -gsplit-dwarf.  But when I tried that with at
least Chrome version 138.0.7204.100 and the "C/C++ DevTools Support (DWARF)"
extension version 0.2.5854.1, it would still sometimes fail with

> [C/C++ DevTools Support (DWARF)] Loading debug symbols for http://localhost:6931/soffice.wasm (via soffice.wasm.debug.wasm)…
> [C/C++ DevTools Support (DWARF)] Failed to load debug symbols for http://localhost:6931/soffice.wasm (TypeError: Failed to fetch)

and the emrun server reporting

> 127.0.0.1 - - [15/Jul/2025 22:41:58] code 404, message File not found: /home/sberg/cowasm/core/workdir/installation/LibreOffice/emscripten/soffice.wasm.debug.wasm.dwp
> 127.0.0.1 - - [15/Jul/2025 22:41:58] "GET /soffice.wasm.debug.wasm.dwp HTTP/1.1" 404 -

making it look like it wanted to access a non-existing auxiliary
soffice.wasm.debug.wasm.dwp for some unclear reason.  So, at least for now, it
looks better to just use a setup that provides that auxiliary file anyway.)

Change-Id: I72352479c864c8d89cc63cc228aa676c7c2d8ccf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187953
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-07-16 14:19:47 +02:00
Andras Timar 88d509fa07 Remove obsolete Patch Creation Properties files
Obsolete since:
fcfb30e81a windows packaging: remove unused msp creation

Change-Id: I4792775ae21068e616f3cae68a74204d52c9fcdd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182501
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins
2025-03-05 07:04:50 +01:00
Mike Kaganski c154b79b58 tdf#94193: add missing SecureCustomProperties
Change-Id: I777f5094058135bf438545a558074e9ebacdb743
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180110
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-01-11 10:47:36 +01:00
Mike Kaganski ec0a49ecc7 Windows 7-8.1 support was removed, prevent install on these old systems
There is no simple "Windows is 10 or newer" check in MSI, with the
Microsoft policy of "you don't need to know real Windows version".
See also https://developercommunity.visualstudio.com/t/detect-a-windows-version-from-msi/412198

The values that MSI sees (e.g. on my Win11) are:

Property(C): VersionNT = 603
Property(C): VersionNT64 = 603
Property(C): WindowsBuild = 9600

So those can't be used for the check. I use the WINMAJORVER that is
read from registry (Software\Microsoft\Windows NT\CurrentVersion).

There is no more need to check and install UCRT; it was dropped.

Change-Id: Ic02d6aeb965e9684bafd4357f969980f77000e73
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178049
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-12-07 20:06:46 +01:00
Stephan Bergmann 9416bafc23 Adapt to generation of .worker.js files gone from 3.1.68
...and just unused dummies since 3.1.58, so don't install them for >= 3.1.58,
even if the dummies would still be available for < 3.1.68

Change-Id: Ida55be2fa3b75982bfd764b7b2676e63c092fe79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175822
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-10-30 13:51:40 +01:00
Stephan Bergmann ce8ac330eb Emscripten: For executables, only build .js files, not .html files
...as for the by-default --enable-qt5 case we generate an additional
qt_soffice.html anyway (and for a --disable-gui --disable-qt5 build, client code
probably wants to embed the results into its own HTML document and wouldn't rely
on an soffice.html); this simplifies the build infrastructure a little

Change-Id: Ib50799b5dd2fcfeb680f257f46ff65775dcddd71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174725
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-10-10 10:21:42 +02:00
Andras Timar c4283c5309 tdf#162921 on this error dialog there is 'Abort' button, not 'Cancel'
Change-Id: I28b86fa7fa0175d5b9737854ad0ece4e3a00760e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173217
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2024-09-12 09:42:35 +02:00
Stephan Bergmann 858fed2a98 Emscripten: Support --disable-gui
Change-Id: Iab28ee0bb533b0cdabb374c982fbb898bf04aac5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172537
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-08-28 23:02:51 +02:00
RMZeroFour eca8414763 .NET Bindings: Move built .NET libraries into instdir
This commit adds Package targets for the net_basetypes, net_uretypes
and net_oootypes libraries to install them into instdir/program/dotnet.
Also adds a LIBO_SHARE_DOTNET_FOLDER variable mirroring the
LIBO_SHARE_JAVA_FOLDER variable.

Change-Id: I28cdb2dac799bd72d11c3e550bba1a946db8b49c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170098
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-08-03 11:28:46 +02:00
Stephan Bergmann c91c190379 Fix --with-package-format=emscripten
For one, a dependency on gb_Postprocess_get_target,AllModulesButInstsetNative
was missing, so copying from instdir might have kicked in too early, before the
instdir files had been updated (e.g., in an incremental build).  For another, in
a from-scratch build, files like instdir/program/qt_soffice.html might not yet
have been around, but I'm too dumb to get gbuild to do what I want here (i.e.,
copy files from instdir to workdir once the files are available in instdir and
only if the files in instdir are newer than those in workdir).  So just make
this .PHONY and always copy all the files (in line with how other PKGFORMATs
also always rebuild their artifacts, IIUC).

Change-Id: I8b84677cdf867a2b66027ec4a4d781cd1fe623b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171077
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-07-26 23:00:21 +02:00
Stephan Bergmann 7d5c62537c Add --with-package-format=emscripten
...to have $(WORKDIR)/installation/LibreOffice/emscripten populated with just
the relevant files from $(INSTDIR).  (This doesn't reuse the complicated
CustomTarget_instsetoo_native/install used for other PKGFORMATs; as a special
case, it uses a much simpler CustomTarget_instsetoo_native/emscripten-install.)

Change-Id: I9c7509aadbc0e6e49ec95bf51c748c2ff9f778b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171066
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-07-26 13:02:11 +02:00
kubak bf067777fe MSI: Adds the missing ExtendedType column in the CustomAction table
ICE06 WARNING Column: ExtendedType of Table: CustomAction is not defined in database.

https: //learn.microsoft.com/en-us/windows/win32/msi/ice06
https: //learn.microsoft.com/en-us/windows/win32/msi/customaction-table

Change-Id: I5f9368fedf421b23a397f5dcd77f383cb9f42ac5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166951
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-05-16 15:13:09 +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 683d9496bd use strawberry perl for installation packaging in wsl-as-helper case
changing it to git-bash perl can probably be done, but would require
more changes to the path handling in the packaging code

Change-Id: I9a31ee6e9f122a2c167e11f5b4f73b18c5c0fa81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166343
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-04-26 14:02:37 +02:00
kubak f91e8fe61f MSI: Fix use of undefined TextStyle
ICE31 ERROR Control AdminNetworkLocation.DlgTitle uses undefined TextStyle MSSansBold8.

In the Control table in the Text column there is:

{&MSSansBold8}Network Location

and the Text Style from the TextStyle table should be used and look like this:

{&DialogDefaultBold}Network Location

https: //learn.microsoft.com/en-us/windows/win32/msi/ice31
Change-Id: I4fa1048cc28d042fc8a78b4dba1495ad75fc017a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166568
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-04-24 20:22:23 +02:00
Stephan Bergmann 6910b1e351 Hard-code --with-online-update-mar-channel=LOOnlineUpdater
(An upcoming change will add an instset/update-settings.ini file containing that
value, but using a GeneratedPackage for a single file instead of a directory
seems unsupported, so it will use the hard-coded value and a plain Package
instead.)

Change-Id: I12ffef4db71ce36be9096df674588b39c660e4de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161545
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-02 21:23:39 +01:00
Stephan Bergmann 189d827b99 Split --with-update-config=... into many --with-online-update-mar-...=...
...and allow each of them to be left off, for debug purposes, even if that may
render the resulting --enable-online-update-mar feature non-functional.

This change tracked each item that was potentially read from the
--with-update-config ini file, and turned each of them into a new
--with-online-update-mar-... option.  The only exception and remaining TODO is
bin/update/upload_build_config.py (called from Makefile.gbuild).

distro-configs/Jenkins/LibreOfficeLinuxUpdater.conf (which might well be dead)
set --with-update-config=~/updater.ini with an ini file of unknown content.  So
that no items are silently missing if we ever resurrect that distro-config, I
set all of the new options to =TODO there for now.

Change-Id: I17a13e0d190a868436bac10c1b0a6675d8c704c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160622
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-12-12 20:43:57 +01:00
Stephan Bergmann 63a5687e84 Missing parenthesis
...from e514f1a462 "fix --enable-wix switch - that
didn't do anything"

Change-Id: I4d8124152d5dcb97a11d6fced071ac428ac09bb7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159551
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-11-17 09:59:25 +01:00
Christian Lohmaier e514f1a462 fix --enable-wix switch - that didn't do anything
it used the wrong variable name in AC_SUBST and also had no place where
it would be set for the rest of the build to use.
Also the script hardcodes the location of the WiX Toolkit, so check for
the same path in configure.
Also it was needlessly tied to LIBO_TEST_INSTALL - since it has its own
conditional, "double-guarding" it is not necessary.

Change-Id: I6dd4a41e63d2a43a3e2f1aac5b6799a6601eb656
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159510
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-11-16 23:32:20 +01:00
Andras Timar d9ccfb162f replace license in package header to MPL-2.0 in case of MPL subset
Change-Id: I0ba75ff7da69a3a45afde3252de272aa18f69932
(cherry picked from commit fb228423017d2fce4491232f66299be6aa78b3d9)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158672
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-09 17:13:34 +01:00
Christian Lohmaier 078e102b9f msi packaging job-limiter: use CXX_FOR_BUILD
since it is a build-tool it needs to match the arch of the platform the
build is performed, already had used ILIB_FOR_BUILD, but CXX was missed
and broke the build for the aarch64 daily tinderbox

Change-Id: I79edf7d3f7813b43bb447d580d071914a5053b95
2023-11-08 15:33:30 +01:00
Christian Lohmaier edf6c155b0 limit parallelism during msi packaging stage to avoid cscript failures
with high parallelism there's a high risk of running into random
failures when calling WiLangId.vbs via cscript.

The limiter doesn't use make's jobserver since it is too easy to
deadlock the build since all jobs are started at once, consuming all
slots, but in addition all wait for an additional slot that never is
made available because all jobs are blocked waiting....
All jobs being started at once and all jobs getting started from that
point on getting put under the limiter's control makes this simple
approach with separate grab/release calls possible. If they were spread
out the semaphore wouldn't be available (gets closed/removed as soon as
nothing waits for it anymore)

Change-Id: I345f2904a1d7e8989720722415fb51282ab3b05b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158886
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-11-05 12:19:39 +01:00
Mike Kaganski 419866e851 MSI: Fix Signature table's FileName column type
It was "Filename" [1] since commit 68d28e2534
(#i28464# ooo native installer, 2004-05-24). But according to the spec [2],
it should be "Text" [3].

Found accidentally, because of an MSM bug in VS 2022 [4]. The unnecessary
entries there for Signature table conflicted with ours, preventing merge.

[1] https://learn.microsoft.com/en-us/windows/win32/msi/filename
[2] https://learn.microsoft.com/en-us/windows/win32/msi/signature-table
[3] https://learn.microsoft.com/en-us/windows/win32/msi/text
[4] https://developercommunity.visualstudio.com/t/Microsoft_VC143_CRT_x64msm-v14363253/10505819

Change-Id: I9911b8c02df57f202d197c634b565ce74b35d7e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158783
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-11-02 09:42:43 +01:00
Jussi Pakkanen 0f6bf89b1f Add configure switch to enable building the installer with WiX.
Change-Id: I5b1cf7a4a90c65b27fd3a9e2f33c9ffe044704e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151738
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-05-23 11:47:19 +02:00
Thorsten Behrens 904dfc73d0 Disable WiX-based MSI generation for the moment
Right now, CI builders have no WiX toolset installed, breaking all
daily builds (since commit 9aee0383c3)

Change-Id: I92ba2590c5afa711d3079edc070fd904b01de6f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150823
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-04-26 18:50:06 +02:00
RakielleandXimena Alcaman 9aee0383c3 Integrate msicreator into LO and generate installer
Co-authored-by: Ximena Alcaman <alcamanximena@gmail.com>

Change-Id: Iea2ea3b4bddc975a032592403727a4ff00db4a5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146843
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2023-04-22 04:52:55 +02:00
Stephan Bergmann 70bcf9e8be Remove support for AIX
As discussed in the mailing list thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2023-January/089808.html>
"Plan to remove dead C++ UNO bridge implementations (bridges/source/cpp_uno/*)",
the bridge implementation at bridges/source/cpp_uno/gcc3_aix_powerpc is
apparently dead and should thus be removed.  However, that was the only bridge
implementation for AIX, which implies that support for the AIX platform as a
whole is dead and should thus be removed.

Change-Id: I96de3f7f97d4fd770ff78256f0ea435383688be9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146057
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-01-27 07:28:16 +00:00
Christian Lohmaier 57c5d044dc bump minimum make version to 4.0 (for $(file …) function)
This already was a requirement for Windows for a few years now, and make
4.0 was released nearly 9 years ago, and it has been used in LO's build
system since it has been added 11 years ago while it was only available
in prerelease versions of make, providing an alternative workaround for
systems that didn't have make built from cvs… I guess it is finally time
to get rid of those workarounds and just require make 4.0 for everyone.

NOTE: reading files with the $(file …) function was only added with
version 4.2 of GNU make, and just using it without contents was added in
4.1, so those usages aren't supported

Change-Id: Ia1c2c86cfdbbd81f349bb9f7188299e16bdd155f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143910
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13 15:03:24 +00:00
Stephan Bergmann 8cfffbc67a Stick to three-letter build step prefixes
(it makes the output so much nicer to look at :)

Change-Id: Ib4844e264fd950082b19994156661f460331a2d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143784
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-12-08 09:21:03 +00:00
Andrea Gelmini 968242fe32 Fix typo
Change-Id: I30f6c0d9a3d373078cffc46a243cdde99e707b81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143742
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2022-12-06 19:51:14 +00:00
Christian Lohmaier b14c106635 build installer packages with make parallelism instead of GNU parallel
6204336cc7 added support for building installsets
in parrallel using the GNU parallel tool, this patch changes that to use make's
own parallelism, dropping the need for the external tool.

By not creating huge commandline for all packages at once/sequentially, the
workarounds to modify the PATH variable can also be dropped.

Since : is a special character in makefiles separating a target from
prerequisites delimiter in the installer-tuples has been changed to the
hyphenation point.

The dependencies on the install.phony target have been moved to the actual
installset targets (and those are .PHONY targets as well since the target file
isn't actually generatead).

Also unify the tuples for the different platforms, even if the first element is
only used for Windows.

Move the msi templates to a separate directory for the different types, so that
packaging can also be done in parallel on Windows. Move the setup back to the
makefile so it can be setup prior to running the script.

Previoulsy the script used grep to remove comments from the msi template files,
and had to use "|| true" since grep would also return error when not finding a
match/on empty files. Switch that to awk so it can run without that workaround.

Change-Id: I2f8b73e04d0f601cb0b4e2d8352a38ef9957bc17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143679
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-06 12:21:51 +00:00
Christian Lohmaier fcfb30e81a windows packaging: remove unused msp creation
Change-Id: I71903967f89d968d963f66a3e160d6dead7757f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138011
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-08-18 16:07:43 +02:00
Thorsten Behrens c9d018df61 make_installer: convert Win to Unix path for cygwin
Usual cygwin auto-conversion magic doesn't work for PATH variable,
which requires proper /cygdrive/foo/bar entries.

Change-Id: Ic07ffcdf7cb28c5e5702964c331f337ee811c063
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135032
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-05-27 09:33:45 +02:00
Thorsten Behrens aee953d7b6 Reduce cmd line length for make_installer calls
Seems on Windows, we're hitting the 8k character max cmd line length,
on setups with slightly deeper src tree path locations. Shorten length
of expanded call_installer calls by putting shell script into PATH
locally.

Change-Id: If1cddab9e4e07a7c5ebfae7a4e88e43b1bc8b907
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134938
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-05-26 01:09:55 +02:00
Thorsten Behrens 6204336cc7 Get make_installer calls to run in parallel
If available, use GNU parallel to run N make_installer.pl scripts in
parallel, to scale packaging LibreOffice up with the rest of gbuild.

* fallback if no GNU parallel found - run make_installer sequentially
  as before
* push most of the make_installer.pl input param tweaks from gbuild
  down into a shared call_installer.sh script
* call gnu parallel with generated number of
  "templ:lang:prodname:ext:pkgfmt:strip-flag" tuples, one for each
  package to build (empty templ for non-windows, to save on cmd line
  length)
* such that we can run all those in parallel (taking into account
  the build's PARALLELISM parameter)
* there's still the main package build running epm sequentially for
  umpteen sub-packages from within _one_ make_installer.pl instance, but
  that's much harder to parallelize from inside Perl (so we punt on
  that here)

Change-Id: Ie7d3084ed60d003d587c5e64dc9fb1809b23e409
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133957
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-05-22 21:35:42 +02:00
Michael Weghorn d6ea4b8ffc Depend on 64-bit packages for aarch64 as well
As Christian Lohmaier pointed out in [1]:

> When building packages using the epm method, the dependency gets added
> by instsetoo_native/inc_openoffice/unix/find-requires-x11.sh - and it
> looks like it should also add the ()(64bit) marker to the dependency
> when PLATFORMID is linux_aarch64 and not only for linux_x86_64
>
> check with rpm -q --provides libXinerama-1.1.3-2.1.el7.aarch64 whether
> it provides "libXinerama.so.1()(64bit)"

The reply of 2022-03-25T10:41 (public mailing list version
probably still pending in some moderator queue)
shows it does:

> [root@1 rpm2]# `rpm -q --provides
> > ^CbXinerama-1.1.3-2.1.el7.aarch64
> [root@1 rpm2]# rpm -q --provides libXinerama-1.1.3-2.1.el7.aarch64
> libXinerama = 1.1.3-2.1.el7
> libXinerama(aarch-64) = 1.1.3-2.1.el7
> libXinerama.so.1()(64bit)

[1] https://lists.freedesktop.org/archives/libreoffice/2022-March/088637.html

Change-Id: I1b9a4025399d82ac5f5e51ea5523417e3e6cf395
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132094
Tested-by: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-03-25 12:06:37 +01:00
Andras Timar 09d86496f0 Do not pull in X11 dependencies when the build is configured for LOKit
Change-Id: I44a1782cf523bbfbbbb0e0d5333364f36c7ed495
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130783
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2022-03-02 17:47:12 +01:00
Julien Nabet aafd4c8431 tdf#135233: Useless looking translatable string: "error text goes here"
Change-Id: I7e25ea89594b8b71e9009d8e9227e039aff8ee32
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130657
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins
2022-02-27 23:02:15 +01:00
Julien Nabet dc42e69897 Use STR_INSTALLATION_WIZARD tooin instsetoo_native/sdkoo part
Change-Id: I3a26ad7efabffc317448f3636ea98853217baf6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130652
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins
2022-02-27 20:20:47 +01:00
Thorsten Behrens b8278d93bb Make installer compression tool configurable
So we can use pigz or other parallelizable tools if available. Shaves
off noticeable build time when packaging install sets.

- figure out if pigz is available (fallback to gzip otherwise)
- pass compression tool down into make_installer
- and handle as one of many global options there

Change-Id: Ia9d1ea27a9f990874238b6f0be3e1fd30a662ec6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128469
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-01-22 10:14:23 +01:00
Tor Lillqvist 2e2931ba2d Split overly long line into multiple logically separate pieces for sanity
Change-Id: Ic23bfba8ff9f403e49bda89e4fffe73cf11fdd70
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124424
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2021-10-29 14:09:14 +02:00
Roman Kuznetsov d8a1187fc2 tdf#143686 increase a radiobutton's area size
Change-Id: Ib8b6d8b47934a7a2cf68f8977f03ced5f80f6452
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123409
Tested-by: Jenkins
Reviewed-by: Roman Kuznetsov <antilibreoffice@gmail.com>
2021-10-13 08:41:29 +02:00
Roman Kuznetsov af0437d7b1 tdf#143686 Increase a width of the label
Change-Id: I71d7994ad7ed4506c1514cf417a535caff20b05f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119869
Tested-by: Jenkins
Reviewed-by: Roman Kuznetsov <antilibreoffice@gmail.com>
2021-08-04 18:30:07 +02:00
Andrea Gelmini 01df224f57 Fix typos
Change-Id: I9a4ba6b6369da0bac489718230880b04912bd1d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116214
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-05-27 14:57:53 +02:00
Christian Lohmaier d4f5299fd2 remove obsolete/duplicated entries from openoffice.lst.in
The xml configuration related stuff is no longer (since 2013, with
89ac3c4aca) done in installer code, but by
postprocess/CustomTarget_registry.mk

openoffice.lst is only used for package generation itself, and by
extension for the replacement of values used in scp2 (those are replaced
by "replace_all_ziplistvariables_in_file" (for the ${NAME} style ones) in
solenv/bin/modules/installer/scpzipfiles.pm and (for the <name> style) by
replace_setup_variables in solenv/bin/modules/installer/scriptitems.pm

the files that would be created by scp2 in case for an installation set
(e.g versionrc, bootstraprc) are created by
instsetoo_native/CustomTarget_setup.mk for plain instdir

Change-Id: I761ea25aa98bbdcc310836257e288322fbfc437b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116128
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-05-26 00:29:21 +02:00
Roman Kuznetsov 6045232d35 tdf#141760 Increase a label box in Windows installer dialog
Change-Id: I6a58e0977381c620a795b77df56c24dab37cc327
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114281
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-04-20 14:25:04 +02:00