193 Commits
Author SHA1 Message Date
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
Dr. David Alan Gilbert 63e023f342 valgrind: dhat is no longer experimental
The valgrind dhat plugin is no longer experimental as of
valgrind commit 441bfc5f5 in 2018, update the switch.

Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Change-Id: Iba74eeed1cc5e2350d715454bf32192e0bc3692b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170072
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-07-09 10:53:31 +02:00
Eli Schwartz a1c854fffe use portable "command -v" to detect installed programs, part 1
The "which" utility is not guaranteed to be installed either, and if it
is, its behavior is not portable either. This means that when various
programs are installed, the `which` check will report a fatal error
because the which tool did not exist and the shell returned a nonzero
status when attempting to fork+exec. If it did exist, it might not be an
implementation of `which` that returns nonzero when commands do not
exist.

The general scripting suggestion is to use the "command -v" shell
builtin; this is required to exist in all POSIX 2008 compliant shells,
and is thus guaranteed to work everywhere.

For some in-depth discussions on the topic, see:
- https://mywiki.wooledge.org/BashFAQ/081
- https://unix.stackexchange.com/questions/85249/why-not-use-which-what-to-use-then/85250#85250

Examples of open-source shells likely to be installed as /bin/sh on
Linux, which implement the 15-year-old standard: ash, bash, busybox,
dash, ksh, mksh and zsh.

This commit changes two programs installed to end-user systems.

Change-Id: I6013965bb914f5b0d593a876866b991e210ef5b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160662
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-01-22 13:46:45 +01:00
Julien Nabet b4ff86cf73 Use "set logging enabled on/off" instead of deprecated "set logging on/off"
With GNU gdb (Debian 13.2-1) 13.2, I noticed this trace on console when using --backtrace

Warning: 'set logging on', an alias for the command 'set logging enabled', is deprecated.
Use 'set logging enabled on'.

Change-Id: Ic03911ea94aff57dee8f594744147302ef01a1ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160143
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-30 13:47:53 +01: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
Stephan Bergmann 3041269156 Fix unoinfo on macOS
...after 4b9190fc29 "mac: don't put script files
into Contents/MacOS or framework-bin directory" moved it from Contents/MacOS/ to
Contents/Resources/

Change-Id: I90da34f73463baa516e81f6d06bd718f08e93af0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109627
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-01-19 14:38:18 +01:00
Michael Stahl 1ab938155c desktop: rr --ignore-nested was renamed to --nested=ignore
Change-Id: Id1c1789c24b8eec27db0b24e1e43e2eb7d562509
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106291
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Tested-by: Jenkins
2020-11-23 14:35:25 +01:00
Samuel Mehrbrodt 35518c9236 Move all public Java classes to libreoffice.jar
This moves the classes from juh.jar and ridl.jar to libreoffice.jar

The goal is to have one single jar (and Java module, will be added later)
which developers can include to work with LO.

juh.jar and ridl.jar are kept as basically empty jars with libreoffice.jar
on its classpath to keep backwards compatibility.

This is a continuation of ae855bf481
and a preparation to have Java 9 module support.

Change-Id: Ifbbfb97f60373d14256e62ae3122913bd17d5bbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91930
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-06 14:48:21 +02:00
Luboš Luňák 397ad713cf merge OpenGLZone and OpenCLZone into one generic code
To be used also by Skia code to detect problems with Vulkan drivers.
The watchdog does not handle OpenCL because neither did the original
code, but also because OpenCLZone::hardDisable() called from it
would deadlock on SolarMutex for some reason.

Change-Id: I483d8cb0b11a4e1e65c564f4e4c29ab68843ff71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88008
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-07 09:11:32 +01:00
Michael Weghorn 25649502e0 tdf#130080 soffice.sh: Avoid exporting empty LC_ALL
The previous way of doing

    LO_SAVE_LC_ALL="$LC_ALL"
    LC_ALL=C
    export LC_ALL
    # ... (call some tools,...)
    LC_ALL="$LO_SAVE_LC_ALL"

resulted in the LC_ALL environment variable explicity being
set to an empty string in case it was not set at all previously.

For some reason, an LC_ALL explicitly set to an empty string
(other than an unset LC_ALL) makes the system ICU on various
Linux distributions assume an "US-ASCII" encoding, even if the
locale is otherwise configured to be a UTF-8 one.
Since the corresponding detection from ICU is used in the
KF5/Qt stack, that resulted in the Plasma-native file picker
assuming an ASCII-encoding, and thus having problems with
files containing non-ASCII characters.

To avoid this, don't export LC_ALL if unset or set to an
empty string.

A big thanks to frinring on IRC #kde-devel for the analysis
of why the Plasma-native file picker is affected by LC_ALL being
set to an empty string!

I could also reproduce that the following sample program run
with 'LC_ALL=' on KDE Neon Developer edition printed "US-ASCII"
when using the system ICU, while it printed "UTF-8" when using
a self-built ICU as of current master (commit
d6b88d49e3be7096baf3828776c2b482a8ed1780) instead, but did not
further investigate why:

    #include <unicode/ucnv.h>
    #include <iostream>

    int main() {
        std::cout << ucnv_getDefaultName();
    }

Change-Id: Idee88f200b6edecdb2633ed6e6fa70b370ffcf0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88003
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Tested-by: Jenkins
2020-02-05 15:46:15 +01:00
Samuel MehrbrodtandStephan Bergmann ae855bf481 tdf#117331 Merge jurt and unoil into ridl
jurt.jar and unoil.jar are kept as effectively empty jars, each with a

  Class-Path: ridl.jar

in their meta-inf/manifest.mf, so that 3rd-party code loading them (with or
without also loading ridl.jar) will still have access to their content.

Conceptually, the UNOIDL entities in unoil.jar (corresponding to module offapi)
are not part of the URE, but are now made available by URE's ridl.jar.  This
should probably not cause problems in practice.

At least for now, we seal exactly those packages in ridl.jar that were
originally sealed in jurt.jar.  Ideally, all of ridl.jar could be sealed now,
but that would be mildly incompatible, as it would prevent 3rd-party code from
introducing additional UNOIDL entities in the relevant namespaces (even if that
is something we do not want 3rd-party code to do anyway).

However, some JunitTest_jurt_* define classes in those sealed packages.  In the
past they got away with that by using gb_JunitTest_use_jar_classset,*,jurt.
Instead they now need to gb_JunitTest_use_jar_classset,*,ridl and drop the
gb_JunitTest_use_jar,*,ridl.  But the former only makes available the classes
that are specified in ridljar/Jar_ridl.mk with gb_Jar_add_sourcefiles, not the
UNOIDL entities specified via gb_Jar_add_packagedirs.  But the tests need the
udkapi UNOIDL entities, so introduce gb_JunitTest_add_classpath to let the tests
get them explicitly.  (Curiously, JunitTest_jurt_uno and JnitTest_jurt_util use
gb_JunitTest_use_jar_classset,*,jurt but don't seem to acutally need it; lets
leave that for a follow-up clean up.)

As a follow-up clean up, relevant files could be moved from jurt/ to ridljar/.

Change-Id: I836f4e7bb47fb41f1306e3f223da90dba988eb9a
Co-authored-by: Stephan Bergmann <sbergman@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84946
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-04 22:03:54 +01:00
Ilmari Lauhakangas 35463d886e Add more useful exports to soffice's callgrind mode
Moved from TDF wiki to avoid duplication.

These three stop us getting poor performance from unusual allocators:
unset MALLOC_CHECK_ MALLOC_PERTURB_ G_SLICE

If we wedge, at least we don't do it while grabbing the mouse:
export SAL_DISABLE_FLOATGRAB=1

Turns off recovery dialog, which can be a pain:
export OOO_DISABLE_RECOVERY=1

Turns off GL watchdog. It normally kills the application, if it
seems to hang in a GL block:
export SAL_DISABLE_GL_WATCHDOG=1

Change-Id: I4ec30d363280b727cd305a6a81ccb85849697159
Reviewed-on: https://gerrit.libreoffice.org/73773
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2019-07-13 16:17:16 +02:00
Luboš Luňák a5fa2d2d64 LD_BIND_NOW=1 if running under callgrind
It avoids all those calls to _dl_runtime_resolve_xsave that
in KCachegrind's call graph lead to nowhere and make navigating harder.

Change-Id: Ie3843676298d92b8ed6d598ead16f4d410ba8b2b
Reviewed-on: https://gerrit.libreoffice.org/73382
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2019-06-03 20:49:56 +02:00
Michael Stahl ad6286ce92 gbuild: allow recording of CppunitTests and PythonTests too
Since these don't use soffice they need to be tweaked to use RR variable.

A rr git master build from some weeks ago can record all tests, except
CppunitTest_dbaccess_firebird_test which fails.

smoketest is a bit tricky because it spawns soffice which checks RR
variable again and starts a nested rr, but fortunately there's a
flag to prevent it from aborting in this situation.

For UITests currently only the soffice.bin is recorded, not the python
test process.

The size of all the recording is about 35G per run in a --enable-dbgutil
build.

Change-Id: I2143618fa2181e36b6aaeded43637cb3481f5e47
Reviewed-on: https://gerrit.libreoffice.org/60032
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Tested-by: Michael Stahl <Michael.Stahl@cib.de>
2018-09-05 16:01:07 +02:00
Thomas Klausner 8db53bfd74 Fix "javaPathHelper: not found" errors during startup.
javaPathHelper is a tool from OpenBSD ports, so there is no point
looking for it on other operating systems.

Change-Id: I763d717fdf7172b412d527fcd88347b2e54a8fe9
2018-06-25 23:45:41 +02:00
Michael Stahl 4722bb82f8 desktop: unbreak soffice --valgrind
(regression from e6a9dc22a4)

Change-Id: Ib394a64fb70a3b578d462c351eb9d68e9ac55d62
2017-03-07 13:38:11 +01:00
Stephan Bergmann 709709962d Upon failure, 'cd' itself already prints a message to stderr
Change-Id: Iabe3a6bb14ca3e83a0792d7fc131ae0ac74e578c
2017-02-11 12:54:24 +01:00
Stephan Bergmann ccedfa046a Revert "fix desktop scripts"
This reverts commit f52eb759f6.  I assume this was
intented to be a fix for e6a9dc22a4 "tdf#105204
fix shellcheck warnings in desktop/scripts" (later addressed with
7ba0b28cc3 "Unbreak soffice.sh").  But I think
these quotations are actually useful parts of that original commit.  I fail to
see how pathname expansion (aka globbing; nor field splitting, if that is what
was actually meant in "we want globbing here") should be a useful feature here.

Change-Id: I5c33c40cfe2a817f628442fed70a07f06dd275cc
2017-02-06 13:58:30 +01:00
Stephan Bergmann 7ba0b28cc3 Unbreak soffice.sh
Change-Id: I8c827db4c16a4a169dd710787bf9beb123ddc7b6
2017-02-04 16:34:15 +01:00
Jochen Nitschke f52eb759f6 fix desktop scripts
reverts parts of e6a9dc22a4
we want globbing here

Change-Id: Ibe4672f41b0fe6a75d1aca898cc55414e138f6ef
Reviewed-on: https://gerrit.libreoffice.org/33913
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-02-04 11:37:13 +00:00
qarkai e6a9dc22a4 tdf#105204 fix shellcheck warnings in desktop/scripts
Use $(..) instead of `..`,
use && and || instead of -a and -o,
double quote to prevent word splitting,
handle cd failure.

Change-Id: I860891323a81ac4a46c868ab028df1e1f837c115
Reviewed-on: https://gerrit.libreoffice.org/33897
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2017-02-04 08:46:14 +00:00
Michael Stahl 8f232026f0 soffice.sh: can't hurt to force system allocator for massif
Change-Id: Ib999ed36befae52894c04eaa95be76f2a7cfdd3b
2016-11-07 16:34:42 +01:00
Markus Mohrhard a021a436c0 remove reference to old OpenGL stuff
Change-Id: I3398910136d82a25bba508505db9d9a1b080a0be
2016-02-07 16:13:59 +01:00
Baptiste Daroussin 3a8b00910e FreeBSD can live with default search path
Change-Id: I3fa26aaf57d9620e952823c303ee77e2fc642045
Reviewed-on: https://gerrit.libreoffice.org/20651
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-14 11:05:25 +00:00
Katarina Behrens c15b96a4b9 C++ solution of 'unopkg can't be used by root'
This way should cover all un*x-like OSes (unopkg.sh excludes
e.g. OS X)
This effectively reverts commits 723e099972 and
9444ffc93a

Change-Id: I0b4425d1c9eff8e51e5d9a4dab35775084106a23
(cherry picked from commit faa2c06226146e3ab4b7fa8096cf213ea9d52a23)
2015-06-19 15:57:44 +02:00
Katarina Behrens 9444ffc93a Remove bash-ism, allow also --bundled option for root
Change-Id: I34511c7947ff78654a34a3d2bd21754b6d004420
2015-06-15 13:35:57 +02:00
Katarina Behrens 723e099972 Don't let root run unopkg without --shared option
with the exception of -h|--help.

It only makes sense to run unopkg with root priviledges if adding,
deleting etc. extensions system-wide for all users (i.e with --shared
switch ). In all other cases it only messes up access rights to
extensions, so prevent that. Furtheron, running LibO from the root
account (and installing root-user-local extensions) is not a
supported scenario.

Change-Id: I2817f62ae0bb400cefed240e792873f563fbe76e
Reviewed-on: https://gerrit.libreoffice.org/16250
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-06-14 21:25:34 +00:00
Michael Stahl b1fac3dde6 desktop: add soffice --record parameter for easy use of rr
Allow recording all JunitTests with "RR=1 make check".

Change-Id: Ie540cb42990d3032d3fa38abedd4e5134f3ded2c
2015-05-20 21:13:41 +02:00
Thorsten Behrens 27491725a6 Fixup my earlier quoting fix.
Change-Id: I9a7afb28e09f7f8aa577e180f647839d67964bdf
2015-05-12 10:36:51 +02:00
Thorsten Behrens 23c0e00b50 Add some quoting to shell scripts.
I'd be surprised if the places given want globs and word
splitting...

Change-Id: I0eb9f2d39ac43479ee06a2477ba309a8e1944d20
2015-05-11 23:05:54 +02:00
Stephan Bergmann 8fdb239735 Fold URE: Linux ure/share/java/* -> program/classes/
Change-Id: I86864f832c0377d307cfa0b2c137f452e43797eb
2014-11-28 15:32:26 +01:00
Stephan Bergmann 45ca1bfc22 Fold URE: Linux ure/lib/* -> program/
The ../../../program/ links in the URE jar Class-Paths are a temporary kludge
(and juh.jar had lacked adaption for Mac OS X).

Change-Id: I2542d8a582866485dd61c05df3fc6b4b39a8403d
2014-11-28 11:57:28 +01:00
Stephan Bergmann eef94c1655 Fold URE: Linux ure/bin/* -> program/
Change-Id: Id6cab518329829c22600f2a68b6b59abd04a564c
2014-11-28 11:57:28 +01:00
Stephan Bergmann f6848ac737 Adapt unoinfo to new Mac OS X LibreOffice.app layout
Change-Id: I0e7fc27f558de2af7e860ca2ab2da1952fc85678
2014-09-29 22:52:28 +02:00
Stephan Bergmann 95343c998a Disable rtl/alloc.h also for Helgrind
Change-Id: I472d11d50a3b0810779108f3f81624ab9880fe8b
2014-05-08 12:11:24 +02:00
Stephan Bergmann 3ceaeff1cf Skip gcj's gij executable, like other JREs' java executables
Change-Id: Ida84a271a066e89ceb7e5dd2fd23a744f5529917
2014-03-14 12:20:41 +01:00
Stephan Bergmann 1fc195f7e8 Simplify code (VERBOSE was unused)
Change-Id: I281be165fe110fee3e174e96e11cdbc4aa5671e0
2013-10-17 15:35:29 +02:00
Stephan Bergmann 15be40969c Fix quoting
Change-Id: Ie2228247f5edc107ed183a25ef30256d8041e000
2013-10-17 11:51:33 +02:00
Stephan Bergmann d879a74ee2 Scripts need executable bit
...or else they would end up non-executable in instdir, now that they are
directly copied there via desktop/Package_scripts_install.mk.

Change-Id: I8d2add1fd7f13ae9080d2f710b5fbb60d1e8ad1a
2013-10-17 11:45:39 +02:00
Michael Stahl 2426689500 desktop: ure-link is installed by ure/Packge_install.mk already
Change-Id: Ic575d340d0b3b42dc9b07790ab094c8ce6016329
2013-09-10 20:41:20 +02:00
Björgvin Ragnarsson d2ed00f711 unopkg: use default umask when installing shared extensions
This makes sure shared extensions are readable by users when root's umask has been
set to a value such as 0027.

Change-Id: If495afae8eaf3a640c99ecb7598b79b59363c12c
Reviewed-on: https://gerrit.libreoffice.org/5521
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-08-20 15:09:18 +00:00
Erik Auerswald e75b8e9b4b fdo#62192: broken launch script, bork in March in Germany
Change-Id: I0b726a696fe64ffb80a0cf367d5fa6225619ec92
2013-07-09 23:39:38 +02:00
David Tardon 1ca02a5c2e drop unused scripts
Change-Id: Icf4526214d9cfaaa9fe41b40b662c1e3bd9e6960
2013-05-05 14:43:14 +02:00
Michael Meeks daeed90f45 re-base on ALv2 code. Includes:
Patch contributed by: Jurgen Schmidt
    remove onlineregistration with dependencies
    http://svn.apache.org/viewvc?view=revision&revision=1240245
    imported patch package_eventlistener.patch
    http://svn.apache.org/viewvc?view=revision&revision=1172103

    Patch contributed by Pedro Giffuni
    Accept Google Chrome OS fonts as equivalent to MS fonts.
    http://svn.apache.org/viewvc?view=revision&revision=1233155
    http://svn.apache.org/viewvc?view=revision&revision=1233408

    Patch contributed by Andre Fischer
    Do not add targets for junit tests when junit is disabled.
    http://svn.apache.org/viewvc?view=revision&revision=1241508

    Patches contributed by Mathias Bauer (and others)
    gnumake4 work variously
    http://svn.apache.org/viewvc?view=revision&revision=1394707
    http://svn.apache.org/viewvc?view=revision&revision=1394326
    cws mba34issues01: #i114600#: remove forbidden characters
    from list of unencoded characters
    http://svn.apache.org/viewvc?view=revision&revision=1172370

    Patches contributed by Oliver Rainer-Wittman
    some clean up in JPEGReader due to memory constraints
    http://svn.apache.org/viewvc?view=revision&revision=1299729
    119114 - method <UpdateDialog::addSpecificError(..)> - create
    entry with correct type
    http://svn.apache.org/viewvc?view=revision&revision=1305265

    Patches contributed by Ariel Constenla-Haile
    i118707 - make toolbar control's popup window grab focus
    http://svn.apache.org/viewvc?view=revision&revision=1225846

    Patches contributed by Herbert Duerr
    #i118662# remove usage of BerkeleyDB in desktop module
    http://svn.apache.org/viewvc?view=revision&revision=1213171
    minor cleanups in dp_persmap.*
    http://svn.apache.org/viewvc?view=revision&revision=1215064
    flush early to prevent problem with extension manager not
    cleaning up its objects
    http://svn.apache.org/viewvc?view=revision&revision=1228147
    i118726 do not flush *pmap file while reading it
    http://svn.apache.org/viewvc?view=revision&revision=1230614
    #i119048# migrate BDB extension entries using a simple heuristic
    http://svn.apache.org/viewvc?view=revision&revision=1300972
    #i119048# handle edge cases when importing BDB hash files
    http://svn.apache.org/viewvc?view=revision&revision=1301428
    #i119113# fix of-by-one when importing BDB files
    http://svn.apache.org/viewvc?view=revision&revision=1305420

restore our encryption settings, icon themes, and dictionaries.
removed wrapper hacks, kill obsolete bundled extension blob /
pre-registration handling, remove duplicated quickstart code.
remove OS/2 conditionals.
2012-11-19 17:44:55 +00:00
Rene Engelhard 293f16bb2d move 2>&1 where it belongs in soffice.sh, thanks mst
Change-Id: I5cc08e3fd88beba70cac61ff4570c02dbad9faa0
2012-10-19 12:09:12 +02:00
Rene Engelhard 1c192dc0fc deb#690717 fix bashism in /bin/sh script
Change-Id: I43b0065e56b234a5aa748ac1593c29a44fdb1647
2012-10-18 11:16:20 +02:00
Michael Meeks 0ee9572db3 ignore various unhelpful signals in our --backtrace gdb setup.
Change-Id: I8ede40ebf5954e0492e790ce148c9b7f1f1e62df
2012-10-02 14:58:02 +01:00
Stephan Bergmann f4a4ba9ac1 Clean up option processing
* Support --version on non-UNX, too.

* Consistently show the first unknown option and the help blob in the presence
  of any unknown options.

* There is no need to tunnel --help/--version past oosplash in the soffice
  script, as oosplash is prepared to treat them adequately (esp. not pass them
  over any pipe); this only added unnecessary variance to what spellings exactly
  are supported and how mixtures of --help, --version, and unknown options are
  handled.

Change-Id: I617f2e727e2f0eafd34a2de3b85d441c6783ec4f
2012-09-26 11:30:35 +02: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