Difference between revisions of "Graphviz"

From CBLFS
Jump to navigationJump to search
 
 
(26 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.8.tar.gz
+
| http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-{{Graphviz-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. Automatic graph drawing has many important applications in software engineering, database and web design, networking, and in visual interfaces for many other domains.|http://www.graphviz.org/}}
  
 
== Dependencies ==
 
== Dependencies ==
 +
 +
=== Required ===
 +
 +
* [[Expat]]
 +
 +
=== Recommended ===
 +
 +
* [[Cairo]] (Required for [[Pango]])
 +
* [[FontConfig]] (Required for [[Pango]], optional for [[GD]])
 +
* [[FreeType]] (Required for [[Pango]], optional for [[GD]])
 +
* [[Glib2]] (Required for [[Pango]], optional for [[GD]])
 +
* [[libpng]] (Required for [[Cairo]], Optional for [[GD]])
 +
* [[Pango]]
  
 
=== Optional ===
 
=== Optional ===
 
* [[X Window System]]
 
* [[X Window System]]
 
* [[pkg-config]]
 
* [[pkg-config]]
* [[expat]]
 
* [[libpng]]
 
 
* [[libjpeg]]
 
* [[libjpeg]]
 
* [[FreeType]]
 
* [[FreeType]]
* [[Fontconfig]]
+
* [[FontConfig]]
 
* [[TCL]]
 
* [[TCL]]
 
* [[Tk]]
 
* [[Tk]]
* [[Electric Fence]]
+
* [[DUMA]]
 +
* [[GD]]
 +
 
 
=== Optional (Language Bindings) ===
 
=== Optional (Language Bindings) ===
* [[SWIG]] (Required to build bindings)
+
* [[SWIG]] (Required to build any bindings)
 
* [[Guile]]
 
* [[Guile]]
 
* [[JDK]]
 
* [[JDK]]
Line 28: Line 43:
 
* [[Ruby]]
 
* [[Ruby]]
 
* [[TCL]]
 
* [[TCL]]
* [[DotGNU Portable.NEW]] or [[Mono]]
+
* [[Mono]]
* [[lo]]
+
* [[io]]
 
* [[Lua]]
 
* [[Lua]]
 
* [[Objective Caml]]
 
* [[Objective Caml]]
Line 51: Line 66:
  
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --host=$CLFS_TARGET32 &&
 
  make
 
  make
  
Line 62: Line 77:
 
Compile the package:
 
Compile the package:
  
 +
sed -i -e "/PYTHON_LIBS=/s@/lib@&32@" \
 +
        -e '/RUBY_LIBS="/s/".*"/"-lruby"/g' configure &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
Line 74: Line 91:
 
Compile the package:
 
Compile the package:
  
 +
sed -i -e "/PYTHON_LIBS=/s@/lib@&64@" \
 +
        -e '/RUBY_LIBS="/s/".*"/"-lruby"/g' configure &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
 +
make
  
 
Install the package
 
Install the package
  
 
  make install
 
  make install
 +
 +
== Contents ==
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
!Installed Directories:
 +
|/usr/share/graphviz, /usr/lib/graphviz, /usr/include/graphviz
 +
|-valign="top"
 +
!Installed Programs:
 +
|prune, dotty, lneato, lefty, gvpr, gc, gvcolor, gxl2dot, acyclic, nop, ccomps, sccmap, tred, unflatten, gvpack, dijkstra, bcomps, dot
 +
|-valign="top"
 +
!Installed Libraries:
 +
|libgvc.{la,so}, libpathplan.{la,so}, libagraph.{la,so}, libgraph.{la,so}, libcdt.{la,so}, libgvc_builtins.{la,so}
 +
|}
 +
 +
[[Category:Programming]]

Latest revision as of 20:54, 11 April 2009

Download Source: http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.26.3.tar.gz

Introduction to Graphviz

Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. Automatic graph drawing has many important applications in software engineering, database and web design, networking, and in visual interfaces for many other domains.

Project Homepage: http://www.graphviz.org/

Dependencies

Required

Recommended

Optional

Optional (Language Bindings)

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --host=$CLFS_TARGET32 &&
make

Install the package

make install

N32

Compile the package:

sed -i -e "/PYTHON_LIBS=/s@/lib@&32@" \
       -e '/RUBY_LIBS="/s/".*"/"-lruby"/g' configure &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

sed -i -e "/PYTHON_LIBS=/s@/lib@&64@" \
       -e '/RUBY_LIBS="/s/".*"/"-lruby"/g' configure &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install

Contents

Installed Directories: /usr/share/graphviz, /usr/lib/graphviz, /usr/include/graphviz
Installed Programs: prune, dotty, lneato, lefty, gvpr, gc, gvcolor, gxl2dot, acyclic, nop, ccomps, sccmap, tred, unflatten, gvpack, dijkstra, bcomps, dot
Installed Libraries: libgvc.{la,so}, libpathplan.{la,so}, libagraph.{la,so}, libgraph.{la,so}, libcdt.{la,so}, libgvc_builtins.{la,so}