2020-06-20 09:11:30 +00:00
|
|
|
#!/bin/sh
|
2019-11-21 15:36:04 +00:00
|
|
|
|
2020-06-20 09:11:30 +00:00
|
|
|
# This shell script automates getting the development libraries required to
|
2019-11-21 15:54:21 +00:00
|
|
|
# build poppler and fontforge
|
|
|
|
|
2020-06-20 09:11:30 +00:00
|
|
|
# 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)
|
|
|
|
|
2019-11-29 09:11:32 +00:00
|
|
|
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 \
|
2020-05-31 08:28:39 +00:00
|
|
|
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
|