File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
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
- # Ensure we have a build of the current version
7
6
wget https://mupdf.com/downloads/archive/mupdf-1.17.0-source.tar.gz
8
7
tar -zxvf mupdf-1.17.0-source.tar.gz
9
8
@@ -13,6 +12,8 @@ git clone https://github.com/pymupdf/PyMuPDF.git
13
12
cd mupdf-1.17.0-source
14
13
# replace files in mupdf source
15
14
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
16
17
17
18
gmake HAVE_X11=no HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local
18
19
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