office-gobmx/desktop
Stephan Bergmann b1141fa610 Cut down on -pthread/-lpthread proliferation
Building against libstdc++ effectively always requires -pthread anyway (as
various standard C++ headers require it, see the comment added to
solenv/gbuild/platform/unxgcc.mk), so many explicit uses of -pthread/-lpthread
can be removed.

Doing a (partial) test build on Linux with Clang -stdlib=libc++ suggests that
libc++ indeed doesn't need -pthread as libstdc++ does.

The remaining uses of -pthread/-lpthread are mostly in configure.ac for the
various BSDs (which somebody else might want to clean up now), and related to
external projects.  I tried to be careful to remove -pthread/-lpthread from
makefiles only when C++ object files are involved (so -pthread will now be
included on the link command line by default).

Change-Id: I936e082839cb9a434bd273ce5a1f187a4245dfa1
Reviewed-on: https://gerrit.libreoffice.org/71291
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-04-25 21:27:43 +02:00
..
inc Consolidate declarations of {fire,reap}_glxtest_process in single include file 2019-03-26 08:43:28 +01:00
qa LOK: support creating view with options 2019-04-23 11:58:54 +02:00
scripts
source tdf#124923: Need to call InitVCL() on iOS before using SolarMutexGuard 2019-04-24 14:19:04 +03:00
test/deployment Fix Extension_test-{active,passive} 2018-12-14 17:34:17 +01:00
uiconfig/ui weld OTableSubscriptionPage 2019-04-06 19:53:00 +02:00
unx/source Write HiDPI consistently without a hyphen 2019-03-12 11:48:43 +02:00
util
win32/source -Werror,-Wlogical-op-parentheses (clang-cl) 2019-01-30 16:25:51 +01:00
AllLangMoTarget_dkt.mk
CppunitTest_desktop_app.mk Cut down on -pthread/-lpthread proliferation 2019-04-25 21:27:43 +02:00
CppunitTest_desktop_dialogs_test.mk
CppunitTest_desktop_lib.mk missing test dependencies 2018-12-20 12:18:01 +01:00
CppunitTest_desktop_lokinit.mk Cut down on -pthread/-lpthread proliferation 2019-04-25 21:27:43 +02:00
CppunitTest_desktop_version.mk
CustomTarget_desktop_unopackages_install.mk
CustomTarget_soffice.mk
Executable_minidump_upload.mk Drop UNICODE/_UNICODE defines 2019-04-04 13:57:59 +02:00
Executable_oosplash.mk
Executable_quickstart.mk
Executable_sbase.mk Drop UNICODE/_UNICODE defines 2019-04-04 13:57:59 +02:00
Executable_scalc.mk Drop UNICODE/_UNICODE defines 2019-04-04 13:57:59 +02:00
Executable_sdraw.mk Drop UNICODE/_UNICODE defines 2019-04-04 13:57:59 +02:00
Executable_simpress.mk Drop UNICODE/_UNICODE defines 2019-04-04 13:57:59 +02:00
Executable_smath.mk Drop UNICODE/_UNICODE defines 2019-04-04 13:57:59 +02:00
Executable_soffice_bin.mk tdf#112536 related: make soffice.bin a proper console application on Win 2018-11-21 08:19:38 +01:00
Executable_soffice_com.mk tdf#112536 related: make soffice.bin a proper console application on Win 2018-11-21 08:19:38 +01:00
Executable_soffice_exe.mk tdf#112536 related: make soffice.bin a proper console application on Win 2018-11-21 08:19:38 +01:00
Executable_sweb.mk Drop UNICODE/_UNICODE defines 2019-04-04 13:57:59 +02:00
Executable_swriter.mk Drop UNICODE/_UNICODE defines 2019-04-04 13:57:59 +02:00
Executable_unoinfo.mk
Executable_unopkg.mk tdf#112536 related: make soffice.bin a proper console application on Win 2018-11-21 08:19:38 +01:00
Executable_unopkg_bin.mk
Executable_unopkg_com.mk
Extension_test-active.mk
Extension_test-passive.mk
GeneratedPackage_desktop_unopackages_install.mk
Jar_active_java.mk
Jar_passive_java.mk
Library_active_native.mk
Library_crashreport.mk Cut down on -pthread/-lpthread proliferation 2019-04-25 21:27:43 +02:00
Library_deployment.mk
Library_deploymentgui.mk
Library_deploymentmisc.mk
Library_migrationoo2.mk
Library_migrationoo3.mk
Library_offacc.mk
Library_passive_native.mk
Library_sofficeapp.mk Cut down on -pthread/-lpthread proliferation 2019-04-25 21:27:43 +02:00
Library_spl.mk
Library_unopkgapp.mk
Makefile
Module_desktop.mk tdf#112536 related: make soffice.bin a proper console application on Win 2018-11-21 08:19:38 +01:00
Package_branding.mk
Package_branding_custom.mk
Package_sbase_sh.mk
Package_scalc_sh.mk
Package_scripts.mk
Package_sdraw_sh.mk
Package_simpress_sh.mk
Package_smath_sh.mk
Package_soffice_sh.mk
Package_swriter_sh.mk
Pagein_calc.mk
Pagein_common.mk
Pagein_draw.mk
Pagein_impress.mk
Pagein_writer.mk
Pyuno_passive_python.mk
Rdb_passive_generic.mk
Rdb_passive_platform.mk
README Rename Mac OS X to official name macOS in comments and documentation 2018-11-29 14:08:26 +01:00
README.vars
StaticLibrary_winlauncher.mk Drop UNICODE/_UNICODE defines 2019-04-04 13:57:59 +02:00
StaticLibrary_winloader.mk
UIConfig_deployment.mk
WinResTarget_quickstart.mk
WinResTarget_sbase.mk
WinResTarget_scalc.mk
WinResTarget_sdraw.mk
WinResTarget_simpress.mk
WinResTarget_smath.mk
WinResTarget_soffice.mk
WinResTarget_sofficebin.mk
WinResTarget_sweb.mk
WinResTarget_swriter.mk

What used to be the desktop in StarOffice 5 - now the binary.


Stable Interface
================

Some of the artifacts built here are part of a LibreOffice installation set's
stable interface, which (programmatic) clients can depend on.  Among them are:

soffice
=======

In the "program" directory ("program/" on Linux and Windows, "Contents/MacOS/"
on macOS).

unoinfo
=======

In the "program" directory ("program/" on Linux and Windows, "Contents/MacOS/"
on macOS).

When called with a sole argument of "c++", it prints to stdout an absolute
pathname denoting the directory where the public URE libraries are found.

When called with a sole argument of "java", it prints to stdout a marker
character (either an ASCII '0' or '1') followed by a sequence of zero or more
absolute pathnames denoting jars or directories that need to be included in a
class loader's search locations.

If the marker character is '0' (on Linux and macOS), the pathnames are
encoded as bytes, and any two pathnames in the sequence are separated from each
other by NUL bytes.

If the marker character is '1' (on Windows), the pathnames are encoded as
UTF-16-LE two-byte code units, and any two pathnames in the sequence are
separated from each other by two-byte NUL code units.