corrected build scripts to reflect those on virtual machine

This commit is contained in:
Stephen Gaito 2019-11-21 18:43:26 +00:00
parent 5a1a090a5e
commit 0eecbed932
7 changed files with 32 additions and 2 deletions

View File

@ -1,3 +1,7 @@
#!/bin/bash
# This bash script build FontForge
cd fontforge
./bootstrap
./configure

View File

@ -1,3 +1,8 @@
#!/bin/bash
# This bash script builds pdf2htmlEX
cd pdf2html
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..

View File

@ -1,3 +1,8 @@
#!/bin/bash
# This bash script builds pdf2htmlEX using Clang (if it is installed)
cd pdf2htmlEX
mkdir build
cd build
CC=clang CXX=clang++ cmake ..

View File

@ -1 +1,7 @@
#!/bin/bash
# This bash script clean all pdf2htmlEX build products
cd pdf2htmlEX
rm -rf build pdf2htmlEX.1 share/*.css share/*.js share/*.min.* src/pdf2htmlEX-config.h src/util/css_const.h

View File

@ -10,10 +10,13 @@ sudo apt $UNATTENDED install \
git \
pkg-config \
ruby \
autoconf \
libtool \
cmake \
make \
gcc \
g++ \
gettext \
openjdk-8-jre-headless \
tree

View File

@ -4,7 +4,7 @@
source buildScripts/versionEnvs
FONTFORGE_SRC=fontforge-$FONTFORGE_VERSION.tar.gz
FONTFORGE_SRC=$FONTFORGE_VERSION.tar.gz
rm -rf $FONTFORGE_SRC
rm -rf fontforge
@ -14,3 +14,9 @@ wget https://github.com/fontforge/fontforge/archive/$FONTFORGE_SRC
tar xvf $FONTFORGE_SRC
mv fontforge-$FONTFORGE_VERSION fontforge
# FIX required for fontforge 20170731 raw sources
#
cd fontforge
#
patch -p 1 < ../patches/fontforge-20170731-fixGDraw.patch

View File

@ -8,5 +8,6 @@ if [[ $# -eq 0 ]] ; then
fi
cd build
cd pdf2htmlEX/build
sudo make install