2019-11-21 18:43:26 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# This bash script build FontForge
|
|
|
|
|
2019-11-23 06:41:05 +00:00
|
|
|
source buildScripts/versionEnvs
|
|
|
|
|
2019-11-26 10:54:21 +00:00
|
|
|
export CONFIG_SITE=/home/travis/build/pdf2htmlEX/buildScripts/fontforgeConfig.site
|
2019-11-26 10:49:39 +00:00
|
|
|
|
2019-11-26 11:19:49 +00:00
|
|
|
pkg-config --cflags python
|
2019-11-26 11:33:53 +00:00
|
|
|
pkg-config --cflags python-2.7
|
2019-11-26 11:19:49 +00:00
|
|
|
|
2019-11-21 16:03:35 +00:00
|
|
|
cd fontforge
|
|
|
|
./bootstrap
|
2019-11-26 10:18:08 +00:00
|
|
|
./configure --disable-silent-rules
|
2019-11-23 06:23:30 +00:00
|
|
|
|
2019-11-26 11:45:58 +00:00
|
|
|
echo ""
|
|
|
|
echo "-------------------------------"
|
|
|
|
cat config.log
|
|
|
|
echo "-------------------------------"
|
|
|
|
echo ""
|
|
|
|
|
2019-11-23 06:23:30 +00:00
|
|
|
# Apply any patches required for fontforge raw sources before we make
|
|
|
|
#
|
2019-11-23 06:41:05 +00:00
|
|
|
for APATCHFILE in $(ls ../patches/fontforge-$FONTFORGE_VERSION-*)
|
|
|
|
do
|
|
|
|
echo "patching fontforge using [$APATCHFILE]"
|
2019-11-23 06:23:30 +00:00
|
|
|
patch -p 1 < $APATCHFILE
|
|
|
|
done
|
|
|
|
|
2019-11-26 09:45:56 +00:00
|
|
|
|
|
|
|
tree /usr/include/python2.7
|
|
|
|
|
2019-11-26 10:18:08 +00:00
|
|
|
#cd fontforge
|
|
|
|
#make -n
|
|
|
|
#cd ..
|
2019-11-26 10:13:40 +00:00
|
|
|
|
2019-11-26 09:54:05 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
#make $MAKE_PARALLEL
|
|
|
|
|