Instructions to compile LO on Solaris with gcc Disclaimer ---------- This is still work in progress Compiling LO on Solaris with gcc is a work done by Lanedo ( www.lanedo.com ) Any inquiry could be sent to office-solaris@lanedo.com Prerequisites ------------- A working Oracle Solaris 11 installation Installing Dependencies ----------------------- sudo -s pkg install git make gcc-45 autoconf autogen automake-110 gnu-m4 pkg install pkg:/system/header@0.5.11-0.175.0.0.0.2.1 pkg install pkg:/developer/gperf@3.0.3-0.175.0.0.0.2.537 pkg install pkg:/developer/parser/bison@2.3-0.175.0.0.0.2.537 pkg install pkg:/developer/lexer/flex@2.5.35-0.175.0.0.0.2.537 pkg install pkg:/developer/documentation-tool/doxygen@1.5.7.1-0.175.0.0.0.2.537 Compiling --------- CC="gcc" CXX="g++" ./autogen.sh --with-num-cpus=2 --with-max-jobs=4 --without-junit --disable-mozilla --with-system-curl --without-help --disable-cups --without-java --with-system-cairo --with-lang= --enable-gio --disable-gnome-vfs --disable-gstreamer --without-fonts --with-system-dicts --disable-mozilla --without-system-mozilla --disable-xmlsec --with-system-openssl gmake itle>Remove excess newlines 2016-02-09T08:18:05+00:00 Chris Sherlock chris.sherlock79@gmail.com 2016-02-09T07:16:42+00:00 a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
A ridiculously fast way of doing this is:

for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
  --exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
    perl -0777 -i -pe 's/^
{3,}/

/gm' $i
done

Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
loplugin:unusedfields UnoControls,ucb 2015-12-21T10:45:50+00:00 Noel Grandin noel@peralex.com 2015-12-21T09:21:49+00:00 dff9873c270f653ebd073dac90bdacd2a40207c1 Change-Id: I2ff2db21d79d80785f3b6849c879537d5111a960
Change-Id: I2ff2db21d79d80785f3b6849c879537d5111a960
remove boilerplate in UNO Exception constructor calls 2014-05-23T13:06:00+00:00 Noel Grandin noel@peralex.com 2014-05-23T10:03:21+00:00 e7bc3cab019fbf040f9fb8b53ae2cf3f977d200b Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.

Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
remove unnecessary use of OUString constructor 2014-05-22T05:54:55+00:00 Noel Grandin noel@peralex.com 2014-05-21T06:29:53+00:00 985f2b8b407e1359b67419d702a18cd60c5a23b8 Change-Id: I7769625289d8bf47fe5905dfb91d3bce9e0f5c85
Change-Id: I7769625289d8bf47fe5905dfb91d3bce9e0f5c85
cppuhelper: retrofit std::exception into overriding exception specs 2014-02-26T17:22:20+00:00 Stephan Bergmann sbergman@redhat.com 2014-02-25T20:31:58+00:00 5e21a413c788f839a66d9e4c14e745ed18058db8 Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Don't use OSL_LOG_PREFIX when throwing exceptions in non-debug builds. 2014-01-27T22:21:43+00:00 Jan Holesovsky kendy@collabora.com 2014-01-27T21:51:45+00:00 cb64711136fff661f60d679db1e391866cc6fe10 Using OSL_LOG_PREFIX in the exceptions is not a good idea; it blows the size of the string literals tremendously - full build path for every line that uses that, including the line. Let's not remove it for good, but hide it for non-debug builds (OSL_DEBUG_LEVEL == 0) so that anybody who would like to use this during debugging could still do (but I doubt it has any value for anybody). Change-Id: Icc8db95ae0862671a206e681f92c60cdf51ffc32
Using OSL_LOG_PREFIX in the exceptions is not a good idea; it blows the size
of the string literals tremendously - full build path for every line that uses
that, including the line.

Let's not remove it for good, but hide it for non-debug builds
(OSL_DEBUG_LEVEL == 0) so that anybody who would like to use this during
debugging could still do (but I doubt it has any value for anybody).

Change-Id: Icc8db95ae0862671a206e681f92c60cdf51ffc32
mass removal of rtl:: prefixes for O(U)String* 2013-04-07T12:23:11+00:00 Luboš Luňák l.lunak@suse.cz 2013-04-07T10:06:47+00:00 1946794ae09ba732022fe6a74ea45e304ab70b84 Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09