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 52: Line 55:
 
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 65: Line 69:
 
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 79: Line 84:
 
  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 93: Line 99:
 
  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 &&

Revision as of 05:15, 5 May 2007

Download Source: http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.26.3.tar.gz
Download patch: http://svn.cross-lfs.org/svn/repos/patches/graphviz/graphviz-2.26.3-gd_fixes-1.patch

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:

patch -Np1 -i ../graphviz-2.26.3-gd_fixes-1.patch &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../graphviz-2.26.3-gd_fixes-1.patch &&
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 &&
patch -Np1 -i ../graphviz-2.26.3-gd_fixes-1.patch &&
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 &&
patch -Np1 -i ../graphviz-2.26.3-gd_fixes-1.patch &&
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
Retrieved from "?title=Graphviz&oldid=9887"