2019-11-21 15:36:04 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-11-21 15:54:21 +00:00
|
|
|
# This bash script automates getting the development libraries required to
|
|
|
|
# build poppler and fontforge
|
|
|
|
|
|
|
|
# set the bash environment variable 'UNATTENDED' to '--assume-yes' for
|
|
|
|
# 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 ""
|
|
|
|
|
2019-11-25 22:06:17 +00:00
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get $UNATTENDED install \
|
|
|
|
libcairo-dev \
|
|
|
|
libspiro-dev \
|
|
|
|
libpng-dev \
|
|
|
|
libjpeg-dev \
|
|
|
|
libpango1.0-dev \
|
|
|
|
liblcms2-dev \
|
|
|
|
libxml2-dev \
|
2019-11-26 13:10:52 +00:00
|
|
|
libuninameslist-dev \
|
2019-12-10 06:08:49 +00:00
|
|
|
python3-dev
|