From 20d2f8e905713471af3ab98084dcb575b419c7ca Mon Sep 17 00:00:00 2001 From: Niels Lippke Date: Mon, 17 Feb 2020 21:03:13 +0100 Subject: [PATCH] Added missing package --- Dockerfile | 4 ++-- sources/settings.xml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 012c9bf..1c7abe1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ENV SEEDDMS_BASE=/var/www/seeddms ENV SEEDDMS_HOME=/var/www/seeddms/seeddms # Update and install necessary packages -RUN apt-get update && apt-get install --no-install-recommends gnumeric libpng-dev catdoc poppler-utils \ +RUN apt-get update && apt-get install --no-install-recommends gnumeric libpng-dev catdoc poppler-utils a2ps \ id3 docx2txt tesseract-ocr tesseract-ocr-deu ocrmypdf imagemagick vim parallel dos2unix cron rsync -y RUN docker-php-ext-install gd mysqli pdo pdo_mysql && \ pear channel-update pear.php.net && pear install Log @@ -34,4 +34,4 @@ RUN chown -R www-data:www-data /var/www/seeddms/ && \ VOLUME [ "/var/www/seeddms/backup", "/var/www/seeddms/import", "/var/www/seeddms/www/ext" ] ENTRYPOINT [ "/usr/local/bin/seeddms-entrypoint"] -CMD ["apache2-foreground"] \ No newline at end of file +CMD ["apache2-foreground"] diff --git a/sources/settings.xml b/sources/settings.xml index 9dcdd62..81c685c 100644 --- a/sources/settings.xml +++ b/sources/settings.xml @@ -154,8 +154,9 @@ id3 -l -R %s | egrep '(Title|Artist|Album)' | sed 's/^[^:]*: //g' id3 -l -R %s | egrep '(Title|Artist|Album)' | sed 's/^[^:]*: //g' cat %s + cat %s xlsx2csv %sdocx2txt %s -tesseract %s - -l deu --psm 3 --oem 3 2> /dev/null | tr '\n' ' ' - convert -resize %wx '%f' '%o'convert -density 100 -resize %wx '%f[0]' '%o'convert -density 100 -resize %wx '%f[0]' '%o'a2ps -1 -a1 -R -B -o - '%f' | gs -dBATCH -dNOPAUSE -sDEVICE=pngalpha -dFirstPage=1 -dLastPage=1 -dPDFFitPage -r72x72 -sOutputFile=- -q - | convert -resize %wx png:- '%o' + convert -resize %wx '%f' '%o'convert -density 100 -resize %wx '%f[0]' '%o'convert -density 100 -resize %wx '%f[0]' '%o'a2ps -1 -a1 -R -B -o - '%f' | gs -dBATCH -dNOPAUSE -sDEVICE=pngalpha -dFirstPage=1 -dLastPage=1 -dPDFFitPage -r72x72 -sOutputFile=- -q - | convert -resize %wx png:- '%o'