LibreOffice / openIndiana ...

Jonathan Adams t12nslookup at gmail.com
Mon Mar 5 07:03:33 PST 2012


Still a work in progress ... and a couple of "when it stops at this
point run this command" kinda hacks.

diff patch is attached, you'll just have to see how far you can get with it.

the user on this system is "sal" because I work for SAL ...
http://www.salltd.co.uk

Jon

On 5 March 2012 14:08, Michael Meeks <michael.meeks at suse.com> wrote:
>
> On Mon, 2012-03-05 at 12:06 +0000, Jonathan Adams wrote:
>> I'd prefer to stick with the system supplied gcc, but will move to a
>> packaged version that is stored somewhere else if that'd help.
>
>        Sure - IMHO we should be using the gnu tools as much as possible, if
> only to reduce the differences across platforms & hence reducing the
> odd-bug count and number of tweaks to the code & build configuration :-)
>
>        Incidentally - do you have a 'patch so far' :-)
>
>        "git diff > /tmp/here-i-am.diff"
>
>        I'd be happy to have at least -something- in git master that builds a
> bit further, so that others can jump in and help drive that high water
> mark higher. What's there now, clearly doesn't work :-) so anything
> better is better.
>
>        Thanks !
>
>                Michael.
>
> --
> michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot
>
-------------- next part --------------
  443  pkg install sfe.openindiana.org/developer/versioning/git
  447  pkg install gcc
  452  pkg install system/header
  460  pkg install compress/bzip2
  465  pkg install SUNWarc
  471  pkg install gettext
  474  pkg install autoconf
  479  pkg install automake-110
  532  pkg install header-math
  543  pkg install jdk
  546  pkg install gperf
  548  pkg install bison
  550  pkg install flex
  556  pkg install gconf gnome-component
  559  pkg install gnome-vfs
  562  pkg install gstreamer
  564  pkg install ant
  567  pkg install junit
  526  pkg install libtool

cd /usr/perl5
cp ./5.10.0/lib/i86pc-solaris-64int/Config.pm ./5.10.0/lib/i86pc-solaris-64int/Config.pm.bak
cp ./5.10.0/lib/Sun/Solaris/PerlGcc/Config.pm ./5.10.0/lib/i86pc-solaris-64int/Config.pm

fix ./5.10.0/lib/i86pc-solaris-64int/Config_heavy.pl:
change KPIC -> fPIC
change optimize='-O2 -fno-strict-aliasing'
change ld='gcc'

get zip30.tar.gz, compile
get perl module Compress/Raw/Zlib, compile
get perl module Archive/Zip, compile

export PATH=/home/sal/zip30:${PATH}

git clone http://cgit.freedesktop.org/libreoffice/core libo

solenv/gbuild/platform/unxgcc.mk copied to solaris.mk (with some changes.)

./configure.in
grep -q => \$GREP -q

./autogen.sh  CC=/usr/gcc/4.6/bin/gcc CXX=/usr/gcc/4.6/bin/g++ LD=/usr/gnu/bin/ld MAKE=/usr/bin/gmake \
--with-jdk-home=/usr/jdk/instances/jdk1.6.0 \
--disable-ccache \
--disable-epm \
--disable-mozilla \
--disable-neon \
--disable-odk \
--disable-opengl \
--disable-systray \
--with-alloc=system \
--with-fonts \
--without-stlport \
--with-system-libxml \
--with-system-openssl \
--with-num-cpus=4 \
--with-max-jobs=4 \
--disable-dependency-tracking \
--disable-zenity \
--disable-binfilter \
--enable-dbgutil \
--disable-werror \
ACLOCAL=aclocal-1.10

to compile libxmlsec:

cp -rL ./nss/unxsoli/misc/build/nss-3.12.8/mozilla/dist/out/include/* ./solver/unxsoli/inc/mozilla/nspr
cp -rL ./nss/unxsoli/misc/build/nss-3.12.8/mozilla/dist/public/nss/* ./solver/unxsoli/inc/mozilla/nss

export LD_LIBRARY_PATH=/home/sal/LibreOffice/libo/solver/unxsoli/lib

cp -rL ./registry/unxsoli/lib/libreg.so.3 ./solver/unxsoli/lib
ln -s libreg.so.3 ./solver/unxsoli/lib/libreg.so

cp -Rp icu/unxsoli/misc/build/icu/source/lib/libicudata.so* ./solver/unxsoli/lib
cp -Rp icu/unxsoli/misc/build/icu/source/lib/libicui18n.so* ./solver/unxsoli/lib
cp -Rp icu/unxsoli/misc/build/icu/source/lib/libicuuc.so* ./solver/unxsoli/lib

-------------- next part --------------
A non-text attachment was scrubbed...
Name: here-i-am.diff
Type: application/octet-stream
Size: 63318 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120305/d0a356ab/attachment-0001.obj>


More information about the LibreOffice mailing list