Commit graph

30 commits

Author SHA1 Message Date
Michael Meeks
7376b7475e Font bits: create symlink in jail at OS instdir path, to point at /lo
This ensures that bundled fonts in instdir/share end up resolved to
the same path that they were in when the forkit font config was setup.

It may also help locate other pre-inited resources.

Also copy in ~/.fonts in debug mode - can't hurt.
2016-04-15 14:35:57 +01:00
Michael Meeks
ab6cc4135b Copy fonts into systemplate from libreoffice install. 2016-04-15 14:23:44 +01:00
Tor Lillqvist
9d655cbcc0 Don't pretend this will work on anything except Linux 2016-02-29 14:25:12 +02:00
Tor Lillqvist
8a571401c0 Use less misleadit variable name 2016-02-12 14:09:29 +02:00
Tor Lillqvist
ce3dc628be Fix misleading comment 2016-02-12 13:26:19 +02:00
Tor Lillqvist
39bfd5a210 Look for self-copmpiled Poco also in /opt/poco
That's where I have it...

Also, make sure such self-built Poco libraries themselves get copied
into the systemplate.
2016-02-12 13:23:41 +02:00
Andras Timar
6b767bc5ee loolwsd: loolwsd-systemplate-setup: remove OS X support attempt 2016-01-14 18:15:15 +01:00
Andras Timar
3a53c864b4 loolwsd: loolwsd-systemplate-setup: add libpng* 2016-01-14 18:15:15 +01:00
Andras Timar
37f5132e9e loolwsd: loolwsd-systemplate-setup: remove redundancy 2016-01-14 18:15:15 +01:00
Andras Timar
ab07fa2948 loolwsd: find system Poco libs (for real now) 2016-01-06 12:59:25 +01:00
Miklos Vajna
4a5e4ac147 loolwsd: avoid copying non-Poco libs when looking for system Poco libs
10:05 < tml> vmiklos: doesn't your latest commit to online massively increase the number of .so files handled?

Indeed, the systemplate size was about 1.2GB, now it's back to around
500MB for my setup.
2016-01-06 10:18:50 +01:00
Miklos Vajna
d1ff4721cf loolwsd: fix make check 2016-01-06 09:56:51 +01:00
Miklos Vajna
3377e0e077 loolwsd: find libcap in /lib64
Running ./loolwsd <args> resulted in

/usr/bin/loolkit: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory
2016-01-06 08:56:14 +01:00
Henry Castro
cfb748edf7 loolwsd: ensure POCO library is installed into systemplate.
In order to avoid "/usr/bin/loolkit: error while loading shared libraries: libPocoNetd.so.30"
2016-01-05 19:11:31 -04:00
Henry Castro
ecd360f365 loolwsd: add missing libraries
libcap and libattr is located in lib/x84_64-linux-gnu
Debian GNU/Linux Jessie distribution
2016-01-05 18:06:26 -04:00
Henry Castro
32745e181b loolwsd: remove g++ from loolwsd-sytemplate-setup 2016-01-05 11:36:18 -04:00
Henry Castro
ad8844e7aa loolwsd: fix systemplate when --enable-debug poco library 2015-12-28 14:04:07 -04:00
Henry Castro
4a5277cb95 loolwsd: merged systemplate-setup
Change-Id: Id066b02e405246d6a0a268aa1b29e09cd7730642
Reviewed-on: https://gerrit.libreoffice.org/20905
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2015-12-23 17:09:24 +00:00
Tor Lillqvist
c639e76ac2 bugs.ccu#1248: Copy also locale data into systemplate
Let's hope the files I list is enough to cover both openSUSE 13.2 and
Debian 8.
2015-10-16 12:55:47 +03:00
Mihai Varga
8a371765bc loolwsd: copy /etc/localtime when running systemplate-setup 2015-09-08 13:03:43 +03:00
Tor Lillqvist
baed263003 Check that the LO installation directory exists 2015-08-14 11:31:06 +03:00
Jan Holesovsky
a3cb6fe960 system-template: We need also the content of the symlinks from /etc/fonts. 2015-08-13 17:35:20 +02:00
Henry Castro
6e5df9acda loolwsd: systemplate added tmp dir
tmp directory is necessary when uses the valgrind tool
2015-07-18 14:28:12 -04:00
Tor Lillqvist
b0f2b06fca Add the libnss* pathnames for Debian, too 2015-07-07 12:44:16 +03:00
Jan Holesovsky
767d6a0a32 Create /dev/*random in the chroot so that ssl works.
Also add the missing library to the systemplate.
2015-07-06 19:35:50 +02:00
Tor Lillqvist
1954d95e91 Clarify usage message 2015-06-09 18:29:35 +03:00
Tor Lillqvist
94e29dab1e This approach will not work...
The amount of system frameworks (both public and private) needed by
the LO libraries is staggering. It will not work to try to list them
here. If you are crazy enough to want to run this on OS X, use some
other tool than this script to set up the system template for the
chroot jail. Like mkjail from https://github.com/glvnst/shlibs.
2015-05-22 16:55:05 +01:00
Tor Lillqvist
99b7fcdfa8 Include dynamic loader and more system libraries on OS X 2015-05-22 14:34:13 +01:00
Tor Lillqvist
6b12d9e1a8 Make the script work on OS X
Note: No idea yet whether this stuff will work on OS X.
2015-05-22 11:37:40 +01:00
Tor Lillqvist
0857397352 Rename the systemplate setup script to better name and install it
It was a bit misleading to have "chroot" in the name of the script as it isn't
a chroot jail as such that the script is setting up, but a *template* that
will be copied (hardlinked) into each chroot jail.

The script should be installed, so that a loolwsd package can include it. We
don't want to loolwsd use to depend on having the sources available,
obviously.
2015-05-19 13:20:16 +03:00
Renamed from loolwsd/setup-sys-chroot (Browse further)