#13106 closed enhancement (fixed)

Update libreoffice-6.4.0.3 build for current options

Reported by: ken@… Owned by: ken@…
Priority: normal Milestone: 9.1
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

My build rejected the switch to disable gtk, it turns out that switch is no-longer offered and gtk3 is the default for linux/X. Examination, and some false-starts, led me to discover that we _can_ now link to system-icu (the shipped version is also ICU-65, my diagnosis of *why* that failed in December suggested libfreehand but apparently that wasn't the real cause), and also that we can specify PYTHON=python3 when invoking autogen.

More testing to follow before confirming.

Change History (7)

comment:1 by ken@…, 18 months ago

Owner: changed from blfs-book to ken@…
Status: newassigned

comment:2 by ken@…, 18 months ago

I was trying to establish the difference in space measurements between what is in the book and what I will eventually put there, but my builds (manual, without my own CFLAGS) come out bigger. I wondered if not using the translations tarball might be the answer.

But I was somewhat surprised that not enabling the symlink resulted in a few more seconds of build (probably more like random difference than significant code), the same install size, and about an extra 0.2GB of build space.

Currently doing a build for something else _with_ translations, but I'm starting to think that they maybe get downloaded automatically if not already present. And perhaps the same is true for dictionaries and maybe for help if that has been specified.

in reply to:  2 comment:3 by ken@…, 18 months ago

Replying to ken@…:

I'm starting to think that they maybe get downloaded automatically if not already present. And perhaps the same is true for

dictionaries and maybe for help if that has been specified.

Yes, just started a further build with a variety of languages and dictionaries, help, translations all got downloaded. So I guess we should:

· mark all three additions as "If you do not have local copies of they will be downloaded during the build."

· continue to create the directory

. treat all three as "if you have downloaded the dictionaries, help and translations ..."

comment:4 by ken@…, 18 months ago

Further data: a total of 82 tarballs and zip files get downloaded if the extra libreoffice tarballs are not present. That gives a total of 430 MB, but 293 MB of that is the extra libreoffice tarballs.

comment:5 by ken@…, 18 months ago

It turns out that specifying PYTHON=python3 is redundant: the configure script shows it first checks for python, python2, then python3 and suggests python or python2 will be used if at least version 2.7. But if PYTHON is not forced, on a system with both python2 and python3 config.log and building for /usr shows

PYTHON='/usr/bin/python3'
PYTHON_CFLAGS='-I/usr/include/python3.8'
PYTHON_EXEC_PREFIX='${exec_prefix}'
PYTHON_FOR_BUILD='/usr/bin/python3'
PYTHON_LIBS=' -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm'

comment:6 by ken@…, 18 months ago

I should remark that after one test build I tried copying all the files from external/tarballs/ to my sources, and then in the next build copying them all back in to save downloading again. But that attempt to build quickly failed, reporting that Module_extra.mk is missing.

In theory it should be possible to save all the downloads if building multiple times, but I don't have the time or inclination to look at this.

comment:7 by ken@…, 18 months ago

Resolution: fixed
Status: assignedclosed

r22644 and r22645.

Note: See TracTickets for help on using tickets.