Re: libreoffice

From: LuMiWa <lumiwa_at_dismail.de>
Date: Wed, 09 Apr 2025 22:45:38 UTC
On Wed, 9 Apr 2025 13:26:18 -0800
Gary Aitken <freebsd@dreamchaser.org> wrote:

> On 4/9/25 01:50, LuMiWa wrote:
> > On Tue, 8 Apr 2025 15:43:40 -0800
> > Gary Aitken <freebsd@dreamchaser.org> wrote:
> > 
> >> On 4/8/25 11:02, LuMiWa wrote:
> >>> On FreeBSD 14.2-RELEASE-p1, use binary packages. Why libreoffice
> >>> install openjdk17 and openjdk8, please?
> >>>
> >>> pkg install libreoffice
> >>> Updating FreeBSD repository catalogue...
> >>> FreeBSD repository is up to date.
> >>> Updating FreeBSD-kmods repository catalogue...
> >>> FreeBSD-kmods repository is up to date.
> >>> All repositories are up to date.
> >>> The following 3 package(s) will be affected (of 0 checked):
> >>>
> >>> New packages to be INSTALLED:
> >>> 	libreoffice: 25.2.2.2 [FreeBSD]
> >>> 	openjdk17: 17.0.14+7.1 [FreeBSD]
> >>> 	openjdk8: 8.442.06.1_1 [FreeBSD]
> >>>
> >>> Number of packages to be installed: 3
> >>>
> >>> The process will require 912 MiB more space.
> >>> 141 MiB to be downloaded.
> >>>
> >>> Proceed with this action? [y/N]:
> >>
> >> I'm running 13.4-RELEASE, and there I only see openjdk17:
> >>
> >> $ pkg info -d libreoffice | grep jdk
> >>           openjdk17-17.0.13+11.1
> >>
> >> However, I also have mysql-connector-j installed for connecting to
> >> mysql, and that depends on openjdk8:
> >>
> >> $ pkg info -r openjdk8
> >> openjdk8-8.432.06.1:
> >>           junit-4.12
> >>           hamcrest-1.3
> >>           apache-commons-httpclient-3.1_3
> >>           apache-commons-logging-1.2
> >>           apache-commons-codec-1.16.0
> >>           apache-ant-1.10.13_1
> >>           mysql-connector-j-9.0.0
> >>           protobuf-java-3.25.3
> >>           slf4j-1.7.21
> >>           c3p0-0.9.5.3
> >>           pdftk-3.3.3_1
> >>           bouncycastle-1.71_1
> >>           apache-commons-lang3-3.17.0
> >>           javamail-1.6.2_1
> >>
> 
> > Thank you for respond but in my case pkg pull both openjdks for
> > libreoffice installation. I didn't install any new app and I do not
> > have openjdk8 on my system very long time. When I want to pkg delete
> > openjdk8 it want to delete also libreoffice?? Than I delete both
> > openjdk and libreoffice and it pull again. But after delete openjdk8
> > pkg check -ad I didn't get any missing. Is this a problem with pkg?
> 
> Can you please attach the output of these commands:
> 
> pkg info | grep jdk
> pkg info -d libreoffice
> pkg info -r openjdk8
> 
> Gary
> 

pkg info | grep jdk
openjdk17-17.0.14+7.1          Java Development Kit 17

pkg info -d libreoffice
libreoffice-25.2.2.2:
	xcb-util-wm-0.4.2
	qt5-x11extras-5.15.16p0_1
	libxcb-1.17.0
	libXrender-0.9.12
	libXrandr-1.5.4
	libXinerama-1.1.5,1
	libXext-1.3.6,1
	libX11-1.8.12,1
	libSM-1.2.6,1
	libICE-1.1.1,1
	qt5-widgets-5.15.16p130_1
	qt5-gui-5.15.16p130_2
	libXaw-1.0.16,2
	twemoji-color-font-ttf-15.1.0
	linuxlibertine-g-20120116_2
	liberation-fonts-ttf-2.1.5,2
	GentiumBasic-1102_1
	fontconfig-2.15.0_3,1
	dejavu-2.37_3
	crosextrafonts-carlito-20130920_4
	crosextrafonts-caladea-20130214_4
	serf-1.3.10_1
	zxing-cpp-2.3.0
	redland-1.0.17_6
	raptor2-2.0.16_4
	mythes-1.2.4_7
	libxslt-1.1.42
	libxml2-2.11.9
	libwps-0.4.14
	libwpd010-0.10.3_7
	libvisio01-0.1.8_1
	libstaroffice-0.0.7_1
	librevenge-0.0.5
	libqxp-0.0.0_25
	libodfgen01-0.1.8_2
	libnumbertext-1.0.11
	libmwaw03-0.3.22
	libexttextcat-3.4.6
	libepubgen-0.1.1_1
	libe-book-0.1.3_29
	libabw-0.1.3_3
	hyphen-2.8.8
	hunspell-1.7.2_1
	expat-2.7.1
	clucene-2.3.3.4_21
	xmlsec1-1.3.6
	nss-3.110
	libgpg-error-1.51
	libassuan-3.0.2
	libargon2-20190702_1
	gpgme-cpp-1.24.2
	gpgme-1.24.2
	libpagemaker-0.0.4_11
	libmspub01-0.1.4_25
	harfbuzz-icu-10.3.0
	harfbuzz-10.3.0
	freetype2-2.13.3
	cups-2.4.11_1
	qt5-network-5.15.16p130_1
	openldap26-client-2.6.9_1
	libcmis-0.6.2_4
	gstreamer1-plugins-1.26.0
	gstreamer1-1.26.0
	shared-mime-info-2.4_1
	Box2D-2.4.1
	lp_solve-5.5.2.5_1
	python311-3.11.11
	openjdk17-17.0.14+7.1
	webp-1.5.0
	tiff-4.7.0
	poppler-25.02.0
	png-1.6.47
	openjpeg-2.5.3
	libzmf-0.0.2_30
	libwpg03-0.3.4
	libglvnd-1.7.0
	libfreehand-0.1.2_27
	libetonyek01-0.1.12,1
	libepoxy-1.5.10
	libcdr01-0.1.8_1
	libGLU-9.0.3
	lcms2-2.17
	jpeg-turbo-3.1.0
	graphite2-1.3.14
	glew-2.2.0_3
	cairo-1.18.2,3
	curl-8.12.1
	xdg-utils-1.2.1
	qt5-core-5.15.16p130_1
	nspr-4.36
	libunwind-20240221_2
	liborcus-0.19.2_4
	libltdl-2.5.4
	liblangtag-0.6.7
	icu-76.1,1
	glib-2.82.4_1,2
	gettext-runtime-0.23.1
	desktop-file-utils-0.28
	boost-libs-1.87.0_1
	apr-1.7.5.1.6.3_4
	abseil-20250127.0
	libICE-1.1.1,1 (libICE.so.6)
	qt5-core-5.15.16p130_1 (libQt5Core.so.5)
	qt5-gui-5.15.16p130_2 (libQt5Gui.so.5)
	qt5-network-5.15.16p130_1 (libQt5Network.so.5)
	qt5-widgets-5.15.16p130_1 (libQt5Widgets.so.5)
	qt5-x11extras-5.15.16p0_1 (libQt5X11Extras.so.5)
	libSM-1.2.6,1 (libSM.so.6)
	libX11-1.8.12,1 (libX11-xcb.so.1)
	libX11-1.8.12,1 (libX11.so.6)
	libXext-1.3.6,1 (libXext.so.6)
	libXinerama-1.1.5,1 (libXinerama.so.1)
	libXrandr-1.5.4 (libXrandr.so.2)
	libXrender-0.9.12 (libXrender.so.1)
	zxing-cpp-2.3.0 (libZXing.so.3)
	libabw-0.1.3_3 (libabw-0.1.so.1)
	libargon2-20190702_1 (libargon2.so.0)
	boost-libs-1.87.0_1 (libboost_date_time.so.1.87.0)
	boost-libs-1.87.0_1 (libboost_locale.so.1.87.0)
	Box2D-2.4.1 (libbox2d.so.2)
	cairo-1.18.2,3 (libcairo.so.2)
	libcdr01-0.1.8_1 (libcdr-0.1.so.1)
	clucene-2.3.3.4_21 (libclucene-contribs-lib.so.1)
	clucene-2.3.3.4_21 (libclucene-core.so.1)
	clucene-2.3.3.4_21 (libclucene-shared.so.1)
	libcmis-0.6.2_4 (libcmis-0.6.so.6)
	cups-2.4.11_1 (libcups.so.2)
	curl-8.12.1 (libcurl.so.4)
	libe-book-0.1.3_29 (libe-book-0.1.so.1)
	libepoxy-1.5.10 (libepoxy.so.0)
	libepubgen-0.1.1_1 (libepubgen-0.1.so.1)
	libetonyek01-0.1.12,1 (libetonyek-0.1.so.1)
	expat-2.7.1 (libexpat.so.1)
	libxslt-1.1.42 (libexslt.so.0)
	libexttextcat-3.4.6 (libexttextcat-2.0.so.0)
	fontconfig-2.15.0_3,1 (libfontconfig.so.1)
	libfreehand-0.1.2_27 (libfreehand-0.1.so.1)
	freetype2-2.13.3 (libfreetype.so.6)
	glib-2.82.4_1,2 (libglib-2.0.so.0)
	glib-2.82.4_1,2 (libgobject-2.0.so.0)
	gpgme-cpp-1.24.2 (libgpgmepp.so.6)
	graphite2-1.3.14 (libgraphite2.so.3)
	gstreamer1-plugins-1.26.0 (libgstaudio-1.0.so.0)
	gstreamer1-1.26.0 (libgstbase-1.0.so.0)
	gstreamer1-plugins-1.26.0 (libgstpbutils-1.0.so.0)
	gstreamer1-1.26.0 (libgstreamer-1.0.so.0)
	gstreamer1-plugins-1.26.0 (libgstvideo-1.0.so.0)
	harfbuzz-icu-10.3.0 (libharfbuzz-icu.so.0)
	harfbuzz-10.3.0 (libharfbuzz.so.0)
	hunspell-1.7.2_1 (libhunspell-1.7.so.0)
	hyphen-2.8.8 (libhyphen.so.0)
	icu-76.1,1 (libicui18n.so.76)
	icu-76.1,1 (libicuuc.so.76)
	gettext-runtime-0.23.1 (libintl.so.8)
	jpeg-turbo-3.1.0 (libjpeg.so.8)
	liblangtag-0.6.7 (liblangtag.so.1)
	openldap26-client-2.6.9_1 (liblber.so.2)
	lcms2-2.17 (liblcms2.so.2)
	lcms2-2.17 (liblcms2_fast_float.so.1)
	lcms2-2.17 (liblcms2_threaded.so.1)
	openldap26-client-2.6.9_1 (libldap.so.2)
	lp_solve-5.5.2.5_1 (liblpsolve55.so)
	libltdl-2.5.4 (libltdl.so.7)
	libmspub01-0.1.4_25 (libmspub-0.1.so.1)
	libmwaw03-0.3.22 (libmwaw-0.3.so.3)
	mythes-1.2.4_7 (libmythes-1.2.so.0)
	nspr-4.36 (libnspr4.so)
	nss-3.110 (libnss3.so)
	nss-3.110 (libnssutil3.so)
	libnumbertext-1.0.11 (libnumbertext-1.0.so.0)
	libodfgen01-0.1.8_2 (libodfgen-0.1.so.1)
	openjpeg-2.5.3 (libopenjp2.so.7)
	liborcus-0.19.2_4 (liborcus-0.18.so.0)
	liborcus-0.19.2_4 (liborcus-parser-0.18.so.0)
	libpagemaker-0.0.4_11 (libpagemaker-0.0.so.0)
	nspr-4.36 (libplc4.so)
	nspr-4.36 (libplds4.so)
	png-1.6.47 (libpng16.so.16)
	poppler-25.02.0 (libpoppler-cpp.so.2)
	poppler-25.02.0 (libpoppler.so.146)
	libqxp-0.0.0_25 (libqxp-0.0.so.0)
	raptor2-2.0.16_4 (libraptor2.so.0)
	redland-1.0.17_6 (librdf.so.0)
	librevenge-0.0.5 (librevenge-0.0.so.0)
	librevenge-0.0.5 (librevenge-stream-0.0.so.0)
	nss-3.110 (libsmime3.so)
	nss-3.110 (libssl3.so)
	libstaroffice-0.0.7_1 (libstaroffice-0.0.so.0)
	tiff-4.7.0 (libtiff.so.6)
	libvisio01-0.1.8_1 (libvisio-0.1.so.1)
	webp-1.5.0 (libwebp.so.7)
	libwpd010-0.10.3_7 (libwpd-0.10.so.10)
	libwpg03-0.3.4 (libwpg-0.3.so.3)
	libwps-0.4.14 (libwps-0.4.so.4)
	libxcb-1.17.0 (libxcb.so.1)
	libxml2-2.11.9 (libxml2.so.2)
	xmlsec1-1.3.6 (libxmlsec1-nss.so.1)
	xmlsec1-1.3.6 (libxmlsec1.so.1)
	libxslt-1.1.42 (libxslt.so.1)
	libzmf-0.0.2_30 (libzmf-0.0.so.0)

I did delete openjdk8 and java-zoneinfo but if I run

pkg install -f libreoffice
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	java-zoneinfo: 2021.e [FreeBSD]
	openjdk8: 8.442.06.1_1 [FreeBSD]

Installed packages to be REINSTALLED:
	libreoffice-25.2.2.2 [FreeBSD]

Number of packages to be installed: 2
Number of packages to be reinstalled: 1

The process will require 193 MiB more space.

Proceed with this action? [y/N]: N

But I never had this problem before and I didn't have installed
openjdk8 just openjdk17.

And pkg check -ad
Checking all packages: 100%
libreoffice is missing a required shared library: libjawt.so 

Missing library libjawt.so I have as long as I have FreeBSD and
Libreoffice.






-- 
“Never let your sense of morals prevent you from doing what is right.”
― Isaac Asimov, Foundation