12 Commits
Author SHA1 Message Date
Stephan Bergmann 230fc68daf Drop CustomTarge_desktop/soffice for non-MACOSX builds
...where it now always just copied a file from one place to another unchanged,
after 8595bdadb9 "remove JITC_PROCESSOR_TYPE
export for powerpc"

Change-Id: Ic078f3e29c7430f6553084c99685378ade023c38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195537
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-12-12 15:17:06 +01:00
Rene Engelhard 8595bdadb9 remove JITC_PROCESSOR_TYPE export for powerpc
long obsolete; there's no IBM JDK for 32-bit ppc anymore. And it breaks
creating instdir/program/soffice with +x by cp (sed doesn't keep the
permission, obviously)

Change-Id: I9e8ffc6017056adb5142099a661761c2caaa87c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195487
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-12-12 08:31:33 +01: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
Patrick Luby 67b808eea0 Set entitlements in non-release in $(INSTROOTBASE) and .dmg package
Also, when building a .dmg for macOS, skip codesigning for non-release
builds, both with and without the macOS sandbox, if there is no identity
set but set entitlements to allow Xcode's Instruments application to
connect to the application.

Lastly, add entitlements when building soffice in $(INSTROOTBASE) if
this is a non-release build.

Change-Id: I764bf5bd5d44e878669c4287906e6efd6aac593f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152655
Tested-by: Jenkins
Reviewed-by: Patrick Luby <plubius@neooffice.org>
2023-06-07 22:08:50 +02:00
Jan-Marek Glogowski b6feea0a84 soffice.sh depends on config_host.mk for the sed
Change-Id: Ifd2ab80fcbfa05ad606a88ac83f1f65dd1713490
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128180
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-09 12:06:14 +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
Michael Meeks 62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Riccardo Magliocchetti ad050e40f1 headless build: build oosplash again
It looks like we want it so revert:
dae66b7b1d
4d408cc2f0
64a530cfa8

Change-Id: I7cd410861b28a0556de3375a0865a7baef52bd78
2012-09-10 21:26:15 +02:00
Riccardo Magliocchetti dae66b7b1d desktop: use soffice.bin instead of oosplash if build with --enable-headless
Change-Id: I2e4742a6893267ea8d4ec2048dd0686fd309a7db
2012-09-07 20:13:51 +02:00
Michael Stahl a9550f63cd normalize variable names in gbuild user makefiles
Variables should have module name as prefix to prevent collisions.
2012-05-10 10:47:44 +02:00
Matúš Kukan 0a45deba2b enforce only one possible use of gb_CustomTarget
This brings two changes:
- no more recursive calling of make
- gbuild_simple is now not used => removed
2012-04-09 21:04:39 +02:00
Matúš Kukan d5c18a48f8 desktop: use CustomTarget makefile 2012-04-04 11:31:55 +02:00