pdf2htmlEX/buildScripts/getDevLibrariesApt

25 lines
902 B
Plaintext
Raw Normal View History

#!/bin/sh
2019-11-21 15:36:04 +00:00
# This shell script automates getting the development libraries required to
2019-11-21 15:54:21 +00:00
# build poppler and fontforge
# set the shell environment variable 'UNATTENDED' to '--assume-yes' for
2019-11-21 15:54:21 +00:00
# unattended use (for example in the .travis.yml script)
echo ""
echo "-------------------------------------------------------------------"
echo "INSTALLING development libraries (using APT)"
echo " (UNATTENDED: [$UNATTENDED])"
echo "-------------------------------------------------------------------"
echo ""
2020-06-02 11:58:27 +00:00
set -ev
2019-11-25 22:06:17 +00:00
sudo apt-get update
2020-05-31 08:03:43 +00:00
sudo apt-get $UNATTENDED install \
libcairo-dev \
libpng-dev \
libjpeg-dev \
libxml2-dev \
2022-03-31 08:56:12 +00:00
libtiff5-dev python3.6-dev python3.9-dev libfreetype6-dev libgif-dev libgtk-3-dev libxml2-dev libpango1.0-dev libcairo2-dev libspiro-dev python3-dev ninja-build cmake build-essential gettext