1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

corrected travis 26

This commit is contained in:
Stephen Gaito 2019-11-26 13:10:52 +00:00
parent d65e6ff66e
commit aa66683277
5 changed files with 14 additions and 41 deletions

View File

@ -86,6 +86,9 @@ script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- ./buildScripts/getBuildTools || travis_terminate 1; - ./buildScripts/getBuildTools || travis_terminate 1;
- ./buildScripts/getDevLibraries || travis_terminate 1; - ./buildScripts/getDevLibraries || travis_terminate 1;
- ./buildScripts/getPoppler || travis_terminate 1;
- ./buildScripts/buildPoppler || travis_terminate 1;
- ./buildScripts/installPoppler || travis_terminate 1;
- ./buildScripts/getFontforge || travis_terminate 1; - ./buildScripts/getFontforge || travis_terminate 1;
- ./buildScripts/buildFontforge || travis_terminate 1; - ./buildScripts/buildFontforge || travis_terminate 1;
- ./buildScripts/installFontforge || travis_terminate 1; - ./buildScripts/installFontforge || travis_terminate 1;
@ -95,6 +98,3 @@ script:
- ./buildScripts/createDockerImage || travis_terminate 1; - ./buildScripts/createDockerImage || travis_terminate 1;
- docker push $DOCKER_USERNAME/pdf2htmlex - docker push $DOCKER_USERNAME/pdf2htmlex
# - ./buildScripts/getPoppler || travis_terminate 1;
# - ./buildScripts/buildPoppler || travis_terminate 1;
# - ./buildScripts/installPoppler || travis_terminate 1;

View File

@ -7,37 +7,27 @@ source buildScripts/versionEnvs
# This is a work-around to fix TravisCI's declaration of PYTHON_CFLAGS # This is a work-around to fix TravisCI's declaration of PYTHON_CFLAGS
# which is then honoured exactly as is by the fontforge bootstrap and # which is then honoured exactly as is by the fontforge bootstrap and
# configure steps # configure steps.
#
# see: https://github.com/travis-ci/travis-ci/issues/5301 (unfixed)
# #
if [ -n "$PYTHON_CFLAGS" ] ; then if [ -n "$PYTHON_CFLAGS" ] ; then
export PYTHON_CFLAGS="$(pkg-config --cflags python) $PYTHON_CFLAGS" export PYTHON_CFLAGS="$(pkg-config --cflags python) $PYTHON_CFLAGS"
fi fi
echo "" echo ""
echo "PYTHON_CFLAGS:
echo "-------------------------------" echo "-------------------------------"
pkg-config --cflags python
pkg-config --cflags python-2.7
echo $PYTHON_CFLAGS echo $PYTHON_CFLAGS
echo $PYTHON_LIBS
echo "-------------------------------" echo "-------------------------------"
echo "" echo ""
# Can use "configure --disable-silent-rules" to debug configuration/make
# problems
#
cd fontforge cd fontforge
./bootstrap ./bootstrap
./configure --disable-silent-rules ./configure
echo ""
echo "-------------------------------"
cat config.log
echo "-------------------------------"
echo ""
echo ""
echo "-------------------------------"
cat fontforge/Makefile
echo "-------------------------------"
echo ""
# Apply any patches required for fontforge raw sources before we make # Apply any patches required for fontforge raw sources before we make
# #
@ -47,13 +37,5 @@ do
patch -p 1 < $APATCHFILE patch -p 1 < $APATCHFILE
done done
tree /usr/include/python2.7 make $MAKE_PARALLEL
#cd fontforge
#make -n
#cd ..
make
#make $MAKE_PARALLEL

View File

@ -1,6 +0,0 @@
# This autotools config.site file add the python2.7 include files which are
# for some reason missed in the standard fontforge configuration on
# travisCI
PYTHON_CFLAGS=$PYTHON_CFLAGS -I/usr/include/python2.7

View File

@ -16,7 +16,5 @@ sudo apt-get $UNATTENDED install \
libpango1.0-dev \ libpango1.0-dev \
liblcms2-dev \ liblcms2-dev \
libxml2-dev \ libxml2-dev \
libuninameslist-dev libuninameslist-dev \
libpython-dev
sudo apt-get $UNATTENDED $FORCE_REINSTALL install \
libpython2.7-dev

View File

@ -1,3 +1,2 @@
export MAKE_PARALLEL="-j `nproc`" export MAKE_PARALLEL="-j `nproc`"
export FORCE_REINSTALL=--reinstall