LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   LibreOffice in Slackware. (https://www.linuxquestions.org/questions/slackware-14/libreoffice-in-slackware-4175647812/)

aikempshall 07-15-2020 02:06 AM

In the end I didn't need a separate jre package as the java program is part of jdk11 so doesn't need a separate jre. I must have got into a bit of a muddle when I thought that.

What was the problem was that LO7, cloned from git, no longer sits nicely with the SlackBuild.org LO6 package on the same box.

To get around this -
  1. I created a new user called master.
  2. cloned LO7's git into this new user.
  3. in this new user created this .profile
Code:

unset UNO_PATH
unset URE_BOOTSTRAP
export PATH=`echo $PATH | sed -e 's/:\/usr\/lib64\/libreoffice\/program//'`

This backs out any changes to this users profile introduced by /etc/profile.d/libreoffice.sh from the Christoph Willing's LO6 Slackbuild package. Christoph's /etc/profile.d/libreoffice.sh script is perfectly OK for a system that only has one LO series on it i.e LO6.

I also did a minor change to the JDK11 package, from SlackBuilds.org, to link /usr/lib64/java and /usr/lib64/jdk11-11.0.7

LO7 compiles and runs successfully.

cwizardone 07-18-2020 12:11 PM

LibreOffice-7.0-rc2 is avaliable for testing.

https://qa.blog.documentfoundation.o...e-for-testing/

cwizardone 08-05-2020 08:14 AM

LibreOffice-7.0 has been released.

Quote:

LibreOffice 7.0: the new major release of the best FOSS office suite ever is available on all OSes and platforms, and provides significant new features

Berlin, August 5, 2020 – The LibreOffice Project announces the availability of LibreOffice 7.0, a new major release providing significant new features: support for OpenDocument Format (ODF) 1.3; Skia graphics engine and Vulkan GPU-based acceleration for better performance; and carefully improved compatibility with DOCX, XLSX and PPTX files.......
The full story can be found at the following link,
https://blog.documentfoundation.org/...breoffice-7-0/

mats_b_tegner 08-12-2020 01:30 PM

Quote:

Originally Posted by cwizardone (Post 6152875)
LibreOffice-7.0 has been released.

The full story can be found at the following link,
https://blog.documentfoundation.org/...breoffice-7-0/

Eric "AlienBob" Hameleers has built LibreOffice 7.0.0 packages for -current:
https://alien.slackbook.org/blog/lib...kware-current/
https://bear.alienbase.nl/mirrors/pe...e/pkg/current/
https://bear.alienbase.nl/mirrors/pe...pkg64/current/

burning 08-16-2020 01:07 PM

Just tried running the SlackBuild script for LibreOffice by Christoph Willing off of Sbo on my slackware -current machine, initially it wouldn't build because it said it couldn't detect an /etc/profile.d/openjdk7.sh file but mine was just named /etc/profile.d/openjdk.sh without a number, so not sure what was going on there, but I got past that problem by copying it to a file named openjdk8.sh and running the slackbuild with the JAVA=openjdk8 option.

Sometime later in the building process, it encountered some errors relating to the make function, here are the last lines it output:
Code:

FHPath.cpp:798:1: warning: macro "DEBUG_SPLINES" is not used [-Wu
  798 | }
      | ^
  CXX      FHTransform.lo
  CXX      libfreehand_utils.lo
libfreehand_utils.cpp: In function ‘void libfreehand::_appendUTF1
libfreehand_utils.cpp:166:5: error: expected ‘;’ before ‘unsigned
  166 |    unsigned char outbuf[U8_MAX_LENGTH+1];
      |    ^~~~~~~~
make[6]: *** [Makefile:567: libfreehand_utils.lo] Error 1
make[5]: *** [Makefile:450: all] Error 2
make[4]: *** [Makefile:393: all-recursive] Error 1
make[3]: *** [Makefile:499: all-recursive] Error 1
make[2]: *** [Makefile:410: all] Error 2
make[1]: *** [/tmp/SBo/libreoffice-6.2.8.2/external/libfreehand/E
roject/libfreehand/build] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:286: build] Error 2

I found out after encountering this error that using AlienBob's packages will probably make installing this so much easier but I'm curious, what's causing the problem here?

chris.willing 08-16-2020 05:11 PM

Quote:

Originally Posted by burning (Post 6156569)
Just tried running the SlackBuild script for LibreOffice by Christoph Willing off of Sbo on my slackware -current machine, ...

In general, I'm not tracking -current for the SlackBuild at SBo (14.2 only). However I have occasionally provided some updates to ponce's -current repo so that's the place to go for more recent versions of LO (although certainly not the very latest at the moment).

chris

burning 08-16-2020 05:31 PM

Quote:

Originally Posted by chris.willing (Post 6156629)
In general, I'm not tracking -current for the SlackBuild at SBo (14.2 only). However I have occasionally provided some updates to ponce's -current repo so that's the place to go for more recent versions of LO (although certainly not the very latest at the moment).

chris

Thanks, from what you know about the SlackBuild given that you wrote it, do you know what sorts of things would stop a 14.2 version working on -current? Because so far, I've been using mostly 14.2 slackbuilds on -current and this is the first one that hasn't worked flawlessly. If you're not sure about LO specifically, any idea for slackbuilds in general? I'm still a newbie to this all so I'm just curious

chris.willing 08-16-2020 05:49 PM

Quote:

Originally Posted by burning (Post 6156635)
Thanks, from what you know about the SlackBuild given that you wrote it, do you know what sorts of things would stop a 14.2 version working on -current? Because so far, I've been using mostly 14.2 slackbuilds on -current and this is the first one that hasn't worked flawlessly. If you're not sure about LO specifically, any idea for slackbuilds in general? I'm still a newbie to this all so I'm just curious

LO has a myriad of library and compiler dependencies and many of the changes in newer versions of them (as updated in -current) require changes in LO that now prevent it building with the older libraries in 14.2. While many SlackBuilds at SBo will also work on -current, many also will not work, hence the effort at ponce's repo to track SlackBuild changes required for -current.

chris

burning 08-16-2020 07:53 PM

Quote:

Originally Posted by chris.willing (Post 6156639)
LO has a myriad of library and compiler dependencies and many of the changes in newer versions of them (as updated in -current) require changes in LO that now prevent it building with the older libraries in 14.2. While many SlackBuilds at SBo will also work on -current, many also will not work, hence the effort at ponce's repo to track SlackBuild changes required for -current.

chris

Ah thanks very much! That explains everything.

Tonus 08-17-2020 12:54 AM

In addition, from AlienBob blog :
Quote:

One caveat with the new packages is that to build Java support into them, one will need Oracle JDK 9 or higher.

burning 08-17-2020 04:05 PM

Quote:

Originally Posted by Tonus (Post 6156729)
In addition, from AlienBob blog :

So no support for OpenJDK then?

Tonus 08-17-2020 05:49 PM

I suggest you go read his blogpost : https://alien.slackbook.org/blog/lib...kware-current/

That is for AlienBob package. You could try to compile using his slackbuild with Oracle JDK 9 if you want to try.

onebuck 08-17-2020 07:44 PM

LibreOffice 6.4.5 finally for Slackware 14.2
 
Hi,

Email from AlenBob 08-14-2020;
Quote:

The Document Foundation recently released version 7.0.0 of their Libre Office suite of applications. The packages for Slackware-current can be found in my repository. But the situation for Slackware 14.2 used to be different - I got stuck after LibreOffice 6.2 because the newer source releases (6.3 and onwards) require versions of system software that our stable Slackware 14.2 platform does not offer.
From time to time during the last year, when there was time and the build box was not compiling packages, I messed around with the libreoffice.SlackBuild script in futile attempts to compile recent versions of LibreOffice on Slackware 14.2. I failed all the time.
Until last week. After I had uploaded the new KDE Plasma5 packages to 'ktown', I had an epiphany and decided to use a new approach. What I did was: question all the historic stuff in the SlackBuild script that got added whenever I needed to work around compilation failures; and accept that the compilation needs newer versions of software than Slackware 14.2 offers. The first statement meant that I disabled patches and variable declarations that messed with compiler and linker; and for the second statement I stuck to a single guideline: the end product, if I were able to compile a package successfully, has to run out of the box on Slackware 14.2 without the need to update any of the core Slackware packages.

So I ended with a script that only has two new compile-time requirements: use the 'unsupported' gcc 9.2.0 compilers instead of Slackware's ageing gcc-5.5.0. And update gperf to the version you find in Slackware-current. The rest of the required supporting libraries will be compiled into LibreOffice automatically. And this time, the LibreOffice sources compiled without errors.
The resulting binaries would however fail to run on a regular Slackware 14.2 (with the stock versions of gcc and gperf packages) because of missing symbols in the dynamically linked system libraries.
I managed to get around that issue, by adding the two runtime support libraries that come with gcc-9.2.0 (libgcc_s.so.1 and libstdc++.so.6) into the 'program' directory of LibreOffice. Those libraries contain the symbols LibreOffice is looking for; a simple runtime dependency on gcc.
By the way: you cannot expect everybody to install a set of compilers just to run programs, Slackware solves this dilemma by adding the GCC runtime libraries to the 'aaa_elflibs' package which is usually one of the first packages to get installed on a new system.

That worked! LibreOffice 6.4.5 for Slackware 14.2 is now available in my package repository. And I even built LibreOffice 7.0.0 in the same manner. I stuck with 6.4.5 because I want people to be able to use a stable and well-established version of an office suite on the stable Slackware platform. The more experimental 7.0.0 release is for Slackware-current.
Guess what! Today, just when I uploaded the 6.4.5 packages I noticed that the release of LibreOffice 6.4.6 has been announced (and in October we'll see the final release in the 6.4 cycle - being 6.4.7).
I will try to find some time to compile those fresh tarballs; but first I do like feedback about the new 6.4.5 packages that are now downloadable for Slackware 14.2.
Get the packages - as usual - from my own server or one of its mirrors; https://slackware.nl/people/alien/sl...s/libreoffice/ (rsync://slackware.nl/mirrors/people/alien/slackbuilds/libreoffice/) or https://slackware.uk/people/alien/sl...s/libreoffice/ (rsync://slackware.uk/people/alien/slackbuilds/libreoffice/)
Enjoy! Eric
Just thought I would share.
AlienBob has move information at https://alien.slackbook.org/blog/

Hope this helps.
Have fun & enjoy Slackware with LibreOffice!
:hattip:

burning 08-18-2020 09:29 AM

Could anyone tell me roughly how much space a default install of the LibreOffice package with Java support takes up on a system? Trying to install it, it tells me it runs out of space halfway through the build/install process.

Paulo2 08-18-2020 09:51 AM

Quote:

Originally Posted by burning (Post 6157103)
Could anyone tell me roughly how much space a default install of the LibreOffice package with Java support takes up on a system? Trying to install it, it tells me it runs out of space halfway through the build/install process.

I was trying to build LibreOffice (alienBob's 6.2.8 script) in a 14.2 VirtualBox vm with 2GB ram and 30GB disk (and four cores), didn't build.
With double ram and disk, and eight cores, it took more than 6 hours to build.
I don't know if it was with java support but one of deps to build is java installed.

burning 08-18-2020 10:05 AM

Quote:

Originally Posted by Paulo2 (Post 6157111)
I was trying to build LibreOffice (alienBob's 6.2.8 script) in a 14.2 VirtualBox vm with 2GB ram and 30GB disk (and four cores), didn't build.
With double ram and disk, and eight cores, it took more than 6 hours to build.
I don't know if it was with java support but one of deps to build is java installed.

Just asking 'cause I have about 3Gb of space left in my root partition and so I'm guessing LibreOffice must somehow be in excess of 3Gb. Trying to figure out how much space I should make before trying to run his script again

Alien Bob 08-18-2020 10:16 AM

Quote:

Originally Posted by burning (Post 6157119)
Just asking 'cause I have about 3Gb of space left in my root partition and so I'm guessing LibreOffice must somehow be in excess of 3Gb. Trying to figure out how much space I should make before trying to run his script again

Just.don't.bother.then.

burning 08-18-2020 11:07 AM

Quote:

Originally Posted by Alien Bob (Post 6157124)
Just.don't.bother.then.

Oh I can make the space. I have some unallocated free space in a partition I'm saving for a second OS. Trying to keep the amount of space I steal from it to a minimum though :)
Any idea how many Gigabytes LO takes up once it's installed?

Paulo2 08-18-2020 11:46 AM

Quote:

Originally Posted by burning (Post 6157142)
Oh I can make the space. I have some unallocated free space in a partition I'm saving for a second OS. Trying to keep the amount of space I steal from it to a minimum though :)
Any idea how many Gigabytes LO takes up once it's installed?

slackpkg says 700MB for LO 7.0
Code:

slackpkg info libreoffice


NOTICE: pkglist is older than 24h; you are encouraged to re-run 'slackpkg update'

PACKAGE NAME:  libreoffice-7.0.0-x86_64-1alien.txz
PACKAGE LOCATION:  ./libreoffice
PACKAGE SIZE (compressed):  161712 K
PACKAGE SIZE (uncompressed):  704510 K


burning 08-18-2020 12:42 PM

Quote:

Originally Posted by Paulo2 (Post 6157156)
slackpkg says 700MB for LO 7.0
Code:

slackpkg info libreoffice


NOTICE: pkglist is older than 24h; you are encouraged to re-run 'slackpkg update'

PACKAGE NAME:  libreoffice-7.0.0-x86_64-1alien.txz
PACKAGE LOCATION:  ./libreoffice
PACKAGE SIZE (compressed):  161712 K
PACKAGE SIZE (uncompressed):  704510 K


Ah, thanks. I didn't know the info files listed the size of the package but now that I think about it, really makes sense that it does. I wonder what made me run out of space then.

Tonus 08-18-2020 12:47 PM

That's for the installed package. Compiling it requires much more disk space.

burning 08-18-2020 02:25 PM

Quote:

Originally Posted by Tonus (Post 6157169)
That's for the installed package. Compiling it requires much more disk space.

Thanks, I didn't know this. Any idea how much it takes up while compiling?

aikempshall 08-19-2020 02:58 AM

I've successfully compiled LO 7.0 with jdk11 and LibreOffice using SlackBuilds from ponce. Had to tweak them slightly. Dumped JDK8.

I use VirtualBox, 4 Processors and 8G of memory using an I7-4770K. I always like to have at least 40G+ of free disk space before I start compiling LO. I don't compile in the default /tmp, don't want to fill up the root partition.

Compiles in 2hrs 10mins I'm using with-parallelism=6

Compiled package size is 352MB.

burning 08-19-2020 07:18 AM

Quote:

Originally Posted by aikempshall (Post 6157369)
I've successfully compiled LO 7.0 with jdk11 and LibreOffice using SlackBuilds from ponce. Had to tweak them slightly. Dumped JDK8.

I use VirtualBox, 4 Processors and 8G of memory using an I7-4770K. I always like to have at least 40G+ of free disk space before I start compiling LO. I don't compile in the default /tmp, don't want to fill up the root partition.

Compiles in 2hrs 10mins I'm using with-parallelism=6

Compiled package size is 352MB.

Thanks, I'd be trying to compile it with OpenJDK8. Do you know if it's possible to compile it using my home partition and install it into my root partition? I'd also be using Ponce's SlackBuild, any advice based on how you tweaked it?

aikempshall 08-19-2020 08:23 AM

Quote:

Originally Posted by burning (Post 6157413)
Thanks, I'd be trying to compile it with OpenJDK8. Do you know if it's possible to compile it using my home partition and install it into my root partition? I'd also be using Ponce's SlackBuild, any advice based on how you tweaked it?


AlienBob gave the reason for not including java support in LO7 as

Quote:

I do not have OpenJDK 9 or higher in my repositories and I will not, until IcedTea adds support for these versions. Until then, I stick with Java 8 and that means I had to disable Java support in the libreoffice packages that I compile from source.
I don't use openjdk, don' know why, so I could ignore AlienBob's reasoning.

I use Oracle jdk.

In hacking other people's SlackBuilds I just muddle through. So treat the following very carefully.


Each SlackBuild is written to allow the caller to override "hard coded" parameters. For instance in the LibreOffice.SlackBuild you're see the line

Code:

TMP=${TMP:-/tmp/SBo}
Before calling the LibreOffice.SlackBuild I do this

Code:

export TMP=/home/packages/tmp/SBo
Not sure if it's necessary but I have /home/packages/tmp/SBo owned by root.

This patch file, for LibreOffice.SlackBuild might help

Code:

--- /home/alex/tmp/ponce.org/office/LibreOffice/LibreOffice.SlackBuild  2020-06-28 10:00:29.139632294 +0100
+++ /home/alex/Documents/ponce.org.buildpackages/LibreOffice7.0/LibreOffice.SlackBuild  2020-08-06 10:38:52.000000000 +0100
@@ -26,9 +26,9 @@
 
 PRGNAM=LibreOffice
 SRCNAM=libreoffice
-VERSION=${VERSION:-6.4.1.2}
+VERSION=${VERSION:-7.0.0.3}
 SHORT_VERSION=${VERSION%.*.*}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-0}
 TAG=${TAG:-_SBo}
 PACKAGER=${PACKAGER:-"AnonymousCoward"}
 
@@ -92,7 +92,14 @@
 [ "${PARALLEL:-0}" != "0" ] && parallel="--with-parallelism=$PARALLEL"
 
 JAVA=${JAVA:-jdk}
-if [ "$JAVA" = "openjdk7" ]; then
+if [ "$JAVA" = "jdk14" ]; then
+  . /etc/profile.d/jdk14.sh
+##  use_java="--with-java=java"
+  use_java="--with-jdk-home=/usr/lib64/jdk14-14.0.1"
+elif [ "$JAVA" = "jdk11" ]; then
+  . /etc/profile.d/jdk11.sh
+  use_java="--with-jdk-home=/usr/lib64/jdk11-11.0.7"
+elif [ "$JAVA" = "openjdk7" ]; then
  . /etc/profile.d/openjdk7.sh
  use_java="--with-java=java"
 elif [ "$JAVA" = "openjdk8" ]; then




I can then do

Code:

export JAVA=jdk11
before calling LibreOffice.SlackBuild

I also hacked the ponce jdk11.SlackBuild


Code:

--- /home/alex/tmp/ponce.org/development/jdk11/jdk11.SlackBuild 2020-06-28 10:00:28.662639255 +0100
+++ /home/alex/Documents/ponce.org.buildpackages/jdk11/jdk11.SlackBuild 2020-07-11 18:39:18.000000000 +0100
@@ -27,6 +27,8 @@
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
+DVER=${PRGNAM}-$(printf $VERSION | cut -du -f1)
+
 if [ -z "$ARCH" ]; then
  case "$(uname -m)" in
    i?86) ARCH=i586 ;;
@@ -64,6 +66,11 @@
  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
 
+echo move ${DVER} to java
+
+mv ${DVER} java
+ln -sf java ${DVER}
+
 find $PRGNAM-$VERSION -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true


Before running these SlackBuilds I remove the jdk8 package and any LO packages from my test system and reboot the machine.

I'm only using LO7 to see whether mailmerge, Base and macros still work and then only in a test system. In my production systems I still have Slackware 14.2 and LO 6.2.8.2. Don't intend to shift away from these anytime soon.

burning 08-19-2020 12:22 PM

Quote:

Originally Posted by aikempshall (Post 6157435)

I'm only using LO7 to see whether mailmerge, Base and macros still work and then only in a test system. In my production systems I still have Slackware 14.2 and LO 6.2.8.2. Don't intend to shift away from these anytime soon.

Thank you kindly for the explanation! :) Though I think I'll probably just try building the slackbuild without java support if OpenJDK isn't supported. And I'll have to make sure I'm installing an old enough version of LO that still runs on 32-bit systems. From the looks of it, both version of LibreOffice on Slackbuilds.org are for 64-bit systems. I've edited the version number of a slackbuild to use a more updated source before, but would the same thing work for editing the slackbuild to use an older source which is 32-bit when the build expects 64-bit?

aikempshall 08-20-2020 02:58 AM

Quote:

Originally Posted by burning (Post 6157507)
Thank you kindly for the explanation! :) Though I think I'll probably just try building the slackbuild without java support if OpenJDK isn't supported. And I'll have to make sure I'm installing an old enough version of LO that still runs on 32-bit systems. From the looks of it, both version of LibreOffice on Slackbuilds.org are for 64-bit systems. I've edited the version number of a slackbuild to use a more updated source before, but would the same thing work for editing the slackbuild to use an older source which is 32-bit when the build expects 64-bit?


I have a 32bit machine with P4 processor. It takes 26 hours to compile on that machine.

Obviously you must need a 32bit LO binary and LO are no longer supplying them, so your options are to use AlienBob's binaries or build your own.

Why do you need Java support?

Alex

coralfang 08-21-2020 10:41 PM

With alienbob's binaries i've been getting this the past week or so, and can't seem to get it working again. Any ideas how to fix that? I've tried linking libboost_locale.so to libboost_locale.so.1.73.0 etc.
Code:

> $ libreoffice                                                                                                                                           
/usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: libboost_locale.so.1.73.0: cannot open shared object file: Error 40


Gnisho 08-21-2020 11:15 PM

coralfang, check Alien's slackbuilds for the boost-compat package. It was recently updated to cover boost 1.73.0 and installing it will get libreoffice going again.

mats_b_tegner 09-04-2020 01:16 PM

LibreOffice 7.0.1 was released on the 3rd of September:
https://blog.documentfoundation.org/...breoffice-701/
Edit 2020-09-06:
Eric "AlienBob" Hameleers has released 7.0.1 packages for -current:
https://bear.alienbase.nl/mirrors/pe.../ChangeLog.txt
https://bear.alienbase.nl/mirrors/pe...e/pkg/current/
https://bear.alienbase.nl/mirrors/pe...pkg64/current/

burning 09-08-2020 10:10 AM

Quote:

Originally Posted by aikempshall (Post 6157669)
I have a 32bit machine with P4 processor. It takes 26 hours to compile on that machine.

Obviously you must need a 32bit LO binary and LO are no longer supplying them, so your options are to use AlienBob's binaries or build your own.

Why do you need Java support?

Alex

Thanks. And I don't think I need java support per say, I just assumed it'd be better to have it than to not.

Quick question about AlienBOB's libreoffice packages;
http://slackware.uk/people/alien/sla...s/libreoffice/
Under Libreoffice, there are two pkg directories, pkg and pkg64, which seems to imply that the packages which are under pkg will be 32-bit, but in the pkg directory, they list version 6.4 and up for -14.2 and 7.0.1 for -current, but I thought that 6.2 was the last version of LO to support 32-bit?
Does the package listed for -current (7.0.1) work on 32-bit slackware?

Alien Bob 09-08-2020 10:16 AM

Quote:

Originally Posted by burning (Post 6163779)
I thought that 6.2 was the last version of LO to support 32-bit?
Does the package listed for -current (7.0.1) work on 32-bit slackware?

If you compile the sources, you can build 32bit binaries which is what I did. Probably the Document Foundation no longer releases official 32bit binaries, like Google with Chrome. But who cares about binaries compiled on a non-Slackware OS?
The libreoffice-7.0.1 package in ./pkg/current/ works on a 32bit Slackware-current. Of course these binaries will not work on Slackware 14.2 but with a bit of effort you can compile a 32bit libreoffice-7.0.1 package for Slackware 14.2 yourself.

burning 09-10-2020 02:53 PM

Quote:

Originally Posted by Alien Bob (Post 6163784)
If you compile the sources, you can build 32bit binaries which is what I did. Probably the Document Foundation no longer releases official 32bit binaries, like Google with Chrome. But who cares about binaries compiled on a non-Slackware OS?
The libreoffice-7.0.1 package in ./pkg/current/ works on a 32bit Slackware-current. Of course these binaries will not work on Slackware 14.2 but with a bit of effort you can compile a 32bit libreoffice-7.0.1 package for Slackware 14.2 yourself.

Ah, thank you :)
I'll get to work on this then!

edit: is it the .txz file I'd be needing then? Or is that a complete package? I'll be trying to build for -current on 32-bit

edit2: nvm, I re-read alienBob's post and realized his package should work. No need for me to build my own

drumz 09-10-2020 04:31 PM

Quote:

Originally Posted by burning (Post 6164563)
is it the .txz file I'd be needing then? Or is that a complete package? I'll be trying to build for -current on 32-bit

The *.txz file is binary Slackware package compiled by Alien Bob. To compile yourself look in the build (https://bear.alienbase.nl/mirrors/pe...eoffice/build/) directory. Also it would be good to browse his blog posts (https://alien.slackbook.org/blog/?s=libreoffice).

burning 09-11-2020 10:59 AM

For some reason, the package I installed from ./pkg/current/ for 7.0.1 doesn't seem to be working properly. For reference, I'm running slackware -current on a 32-bit machine.

Restarting my computer, I tried running libreoffice, I see the loading bar come up but then it just disappears almost as quickly as it came. Running it from the command line gives the error:
Code:

/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libboost_locale.so.1.74.0: cannot open shared object file: No such file or directory
I'd say I'd just try building from source but would that be likely to fix the error? Regardless, is there a semi-obvious fix for this?

thx

Alien Bob 09-11-2020 12:26 PM

Quote:

Originally Posted by burning (Post 6164811)
For some reason, the package I installed from ./pkg/current/ for 7.0.1 doesn't seem to be working properly. For reference, I'm running slackware -current on a 32-bit machine.

Restarting my computer, I tried running libreoffice, I see the loading bar come up but then it just disappears almost as quickly as it came. Running it from the command line gives the error:
Code:

/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libboost_locale.so.1.74.0: cannot open shared object file: No such file or directory
I'd say I'd just try building from source but would that be likely to fix the error? Regardless, is there a semi-obvious fix for this?

thx

You do not run Slackware-current if your computer is missing boost-1.74. If you are running -current you have not updated since August 15th. Please always install/run the latest -current before you start asking this kind of questions.

0XBF 09-11-2020 12:31 PM

It looks like libreoffice is built against boost 1.74.0, which was put into slackware-current on August 15, 2020. I'm guessing you haven't updated current since then and are still on an older boost version. Updating should fix that.

Ps. It's a good idea to get alienBOB's "boost-compat" package as well, to avoid future problems with boost. It tends to cause lots of breakage for third party programs.

Edit: Looks like I type too slow.

burning 09-12-2020 08:51 AM

Quote:

Originally Posted by Alien Bob (Post 6164847)
You do not run Slackware-current if your computer is missing boost-1.74. If you are running -current you have not updated since August 15th. Please always install/run the latest -current before you start asking this kind of questions.

Thank you. Noted. I'll remember to do this in future.

And thx for the recommendation 0XBF.

cwizardone 10-09-2020 09:40 AM

LibreOffice 7.0.2 has been released.
https://blog.documentfoundation.org/...breoffice-702/
Quote:

October 8, 2020 –
......The most significant new features of the LibreOffice 7.0 family are: support for OpenDocument Format (ODF) 1.3; Skia graphics engine and Vulkan GPU-based acceleration for better performance; and carefully improved compatibility with DOCX, XLSX and PPTX files.....

Thom1b 10-09-2020 09:53 AM

Quote:

Originally Posted by cwizardone (Post 6173973)
LibreOffice 7.0.2 has been released.
https://blog.documentfoundation.org/...breoffice-702/

And Eric has already make packages. Thanks Eric!

Quote:

+--------------------------+
Fri Oct 9 09:27:03 UTC 2020
libreoffice: updated to 7.0.2 for Slackware-current.
Note that I dropped Java support from LO 7.x.
You can compile this on Slackware 14.2 yourself with some caveats.

cwizardone 10-29-2020 11:05 AM

LibreOffice 7.0.3 has been released.

https://blog.documentfoundation.org/...breoffice-703/

Quote:

.....LibreOffice 7.0.3 includes over 90 bug fixes, including Calc issues introduced with 7.0.2, and improvements to document compatibility.....

ziprun 10-30-2020 02:34 PM

Quote:

Originally Posted by Thom1b (Post 6173976)
And Eric has already make packages. Thanks Eric!

"Dropped java support for LO 7"
Is java even important in libre office? What are you missing out on without it? I'm expecting by libre office 8 they'll drop it entirely upstream.

mats_b_tegner 10-31-2020 08:13 AM

Quote:

Originally Posted by cwizardone (Post 6179879)
LibreOffice 7.0.3 has been released.
https://blog.documentfoundation.org/...breoffice-703/

Eric's packages have been updated to 7.0.3 for -current as well:
https://bear.alienbase.nl/mirrors/pe...e/pkg/current/
https://bear.alienbase.nl/mirrors/pe...pkg64/current/

aikempshall 11-01-2020 02:34 AM

Quote:

Originally Posted by ziprun (Post 6180263)
"Dropped java support for LO 7"
Is java even important in libre office? What are you missing out on without it? I'm expecting by libre office 8 they'll drop it entirely upstream.

Would need to confirm, but I seem to remember Java's still required for Base.

burning 11-11-2020 04:42 PM

I've been enjoying using Libreoffice for about just over a month now. I recently updated -current again since doing so after my last post in this thread and it seems Libreoffice is no longer working properly on my system.
Running it from the command line gives the error:
Code:

/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libicui18n.so.67: cannot open shared object file: No such file or directory
Taking a look at the changelog, it looks like libicui18n.so.67 was upgraded to libicui18n.so.67.1. I'm not sure exactly how to go about tweaking the package to get it to work again.

Edit: Some folks in the irc helped me out by kindly pointing me in the direction of AlienBOB's icu4c-compat lib.
https://slackware.pkgs.org/current/a...alien.txz.html
which completely solved the problem.
Thanks again Bob.

andrew.46 11-19-2020 08:58 PM

I am a little behind by a point or two but as always I have compiled libreoffice (7.0.2.2) using the latest SlackBuild by our very own orbea. Using the following options:

Code:

JAVA="no" SYSTEM_LIBS="no" TMP="/tmp/ads" NUMJOBS="32" CCACHE="no" \
DICT="yes" HELP="html" LANGUAGES="en-GB" ./libreoffice.SlackBuild

I get a fastish compile and the setting SYSTEM_LIBS="no" keeps me insulated from system changes with no ill effects that I have seen as yet. And just to reinforce what a great investment a Threadripper 2950X build was:

Code:

Slackware package /tmp/libreoffice-7.0.2.2-x86_64-1_orb.tgz created.


real        25m33.976s
user        643m43.447s
sys        42m25.058s


mats_b_tegner 12-17-2020 08:11 AM

LibreOffice 7.0.4 is out:
https://blog.documentfoundation.org/...breoffice-704/
https://slackware.nl/people/alien/sl...e/pkg/current/
https://slackware.nl/people/alien/sl...pkg64/current/

Mobile1 12-17-2020 05:46 PM

Howdy!

I'm not sure what I'm missing, but Libreoffice will not run, when starting from CLI here is the error:

/usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: libicudata.so.67: cannot open shared object file: No such file or directory

Any input or direction will be recieved well : )

Thank you,

bassmadrigal 12-17-2020 06:01 PM

You either need a newer LibreOffice or grab alien's icu4c-compat package.

Alien Bob's current libreoffice package should link to the newer libicudata.so.68 that's in -current instead of the .67 that your existing package links to.

chris.willing 12-17-2020 06:01 PM

Quote:

Originally Posted by Mobile1 (Post 6196793)
Any input or direction will be recieved well : )

Please advise which Slackware (14.2, -current) and which LO (SBo, alienBOB) & which LO version you're having the problem with.


All times are GMT -5. The time now is 10:04 PM.