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/)

Bindestreck 12-13-2023 12:52 PM

Looks like liblangtag version 0.6.7 is compiling fine. It also seems like liblangtag internal version in LibreOffice is 0.6.3, the one that fails. I had to specifically add in the ./configure part, to make use of the system-wide installed liblangtag, which seems to be missing (in SlackBuild).
Code:

./configure \
    CFLAGS="$SLKCFLAGS" \
    CXXFLAGS="$SLKCFLAGS" \
    NSS_CFLAGS="$(pkg-config --cflags-only-I mozilla-nss)"\
    --prefix=/usr  \
    --mandir=/usr/man \
    --docdir=/usr/doc/$PRGNAM-$VERSION \
    --libdir=/usr/lib$LIBDIRSUFFIX \
    --sysconfdir=/etc \
    --build=$ARCH-slackware-linux \
    --with-vendor="Just Another Slacker" \
    --with-lang="$LOLANGS" \
    --enable-release-build=yes  \
    --enable-qt5 \
    --enable-python=system \
    --enable-gio \
    $extct2n \
    $extnumbertext \
    $extnlpsolver \
    $extlanguagetool \
    $extwikipub \
    $avahi \
    $vlc \
    $use_ccache \
    $use_java \
    $parallel \
    --with-tls="nss" \
    --with-x \
    --without-krb5 \
    --without-gssapi \
    --without-junit \
    --with-help \
    --with-system-bluez \
    --with-system-bzip2 \
    --with-system-cairo \
    --with-system-clucene \
    --with-system-curl \
    --with-system-dicts \
    --with-system-epoxy \
    --with-system-expat \
    --with-system-hunspell \
    --with-system-icu \
    --with-system-jpeg \
    --with-system-lcms2 \
    --with-system-libodfgen \
    --with-system-libpng \
    --with-system-librevenge \
    --with-system-libtiff \
    --with-system-libvisio \
    --with-system-libwebp \
    --with-system-libwpd \
    --with-system-libwpg \
    --with-system-libxml \
    --with-system-mariadb \
    --with-system-nss \
    --with-system-openldap \
    --with-system-openssl \
    --with-system-poppler \
    --with-system-sane \
    --with-system-zlib \
    $boost \
    $coinmp \
    $cppunit \
    $glm \
    $libabw \
    $libcdr \
    $libcmis \
    $libebook \
    $libeot \
    $libepubgen \
    $mdds \
    $libetonyek \
    $libexttextcat \
    $libfreehand \
    $libmspub \
    $libmwaw \
    $liborcus \
    $libnumbertext \
    $libpagemaker \
    $libqxp \
    $libstaroffice \
    $libtommath \
    $libwps \
    $libzmf \
    $lpsolve \
    $mythes \
    $postgresql \
    $valgrind \
    $ucpp \
    $odbc \
    $liblangtag \
    $xmlsec \


chris.willing 12-13-2023 04:24 PM

The $liblangtag option has already been included in the existing update (to handle libxml problems) for this weekend's SBo global update.

The actual version of liblangtag is another issue though - I'm not sure whether liblangtag maintainer is active at the moment.

chris


EDIT: building liblangtag 0.6.7 on 15.0 fails due to error: 'Autoconf version 2.71 or higher is required'

EDIT 2: most recent version suitable for 15.0 is liblangtag-0.6.4. I have tested this version with minor changes to fix compilation errors (missing free()) on 32 & 64bit versions of 15.0 and it works fine. All OK for -current 64bit too. My 32bit VM is currently undergoing major update (sooo long since I've used it) before I can test there but I'm pretty confident it'll be OK. With that in mind, I've emailed the maintainer about a version update & compilation fix.

dhalliwe 12-13-2023 07:49 PM

Quote:

Originally Posted by dhalliwe (Post 6470020)
I am using an older version of Libre Office (7.3.1.3, using a package from SlackOnly).

Draw failed to run for me today, popping up an error message about failing to load /usr/lib64/libreoffice/program/libsdlo.so. That particular library shows libxml2.so as a dependency, which I had upgraded on December 10 when the new version came available.

Installed the next libxml2 version (2.12.3) on my Slackware 15.0 64-bit system today and the same error came back. Downgraded back to 2.9.14 to get Draw working again.

Regnad Kcin 12-13-2023 10:47 PM

@chriswilling:
the ponce sbopkg -current version of LO (which I suppose is your work) works just fine.

chris.willing 12-14-2023 12:03 AM

Quote:

Originally Posted by Regnad Kcin (Post 6470311)
@chriswilling:
the ponce sbopkg -current version of LO (which I suppose is your work) works just fine.

Glad to hear that but, as an optional requirement for LibreOffice, the SlackBuild for liblangtag needs to be buildable. Actually, regardless of LibreOffice, all SlackBuilds should be buildable. Since there were two reports of liblangtag failing on 32bit -current, I've been playing around with version & fix combinations that can apply to both 15.0 and -current (both 64 & 32bit).

chris

kgha 12-14-2023 03:10 AM

I heartily agree with @chris.willing when he points out that all SlackBuilds should be buildable. And ideally, it should be possible to build every application from source. But we all now that it sometimes can take some time to find solutions to dependency issues due to source file changes.

Unfortunately I'm not knowledgeable enough to dig into the liblangtag or libxml2 issues.

Another approach: ever since I started running Linux 15 years ago I've taken the easy way out, installing first OpenOffice and later LibreOffice by simply repackaging the .rpm files (I now use WillySR's SBo script "libreoffice"). Did the same with LO-7.4.2 and the resulting package includes both libxml2.so.2 and liblangtag-lo.so.1. Draw runs just fine.

So (temporarily?) creating/installing such a package as an alternative to AlienBob's package or a package built with Chris Willing's script might be a solution for some.

Petri Kaukasoina 12-14-2023 04:03 AM

Alien Bob has now a rebuilt libreoffice with /usr/lib64/libreoffice/program/libxml2.so.2 included.

Petri Kaukasoina 12-14-2023 04:16 AM

Quote:

Originally Posted by Petri Kaukasoina (Post 6469967)
Next time when Alien Bob builds a new libreoffice, he builds it against the new libxml2. Then you should remember to remove the old one from /usr/lib64/libreoffice/program/libxml2.so.2, or it could cause problems.

He didn't rebuild it against the new system libxml2 but used an internal copy of libxml2-2.11.4.
No need to remove anything, because now libreoffice-7.6.4-x86_64-2alien contains /usr/lib64/libreoffice/program/libxml2.so.2 and that writes over the temporary file.

cwizardone 12-14-2023 07:54 AM

Quote:

Originally Posted by Petri Kaukasoina (Post 6470351)
Alien Bob has now a rebuilt libreoffice with /usr/lib64/libreoffice/program/libxml2.so.2 included.

Quote:

Wed Dec 13 20:57:54 UTC 2023
libreoffice: rebuilt 7.6.4 using an internal copy of libxml2.
Packages for Slackware 15.0 and -current.
http://www.slackware.com/~alien/slac.../ChangeLog.txt

Alienbob's mirrors, https://slackware.nl/

dhalliwe 12-14-2023 08:45 PM

Quote:

Originally Posted by dhalliwe (Post 6470296)
Installed the next libxml2 version (2.12.3) on my Slackware 15.0 64-bit system today and the same error came back. Downgraded back to 2.9.14 to get Draw working again.

Slackware 15.0 has reverted to the 2.11.6 version, dropping the 2.12.x ones.

My version of Libre Office Draw (7.3.1.3) is finally happy again.

cwizardone 01-31-2024 09:27 AM

Quote:

LibreOffice 24.2 Community available for all operating systems
By Italo Vignoli On January 31, 2024
Berlin, 31 January 2024 – LibreOffice 24.2 Community, the new major release of the free, volunteer-supported office suite and the first to use the new calendar-based numbering scheme (YY.M), is now available at https://www.libreoffice.org/download for Windows (Intel, AMD and ARM), macOS (Apple and Intel) and Linux. The new numbering scheme will help users keep their LibreOffice installation up to date.
The full announcement can be read at, https://blog.documentfoundation.org/...reoffice-24-2/

jloco 02-01-2024 08:25 AM

1 Attachment(s)
I keep a binary repo for LibreOffice for Slackware ARM aarch64 port (running -current) based on the SBo script. Outside of adding liblangtag to the mix, I also had to add JDK17 removing JDK11 also had to add "-lz" to the LDFLAGS before this beast would build. But everything seems working fine, Writer, Draw, etc...

http://slackware.lngn.net/pub/source/libreoffice/ (edited SlackBuild & external sources tarball)
https://slackware.lngn.net/pub/aarch...t/libreoffice/ (slackpkg+ repo for arm64)

Thank you Mr. Willing for your work on this script and everyone who keeps up with the changes on LibreOffice!

chris.willing 02-12-2024 06:36 AM

Quote:

Originally Posted by cwizardone (Post 6480474)
LibreOffice 24.2 Community available for all operating systems

The full announcement can be read at, https://blog.documentfoundation.org/...reoffice-24-2/

Due to compiler limitations on 15.0, the SBo SlackBuild for office/LibreOffice (build from source) will be held at 7.6.4.1 which is the version prior to the 24.X series.

For -current, an updated SlackBuild for LibreOffice-24.2.0.3 is now available in Ponce's repo.

chris

kgha 02-12-2024 07:14 AM

Quote:

Originally Posted by chris.willing (Post 6483009)
Due to compiler limitations on 15.0, the SBo SlackBuild for office/LibreOffice (build from source) will be held at 7.6.4.1 which is the version prior to the 24.X series.

For -current, an updated SlackBuild for LibreOffice-24.2.0.3 is now available in Ponce's repo.

chris

For those who doesn't need building from source, repackaging the binary files from the rpm package is an option:
https://slackbuilds.org/repository/1...e/libreoffice/

cwizardone 02-21-2024 03:56 PM

Quote:

Wed Feb 21 12:41:50 UTC 2024
libreoffice: updated to 24.2.0 for Slackware 15.0 and -current.
Depends on openjdk17.
openjdk17: added v17.0.10_7 for Slackware 15.0 and newer.
Only install one version of Java!
http://www.slackware.com/~alien/slac.../ChangeLog.txt

Alienbob's mirrors, https://slackware.nl/

Didier Spaier 02-21-2024 04:57 PM

Up and running in Slint64-15.0, thanks Eric!

PS installed using slapt-get from this Tadgy's mirror: https://slackware.uk/people/alien/sbrepos/15.0/x86_64/

cwizardone 03-01-2024 06:43 PM

Quote:

Berlin, 29 February 2024 – LibreOffice 24.2.1 Community, the first minor release of the free, volunteer-supported office suite for personal productivity in office environments, is now available at https://www.libreoffice.org/download for Windows, MacOS and Linux.
The release includes more than 100 bug and regression fixes over LibreOffice 24.2 [1] to improve the stability and robustness of the software......
Read all about it at, https://blog.documentfoundation.org/...office-24-2-1/

cwizardone 03-02-2024 02:34 PM

Alienbob has been kind enough to update his LibreOffice package.
Quote:

Sat Mar 2 19:42:19 UTC 2024
libreoffice: updated to 24.2.1 for Slackware 15.0 and -current.
Depends on openjdk17.
http://www.slackware.com/~alien/slac.../ChangeLog.txt

Alienbob's mirrors, https://slackware.nl/

jloco 03-02-2024 05:33 PM

I’ve updated the aarch64 build for 24.2.1.2 as well for those using the aarch64-current branch of Slackware.

As usual, installable from my slackpkg+ repo: https://slackware.lngn.net/pub/aarch...t/libreoffice/

cwizardone 03-28-2024 12:09 PM

Quote:

Joint release of LibreOffice 24.2.2 Community and LibreOffice 7.6.6 Community
By Italo Vignoli On March 28, 2024.
Berlin, 28 March 2024 – Today the Document Foundation releases LibreOffice 24.2.2 Community [1] and LibreOffice 7.6.6 Community [2], both minor releases that fix bugs and regressions to improve quality and interoperability for individual productivity.............
Read all about it at, https://blog.documentfoundation.org/...6-6-community/

cwizardone 03-29-2024 09:23 AM

Alienbob has been kind enough to update his LibreOffice package.
Quote:

Fri Mar 29 07:02:44 UTC 2024
libreoffice: updated to 24.2.2 for Slackware 15.0 and -current.
Depends on openjdk17.
http://www.slackware.com/~alien/slac.../ChangeLog.txt

Alienbob's mirrors, https://slackware.nl/

cwizardone 05-02-2024 08:03 AM

Quote:

Announcement of LibreOffice 24.2.3 Community
By Italo Vignoli On May 2, 2024
Berlin, 2 May 2024 – LibreOffice 24.2.3 Community, the third minor release of the free, volunteer-supported office suite for personal productivity in office environments, is now available at https://www.libreoffice.org/download for Windows, macOS and Linux............
Read all about it at, https://blog.documentfoundation.org/...2-3-community/

cwizardone 05-04-2024 07:46 AM

Alienbob has been kind enough to update his LibreOffice package.
Quote:

Sat May 4 08:10:28 UTC 2024.......
libreoffice: updated to 24.2.3 for Slackware 15.0 and -current.
Depends on openjdk17.
http://www.slackware.com/~alien/slac.../ChangeLog.txt

Alienbob's mirrors, https://slackware.nl/

cwizardone 05-11-2024 09:54 AM

Quote:

2024LibreOffice 7.6.7 for productivity environments
By Italo Vignoli. May 10, 2024.
Berlin, May 10, 2024 – LibreOffice 7.6.7 Community, the last minor release of the 7.6 line, is available from https://www.libreoffice.org/download for Windows, macOS, and Linux. This is the most thoroughly tested version, for deployments by individuals, small and medium businesses, and other organizations in productivity environments. This new minor release fixes bugs and regressions which can be looked up in the changelog [1].........
Read all about it at, https://blog.documentfoundation.org/...eoffice-7-6-7/


All times are GMT -5. The time now is 09:58 PM.