comparison mupdf-source/thirdparty/zint/README.bsd @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 % README.bsd 2024-01-17
2 % Tested on FreeBSD 14.0-RELEASE (with X11 + GNOME installed), OpenBSD 7.4 (with X11) and NetBSD 9.3 (with X11)
3
4 1. Prerequisites for building zint
5 ==================================
6
7 Prerequisites are git, cmake, make, gcc (or clang) and, for PNG support, libpng, e.g. FreeBSD
8
9 su
10 pkg install git cmake gmake gcc graphics/png
11 exit
12
13 or OpenBSD (make and clang should already be installed):
14
15 su
16 pkg_add git cmake png
17 exit
18
19 or NetBSD (make and gcc should already be installed):
20
21 su
22 pkgin install git cmake png
23 exit
24
25 Then clone the latest source
26
27 git clone https://git.code.sf.net/p/zint/code zint
28 cd zint
29
30
31 2. Prerequisites for building zint-qt
32 =====================================
33
34 On FreeBSD:
35
36 su
37 pkg install qt5-core qt5-uitools qt5-buildtools qt5-qmake qt5-svg
38 exit
39
40 On OpenBSD:
41
42 su
43 pkg_add qtbase qttools qtsvg
44 exit
45
46 On NetBSD:
47
48 su
49 pkgin install qt5-qtbase qt5-qttools qt5-qtsvg
50 exit
51
52
53 3. Build
54 ========
55
56 The rest is standard CMake (allowing for absence of sudo)
57
58 mkdir build
59 cd build
60 cmake ..
61 make
62 su
63 make install
64 exit
65
66 except that on OpenBSD you need to use
67
68 cmake -DCMAKE_PREFIX_PATH=/usr/local/lib/qt5/cmake ..
69
70 and on NetBSD
71
72 cmake -DCMAKE_PREFIX_PATH=/usr/pkg/qt5 ..
73
74 instead.
75
76
77 3. CMake options
78 ================
79
80 See "README.linux". Note for running the test suite on FreeBSD, if using the default csh, to set LD_LIBRARY_PATH use:
81
82 setenv LD_LIBRARY_PATH ${PWD}/backend
83
84 Also, for Qt5 test on FreeBSD, need:
85
86 su
87 pkg install qt5-testlib
88 exit