-
Notifications
You must be signed in to change notification settings - Fork 0
/
Aptfile
36 lines (30 loc) · 1.23 KB
/
Aptfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This file is used to install package dependencies on Heroku production,
# using the heroku apt buildpack. It does NOT always (ever?) succesfully
# install apt package dependencies, sometimes they need to be listed explicity.
# For similar dependencies in other environments, see also: `Brewfile` MacOS development
# machines; and `.github/workflows/ci.yml` for Github Actions CI.
mediainfo
imagemagick
# These three packages are required
# by https://github.com/brandoncc/heroku-buildpack-vips
libglib2.0-0
libglib2.0-dev
libpoppler-glib8
# we use qpdf for assembling text+graphic pdf files for OCR
qpdf
# Tesseract for OCR, along with language packs for our top-languages...
# we might not REALLY need all these languages? Yet? But let's start
# with em
# eng=English deu=German fra=French spa=Spanish
#
# These language packs from apt are the tesserat "FAST" models,
# not the larger slower "BEST" models!
tesseract-ocr
tesseract-ocr-eng
tesseract-ocr-deu
tesseract-ocr-fra
tesseract-ocr-spa
# apt tesseract on heroku requires libarchive13 , not sure
# why this isn't an automatic dependency, but it seems to work
# https://stackoverflow.com/questions/66087588/tesseract-error-while-loading-shared-libraries-libarchive-so-13-python
libarchive13