Ignore:
Timestamp:
12/04/2021 08:32:42 AM (2 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
qt5new
Children:
104ff4e
Parents:
ce5723af (diff), edd2feb7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' into qt5new

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genutils/graphviz.xml

    rce5723af r1daaab6d  
    55  %general-entities;
    66
    7   <!ENTITY graphviz-download-http "https://gitlab.com/graphviz/graphviz/-/archive/&graphviz-version;/graphviz-&graphviz-version;.tar.gz">
     7  <!ENTITY graphviz-download-http "https://gitlab.com/graphviz/graphviz/-/archive/&graphviz-version;/graphviz-&graphviz-version;.tar.bz2">
    88  <!ENTITY graphviz-download-ftp  " ">
    9   <!ENTITY graphviz-md5sum        "f9dd7caf4785f47f5fd40f5407d9d7ce">
    10   <!ENTITY graphviz-size          "29 MB">
    11   <!ENTITY graphviz-buildsize     "204 MB">
     9  <!ENTITY graphviz-md5sum        "d28da63d258a901cc0ea35b879c07db9">
     10  <!ENTITY graphviz-size          "26 MB">
     11  <!ENTITY graphviz-buildsize     "248 MB">
    1212  <!ENTITY graphviz-time          "0.7 SBU (using parallelism=4)">
    1313]>
     
    7373      </listitem>
    7474    </itemizedlist>
    75 <!--
    76     <note>
    77       <para>
    78         The <application>graphviz</application> source tarball shown above
    79         downloads to a non-versioned file name: graphviz.tar.gz.  It does
    80         expand to a versioned directory, graphviz-&graphviz-version;/.
    81         If you prefer to use a versioned tarball name, you can simply
    82         rename it or download the package with:
    83 
    84         <screen><userinput>wget -c &graphviz-download-http; \
    85      -O graphviz-&graphviz-version;.tar.gz</userinput></screen>.
    86         </para>
    87       </note>
    88 
    89     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    90     <itemizedlist spacing="compact">
    91       <listitem>
    92         <para>
    93           Optional patch to use <xref linkend="qt5"/>:
    94           <ulink url="&patch-root;/graphviz-&graphviz-version;-qt5-1.patch"/>
    95         </para>
    96       </listitem>
    97     </itemizedlist>
    98 -->
     75
    9976    <bridgehead renderas="sect3">Graphviz Dependencies</bridgehead>
    10077
     
    10582        rendering engine allows to generate several graphic formats, such as
    10683        Postscript, SVG, VML, .fig, and Tk. Those formats can be converted
    107         to almost any other, using for example tools from <xref role="nodep"
    108         linkend="imagemagick"/>. The dependencies below add the ability to
    109         generate graph images in bitmap format, to display the graph image on
    110         screen, to edit a graph by seeing directly the result image, or to view
    111         large graphs. Since <application>Graphviz</application> is a dependency
     84        to almost any other format using for example tools from
     85        <xref role="nodep" linkend="imagemagick"/>. The dependencies below add
     86        the ability to generate graph images in bitmap format, to display the
     87        graph image on screen, to edit a graph by viewing the resulting image
     88        directly, or to view large graphs. Since
     89        <application>Graphviz</application> is a dependency
    11290        of several other packages in this book, it is suggested to first build
    11391        it without any dependencies, then to rebuild it when you have built
     
    140118      formats, and is needed for displaying images
    141119    </para>
    142      
     120
    143121    <para role="optional">
    144122      Other formats may be added with
     
    164142
    165143    <para role="optional">
    166       <xref linkend="freeglut"/> (with <xref linkend="libglade"/>, 
     144      <xref linkend="freeglut"/> (with <xref linkend="libglade"/>,
    167145      <ulink url="https://sourceforge.net/projects/gtkglext/">GtkGLExt</ulink>, and
    168146      <ulink url="http://gts.sourceforge.net/">libGTS</ulink>, for building
     
    214192    <title>Installation of Graphviz</title>
    215193
    216 <!-- For every major version of Ruby, this has to be tweaked. See #11606
    217 
    218     <para>
    219       If <xref linkend="ruby"/> is installed, and you want to build Ruby
    220       bindings, fix ruby's detection:
    221     </para>
    222 
    223      Not sure about the above for version 2.42.1.  Seems to detect it OK.  I
    224      didn't see any reference to the specific ruby version.
    225 -->
    226 <!--<screen><userinput>sed -e '/ruby/s/1\.9/2.6/' -i configure.ac</userinput></screen>-->
    227 
    228 <!-- No patch required
    229     <para>
    230       If <xref linkend="qt5"/> is installed, and you want to build the
    231       <command>gvedit</command> graph editor, issue:
    232     </para>
    233 
    234 <screen><userinput>patch -p1 -i ../graphviz-&graphviz-version;-qt5-1.patch</userinput></screen>
    235 -->
    236194    <para>
    237195      Install <application>Graphviz</application> by running the following
     
    242200
    243201./autogen.sh              &amp;&amp;
    244 ./configure --prefix=/usr \
    245             --disable-php \
    246             PS2PDF=true   &amp;&amp;
     202./configure --prefix=/usr &amp;&amp;
    247203make</userinput></screen>
    248204
     
    274230
    275231    <para>
    276       <command>sed ... configure.ac</command>: This command is needed to 
     232      <command>sed ... configure.ac</command>: This command is needed to
    277233      avoid installing files in /usr/lib64.
    278234    </para>
     
    281237      <parameter>--disable-php</parameter>: This version of graphviz
    282238      does not support php version 8.
    283     </para>
    284 
    285     <para>
    286       <parameter>PS2PDF=true</parameter>: This is needed if <xref
    287       linkend="gs"/> is not installed. Otherwise, the build
    288       system tries to run <command>false</command>, which generates
    289       an error.
    290239    </para>
    291240
     
    306255
    307256    <para>
    308       <option>--with-smyrna</option>: Even if the needed dependencies are 
     257      <option>--with-smyrna</option>: Even if the needed dependencies are
    309258      installed, the interactive graph viewer <command>smyrna</command> is not
    310259      built without this option.
     
    361310          dot, dot2gxl, dot_builtins, dotty, edgepaint, fdp, gc, gml2gv,
    362311          graphml2gv, gv2gml, gv2gxl, gvcolor, gvedit, gvgen, gvmap, gvmap.sh,
    363           gvpack, gvpr, gxl2dot, gxl2gv, lefty, lneato, mm2gv, neato, nop,
     312          gvpack, gvpr, gxl2dot, gxl2gv, lneato, mm2gv, neato, nop,
    364313          osage, patchwork, prune, sccmap, sfdp, tred, twopi,
    365314          unflatten, and vimdot
    366315        </seg>
    367316        <seg>
    368           libcdt.so, libcgraph.so, libgvc.so, libgvpr.so, liblab_gamut.so, 
     317          libcdt.so, libcgraph.so, libgvc.so, libgvpr.so, liblab_gamut.so,
    369318          libpathplan.so, libxdot.so, and several plugins in /usr/lib/graphviz.
    370319          There are also several in subdirectories of
    371           /usr/lib/{lua,perl5,php,<!--python&python2-majorver;-->,python&python3-majorver;,tcl8.6}.
     320          /usr/lib/{lua,perl5, <!--php, -->python&python3-majorver;,tcl8.6}.
    372321          Unfortunately, some libraries are duplicated.
    373322        </seg>
     
    443392        <listitem>
    444393          <para>
    445             takes as input a graph in DOT format, finds node clusters
    446             and augments the graph with this information
     394            takes a graph in DOT format as input, finds node clusters
     395            and then augments the graph with this information
    447396          </para>
    448397          <indexterm zone="graphviz cluster">
     
    818767        <listitem>
    819768          <para>
    820             draws clustered graphs. As input, it takes any
    821             graph in the DOT format
     769            draws clustered graphs. It takes any graph in DOT format as input
    822770          </para>
    823771          <indexterm zone="graphviz osage">
     
    832780          <para>
    833781            draws clustered graphs using a squarified treemap layout.
    834             As input, it takes any graph in the DOT format
     782            It takes any graph in DOT format as input
    835783          </para>
    836784          <indexterm zone="graphviz patchwork">
     
    974922          <para>
    975923            provides a context for applications wishing to manipulate
    976             and render graphs. It provides a command line parsing,
     924            and render graphs. It provides command line parsing interfaces,
    977925            common rendering code, and a plugin mechanism for renderers
    978926          </para>
Note: See TracChangeset for help on using the changeset viewer.