Bug#1040706: gpredict: please use libreoffice-writer-nogui instead of libreoffice-writer
Source: gpredict
Version: 2.3-72-gc596101-3
Severity: wishlist
Tags: patch
Dear Maintainer,
libreoffice-*-nogui was introduced exactly for the reason of which this
package uses libreoffice: using libreoffice for something automatically
without needing GUI. E.g. document conversion.
So I suggest using libreoffice-writer-nogui. That means "lowriter" is
gone, though, but you simply can use "soffice --writer instead" (which
is what lowriter calls anyways). --writer isn't exactly needed since odt
should be detected as writer but doesn't do harm.
Since libreoffice-writer-nogui is not available on all archs (left out
on the "slow" ones sincewe don't want to have *two* build of LO on
them...)[1] this only needs to be done after #983763 though (will mark it
as blocking).
diff -Nru gpredict-2.3-72-gc596101/debian/control gpredict-2.3-72-gc596101/debian/control
--- gpredict-2.3-72-gc596101/debian/control 2021-02-20 18:38:58.000000000 +0000
+++ gpredict-2.3-72-gc596101/debian/control 2023-07-09 17:04:38.000000000 +0000
@@ -16,7 +16,7 @@
libglib2.0-dev,
libgoocanvas-2.0-dev,
libgtk-3-dev,
- libreoffice-writer,
+ libreoffice-writer-nogui,
libtool,
pkg-config
diff -Nru gpredict-2.3-72-gc596101/debian/rules gpredict-2.3-72-gc596101/debian/rules
--- gpredict-2.3-72-gc596101/debian/rules 2021-02-20 19:56:10.000000000 +0000
+++ gpredict-2.3-72-gc596101/debian/rules 2023-07-09 17:04:38.000000000 +0000
@@ -14,4 +14,4 @@
override_dh_auto_build:
dh_auto_build
mkdir -p $(HOME)
- cd doc/um && lowriter --headless --convert-to pdf gpredict-user-manual.odt
+ cd doc/um && soffice --writer --headless --convert-to pdf gpredict-user-manual.odt
Regards,
Rene
[1]
libreoffice-writer-nogui | 4:7.4.5-3 | stable | amd64, arm64, armhf, i386, ppc64el, s390x
Reply to: