Author: pierre
Date: Tue Aug 29 05:43:57 2017
New Revision: 19135
Log:
Graphviz-2.40.1:
- patch for Qt5
- sed for ruby
- remove --disable-php
Modified:
trunk/BOOK/general/genutils/graphviz.xml
Modified: trunk/BOOK/general/genutils/graphviz.xml
==============================================================================
--- trunk/BOOK/general/genutils/graphviz.xml Tue Aug 29 05:39:52 2017
(r19134)
+++ trunk/BOOK/general/genutils/graphviz.xml Tue Aug 29 05:43:57 2017
(r19135)
@@ -73,17 +73,17 @@
</para>
</listitem>
</itemizedlist>
-<!--
+
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
- Required patch:
- <ulink
url="&patch-root;/graphviz-&graphviz-version;-consolidated_fixes-1.patch"/>
+ Optional patch to use <xref linkend="qt5"/>:
+ <ulink url="&patch-root;/graphviz-&graphviz-version;-qt5-1.patch"/>
</para>
</listitem>
</itemizedlist>
--->
+
<bridgehead renderas="sect3">Graphviz Dependencies</bridgehead>
<bridgehead renderas="sect4">Recommended</bridgehead>
@@ -104,7 +104,7 @@
<xref linkend="libglade"/>,
<xref linkend="gs"/>,
<xref linkend="gtk2"/>,
-<!-- Needs Qt4: <xref linkend="qt5"/>,-->
+ <xref linkend="qt5"/>,
<ulink url="http://openil.sourceforge.net/projects.php">DevIL</ulink>,
<ulink
url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric
Fence</ulink>,
<ulink url="http://sourceforge.net/projects/lasi/">libLASi</ulink>,
@@ -139,14 +139,28 @@
<title>Installation of Graphviz</title>
<para>
+ If <xref linkend="ruby"/> is installed, and you want to build Ruby
+ bindings, fix ruby's detection:
+ </para>
+
+<screen><userinput>sed -e '/ruby/s/1\.9/2.4/' -i
configure.ac</userinput></screen>
+
+ <para>
+ If <xref linkend="qt5"/> is installed, and you want to build the
+ <command>gvedit</command> graph editor, issue:
+ </para>
+
+<screen><userinput>patch -p1 -i
../graphviz-&graphviz-version;-qt5-1.patch</userinput></screen>
+
+ <para>
Install <application>Graphviz</application> by running the following
commands:
</para>
<screen><userinput>sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac &&
-autoreconf &&
-./configure --prefix=/usr --disable-php &&
+autoreconf &&
+./configure --prefix=/usr &&
make</userinput></screen>
<para>
@@ -180,11 +194,11 @@
<command>sed ... configure.ac</command>: This command is needed to
avoid installing files in /usr/lib64.
</para>
-
+<!-- Seems php bindings can be built now (not tested)
<para>
- <parameter>--disable-php</parameter>: This version of graphviz
+ <parameter>- -disable-php</parameter>: This version of graphviz
does not support php version 7.
- </para>
+ </para>-->
<para>
<option>--with-javaincludedir="$JAVA_HOME/include
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page