1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00
pdf2htmlEX/buildScripts/buildFontforge
2019-11-26 12:13:27 +00:00

48 lines
827 B
Bash
Executable File

#!/bin/bash
# This bash script build FontForge
source buildScripts/versionEnvs
export CONFIG_SITE=/home/travis/build/pdf2htmlEX/buildScripts/fontforgeConfig.site
pkg-config --cflags python
pkg-config --cflags python-2.7
cd fontforge
./bootstrap
./configure --disable-silent-rules
echo ""
echo "-------------------------------"
cat config.log
echo "-------------------------------"
echo ""
echo ""
echo "-------------------------------"
cat fontforge/Makefile
echo "-------------------------------"
echo ""
# Apply any patches required for fontforge raw sources before we make
#
for APATCHFILE in $(ls ../patches/fontforge-$FONTFORGE_VERSION-*)
do
echo "patching fontforge using [$APATCHFILE]"
patch -p 1 < $APATCHFILE
done
tree /usr/include/python2.7
#cd fontforge
#make -n
#cd ..
make
#make $MAKE_PARALLEL