mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
corrected build scripts to reflect those on virtual machine
This commit is contained in:
parent
5a1a090a5e
commit
0eecbed932
@ -1,3 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This bash script build FontForge
|
||||||
|
|
||||||
cd fontforge
|
cd fontforge
|
||||||
./bootstrap
|
./bootstrap
|
||||||
./configure
|
./configure
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This bash script builds pdf2htmlEX
|
||||||
|
|
||||||
|
cd pdf2html
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This bash script builds pdf2htmlEX using Clang (if it is installed)
|
||||||
|
|
||||||
|
cd pdf2htmlEX
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
CC=clang CXX=clang++ cmake ..
|
CC=clang CXX=clang++ cmake ..
|
||||||
|
@ -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
|
rm -rf build pdf2htmlEX.1 share/*.css share/*.js share/*.min.* src/pdf2htmlEX-config.h src/util/css_const.h
|
||||||
|
@ -10,10 +10,13 @@ sudo apt $UNATTENDED install \
|
|||||||
git \
|
git \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
ruby \
|
ruby \
|
||||||
|
autoconf \
|
||||||
|
libtool \
|
||||||
cmake \
|
cmake \
|
||||||
make \
|
make \
|
||||||
gcc \
|
gcc \
|
||||||
g++ \
|
g++ \
|
||||||
gettext \
|
gettext \
|
||||||
|
openjdk-8-jre-headless \
|
||||||
tree
|
tree
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
source buildScripts/versionEnvs
|
source buildScripts/versionEnvs
|
||||||
|
|
||||||
FONTFORGE_SRC=fontforge-$FONTFORGE_VERSION.tar.gz
|
FONTFORGE_SRC=$FONTFORGE_VERSION.tar.gz
|
||||||
|
|
||||||
rm -rf $FONTFORGE_SRC
|
rm -rf $FONTFORGE_SRC
|
||||||
rm -rf fontforge
|
rm -rf fontforge
|
||||||
@ -14,3 +14,9 @@ wget https://github.com/fontforge/fontforge/archive/$FONTFORGE_SRC
|
|||||||
tar xvf $FONTFORGE_SRC
|
tar xvf $FONTFORGE_SRC
|
||||||
|
|
||||||
mv fontforge-$FONTFORGE_VERSION fontforge
|
mv fontforge-$FONTFORGE_VERSION fontforge
|
||||||
|
|
||||||
|
# FIX required for fontforge 20170731 raw sources
|
||||||
|
#
|
||||||
|
cd fontforge
|
||||||
|
#
|
||||||
|
patch -p 1 < ../patches/fontforge-20170731-fixGDraw.patch
|
||||||
|
@ -8,5 +8,6 @@ if [[ $# -eq 0 ]] ; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd build
|
cd pdf2htmlEX/build
|
||||||
|
|
||||||
sudo make install
|
sudo make install
|
||||||
|
Loading…
Reference in New Issue
Block a user