1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-02 16:25:41 +00:00
pdf2htmlEX/buildScripts/getPoppler

33 lines
784 B
Plaintext
Raw Normal View History

2019-11-21 13:31:28 +00:00
#!/bin/bash
# This bash script gets and unpacks the latest Poppler source code
2019-11-28 12:04:22 +00:00
source buildScripts/reSourceVersionEnvs
2019-11-21 13:31:28 +00:00
echo ""
echo "-------------------------------------------------------------------"
echo "GETTING Poppler source code (using wget)"
echo " (POPPLER_VERSION: [$POPPLER_VERSION])"
echo "-------------------------------------------------------------------"
echo ""
2019-11-21 13:31:28 +00:00
echo "Getting poppler version: $POPPLER_VERSION"
rm -rf $POPPLER_VERSION.tar.xz
2019-11-21 14:13:14 +00:00
rm -rf poppler
2019-11-21 13:31:28 +00:00
wget https://poppler.freedesktop.org/$POPPLER_VERSION.tar.xz
tar xvf $POPPLER_VERSION.tar.xz
echo "Getting poppler-data version: 0.4.9"
2019-11-21 13:31:28 +00:00
mv $POPPLER_VERSION poppler
wget https://poppler.freedesktop.org/poppler-data-0.4.9.tar.gz
tar xvf poppler-data-0.4.9.tar.gz
mv poppler-data-0.4.9 poppler-data