Skip to content

Commit 4c3ec66

Browse files
authored
Merge pull request #652 from wenheping/master
Update freebsd_pymupdf.sh
2 parents f8968fa + 0d8bd69 commit 4c3ec66

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

installation/freebsd/freebsd_pymupdf.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
setenv CFLAGS -fPIC
22

33
# install the pre-required tool
4-
pkg install swig30
4+
pkg install swig
55

6-
# Ensure we have a build of the current version
76
wget https://mupdf.com/downloads/archive/mupdf-1.17.0-source.tar.gz
87
tar -zxvf mupdf-1.17.0-source.tar.gz
98

@@ -13,6 +12,8 @@ git clone https://github.com/pymupdf/PyMuPDF.git
1312
cd mupdf-1.17.0-source
1413
# replace files in mupdf source
1514
cp ../PyMuPDF/fitz/_config.h include/mupdf/fitz/config.h
15+
cp ../PyMuPDF/fitz/_pdf-font-add.c source/pdf/pdf-font-add.c
16+
cp ../PyMuPDF/fitz/_encode-fax.c source/fitz/encode-fax.c
1617

1718
gmake HAVE_X11=no HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local
1819
gmake HAVE_X11=no HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local install

0 commit comments

Comments
 (0)