Changeset ff3a9a0 for pst


Ignore:
Timestamp:
11/27/2016 04:05:13 PM (7 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, 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:
53375fc
Parents:
23e36d1
Message:

lxpanel-0.9.1, lxde-common-0.99.2, mupdf-1.10

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18016 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/ps/mupdf.xml

    r23e36d1 rff3a9a0  
    99  <!ENTITY mupdf-download-http "http://www.mupdf.com/downloads/archive/mupdf-&mupdf-version;-source.tar.gz">
    1010  <!ENTITY mupdf-download-ftp  " ">
    11   <!ENTITY mupdf-md5sum        "6677c6386e8408a72826a0b7bc647a45">
    12   <!ENTITY mupdf-size          "20 MB">
    13   <!ENTITY mupdf-buildsize     "145 MB">
    14   <!ENTITY mupdf-time          "0.4 SBU">
     11  <!ENTITY mupdf-md5sum        "fbe3313cc2e7455aa21cacc64262088b">
     12  <!ENTITY mupdf-size          "40 MB">
     13  <!ENTITY mupdf-buildsize     "325 MB">
     14  <!ENTITY mupdf-time          "0.5 SBU">
    1515]>
    1616
     
    7676      <listitem>
    7777        <para>
    78           Required patch:
    79           <ulink url="&patch-root;/mupdf-&mupdf-version;-upstream_fix-1.patch"/>
    80         </para>
    81       </listitem>
    82       <listitem>
    83         <para>
    8478          Recommended patch:
    85           <ulink url="&patch-root;/mupdf-&mupdf-version;-openjpeg21-1.patch"/>
     79          <ulink url="&patch-root;/mupdf-&mupdf-version;-shared_libs-1.patch"/>
    8680        </para>
    8781      </listitem>
     
    106100    <para role="optional">
    107101      <xref linkend="openssl"/>,
     102      <xref linkend="xdg-utils"/> (runtime),
    108103      <ulink url="http://www.glfw.org/">GLFW</ulink>, and
    109104      <ulink url="http://downloads.ghostscript.com/public/jbig2dec/">jbig2dec</ulink>
     
    135130rm -rf thirdparty/zlib     &amp;&amp;
    136131
    137 patch -Np1 -i ../mupdf-&mupdf-version;-upstream_fix-1.patch &amp;&amp;
    138 patch -Np1 -i ../mupdf-&mupdf-version;-openjpeg21-1.patch &amp;&amp;
     132sed '/OPJ_STATIC$/d' -i source/fitz/load-jpx.c &amp;&amp;
     133
     134patch -Np1 -i ../mupdf-&mupdf-version;-shared_libs-1.patch &amp;&amp;
    139135
    140136make build=release</userinput></screen>
     
    148144    </para>
    149145
    150 <screen role="root"><userinput>install -v -m 755 build/release/mupdf-x11-curl /usr/bin/mupdf &amp;&amp;
    151 
    152 install -v -m 644 docs/man/mupdf.1 /usr/share/man/man1/</userinput></screen>
     146<screen role="root"><userinput>make prefix=/usr                      \
     147     build=release                    \
     148     docdir=/usr/share/doc/mupdf-&mupdf-version; \
     149     install                          &amp;&amp;
     150ln -sfv mupdf-x11-curl /usr/bin/mupdf</userinput></screen>
     151
     152  </sect2>
     153
     154  <sect2 role="commands">
     155    <title>Command Explanations</title>
     156
     157    <para>
     158      <command>sed '/OPJ_STATIC$/d' ... </command>: Remove a switch, which
     159      prevents using shared libraries for <application>openjpeg2</application>.
     160    </para>
     161
     162    <para>
     163      <command>ln -sfv mupdf-x11-curl /usr/bin/mupdf </command>: Three
     164      <command>mupdf</command> executables are installed:
     165      <command>mupdf-gl</command>, <command>mupdf-x11</command>, and
     166      <command>mupdf-x11-curl</command>. This symbolic link allows to choose
     167      which one is used when running <command>mupdf</command>.
     168    </para>
    153169
    154170  </sect2>
     
    163179
    164180      <seglistitem>
    165         <seg>mupdf</seg>
    166         <seg>None</seg>
    167         <seg>None</seg>
     181        <seg>mujstest, mupdf(symlink), mupdf-gl, mupdf-x11, mupdf-x11-curl,
     182        muraster, mutool</seg>
     183        <seg>libmupdf.so, libmupdfthird.so</seg>
     184        <seg>/usr/include/mupdf, /usr/share/doc/mupdf-&mupdf-version;</seg>
    168185      </seglistitem>
    169186    </segmentedlist>
     
    174191      <?dbhtml list-presentation="table"?>
    175192
     193      <varlistentry id="mujstest">
     194        <term><command>mujstest</command></term>
     195        <listitem>
     196          <para>
     197            is a test program for mupdf + javascript
     198          </para>
     199          <indexterm zone="mupdf mujstest">
     200            <primary sortas="b-mujstest">mujstest</primary>
     201          </indexterm>
     202        </listitem>
     203      </varlistentry>
     204
    176205      <varlistentry id="mupdf-prog">
    177206        <term><command>mupdf</command></term>
    178207        <listitem>
    179208          <para>
    180             is a program for viewing PDF and XPS documents.
     209            is a program for viewing PDF, XPS, EPUB, and CBZ documents,
     210            and various image formats such as PNG, JPEG, GIFF, and TIFF.
    181211          </para>
    182212          <indexterm zone="mupdf mupdf-prog">
     
    185215        </listitem>
    186216      </varlistentry>
     217
     218      <varlistentry id="mupdf-gl">
     219        <term><command>mupdf-gl</command></term>
     220        <listitem>
     221          <para>
     222            same as <command>mupdf</command>, using an opengl renderer.
     223          </para>
     224          <indexterm zone="mupdf mupdf-gl">
     225            <primary sortas="b-mupdf-gl">mupdf-gl</primary>
     226          </indexterm>
     227        </listitem>
     228      </varlistentry>
     229
     230      <varlistentry id="mupdf-x11">
     231        <term><command>mupdf-x11</command></term>
     232        <listitem>
     233          <para>
     234            same as <command>mupdf</command>, using an X Window renderer.
     235          </para>
     236          <indexterm zone="mupdf mupdf-x11">
     237            <primary sortas="b-mupdf-x11">mupdf-x11</primary>
     238          </indexterm>
     239        </listitem>
     240      </varlistentry>
     241
     242      <varlistentry id="mupdf-x11-curl">
     243        <term><command>mupdf-x11-curl</command></term>
     244        <listitem>
     245          <para>
     246            same as <command>mupdf</command>, using an X Window renderer,
     247            with the capability of rendering web pages, using an
     248            <quote>http://...</quote> url.
     249          </para>
     250          <indexterm zone="mupdf mupdf-x11-curl">
     251            <primary sortas="b-mupdf-x11-curl">mupdf-x11-curl</primary>
     252          </indexterm>
     253        </listitem>
     254      </varlistentry>
     255
     256      <varlistentry id="muraster">
     257        <term><command>muraster</command></term>
     258        <listitem>
     259          <para>
     260            transforms files in one of the formats displayable by mupdf into
     261            a graphic file.
     262          </para>
     263          <indexterm zone="mupdf muraster">
     264            <primary sortas="b-muraster">muraster</primary>
     265          </indexterm>
     266        </listitem>
     267      </varlistentry>
     268
     269      <varlistentry id="mutool">
     270        <term><command>mutool</command></term>
     271        <listitem>
     272          <para>
     273            deals with document files in various manners.
     274          </para>
     275          <indexterm zone="mupdf mutool">
     276            <primary sortas="b-mutool">mutool</primary>
     277          </indexterm>
     278        </listitem>
     279      </varlistentry>
     280
     281      <varlistentry id="libmupdf">
     282        <term><filename class="libraryfile">libmupdf.so</filename></term>
     283        <listitem>
     284          <para>
     285            contains the mupdf API functions.
     286          </para>
     287          <indexterm zone="mupdf libmupdf">
     288            <primary sortas="c-libmupdf">libmupdf.so</primary>
     289          </indexterm>
     290        </listitem>
     291      </varlistentry>
     292
     293      <varlistentry id="libmupdfthird">
     294        <term><filename class="libraryfile">libmupdfthird.so</filename></term>
     295        <listitem>
     296          <para>
     297            contains the third party libraries compiled for mudpf.
     298          </para>
     299          <indexterm zone="mupdf libmupdfthird">
     300            <primary sortas="c-libmupdfthird">libmupdfthird.so</primary>
     301          </indexterm>
     302        </listitem>
     303      </varlistentry>
     304
    187305    </variablelist>
    188306
Note: See TracChangeset for help on using the changeset viewer.