Ignore:
Timestamp:
01/27/2016 11:21:15 PM (9 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
1e76622
Parents:
a7e1ac8
Message:

Merge Chapter 13 from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16861 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/doxygen.xml

    ra7e1ac8 r2037ec4  
    77  <!ENTITY doxygen-download-http "http://ftp.stack.nl/pub/doxygen/doxygen-&doxygen-version;.src.tar.gz">
    88  <!ENTITY doxygen-download-ftp  "ftp://ftp.stack.nl/pub/doxygen/doxygen-&doxygen-version;.src.tar.gz">
    9   <!ENTITY doxygen-md5sum        "79767ccd986f12a0f949015efb5f058f">
    10   <!ENTITY doxygen-size          "4.6 MB">
    11   <!ENTITY doxygen-buildsize     "174 MB (with all programs, docs, and tests)">
    12   <!ENTITY doxygen-time          "2.7 SBU (with all programs, docs, and tests)">
     9  <!ENTITY doxygen-md5sum        "f4697a444feaed739cfa2f0644abc19b">
     10  <!ENTITY doxygen-size          "4.7 MB">
     11  <!ENTITY doxygen-buildsize     "176 MB (with all programs, docs and tests)">
     12  <!ENTITY doxygen-time          "2.4 SBU (with all programs, docs and tests)">
    1313]>
    1414
     
    5151    </para>
    5252
    53     &lfs77_checked;
     53    &lfs78_checked;
    5454
    5555    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    8686      </listitem>
    8787    </itemizedlist>
     88<!--
     89    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     90    <itemizedlist spacing='compact'>
     91      <listitem>
     92        <para>Required patch: <ulink
     93          url="&patch-root;/doxygen-&doxygen-version;-flex_2_6_0_fix-1.patch"/></para>
     94      </listitem>
     95    </itemizedlist>-->
    8896
    8997    <bridgehead renderas="sect3">Doxygen Dependencies</bridgehead>
     
    98106      <xref linkend="graphviz"/>,
    99107      <xref linkend="gs"/>,
    100       <xref linkend="libxml2"/>,
     108      <xref linkend="libxml2"/> (required for the tests),
    101109      <xref linkend="llvm"/> (with clang),
    102110      <xref linkend="python2"/> or <xref linkend="python3"/>,
    103       <xref linkend="qt4"/> (for doxywizard),
     111      <xref linkend="qt4"/> or
     112      <xref linkend="qt5"/> (for doxywizard),
    104113      <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>) and
    105114      <xref linkend="xapian"/> (for doxyindexer)
     
    120129
    121130<screen><userinput>mkdir -v build &amp;&amp;
    122 cd build &amp;&amp;
    123 cmake -G "Unix Makefiles"      \
    124    -DCMAKE_BUILD_TYPE=Release  \
    125    -DCMAKE_INSTALL_PREFIX=/usr \
    126    .. &amp; &amp;
     131cd       build &amp;&amp;
     132
     133cmake -G "Unix Makefiles"         \
     134      -DCMAKE_BUILD_TYPE=Release  \
     135      -DCMAKE_INSTALL_PREFIX=/usr \
     136      .. &amp;&amp;
    127137
    128138make</userinput></screen>
    129139
    130140    <para>
    131       To test the results, issue this: <command>make tests</command>.
    132     </para>
    133 
    134     <para>
    135        If you wish to generate the package documentation, you must have
    136        <xref linkend="python2"/>, <xref linkend="texlive"/> (for HTML
    137        documentation), and <xref linkend="gs"/> (for PDF docs) installed, then
    138        issue the following commands:
    139     </para>
    140 
    141 <screen><userinput>sed -i 's:man/man1:share/&amp;:' ../doc/CMakeLists.txt &amp;&amp;
    142 
    143 cmake -DDOC_INSTALL_DIR=share/doc/doxygen-&doxygen-version; -Dbuild_doc=ON .. &amp;&amp;
     141      To test the results, issue: <command>make tests</command>.
     142    </para>
     143
     144    <para>
     145      If you wish to generate the package documentation, you must have
     146      <application>Python</application>, <application>TeX Live</application>
     147      (for HTML docs) and <application>Ghostscript</application> (for PDF docs)
     148      installed, then issue the following command:
     149    </para>
     150
     151<screen><userinput>cmake -DDOC_INSTALL_DIR=share/doc/doxygen-&doxygen-version; -Dbuild_doc=ON .. &amp;&amp;
    144152
    145153make docs</userinput></screen>
     
    150158
    151159<screen role="root"><userinput>make install &amp;&amp;
    152 install -v -m644 ../doc/*.1 /usr/share/man/man1</userinput></screen>
    153 
    154     <para>
    155 
    156       If you generated the package documentation, install it by executing the
    157       following command as the <systemitem class="username">root</systemitem> user:
    158    </para>
    159 
    160 <screen role="root"><userinput>make docs install</userinput></screen>
     160install -vm644 ../doc/*.1 /usr/share/man/man1</userinput></screen>
     161
     162    <para>
     163      If you have generated the package documentation, then the man pages are
     164      automatically installed, and you do not need to run the last
     165      <command>install ...</command> command.
     166    </para>
    161167
    162168  </sect2>
     
    166172
    167173    <para>
    168       <command>sed -i ... CMakeLists.txt</command>: Fixes the directory where
    169       the man pages are installed.
    170     </para>
    171 
    172     <para>
    173174      <option>-Dbuild_wizard=ON</option>: Use this switch if
    174175      <application>Qt4</application> is installed and you wish to build the GUI
    175       frontend.
     176      front-end.
    176177    </para>
    177178
    178179    <para>
    179180      <option>-Dbuild_search=ON</option>: Use this switch if
    180       you have installed <xref linkend="xapian"/> and you wish to build the
     181      <application>xapian</application> is installed and you wish to build
    181182      external search tools (<command>doxysearch.cgi</command> and
    182       <command>doxyindexer</command>).
     183      <command>doxyindexer)</command>.
     184    </para>
     185
     186    <para>
     187      <option>-Dforce_qt4=ON</option>: Use this switch to build
     188      <command>doxywizard</command> with Qt4 even if Qt5 is installed.
    183189    </para>
    184190
    185191    <para>
    186192      <option>-Duse_libclang=ON</option>: Use this switch if
    187       you have installed <application>Clang</application>
    188       and you wish to to add support for libclang parsing.
     193      <application>llvm</application> with <application>clang</application> are
     194      installed, to add support for libclang parsing.
    189195    </para>
    190196
     
    268274            generates a search index called <filename>doxysearch.db</filename>
    269275            from one or more search data files produced by
    270             <command>doxygen</command>.
     276            <command>doxygen</command>. See, e.g. <ulink
     277            url="http://www.stack.nl/~dimitri/doxygen/manual/extsearch.html"/>.
    271278          </para>
    272279          <indexterm zone="doxygen doxyindexer">
Note: See TracChangeset for help on using the changeset viewer.