diff --git a/buildout/profiles/official-2.12.cfg b/buildout/profiles/official-2.12.cfg index ae4b12f039e965ca40cf41575e7889a2591d2fe7..fba4c595f24e70e0fcfe5b8783e0b6e7a7c2ea10 100644 --- a/buildout/profiles/official-2.12.cfg +++ b/buildout/profiles/official-2.12.cfg @@ -9,6 +9,7 @@ extends = ../software-profiles/erp5-2.12.cfg ../software-profiles/file.cfg ../software-profiles/garbage-collector.cfg + ../software-profiles/graphviz.cfg ../software-profiles/tokyocabinet.cfg ../software-profiles/haproxy.cfg ../software-profiles/imagemagick.cfg @@ -38,6 +39,7 @@ parts = rdiff-backup apache file + graphviz memcached haproxy varnish diff --git a/buildout/profiles/official.cfg b/buildout/profiles/official.cfg index 4eb96465f6e97fe5aedd9d265ad383375c6ed79f..99b8f19bb1f95db75c4c477322bbf03e3bf55e56 100644 --- a/buildout/profiles/official.cfg +++ b/buildout/profiles/official.cfg @@ -11,6 +11,7 @@ extends = ../software-profiles/erp5.cfg ../software-profiles/file.cfg ../software-profiles/garbage-collector.cfg + ../software-profiles/graphviz.cfg ../software-profiles/tokyocabinet.cfg ../software-profiles/haproxy.cfg ../software-profiles/imagemagick.cfg @@ -42,6 +43,7 @@ parts = rdiff-backup apache file + graphviz memcached haproxy varnish diff --git a/buildout/software-profiles/graphviz.cfg b/buildout/software-profiles/graphviz.cfg index d86fc6a443cc981cc9677982fc3984d62c86c41b..55ce032a2472aac6d79fa269a903ef0ddc99f667 100644 --- a/buildout/software-profiles/graphviz.cfg +++ b/buildout/software-profiles/graphviz.cfg @@ -1,2 +1,51 @@ +# Graphviz - Graph Visualization Software +# http://www.graphviz.org/ + [buildout] -# placeholder for graphviz software +parts = + graphviz +extends = + ../software-profiles/libpng.cfg + ../software-profiles/libtool.cfg + ../software-profiles/zlib.cfg + +[graphviz] +recipe = hexagonit.recipe.cmmi +url = http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.26.3.tar.gz +md5sum = 6f45946fa622770c45609778c0a982ee +configure-options = + --with-ltdl-include=${libtool:location}/include + --with-ltdl-lib=${libtool:location}/lib + --with-pngincludedir=${libpng:location}/include + --with-pnglibdir=${libpng:location}/lib + --with-zincludedir=${zlib:location}/include + --with-zlibdir=${zlib:location}/lib + --disable-swig + --disable-sharp + --disable-guile + --disable-io + --disable-java + --disable-lua + --disable-ocaml + --disable-perl + --disable-php + --disable-python + --disable-r + --disable-ruby + --disable-tcl + --without-x + --without-expat + --without-devil + --without-rsvg + --without-ghostscript + --without-visio + --without-pangocairo + --without-lasi + --without-glitz + --without-freetype2 + --without-fontconfig + --without-jpeg + --without-glut +environment = + CFLAGS =-I${zlib:location}/include + LDFLAGS =-L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib diff --git a/buildout/tests/assertSoftware.py b/buildout/tests/assertSoftware.py index 67b54ac4eeaf592c3e559609184f981b430a4540..e435a3ff846960eeaddb018a8657a8ce8b3f6396 100644 --- a/buildout/tests/assertSoftware.py +++ b/buildout/tests/assertSoftware.py @@ -2145,6 +2145,37 @@ class AssertGit(AssertSoftwareMixin): 'zlib', ]) +class AssertGraphviz(AssertSoftwareMixin): + def test_ld_dot(self): + self.assertLibraryList('parts/graphviz/bin/dot', [ + 'libc', + 'libcdt', + 'libdl', + 'libgraph', + 'libgvc', + 'libm', + 'libpathplan', + 'libxdot', + 'libz', + ], [ + 'zlib', + 'graphviz', + ]) + def test_ld_libgvc(self): + self.assertLibraryList('parts/graphviz/lib/libgvc.so', [ + 'libc', + 'libcdt', + 'libdl', + 'libgraph', + 'libm', + 'libpathplan', + 'libxdot', + 'libz', + ], [ + 'zlib', + 'graphviz', + ]) + class AssertElfLinkedInternally(AssertSoftwareMixin): def test(self): result_dict = {}