Skip to content

Commit cecabd3

Browse files
Remove pdf2htmlEX source patch script. Patch files will be handled by the system
1 parent ba5b725 commit cecabd3

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

dependency-builder/src/main/cpp/packages/pdf2htmlEX-Patch-Source-cflags.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--- CMakeLists.txt.orig 2019-09-27 11:36:07.639000000 -0000
1+
--- CMakeLists.txt 2019-09-27 11:36:07.639000000 -0000
22
+++ CMakeLists.txt 2019-09-27 11:36:42.908000000 -0000
33
@@ -59,15 +59,6 @@
44
link_directories(${FONTFORGE_LIBRARY_DIRS})

dependency-builder/src/main/cpp/packages/pdf2htmlEX-Patch-Source.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ set -eu
44
THIS_FILE=$(readlink -f "$0")
55
BASEDIR=$(dirname "$THIS_FILE")
66

7+
cp $1/CMakeLists.txt $1/CMakeLists.txt.orig
8+
cp $1/src/pdf2htmlEX.cc $1/src/pdf2htmlEX.cc.orig
9+
710
# pdf2htmlEX provides a binary executable.
811
# pdf2htmlEX-Android needs a library.
12+
# @TODO: retVal in EXE,
913
patch -p0 <$BASEDIR/pdf2htmlEX-Patch-Source-make-a-library.patch
1014

15+
patch -p0 <$BASEDIR/pdf2htmlEX-Patch-Source-prepare-exe-for-android.patch
16+
1117
# Check for package cairo-svg, not for cairo, which could have svg headers.
1218
patch $1/CMakeLists.txt <$BASEDIR/pdf2htmlEX-Patch-Source-find-cairo-svg.patch
1319

0 commit comments

Comments
 (0)