diff --git a/buildScripts/buildInstallLocallyApt b/buildScripts/buildInstallLocally similarity index 100% rename from buildScripts/buildInstallLocallyApt rename to buildScripts/buildInstallLocally diff --git a/buildScripts/buildInstallLocallyBrew b/buildScripts/buildInstallLocallyBrew deleted file mode 100755 index 23caa20..0000000 --- a/buildScripts/buildInstallLocallyBrew +++ /dev/null @@ -1,47 +0,0 @@ -#!/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="<>" -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=/home/linuxbrew/.linuxbrew - -################ -# do the build - -# The following is used by the pdf2htmlEX CMakeLists.txt file -# -export USING_BREW=1 - -./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/getFontforge || { echo 'getFontforge FAILED' ; exit 1 ; } - -./buildScripts/buildFontforge || { echo 'buildFontforge FAILED' ; exit 1 ; } - -./buildScripts/buildPdf2htmlEX || { echo 'buildPdf2htmlEX FAILED' ; exit 1 ; } - -./buildScripts/installPdf2htmlEX || { echo 'installPdf2htmlEX FAILED' ; exit 1 ; } diff --git a/buildScripts/buildPdf2htmlEXClang b/buildScripts/buildPdf2htmlEXClang deleted file mode 100755 index ab3fd6c..0000000 --- a/buildScripts/buildPdf2htmlEXClang +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# This bash script builds pdf2htmlEX using Clang (if it is installed) - -echo "" -echo "-------------------------------------------------------------------" -echo "BUILDING pdf2htmlEX (using CLang)" -echo "-------------------------------------------------------------------" -echo "" - -set -ev - -cd pdf2htmlEX -mkdir build -cd build -CC=clang CXX=clang++ cmake -DCMAKE_INSTALL_PREFIX=$PDF2HTMLEX_PREFIX .. -make $MAKE_PARALLEL diff --git a/buildScripts/getBuildToolsApt b/buildScripts/getBuildTools similarity index 100% rename from buildScripts/getBuildToolsApt rename to buildScripts/getBuildTools diff --git a/buildScripts/getBuildToolsHomeBrew b/buildScripts/getBuildToolsHomeBrew deleted file mode 100755 index b46ed47..0000000 --- a/buildScripts/getBuildToolsHomeBrew +++ /dev/null @@ -1,28 +0,0 @@ -#!/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 "" - -set -ev - -brew update -brew install \ - autoconf \ - libtool \ - make \ - gettext \ - openjdk \ - jq \ - tree - -# Removed the following for homeBrew (macos on travis) -# git \ -# pkg-config \ -# cmake \ -# ruby \ -# gcc \ diff --git a/buildScripts/getBuildToolsLinuxBrew b/buildScripts/getBuildToolsLinuxBrew deleted file mode 100755 index 1191b46..0000000 --- a/buildScripts/getBuildToolsLinuxBrew +++ /dev/null @@ -1,26 +0,0 @@ -#!/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 "" - -set -ev - -brew update -brew install \ - git \ - pkg-config \ - ruby \ - autoconf \ - libtool \ - cmake \ - make \ - gcc \ - gettext \ - openjdk \ - jq \ - tree diff --git a/buildScripts/getDevLibrariesApt b/buildScripts/getDevLibraries similarity index 100% rename from buildScripts/getDevLibrariesApt rename to buildScripts/getDevLibraries diff --git a/buildScripts/getDevLibrariesBrew b/buildScripts/getDevLibrariesBrew deleted file mode 100755 index 252b2f0..0000000 --- a/buildScripts/getDevLibrariesBrew +++ /dev/null @@ -1,24 +0,0 @@ -#!/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 "" - -set -ev - -brew update -brew install \ - cairo \ - libpng \ - jpeg \ - libxml2 \ - -# libspiro \ -# pango \ -# little-cms2 \ -# libuninameslist \ diff --git a/buildScripts/getPdf2htmlEXApt b/buildScripts/getPdf2htmlEX similarity index 100% rename from buildScripts/getPdf2htmlEXApt rename to buildScripts/getPdf2htmlEX diff --git a/buildScripts/getPdf2htmlEXBrew b/buildScripts/getPdf2htmlEXBrew deleted file mode 100755 index 52a567f..0000000 --- a/buildScripts/getPdf2htmlEXBrew +++ /dev/null @@ -1,25 +0,0 @@ -#!/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 "" - -set -ev - -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 diff --git a/buildScripts/installFontforge b/buildScripts/installFontforge deleted file mode 100755 index 6ce6a50..0000000 --- a/buildScripts/installFontforge +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -echo "" -echo "-------------------------------------------------------------------" -echo "INSTALLING FontForge locally" -echo " (UNATTENDED: [$UNATTENDED])" -echo "-------------------------------------------------------------------" -echo "" - - -if [ -z "$UNATTENDED" ] ; then - echo "WARNING: this may over-write any existing" - echo "FontForge version you have installed on your system." - echo "This may break other packages/applications." - echo "" - echo "This installation assumes you have 'sudo' privileges." - echo "" - echo "Type ctrl-c now if DO NOT want to continue" - read -p "Type anything else to continue: " -fi - -set -ev - -cd fontforge -sudo make install -sudo ldconfig; diff --git a/buildScripts/installPoppler b/buildScripts/installPoppler deleted file mode 100755 index 9461094..0000000 --- a/buildScripts/installPoppler +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -# This bash script installs Poppler into the local system - -echo "" -echo "-------------------------------------------------------------------" -echo "INSTALLING Poppler locally" -echo " (UNATTENDED: [$UNATTENDED])" -echo "-------------------------------------------------------------------" -echo "" - - -if [ -z "$UNATTENDED" ] ; then - echo "WARNING: this may over-write any existing" - echo "Poppler version you have installed on your system." - echo "This may break other packages/applications." - echo "" - echo "This installation assumes you have 'sudo' privileges." - echo "" - echo "Type ctrl-c now if DO NOT want to continue" - read -p "Type anything else to continue: " -fi - -set -ev - -cd poppler/build -sudo make install - -cd .. - -sudo mkdir -p $PDF2HTMLEX_PREFIX/include/poppler -sudo cp poppler/*.h $PDF2HTMLEX_PREFIX/include/poppler - -sudo mkdir -p $PDF2HTMLEX_PREFIX/include/poppler/goo -sudo cp goo/*.h $PDF2HTMLEX_PREFIX/include/poppler/goo - -sudo mkdir -p $PDF2HTMLEX_PREFIX/include/poppler/fofi -sudo cp fofi/*.h $PDF2HTMLEX_PREFIX/include/poppler/fofi - -sudo mkdir -p $PDF2HTMLEX_PREFIX/include/poppler/splash -sudo cp splash/*.h $PDF2HTMLEX_PREFIX/include/poppler/splash - -sudo cp build/poppler/poppler-config.h \ - $PDF2HTMLEX_PREFIX/include/poppler - -cd ../poppler-data - -sudo make install prefix=$PDF2HTMLEX_PREFIX - diff --git a/buildScripts/travisLinuxBrewDoItAll b/buildScripts/travisLinuxBrewDoItAll deleted file mode 100755 index f8fa8e1..0000000 --- a/buildScripts/travisLinuxBrewDoItAll +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -# This bash script builds everyting on an TravisCI Mac OSx worker - -# See: -# https://docs.travis-ci.com/user/installing-dependencies/#using-homebrew-without-addon-on-older-macos-images -# For details on obtaining/using the correct ruby version for homebrew. - -brew update -brew tap pdf2htmlEX/homebrew-brewTap -brew install pdf2htmlex-new diff --git a/buildScripts/travisLinuxAptDoItAll b/buildScripts/travisLinuxDoItAll similarity index 100% rename from buildScripts/travisLinuxAptDoItAll rename to buildScripts/travisLinuxDoItAll