Difference between revisions of "Graphviz"

From CBLFS
Jump to navigationJump to search
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-{{Graphviz-Version}}.tar.gz
 
| http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-{{Graphviz-Version}}.tar.gz
|-
 
!Download patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/graphviz/graphviz-{{Graphviz-Version}}-gd_fixes-1.patch
 
 
|}
 
|}
  
Line 55: Line 52:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../graphviz-{{Graphviz-Version}}-gd_fixes-1.patch &&
 
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 69: Line 65:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../graphviz-{{Graphviz-Version}}-gd_fixes-1.patch &&
 
 
  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 --host=$CLFS_TARGET32 &&
 
  ./configure --prefix=/usr --host=$CLFS_TARGET32 &&
Line 84: Line 79:
 
  sed -i -e "/PYTHON_LIBS=/s@/lib@&32@" \
 
  sed -i -e "/PYTHON_LIBS=/s@/lib@&32@" \
 
         -e '/RUBY_LIBS="/s/".*"/"-lruby"/g' configure &&
 
         -e '/RUBY_LIBS="/s/".*"/"-lruby"/g' configure &&
patch -Np1 -i ../graphviz-{{Graphviz-Version}}-gd_fixes-1.patch &&
 
 
  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 99: Line 93:
 
  sed -i -e "/PYTHON_LIBS=/s@/lib@&64@" \
 
  sed -i -e "/PYTHON_LIBS=/s@/lib@&64@" \
 
         -e '/RUBY_LIBS="/s/".*"/"-lruby"/g' configure &&
 
         -e '/RUBY_LIBS="/s/".*"/"-lruby"/g' configure &&
patch -Np1 -i ../graphviz-{{Graphviz-Version}}-gd_fixes-1.patch &&
 
 
  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 &&
Line 107: Line 100:
  
 
  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}
 +
|}

Revision as of 13:16, 28 September 2007

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}