Gbp-Pq: Name gengal-message-core.diff
# uncomment line below if you encounter problems starting soffice on your system
# SAL_NO_XINITTHREADS=true; export SAL_NO_XINITTHREADS
+# check if libreoffice-core is installed
+if ! test -f $sd_prog/libvclplug_genlo.so; then
+ echo "gengal.bin needs libreoffice-core installed. It won't work with just"
+ echo "libreoffice-core-nogui".
+ exit 1
+fi
+
# execute binary
exec "$sd_prog/gengal.bin" "$@" \
"-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"