Aristid
December 2, 2024, 11:13am
1
I’d like to use the ODT to PDF function that dolibarr includes, but it requires to install libreoffice on the server.
So i was wondering : could installing libreoffice with a dumb sudo apt install libreoffice
pose any problem or conflict with yunohost ? I’m guessing not really, but better safe than stupid…
Aleks
December 2, 2024, 1:11pm
2
etherpad_mypads does something similar for the same purpose of converting to pdf : etherpad_mypads_ynh/manifest.toml at master · YunoHost-Apps/etherpad_mypads_ynh · GitHub
Maybe try to install only libreoffice-writer if that’s enough for what you aim to do to limit the bloat on your machine
Aleks:
only libreoffice-writer
I’ll ask about that on the dolibarr forum (just to be sure) and hopefully they won’t answer the usual “read the wiki, buy a plugin or f*ck off”
Thanks for the advice !
orhtej2
December 3, 2024, 11:10am
4
The following additional packages will be installed:
fonts-droid-fallback fonts-liberation2 fonts-noto-mono fonts-opensymbol ghostscript glib-networking glib-networking-common glib-networking-services gsfonts gstreamer1.0-gl gstreamer1.0-libav gstreamer1.0-plugins-bad
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-x hunspell-en-us i965-va-driver imagemagick-6-common intel-media-va-driver liba52-0.7.4 libaa1 libaacs0 libabw-0.1-1 libass9 libasyncns0
libavc1394-0 libavcodec59 libavfilter8 libavformat59 libavutil57 libbdplus0 libblas3 libbluray2 libboost-filesystem1.74.0 libboost-locale1.74.0 libboost-thread1.74.0 libbs2b0 libcaca0 libcdio19 libcdparanoia0 libchromaprint1
libcjson1 libclucene-contribs1v5 libclucene-core1v5 libcodec2-1.0 libdc1394-25 libdca0 libdecor-0-0 libdecor-0-plugin-1-cairo libdirectfb-1.7-7 libdjvulibre-text libdjvulibre21 libdrm-amdgpu1 libdrm-common libdrm-intel1
libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libdvdnav4 libdvdread8 libe-book-0.1-1 libegl-mesa0 libegl1 libeot0 libepubgen-0.1-1 libetonyek-0.1-1 libfaad2 libfftw3-double3 libfile-basedir-perl libfile-desktopentry-perl
libfile-mimeinfo-perl libflac12 libflite1 libfluidsynth3 libfreeaptx0 libgbm1 libgfortran5 libgl1 libgl1-mesa-dri libglapi-mesa libgles2 libglvnd0 libglx-mesa0 libglx0 libgme0 libgpgme11 libgpgmepp6 libgraphene-1.0-0 libgs-common
libgs10 libgs10-common libgsm1 libgssdp-1.6-0 libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgupnp-1.6-0 libgupnp-igd-1.0-4 libharfbuzz-icu0 libhunspell-1.7-0 libhwy1 libhyphen0
libice6 libiec61883-0 libigdgmm12 libijs-0.35 libimath-3-1-29 libinstpatch-1.0-2 libio-stringy-perl libipc-system-simple-perl libjack-jackd2-0 libjbig2dec0 libjson-glib-1.0-0 libjson-glib-1.0-common libjxl0.7 libjxr-tools libjxr0
libkate1 liblangtag-common liblangtag1 liblapack3 libldacbt-enc2 liblilv-0-0 libllvm15 liblqr-1-0 liblrdf0 libltc11 libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 libmbedcrypto7 libmfx1 libmhash2
libmjpegutils-2.1-0 libmodplug1 libmp3lame0 libmpcdec6 libmpeg2-4 libmpeg2encpp-2.1-0 libmpg123-0 libmplex2-2.1-0 libmwaw-0.3-3 libmysofa1 libmythes-1.2-0 libneon27 libnet-dbus-perl libnice10 libnorm1 libnumbertext-1.0-0
libnumbertext-data libodfgen-0.1-1 libogg0 libopenal-data libopenal1 libopencore-amrnb0 libopencore-amrwb0 libopenexr-3-1-30 libopenh264-7 libopenjp2-7 libopenmpt0 libopenni2-0 libopus0 liborc-0.4-0 liborcus-0.17-0
liborcus-parser-0.17-0 libpaper-utils libpaper1 libpciaccess0 libpgm-5.3-0 libplacebo208 libpocketsphinx3 libpoppler126 libpostproc56 libproxy1v5 libpulse0 libqrencode4 librabbitmq4 libraptor2-0 librasqal3 libraw1394-11 librdf0
libreoffice-base-core libreoffice-common libreoffice-core libreoffice-math libreoffice-style-colibre librevenge-0.0-0 librist4 librubberband2 libsamplerate0 libsbc1 libsdl2-2.0-0 libserd-0-0 libshine3 libshout3 libsidplay1v5 libsm6
libsndfile1 libsndio7.0 libsord-0-0 libsoundtouch1 libsoup-3.0-0 libsoup-3.0-common libsoup2.4-1 libsoup2.4-common libsoxr0 libspandsp2 libspeex1 libsphinxbase3 libsratom-0-0 libsrt1.5-gnutls libsrtp2-1 libssh-gcrypt-4
libstaroffice-0.0-0 libswresample4 libswscale6 libtag1v5 libtag1v5-vanilla libtheora0 libtie-ixhash-perl libtwolame0 libudfread0 libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3
libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2 libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvisual-0.4-0 libvo-aacenc0 libvo-amrwbenc0 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx7 libvulkan1 libwavpack1 libwayland-server0
libwebpdemux2 libwebpmux3 libwebrtc-audio-processing1 libwildmidi2 libwmflite-0.2-7 libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4 libx11-protocol-perl libx11-xcb1 libx264-164 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
libxcb-randr0 libxcb-shape0 libxcb-sync1 libxcb-xfixes0 libxcb-xkb1 libxft2 libxkbcommon-x11-0 libxkbfile1 libxml-twig-perl libxml-xpathengine-perl libxmlsec1 libxmlsec1-nss libxmu6 libxshmfence1 libxss1 libxt6 libxv1 libxvidcore4
libxxf86dga1 libxxf86vm1 libyajl2 libzbar0 libzimg2 libzmq5 libzvbi-common libzvbi0 libzxing2 mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers ocl-icd-libopencl1 pocketsphinx-en-us poppler-data python3-uno timgm6mb-soundfont
uno-libs-private ure va-driver-all vdpau-driver-all x11-utils x11-xserver-utils xdg-utils
Are you sure whatever you’re doing is worth pulling half of Xserver?
Aristid
December 3, 2024, 12:42pm
5
Damn…
Well it’s either this or learn php to be able to modify the orders and invoices templates in dolibarr. There are two ways dolibarr can output pdfs :
using the included php library FPDF with php templates written by a community that will definitely not help you modify them, so that requires to understand php more than i do
using .odt files to create templates used by dolibarr to generate orders and invoices and then have dolibarr feed the .odt into libreoffice to automatically output a pdf
The latter seems really more practical and affordable…