-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from stephengaito/update-poppler
Update poppler to 0.83.0 Updated poppler dependency to poppler-0.83.0 as well as some minor build script refactoring (alas we can still not build on homebrew)
- Loading branch information
Showing
44 changed files
with
284 additions
and
129 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/bin/bash | ||
|
||
# This bash script builds the complete pdf2htmlEX application LOCALLY | ||
# (It does not create the AppImage or Docker images) | ||
|
||
# Adjust the following two environment variables to suit your needs | ||
# | ||
export UNATTENDED="--assume-yes" | ||
export MAKE_PARALLEL="-j $(nproc)" | ||
|
||
# choose one of the following... | ||
# | ||
export PDF2HTMLEX_BRANCH=update-poppler | ||
# export PDF2HTMLEX_BRANCH="$(git rev-parse --abbrev-ref HEAD)" | ||
|
||
# The following environment variable determines where the poppler, | ||
# poppler-data, fontforge and pdf2htmlEX packages are installed. | ||
# CHANGE IT TO SUIT YOUR NEEDS: | ||
# | ||
export PDF2HTMLEX_PREFIX=/usr/local | ||
|
||
################ | ||
# do the build | ||
|
||
./buildScripts/versionEnvs || { echo 'versionEnvs FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/reportEnvs || { echo 'reportEnvs FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/getBuildToolsApt || { echo 'getBuildToolsApt FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/getDevLibrariesApt || { echo 'getDevLibrariesApt FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/getPoppler || { echo 'getPoppler FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/buildPoppler || { echo 'buildPoppler FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/installPoppler || { echo 'installPoppler FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/getFontforge || { echo 'getFontforge FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/buildFontforge || { echo 'buildFontforge FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/installFontforge || { echo 'installFontforge FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/buildPdf2htmlEX || { echo 'buildPdf2htmlEX FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/installPdf2htmlEX || { echo 'installPdf2htmlEX FAILED' ; exit 1 ; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/bash | ||
|
||
# This bash script builds the complete pdf2htmlEX application LOCALLY | ||
# (It does not create the AppImage or Docker images) | ||
|
||
# Adjust the following two environment variables to suit your needs | ||
# | ||
export UNATTENDED="--assume-yes" | ||
export MAKE_PARALLEL="-j $(nproc)" | ||
|
||
# choose one of the following... | ||
# | ||
export PDF2HTMLEX_BRANCH=update-poppler | ||
# export PDF2HTMLEX_BRANCH="$(git rev-parse --abbrev-ref HEAD)" | ||
|
||
export PDF2HTMLEX_PREFIX=toBeDetermined | ||
|
||
################ | ||
# do the build | ||
|
||
./buildScripts/versionEnvs || { echo 'versionEnvs FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/reportEnvs || { echo 'reportEnvs FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/getBuildToolsBrew || { echo 'getBuildToolsBrew FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/getDevLibrariesBrew || { echo 'getDevLibrariesBrew FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/getPoppler || { echo 'getPoppler FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/buildPoppler || { echo 'buildPoppler FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/installPoppler || { echo 'installPoppler FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/getFontforge || { echo 'getFontforge FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/buildFontforge || { echo 'buildFontforge FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/installFontforge || { echo 'installFontforge FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/buildPdf2htmlEX || { echo 'buildPdf2htmlEX FAILED' ; exit 1 ; } | ||
|
||
./buildScripts/installPdf2htmlEX || { echo 'installPdf2htmlEX FAILED' ; exit 1 ; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
# This bash script automates getting the required build tools (brew install) | ||
|
||
echo "" | ||
echo "-------------------------------------------------------------------" | ||
echo "INSTALLING Build Tools (using Home/Linux Brew)" | ||
echo "-------------------------------------------------------------------" | ||
echo "" | ||
|
||
brew update | ||
brew install \ | ||
git \ | ||
pkg-config \ | ||
ruby \ | ||
autoconf \ | ||
libtool \ | ||
cmake \ | ||
make \ | ||
gcc \ | ||
gettext \ | ||
openjdk \ | ||
jq \ | ||
tree |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
# This bash script automates getting the development libraries required to | ||
# build poppler and fontforge (using Home/Linux Brew) | ||
|
||
echo "" | ||
echo "-------------------------------------------------------------------" | ||
echo "INSTALLING development libraries (using Home/Linux Brew)" | ||
echo "-------------------------------------------------------------------" | ||
echo "" | ||
|
||
brew update | ||
brew install \ | ||
cairo \ | ||
libspiro \ | ||
libpng \ | ||
jpeg \ | ||
pango \ | ||
little-cms2 \ | ||
libxml2 \ | ||
libuninameslist \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
# This bash script automates the process of getting the original pdf2htmlEX | ||
# source | ||
|
||
PDF2HTMLEX_BRANCH=update-poppler | ||
|
||
echo "" | ||
echo "-------------------------------------------------------------------" | ||
echo "GETTING pdf2htmlEX sources (using wget)" | ||
echo " (PDF2HTMLEX_BRANCH: [$PDF2HTMLEX_BRANCH])" | ||
echo "-------------------------------------------------------------------" | ||
echo "" | ||
|
||
|
||
wget https://codeload.github.com/stephengaito/pdf2htmlEX/zip/$PDF2HTMLEX_BRANCH | ||
|
||
mv $PDF2HTMLEX_BRANCH $PDF2HTMLEX_BRANCH.zip | ||
|
||
brew install unzip | ||
|
||
unzip $PDF2HTMLEX_BRANCH.zip | ||
|
||
mv pdf2htmlEX-$PDF2HTMLEX_BRANCH pdf2htmlEX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
# see:https://stackoverflow.com/a/7448828 | ||
|
||
find . -type f -print0 | \ | ||
xargs -0 stat --format '%Y :%y %n' | \ | ||
sort -nr | \ | ||
grep -v build | \ | ||
cut -d: -f2- |
Oops, something went wrong.