- Timestamp:
- 10/13/2020 07:07:33 PM (4 years ago)
- Branches:
- 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 17facb1
- Parents:
- ac278af2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/ps/mupdf.xml
rac278af2 r388747dd 9 9 <!ENTITY mupdf-download-http "http://www.mupdf.com/downloads/archive/mupdf-&mupdf-version;-source.tar.gz"> 10 10 <!ENTITY mupdf-download-ftp " "> 11 <!ENTITY mupdf-md5sum " f6ffcd81fcd4c57016eb630bcd617c50">12 <!ENTITY mupdf-size "6 2MB">13 <!ENTITY mupdf-buildsize "3 01MB">14 <!ENTITY mupdf-time "0. 1SBU (Using parallelism=4)">11 <!ENTITY mupdf-md5sum "6f42be1365350f05270f8776517a3872"> 12 <!ENTITY mupdf-size "69 MB"> 13 <!ENTITY mupdf-buildsize "322 MB"> 14 <!ENTITY mupdf-time "0.2 SBU (Using parallelism=4)"> 15 15 ]> 16 16 … … 72 72 </itemizedlist> 73 73 74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>75 <itemizedlist spacing="compact">76 <listitem>77 <para>78 Recommended patch:79 <ulink url="&patch-root;/mupdf-&mupdf-version;-shared_libs-1.patch"/>80 </para>81 </listitem>82 </itemizedlist>83 84 74 <bridgehead renderas="sect3">MuPDF Dependencies</bridgehead> 85 75 … … 91 81 <bridgehead renderas="sect4">Recommended</bridgehead> 92 82 <para role="recommended"> 93 < xref linkend="freeglut"/>,83 <!--<xref linkend="freeglut"/>, --> 94 84 <xref linkend="harfbuzz"/>, 95 85 <!-- This no-longer gets linked in with our system libs patch … … 120 110 <title>Installation of MuPDF</title> 121 111 112 <para>First, fix the Makefile to link properly with the shared library:</para> 113 114 <screen><userinput>sed -i '/MU.*_EXE. :/{ 115 s/.(MUPDF_LIB)// 116 N 117 s/$/ -lmupdf/ 118 }' Makefile</userinput></screen> 119 120 122 121 <para> 123 122 Install <application>MuPDF</application> by running the following … … 125 124 </para> 126 125 127 <screen><userinput>patch -Np1 -i ../mupdf-&mupdf-version;-shared_libs-1.patch && 128 129 USE_SYSTEM_LIBS=yes make</userinput></screen> 126 <screen><userinput>cat > user.make << EOF && 127 USE_SYSTEM_FREETYPE := yes 128 USE_SYSTEM_HARFBUZZ := yes 129 USE_SYSTEM_JBIG2DEC := no 130 USE_SYSTEM_JPEGXR := no # not used without HAVE_JPEGXR 131 USE_SYSTEM_LCMS2 := no # need lcms2-art fork 132 USE_SYSTEM_LIBJPEG := yes 133 USE_SYSTEM_MUJS := no # build needs source anyways 134 USE_SYSTEM_OPENJPEG := yes 135 USE_SYSTEM_ZLIB := yes 136 USE_SYSTEM_GLUT := no # need freeglut2-art fork 137 USE_SYSTEM_CURL := yes 138 USE_SYSTEM_GUMBO := no 139 EOF 140 141 export XCFLAGS=-fPIC && 142 make build=release shared=yes && 143 unset XCFLAGS</userinput></screen> 130 144 131 145 <para> … … 137 151 </para> 138 152 139 <screen role="root"><userinput>USE_SYSTEM_LIBS=yes \ 140 make prefix=/usr \ 141 build=release \ 153 <screen role="root"><userinput>make prefix=/usr \ 154 shared=yes \ 142 155 docdir=/usr/share/doc/mupdf-&mupdf-version; \ 143 156 install && 144 157 145 ln -sfv mupdf-x11 /usr/bin/mupdf&&146 l dconfig</userinput></screen>158 chmod 755 /usr/lib/libmupdf.so && 159 ln -sfv mupdf-x11 /usr/bin/mupdf</userinput></screen> 147 160 148 161 </sect2> … … 172 185 mupdf-gl, 173 186 mupdf-x11, 187 mupdf-x11-curl, 174 188 muraster, and 175 189 mutool 176 190 </seg> 177 191 <seg> 178 libmupdf.so, 179 libmupdfthird.so, 180 libmupdf-pkcs7.so, and 181 libmupdf-threads.so 192 libmupdf.so 182 193 </seg> 183 194 <seg> … … 268 279 </varlistentry> 269 280 270 <varlistentry id="libmupdfthird">271 <term><filename class="libraryfile">libmupdfthird.so</filename></term>272 <listitem>273 <para>274 contains the third party libraries compiled for mudpf.275 </para>276 <indexterm zone="mupdf libmupdfthird">277 <primary sortas="c-libmupdfthird">libmupdfthird.so</primary>278 </indexterm>279 </listitem>280 </varlistentry>281 282 281 </variablelist> 283 282
Note:
See TracChangeset
for help on using the changeset viewer.