File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
setenv CFLAGS -fPIC
2
2
3
3
# install the pre-required tool
4
- pkg install swig30
4
+ pkg install swig
5
5
6
6
# also FreeBSD has a mupdf port, we should build it manually
7
- wget https://mupdf.com/downloads/archive/mupdf-1.16.1 -source.tar.gz
8
- tar -zxvf mupdf-1.16.1 -source.tar.gz
7
+ wget https://mupdf.com/downloads/archive/mupdf-1.17.0 -source.tar.gz
8
+ tar -zxvf mupdf-1.17.0 -source.tar.gz
9
9
10
10
rm -rf PyMuPDF
11
11
git clone https://github.com/pymupdf/PyMuPDF.git
12
12
13
- cd mupdf-1.16.1 -source
13
+ cd mupdf-1.17.0 -source
14
14
# replace files in mupdf source
15
15
cp ../PyMuPDF/fitz/_config.h include/mupdf/fitz/config.h
16
+ cp ../PyMuPDF/fitz/_pdf-font-add.c source/pdf/pdf-font-add.c
17
+ cp ../PyMuPDF/fitz/_encode-fax.c source/fitz/encode-fax.c
16
18
17
19
gmake HAVE_X11=no HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local
18
20
gmake HAVE_X11=no HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local install
You can’t perform that action at this time.
0 commit comments