25 Commits
Author SHA1 Message Date
Michael Stahl 592e67c4f2 desktop: convert oosplash to C++ and use comphelper::Hash
Also fix all `loplugin` warnings in start.cxx.

Not sure to what extent the "SingleOfficeIPC" pipe name is still
considered a stable API, likely not any more, using something other than
MD5 could be an option too ...

Also convert the other "SingleOfficeIPC" thing here.

Signed-off-by: Michael Stahl <michael.stahl@collabora.com>
Change-Id: I4561a880e8321d191144954687870aaa122fff75
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/4671
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
(cherry picked from commit f50ea835b44dca17405df004fb5b04a8478833d6)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207203
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-24 00:06:59 +02:00
Noel Grandin 3eee14d4e7 tdf#156825 Half of the splash screen is visible on both monitors under Linux
Blind fix, since I don't have two screens.

regression from
    commit 4c00a5bce3
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Thu Jul 20 11:27:17 2023 +0200
    Assume that, if we have X11, it supports Xinerama

It looks like I missed the removal of some USE_XINERAMA pieces

Change-Id: I402db170916efe935d8ff9f96cc9b327070809b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155939
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-08-22 13:15:57 +02:00
Noel Grandin 4c00a5bce3 Assume that, if we have X11, it supports Xinerama
By now, Xinerama is old enough that we can use the X11 server supports
it

Change-Id: Ida95902916697808c611a53274b1f0299fd298b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154666
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-07-21 11:01:29 +02:00
Jan-Marek Glogowski 97e2dc2ed0 Disable oosplash pagein feature for static builds
I'm not sure how useful this is today. Still hard-disabled on Mac
and Win. Obviously unneeded for static builds.

Change-Id: I3a95dede3c596ccdc0d15eba9edc072ad35f33fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128089
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Tested-by: Jenkins
2022-01-07 19:07:06 +01:00
Noel Grandin 2b5812e019 rename ENABLE_HEADLESS option to DISABLE_GUI
since it has nothing to do with the headless command line option, so
use the name it has in the configure.ac file

Change-Id: Ibf0615ed02695d6e48a797f5632e4f417c010c70
Reviewed-on: https://gerrit.libreoffice.org/59611
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-08-27 08:47:49 +02:00
Michael Stahl b0e0ee45d6 consistent naming of externals: png -> libpng
Change-Id: I82d95e74318600b390d5add716773c658817e504
Reviewed-on: https://gerrit.libreoffice.org/42296
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-09-15 11:01:39 +02:00
Michael Stahl 55407935f9 normalize values of USE_XINERAMA
Change-Id: Iac70c0872b723f57a63b0df3759c3c6d38271eea
2014-02-27 18:09:02 +01:00
Matúš Kukan bf06908b67 further reduce GUIBASE usage; don't set it to headless
Change-Id: I76916c15f380bd80e823845f52f32a1c444079da
2013-06-07 15:14:28 +02:00
Michael Stahl c007292ec3 gbuild: gcc platforms: link with C compiler if no C++ files
In 5589c72b88 a problem due to linking
pyuno_wrapper with g++ was fixed: the library should not have a
dependency on libstdc++.  It's possible to implement this in gbuild
directly by checking whether there are any C++ input files.

(apparently on GNU/Linux g++ implicitly links in libm too...)

Change-Id: I04dce06f796e20047ce7f5eab65e6110c0244445
2013-05-10 17:56:24 +02:00
Michael Stahl cc858aca0e configure: substantially de-bong libpng handling
- remove --unix-qstart-libpng:
  the internal libpng is static lib so this option is pointless
- clean up duplicative libpng checks
- replace usage of ENABLE_QUICKSTART_LIBPNG with ENABLE_HEADLESS,
  which is the one case where it could still be disabled

Change-Id: Ie2e2c7e4a2396572742fdf056bf23c4271f04811
2013-05-08 17:49:58 +02:00
Michael Meeks 62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Michael Stahl fc81393c7f gbuild: remove various pointless calls that don't add anything
Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2
2013-01-26 22:20:07 +01:00
Tor Lillqvist c29098917a Get rid of (most uses of) GUI
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.

Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-25 17:53:25 +00:00
Michael Stahl 5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
Michael Stahl b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
Pierre-Eric Pelloux-Prayer 7d7b41cf12 solaris/intel: update .mk files to fix build errors
Change-Id: Iba306cde71eb5efeed29a4a44cefa19a47bac84b
2012-07-10 18:45:35 +02:00
Michael Stahl 1266480d38 Executable_oosplash.mk: fix typo in Solaris "socket" lib
Change-Id: Ic9338867a3bf9315f20fa02d7fdb1adda2db285a
2012-06-21 14:24:31 +02:00
Michael Stahl c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
Riccardo Magliocchetti 2130deb2d1 Introduce headless switch for X / cairo / toolkit less build
The plan is to reduce dependencies to be easier to deploy
libreoffice server side in headless mode.
2012-02-17 16:44:56 +00:00
Tor Lillqvist 25e10370fe Link most libs and executables with gb_STDLIBS as presumably is intended 2011-12-20 01:12:23 +02:00
Caolán McNamara c8ef924060 normalize Red Hat, Inc. spellings, and bump to latest template 2011-12-06 21:24:37 +00:00
Norbert Thiebaud 3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Norbert Thiebaud 992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
Peter Foley 38fd95ced1 fix link failure on linux if not using libXinerama 2011-09-18 16:49:37 -04:00
David Tardon 6df9c479f5 gbuildize desktop 2011-09-15 14:49:34 +02:00