ChangeLog

# ChangeLog for media-gfx/graphviz
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.163 2008/07/04 21:34:32 maekke Exp $

*graphviz-2.20.2 (04 Jul 2008)

04 Jul 2008; Markus Meier +graphviz-2.20.2.ebuild:
bump to graphviz-2.20.2 (bug #230227) and readd cairo USE-flag (bug
#230683)

24 May 2008; Markus Meier -graphviz-2.16.1-r4.ebuild:
old

18 May 2008; Jeroen Roovers graphviz-2.18.ebuild:
Stable for HPPA (bug #221843).

14 May 2008; Markus Meier graphviz-2.18.ebuild:
amd64 stable, bug #221843

13 May 2008; Raúl Porcel graphviz-2.18.ebuild:
alpha/ia64 stable wrt #221843

13 May 2008; Joseph Jezak graphviz-2.18.ebuild:
Marked ppc/ppc64 stable for bug #221843.

12 May 2008; Christian Faulhammer graphviz-2.18.ebuild:
stable x86, bug 221843

11 May 2008; Markus Meier graphviz-2.12.ebuild,
graphviz-2.16.1.ebuild, graphviz-2.16.1-r4.ebuild, graphviz-2.18.ebuild:
add missing flex dependency, bug #221391

12 Apr 2008; Markus Meier graphviz-2.18.ebuild:
add java USE-flag for bug #186372 and disable R-bindings for bug #213825

10 Apr 2008; Markus Meier -graphviz-2.16.1-r1.ebuild,
-graphviz-2.16.1-r2.ebuild, -graphviz-2.16.1-r3.ebuild:
old

10 Apr 2008; Kenneth Prugh
graphviz-2.16.1-r4.ebuild:
amd64 stable, bug #216580

07 Apr 2008; Brent Baude graphviz-2.16.1-r4.ebuild:
stable ppc, bug 216580

07 Apr 2008; Raúl Porcel graphviz-2.16.1-r4.ebuild:
alpha/ia64/sparc stable wrt #216580

07 Apr 2008; Brent Baude graphviz-2.16.1-r4.ebuild:
stable ppc64, bug 216580

07 Apr 2008; Jeroen Roovers graphviz-2.16.1-r4.ebuild:
Stable for HPPA (bug #216580).

07 Apr 2008; Dawid Węgliński graphviz-2.16.1-r4.ebuild:
Stable on x86 (bug #216580)

16 Mar 2008; Markus Meier graphviz-2.18.ebuild:
don't trust the cp...

*graphviz-2.18 (16 Mar 2008)

16 Mar 2008; Markus Meier +graphviz-2.18.ebuild:
version bump (reported in bug #213609), this should also fix the
libtool-2.2 breakage (bug #212755). Our patches aren't needed anymore, I
sent them to upstream.

*graphviz-2.16.1-r4 (15 Mar 2008)

15 Mar 2008; Markus Meier
+files/graphviz-2.16.1-python-345.patch, +graphviz-2.16.1-r4.ebuild:
fix (dead) python bindings, bug #212872

11 Mar 2008; graphviz-2.12.ebuild:
Drop to ~mips due to unstable deps

01 Mar 2008; Christoph Mende
graphviz-2.16.1-r3.ebuild:
Stable on amd64, bug #210197

17 Feb 2008; nixnut graphviz-2.16.1-r3.ebuild:
Stable on ppc wrt bug 210197

17 Feb 2008; Raúl Porcel graphviz-2.16.1-r3.ebuild:
alpha/ia64 stable wrt #210197

16 Feb 2008; Jeroen Roovers graphviz-2.16.1-r3.ebuild:
Stable for HPPA (bug #210197).

15 Feb 2008; nixnut ChangeLog:
Stable on ppc wrt bug 210197

15 Feb 2008; Brent Baude graphviz-2.16.1-r3.ebuild:
stable ppc64, bug 210197

14 Feb 2008; Ferris McCormick
graphviz-2.16.1-r3.ebuild:
Sparc stable, Bug #210197, good for a month now.

14 Feb 2008; Markus Meier graphviz-2.16.1-r3.ebuild:
x86 stable, bug #210197

*graphviz-2.16.1-r3 (11 Jan 2008)

11 Jan 2008; Markus Meier +graphviz-2.16.1-r3.ebuild:
this revision removes cairo and X USE-fag as they are pretty redundant and
should simplify things. bug #202781 should now be covered without these
flags.

03 Jan 2008; Markus Meier graphviz-2.16.1-r2.ebuild:
sanitize built_with_use checks for media-libs/gd, thanks jakub in bug #204153

29 Dec 2007; Markus Meier
+files/graphviz-2.16.1-tcltk.patch, graphviz-2.16.1-r2.ebuild:
fix building with tcl/tk-8.5, bug #181526

*graphviz-2.16.1-r2 (21 Dec 2007)

21 Dec 2007; Robin H. Johnson
+files/graphviz-2.16.1-pango-optional.patch, +graphviz-2.16.1-r2.ebuild:
Make pango+cairo optional again with a patch. Need to send to upstream still.

20 Dec 2007; Markus Meier graphviz-2.16.1.ebuild,
graphviz-2.16.1-r1.ebuild:
check that cairo is built with USE=svg, bug #202781

*graphviz-2.16.1-r1 (19 Dec 2007)

19 Dec 2007; Robin H. Johnson
+files/graphviz-2.16.1-python-buildfix.patch, +graphviz-2.16.1-r1.ebuild:
Fixes: Bug #202536 - pango is needed to build the dot tool now, to large
alteration of RDEPEND. Bug #202618 - parallel compile fix for TCL bindings.
s390 dropped due to missing dependancies.

17 Dec 2007; Fabian Groffen graphviz-2.12.ebuild:
Dropped ppc-macos keyword, see you in prefix

16 Dec 2007; Ryan Hill Manifest:
Fix Manifest.

*graphviz-2.16.1 (16 Dec 2007)

16 Dec 2007; Ryan Hill
+files/graphviz-2.16.1-bindings.patch,
+files/graphviz-2.16.1-gcc43-missing-includes.patch,
+graphviz-2.16.1.ebuild:
Version bump. Fixes:

167896 - media-gfx/graphviz-2.12 error -- fontconfig: Didn't find expected
font family
181147 - media-gfx/graphviz missing PNG/JPEG support unless media-libs/gd
was built w/ USE="png jpeg"
189597 - media-gfx/graphviz rename USE-flag pango to cairo
195983 - media-gfx/graphviz : Compilation error - gv_python.cpp
202446 - media-gfx/graphviz build error with GCC 4.3

Dropped m68k and ppc-macos keywords due to missing dependencies. (202529)

14 Nov 2007; Petteri Räty
-files/graphviz-1.16-build.patch, -files/graphviz-1.16-common_h.patch,
-files/graphviz-1.16-tempdir.patch, -files/graphviz-2.6-macos.patch,
-files/graphviz-2.8-notcl.patch, -graphviz-1.16-r1.ebuild,
-graphviz-2.6-r1.ebuild, -graphviz-2.8-r2.ebuild:
Remove old versions.

24 Jul 2007; Markus Ullmann
+files/graphviz-2.12-parallel-build.patch, graphviz-2.12.ebuild:
Add parallel build fix from bug #173676 thanks to Axel Dyks

22 Jul 2007; Donnie Berkholz ;
graphviz-2.6-r1.ebuild:
Drop virtual/x11 references.

12 Jul 2007; Roy Marples graphviz-2.12.ebuild:
Keyworded ~sparc-fbsd.

12 Jul 2007; Roy Marples graphviz-2.12.ebuild:
Keyworded ~sparc-fbsd.

23 Jun 2007; Joshua Kinard graphviz-2.12.ebuild:
Stable on mips.

01 Apr 2007; Jose Luis Rivero graphviz-2.12.ebuild:
alpha stable wrt bug #165460

01 Apr 2007; Tiziano Müller graphviz-2.12.ebuild:
Changed glib-dependency to match only glib-2* (bug #167235)

17 Mar 2007; Steve Dibb graphviz-2.12.ebuild:
amd64 stable, bug 165460

16 Mar 2007; nixnut graphviz-2.12.ebuild:
Stable on ppc wrt bug 165460

13 Mar 2007; Gustavo Zacarias graphviz-2.12.ebuild:
Stable on sparc wrt #165460

12 Mar 2007; Markus Rothe graphviz-2.12.ebuild:
Stable on ppc64; bug #165460

12 Mar 2007; Jeroen Roovers graphviz-2.12.ebuild:
Stable for HPPA (bug #165460).

06 Mar 2007; Mike Frysinger graphviz-2.8-r2.ebuild:
Drop fly #165460.

05 Mar 2007; Tiziano Müller
+files/graphviz-2.12-bindings.patch, graphviz-2.12.ebuild:
Re-enabling the perl,python,ruby bindings, thanks to a patch written by
dleverton

03 Mar 2007; Tiziano Müller graphviz-2.12.ebuild:
Added a sed-patch to nuke the dead binding-symlinks.

03 Mar 2007; Tiziano Müller
+files/graphviz-2.12-configure.patch, files/graphviz-2.12-notcl.patch,
graphviz-2.12.ebuild:
Dropped all bindings except the one for tcl since it is needed for the tools
to work. Cleanups and documentation.

19 Feb 2007; Chris Bainbridge graphviz-2.12.ebuild:
Remove AM_ICONV macro from configure on non-nls builds, bug #155791

19 Feb 2007; Chris Bainbridge graphviz-2.12.ebuild:
Add depend on glib, bug #167235

19 Feb 2007; Chris Bainbridge graphviz-2.8-r2.ebuild,
graphviz-2.12.ebuild:
Depend on swig-1.3.31 when using lua or ocaml binding, bug #161600

19 Feb 2007; Chris Bainbridge graphviz-1.16-r1.ebuild:
Remove unsupported 'dot -c', bug #130418

16 Feb 2007; Chris Bainbridge graphviz-2.8-r2.ebuild,
graphviz-2.12.ebuild:
Fix guile DEPEND, #135625

15 Feb 2007; Christian Faulhammer graphviz-2.12.ebuild:
stable x86; bug 165460

15 Feb 2007; Chris Bainbridge graphviz-2.8-r1.ebuild,
graphviz-2.8-r2.ebuild:
Fix DEPEND on
*graphviz-2.12 (12 Feb 2007)

12 Feb 2007; Tiziano Müller
-files/graphviz-1.12-build.patch, -files/graphviz-2.4.conf,
+files/graphviz-2.12-find-system-libgd.patch,
+files/graphviz-2.12-notcl.patch, -files/gdgen.c.patch,
-graphviz-1.10.ebuild, -graphviz-1.12.ebuild, -graphviz-1.12-r1.ebuild,
-graphviz-1.16.ebuild, -graphviz-2.2.ebuild, -graphviz-2.2.1.ebuild,
-graphviz-2.2.1-r1.ebuild, -graphviz-2.4.ebuild, -graphviz-2.6.ebuild,
-graphviz-2.8.ebuild, +graphviz-2.12.ebuild:
Version bump (bug #161302), fixes bug #160012. Cleanup (bug #160012).

11 Feb 2007; Christian Faulhammer
graphviz-1.16-r1.ebuild, graphviz-2.2.1.ebuild, graphviz-2.8-r1.ebuild,
graphviz-2.8-r2.ebuild:
moved from USE flag tcltk to split tcl and tk, see bug 17808

10 Jan 2007; Piotr Jaroszyński Manifest:
Fix Manifest.

10 Jan 2007; graphviz-2.8-r2.ebuild:
Dependency update: dev-util/guile -> dev-scheme/guile.

07 Jan 2007; Bryan Østergaard graphviz-2.8-r2.ebuild:
Fix python-2.5 related issue, bug 148656.

05 Jan 2007; Diego Pettenò graphviz-1.10.ebuild,
graphviz-1.12.ebuild, graphviz-1.12-r1.ebuild, graphviz-1.16.ebuild,
graphviz-1.16-r1.ebuild, graphviz-2.2.ebuild:
Remove gnuconfig_update usage, leave it to econf.

19 Oct 2006; Bryan Østergaard graphviz-2.8-r2.ebuild:
Stable on Alpha.

06 Oct 2006; Mike Frysinger graphviz-2.8-r2.ebuild:
Fix #134834 properly by forcing LC_ALL instead of LC_COLLATE.

25 Sep 2006; Luca Barbato graphviz-2.8-r2.ebuild:
dont depend on swig if you arent building bindings

*graphviz-2.8-r2 (24 Sep 2006)

24 Sep 2006; Luca Barbato +graphviz-2.8-r2.ebuild:
fix libtool/autotools deps and language binding bug #142712 and bug #148733,
thanks to the respective reporters

*graphviz-2.8-r1 (21 Sep 2006)

21 Sep 2006; Chris Bainbridge +graphviz-2.8-r1.ebuild:
Fix #134834

14 Sep 2006; Danny van Dyk graphviz-2.8.ebuild:
Marked stable on amd64.

13 Sep 2006; graphviz-2.8.ebuild:
Stable on x86, bug 138937.

10 Sep 2006; Stephanie Lockwood-Childs
graphviz-2.8.ebuild:
stable on ppc (Bug #138937)

04 Sep 2006; Gustavo Zacarias graphviz-2.8.ebuild:
Stable on sparc wrt #138937

02 Sep 2006; Jeroen Roovers graphviz-2.8.ebuild:
Stable for HPPA (bug #138937).

12 Aug 2006; Markus Rothe graphviz-2.8.ebuild:
Stable on ppc64; bug #138937

13 Jul 2006; Aron Griffis graphviz-2.8.ebuild:
Mark 2.8 stable on ia64

05 Jul 2006; Luca Barbato graphviz-2.6-r1.ebuild:
Move to split tck and tk useflag, thanks to Fabian Groffen
for the fix about tclsh, bug #139333

03 Jul 2006; Lars Weiler graphviz-2.6-r1.ebuild:
Stable on ppc; needed for bug #138937.

29 May 2006; Steve Arnold
+files/graphviz-2.8-notcl.patch, graphviz-2.8.ebuild:
Added notcl patch and minimal use flag.

28 May 2006; Steve Arnold graphviz-2.4.ebuild,
graphviz-2.6.ebuild, graphviz-2.6-r1.ebuild, graphviz-2.8.ebuild:
Added missing tcl depends to 2.4 and above (not sure why it was
missing).

28 May 2006; Steve Arnold graphviz-2.8.ebuild:
Made swig a hard dep for now (feel free to suggest additional ways
to handle the language bindings).

28 May 2006; Steve Arnold graphviz-2.4.ebuild,
graphviz-2.6.ebuild, graphviz-2.6-r1.ebuild, graphviz-2.8.ebuild:
fixed deps and made gd external (per upstream recommendation)

*graphviz-2.8 (28 May 2006)

27 May 2006; Steve Arnold graphviz-2.4.ebuild,
graphviz-2.6.ebuild, graphviz-2.6-r1.ebuild, +graphviz-2.8.ebuild:
Fixes and updates for bugs 123279, 120012, 132165, and 132689, but not yet
cleaning up any packages. Stable bumps for known working versions.

27 Apr 2006; Marien Zwart files/digest-graphviz-1.10,
files/digest-graphviz-1.12, files/digest-graphviz-1.12-r1,
files/digest-graphviz-1.16, files/digest-graphviz-1.16-r1,
files/digest-graphviz-2.2, files/digest-graphviz-2.2.1,
files/digest-graphviz-2.2.1-r1, files/digest-graphviz-2.4,
files/digest-graphviz-2.6, files/digest-graphviz-2.6-r1, Manifest:
Fixing SHA256 digest, pass four

04 Apr 2006; Diego Pettenò graphviz-2.6-r1.ebuild:
Add ~x86-fbsd keyword.

*graphviz-2.6-r1 (22 Jan 2006)

22 Jan 2006; Marcelo Goes +graphviz-2.6-r1.ebuild:
Fix docs installation path for bug 117011. Thanks to Chris Mayo clara dot co dot uk>.

05 Jan 2006; Mike Frysinger graphviz-1.16-r1.ebuild,
graphviz-2.6.ebuild:
Remove gettext from DEPEND as it is no longer needed and spread the SuperH
love.

20 Nov 2005; Luca Barbato
files/graphviz-1.16-tempdir.patch:
Fixes bug #113044

11 Nov 2005; Luca Barbato
files/graphviz-1.16-tempdir.patch:
Patch fixed

10 Nov 2005; Luca Barbato
files/graphviz-1.16-tempdir.patch:
Updated patch as requested in bug #108690

09 Nov 2005; Fabian Groffen
+files/graphviz-2.6-macos.patch, graphviz-2.6.ebuild:
Define 'environ' so linking actually succeeds on OSX (bug #111504)

03 Nov 2005; Luca Barbato graphviz-1.16-r1.ebuild:
Backport 2.6 postinst

31 Oct 2005; Lina Pezzella
+files/graphviz-2.6-no-undefined.patch, graphviz-2.4.ebuild,
graphviz-2.6.ebuild:
Fix for undefined symbols on ppc-macos. Conditional on OS in Makefile rather
than the ebuild. Keyworded testing ppc-macos.

28 Oct 2005; Bryan Østergaard graphviz-2.6.ebuild:
Add ~alpha + ~ia64 keywords.

28 Oct 2005; Simon Stelling graphviz-1.16-r1.ebuild:
stable on amd64 wrt bug 108690

26 Oct 2005; Lina Pezzella graphviz-2.4.ebuild:
Testing ppc-macos

25 Oct 2005; Rene Nussbaumer graphviz-2.6.ebuild:
Unstable on hppa.

*graphviz-1.16-r1 (24 Oct 2005)

24 Oct 2005; Luca Barbato +graphviz-1.16-r1.ebuild:
revbump

24 Oct 2005; Luca Barbato
+files/graphviz-1.16-tempdir.patch, graphviz-1.16.ebuild:
Fix for bug #108690

24 Sep 2005; Mark Loeser graphviz-1.10.ebuild,
graphviz-1.12.ebuild, graphviz-1.12-r1.ebuild, graphviz-1.16.ebuild,
graphviz-2.2.ebuild, graphviz-2.2.1.ebuild, graphviz-2.2.1-r1.ebuild,
graphviz-2.4.ebuild, graphviz-2.6.ebuild:
Added sys-devel/gettext to DEPEND; bug #81395

*graphviz-2.6 (15 Sep 2005)

15 Sep 2005; Steve Arnold +graphviz-2.6.ebuild:
added latest version for doxygen and bug #105041, and added ~sparc back;
modified user-submitted ebuild from Dick Marinus (thanks!)

13 Sep 2005; Aron Griffis graphviz-1.16.ebuild:
Mark 1.16 stable on alpha

24 Aug 2005; Aron Griffis graphviz-1.16.ebuild:
stable on ia64

21 Aug 2005; Marcelo Goes -graphviz-2.4-r1.ebuild:
Removing this revision bump as it does not fix bug 101337 at all.

*graphviz-2.4-r1 (21 Aug 2005)

21 Aug 2005; Marcelo Goes
+files/graphviz-2.4.conf, +graphviz-2.4-r1.ebuild:
Revision bump. Install a sample configuration file for bug 101337. Thanks to
everyone participating in the bug.

13 Aug 2005; Marcelo Goes graphviz-1.10.ebuild:
Use mirror://gentoo for src_uri since this version is no longer available in
upstream servers. Fixes bug 64593. Thanks to and
others.

*graphviz-2.4 (02 Aug 2005)

02 Aug 2005; +graphviz-2.4.ebuild:
Version bump, bug #99802

02 Aug 2005; graphviz-1.16.ebuild,
graphviz-2.2.1-r1.ebuild:
pdf files doesn't need to be gziped, bug #97095

01 Aug 2005; graphviz-1.16.ebuild:
Added -a switch to automake to add missing files, cought by Volkov Peter
in bug #100593

12 Jul 2005; Stephen P. Becker graphviz-1.16.ebuild:
stable on mips

*graphviz-2.2.1-r1 (26 Jun 2005)

26 Jun 2005; Luca Barbato graphviz-2.2.1.ebuild,
+graphviz-2.2.1-r1.ebuild:
Make sure that every arch has a 2.2.1

26 Jun 2005; Luca Barbato graphviz-2.2.1.ebuild:
New version, kindly provided by John Ellson in bug
#89403

20 Jun 2005; Rene Nussbaumer graphviz-1.16.ebuild:
Stable on hppa.

14 Jun 2005; Jason Wever graphviz-2.2.1.ebuild:
Added ~sparc keyword because pplz didn't love us enough to keep our keyword
in there :(

06 Jun 2005; Markus Rothe graphviz-1.16.ebuild:
Stable on ppc64

05 Jun 2005; Michael Hanselmann graphviz-1.16.ebuild:
Stable on ppc.

31 May 2005; Lina Pezzella graphviz-1.16.ebuild:
Stable ppc-macos

30 May 2005; Gustavo Zacarias graphviz-1.16.ebuild:
Stable on sparc, for real

30 May 2005; Steve Arnold graphviz-1.12.ebuild,
graphviz-1.12-r1.ebuild, graphviz-1.16.ebuild:
updating for doxygen; all 1.x versions work fine on x86 and sparc

*graphviz-2.2.1 (18 May 2005)

18 May 2005; Luca Barbato +graphviz-2.2.1.ebuild:
New Version

*graphviz-2.2 (20 Mar 2005)

20 Mar 2005; Luca Barbato +graphviz-2.2.ebuild:
New version

20 Feb 2005; Sven Wegener graphviz-1.16.ebuild:
Added missing digest entries. Made the graphviz-1.16-panic.patch.tar.bz2
SRC_URI dependant on the ppc-macos flag.

18 Feb 2005; Lina Pezzella
+files/graphviz-1.16-common_h.patch, +files/graphviz-1.16-panic.patch,
graphviz-1.16.ebuild:
Patched to build on ppc-macos

18 Dec 2004; Luca Barbato
+files/graphviz-1.16-build.patch, graphviz-1.16.ebuild:
Fix gcc-3.4 compatibility, thanks to Rodolfo Boer for
the patch

14 Dec 2004; Robin H. Johnson graphviz-1.16.ebuild:
Can't seperate out GD yet, still a few bugs.

*graphviz-1.16 (14 Dec 2004)

14 Dec 2004; Robin H. Johnson graphviz-1.12-r1.ebuild,
graphviz-1.16:
Bugs #58592, #73218.

07 Nov 2004; Karol Wojtaszek
graphviz-1.10.ebuild, graphviz-1.12-r1.ebuild, graphviz-1.12.ebuild:
Fixed URI_SRC to download new configure script. bug #70086 and fixed LICENCEs

*graphviz-1.12-r1 (25 Jul 2004)

25 Jul 2004; Robin H. Johnson :
bug #58028, improved to be cleaner.

*graphviz-1.12 (22 Jul 2004)

22 Jul 2004; Aron Griffis graphviz-1.10.ebuild:
Update SRC_URI #53602, bump to 1.12 #52343, run gnuconfig_update in src_unpack

20 Jul 2004; Tom Gall graphviz-1.10.ebuild:
stable on ppc64, bug #57163

05 Jun 2004; Stephen P. Becker graphviz-1.10.ebuild:
Added gnuconfig tweak for mips.

03 Jun 2004; Stephen P. Becker graphviz-1.10.ebuild:
Stable on mips.

25 Apr 2004; Aron Griffis graphviz-1.10.ebuild:
Add die following econf for bug 48950

24 Apr 2004; Bret Curtis graphviz-1.10.ebuild:
Added to ~mips

27 Jan 2004; graphviz-1.10.ebuild:
marked stable on sparc

15 Jan 2004; graphviz-1.10.ebuild:
stable on alpha and ia64

06 Dec 2003; Caleb Tennis graphviz-1.10.ebuild,
graphviz-1.9.ebuild:
Changed dep versions ( >=pkg-ver* to >=pkg-ver ) fixing bug 35193

16 Nov 2003; Brad House graphviz-1.8.10-r3.ebuild,
graphviz-1.8.10.ebuild:
mark stable on amd64

16 Nov 2003; Brad House graphviz-1.10.ebuild:
add ~amd64 flag

10 Oct 2003; Marius Mauch graphviz-1.10.ebuild:
small fix to make sort from coreutils-5 happy

*graphviz-1.10 (27 Sep 2003)

27 Sep 2003; Markus Nigbur graphviz-1.10.ebuild,
Bump

*graphviz-1.9 (22 Feb 2003)

27 Sep 2003; Markus Nigbur graphviz-1.9.ebuild,
Fixed SRC_URI (bug #29749)

16 Jun 2003; Will Woods graphviz-1.9.ebuild:
added alpha to KEYWORDS.

05 May 2003; Luca Barbato <@gentoo.org> graphviz-1.9.ebuild:
Added ppc to keywords.

24 Apr 2003; Stanislav Brabec graphviz-1.9.ebuild:
Fixed DEPEND for tk-8.4.

06 Apr 2003; Jason Wever graphviz-1.9.ebuild:
Added sparc to keywords.

19 Mar 2003; George Shapovalov graphviz-1.9.ebuild :
1.9 cannot be built with gcc-2.95.x. (#16018)
added >=sys-devel/gcc-3.2* to DEPEND and
22 Feb 2003; George Shapovalov graphviz-1.9.ebuild :
new version (#15923)
now compiles against libpng-1.2!
ebuild submitted by Tom Payne

*graphviz-1.8.10-r3 (21 Jan 2003)

19 Mar 2003; Jason Wever graphviz-1.8.10-r3.ebuild:
Added ~sparc to keywords.

13 Mar 2003; Olivier Reisch graphviz-1.8.10-r3.ebuild :
Marked ppc stable

21 Jan 2003; George Shapovalov graphviz-1.8.10-r3.ebuild :
Another libpng-1.0 related fix. Now made sure all -lpng are replaced by lpng10, as quite often
gcc tries to link against libpng.so.3 instead of libpng.so.2. See #12433.
As the fixed problem tends to lead to silent failures, -r bumping the ebuild to force rebuild.

*graphviz-1.8.10-r2 (14 Jan 2003)

14 Jan 2003; George Shapovalov graphviz-1.8.10-r2.ebuild :

Following up on seemant's fix to libpng-1.0 series upated the graphviz ebuild to link against correct
version of libpng. Please see #10726 for more details.

*graphviz-1.8.10-r1 (10 Nov 2002)

10 Nov 2002; George Shapovalov graphviz-1.8.10-r1.ebuild, files/ :

removed libpng dependency and made package compile without libpng.
Reason: at the moment this is the only app left in portage that depends on libpng-1.0
series (often won't compile against 1.2) and libpng-1.0 is creating a lot of trouble
for example with kdelibs. See #10726 for details.

*graphviz-1.8.10 (10 Nov 2002)

10 Nov 2002; George Shapovalov graphviz-1.8.10.ebuild :
new version.
Fixes some weird issue, possibly libpng related. This app still depends on libpng-1.0.x!!
Corrected the dependency. See #9702 for more details.

*graphviz-1.7.15-r2 (12 Apr 2002)

14 Aug 2002; Pieter Van den Abeele :
Added ppc keyword

12 Apr 2002; Seemant Kulleen graphviz-1.7.15-r2.ebuild :

Compile against newest libpng

*graphviz-1.7.15-r1 (1 Feb 2002)

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX graphviz-2.12-bindings.patch 4589 RMD160 129ec88bc42df0555ac96abfa9bf8d4e48378b6c SHA1 1f591d4a9e884fdc6181aad822eab9f06832901b SHA256 75120e3c7d9636fc35e2802d7c1b9902faa5e901a17ab88f939a020970776820
AUX graphviz-2.12-configure.patch 856 RMD160 3d1fe3d11498629bb7738d5219a824857830a5e9 SHA1 d420c55e28bbcdbf030ff203f0581b40bbceca3e SHA256 660a8df758487f21810e6d7fa647221d4443463eca2c2053399b2e782b208348
AUX graphviz-2.12-find-system-libgd.patch 379 RMD160 0e9fc08b07c038986955353f7063fd954e70b5ab SHA1 b1a6f1f950a0e7484960f6604e9b0d9469e71633 SHA256 b578b083ae55b959f6aac0208296aaa5513627802441e5a4a79ed4f09d26ccb8
AUX graphviz-2.12-notcl.patch 642 RMD160 69410279e9349670cbc590f5796092dca49e067e SHA1 9ebf6c41ad1b20f14a0eb05f68968e600306ac42 SHA256 708ad5531ca4342213728e609ab3c28b15912743c8faf412d102ffadc7d2f478
AUX graphviz-2.12-parallel-build.patch 3050 RMD160 61e104de3f8a7823b6c9669a9e70c3f61b81ba2b SHA1 c2a7e53e0922daaa147134e6e76566e3fc495ba9 SHA256 8a5bba5cd9f158b3db962d0198e6138560dcc8ce198fdbfade8765d9a162fa9c
AUX graphviz-2.16.1-bindings.patch 3849 RMD160 080b84194707b4e7621bcf1cfc32bf5f15ca7342 SHA1 973c75b8696eba5f44901ab758595a5f50177433 SHA256 a2244ceb69eb41a88dd9bec15629192cf49b80d3c153c44a3942d7b794be07d8
AUX graphviz-2.16.1-gcc43-missing-includes.patch 673 RMD160 64793cdf37eb24c3dd3dcfee99b617e34bd4b04c SHA1 f45d4b931490f8722d296dde582239f2299e8a0d SHA256 d9e90951abe96095727e39316d977ff59fdd3cf94e4be2e2fde9aa7526532403
AUX graphviz-2.16.1-pango-optional.patch 7232 RMD160 ec214317f51f230008b577bbbf7c1d513dcfe82c SHA1 bfc9f8baca11795d617acb129f176997507fdc2d SHA256 5ac9bf5eb961fae07793e2a95ddd4b73531b76ff54e125c60575c88ad905e567
AUX graphviz-2.16.1-python-345.patch 776 RMD160 93a02790f3ee6c02c7182830e84a1fee19746591 SHA1 96dae2b1663bb03fbfa872e9160da120bc09ec09 SHA256 2dea46d50b959808acdb8e1b8f24ddac8182340291baf4a36cb8abb3d0cefb01
AUX graphviz-2.16.1-python-buildfix.patch 642 RMD160 4379fcaea7296e4d550477462a3d54f5229569c2 SHA1 ed58b8cfde1fc57ecfc930ffa2a012590c8d3e73 SHA256 fc441375a916bf6f68a6ad4aaaadb6ad8a24b2d801499f7e01ace8ac702552c8
AUX graphviz-2.16.1-tcltk.patch 623 RMD160 13c3764098a6229cef869962f9604737c97d7bae SHA1 905e2890106d7d8d9356f3346a06bfc403247838 SHA256 d455e80fcf948298d6aa78c84e54f954c031cae506925719c7d9cc8efeaeaa49
DIST graphviz-2.12.tar.gz 4607023 RMD160 68d55176cd5ce0e6a25c90b443529747e738d5c6 SHA1 aa48a926395a57c6c7e1e755b9432a29461538e3 SHA256 5191892d7950c28754659f703234f7888f132440a049f0d396f287b202f9e37f
DIST graphviz-2.16.1.tar.gz 8076271 RMD160 6d0f23fa176a1bef7ee0ca48cf1b700fe6cbfb42 SHA1 46b704bd9b81922bcd17167c88f3278a9645e894 SHA256 32c1a185ba39961935f104cc47d2bceea327c0de8c5636edc6ab83ac3c0c56d1
DIST graphviz-2.18.tar.gz 13322519 RMD160 2c7f23af1a9e480ab6cc5f5f39edad7a5da3ceae SHA1 b638181cf776bc4bb1fa8f95525a3943feb18b4a SHA256 6bc51969fa54c6ee3e64d8a4277c576931d50577b02114115668eeb5e515b42c
DIST graphviz-2.20.2.tar.gz 13334096 RMD160 93290b212bbe540517278dda614e49cfac096538 SHA1 e08cf95b69a51e6c63accbc662075550f915a54c SHA256 f5d1c8fe6e341fa347c9d68fd2178eb0d0f7362384197570612458926105bc8e
EBUILD graphviz-2.12.ebuild 5508 RMD160 54ba09cf066c8be004f59800b0963e31aa2093f3 SHA1 ae7ab99f53b044b05b964be4ce44d121d9960b63 SHA256 eb54344754b76dd0724e43289697af54a1cce1b4099379ed691fcc97ee1364cc
EBUILD graphviz-2.16.1.ebuild 5994 RMD160 55056c9a34909cb12432cfd59d636538fb4daa0a SHA1 804dd7b929b5046c40bb7dce5879e9d2d7782fa2 SHA256 fba8a9d319b7704bb9fefd5f27a260fad28dab4dadfe80b07c0078c5e43574cd
EBUILD graphviz-2.18.ebuild 5957 RMD160 1f0d5c7157d601461c2f22f2a37103f98130131b SHA1 7bd87588941c9673d98c923d909fa9dcedf9cdc6 SHA256 2055c43dd3f0127993254d341ce237aab1c06c6899cb35fda057d6ae67ab347d
EBUILD graphviz-2.20.2.ebuild 6324 RMD160 631298637b9ddd089c139af6b2e0bc43b0345b2e SHA1 0e6ccad3be0ae9278207a1ace27b8cd558b936b5 SHA256 0c6eee80fc8f184739177d9d5f725e699de620c5a6676613b6d6b97f213d67e5
MISC ChangeLog 24525 RMD160 65a99d000f898e8a03c317dbe9c29f78219fd21f SHA1 1ae6fc0e8168b9a3054106ad5084db3810122360 SHA256 9345312fbedf024e3ef634faac640d2c42417aca30e33329c90b1e6c6893cfb7
MISC metadata.xml 1540 RMD160 4652a8cc1044e37e34e06be5480a9ee6f842c333 SHA1 b493bbaade7ae395c87ada0bbef0b0f0e7f7fb08 SHA256 c2a220f962a3048cc026e4c376b6555bfd0be7b401206d0ae3d265d628f231a1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhul7EACgkQkKaRLQcq0GLRlQCdGmQO0LoJT45j7mGgmAGppvMW
WWIAmQFT4k58X4b4GeE8Fihc3D1owZUX
=w4oS
-----END PGP SIGNATURE-----

files

graphviz-2.12.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.12.ebuild,v 1.23 2008/05/11 19:54:58 maekke Exp $

WANT_AUTOCONF=latest
WANT_AUTOMAKE=latest

inherit eutils autotools multilib python

DESCRIPTION="Open Source Graph Visualization Software"
HOMEPAGE="http://www.graphviz.org/"
SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz"

LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="doc examples gnome gtk nls pango perl python ruby X tcl tk"

RDEPEND=">=media-libs/gd-2.0.28
>=sys-libs/zlib-1.2.3
>=media-libs/freetype-2.1.3
>=media-libs/libpng-1.2.5
>=media-libs/jpeg-6b
>=dev-libs/expat-1.95.5
=dev-libs/glib-2*
virtual/libiconv
media-libs/fontconfig
pango? ( x11-libs/pango )
gnome? ( gnome-base/libgnomeui )
gtk? ( >=x11-libs/gtk+-2 )
perl? ( dev-lang/perl )
python? ( dev-lang/python )
ruby? ( dev-lang/ruby )
X? ( x11-libs/libXaw x11-libs/libXpm )
tcl? ( >=dev-lang/tcl-8.3 )
tk? ( >=dev-lang/tk-8.3 )"

DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/flex
perl? ( dev-lang/swig )
python? ( dev-lang/swig )
ruby? ( dev-lang/swig )
tcl? ( dev-lang/swig )"

# Dependency description / Maintainer-Info:

# Rendering is done via the following plugins (/plugins):
# - core, dot_layout, neato_layout, gd (the ones which are always compiled in, depend on zlib, gd)
# - gtk (depends on gtk-2, cairo, libX11, gtk-2 depends on cairo and libX11 as well)
# - ming ( depends on ming-3.0 which is still p.masked)
# - pango ( depends on pango and cairo, but pango depends on cairo as well)
# - xlib ( depends on libX11, Xrender AND pango, can make use of gnomeui and inotify support)
# - ming ( depends on ming-3 which is still masked, ?)

# There can be swig-generated bindings for the following languages (/tclpkg/gv):
# - c-sharp (disabled)
# - scheme (enabled via guile) ... broken on ~x86
# - io (disabled)
# - java (enabled via java) *2
# - lua (enabled via lua)
# - ocaml (enabled via ocaml)
# - perl (enabled via perl) *1
# - php (enabled via php) *2
# - python (enabled via python) *1
# - ruby (enabled via ruby) *1
# - tcl (enabled via tcl)
# *1 = The ${P}-bindings.patch takes care that those bindings are installed to the right location
# *2 = Those bindings don't build because the paths for the headers/libs aren't
# detected correctly and/or the options passed to swig are wrong (-php instead of -php4/5)

# There are several other tools in /tclpkg:
# gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --with-tcl
# tkspline, tkstubs ; enabled with: --with-tk

# And the commands (/cmd):
# - dot, dotty, gvpr, lefty, lneato, tools/* :)
# Lefty needs Xaw and X to build

pkg_setup() {
if use tcl && ! built_with_use dev-lang/swig tcl ; then
eerror "SWIG has to be built with tcl support."
die "Missing tcl USE-flag for dev-lang/swig"
fi
}

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}/${P}-notcl.patch"
epatch "${FILESDIR}/${P}-find-system-libgd.patch"
epatch "${FILESDIR}/${P}-configure.patch"
epatch "${FILESDIR}/${P}-bindings.patch"
epatch "${FILESDIR}/${P}-parallel-build.patch"

sed -i \
-e 's:LC_COLLATE=C:LC_ALL=C:g' \
lib/common/Makefile.* || die "sed failed" # bug 134834

# ToDo: Do the same thing for examples and/or
# write a patch for a configuration-option
# and send it to upstream
if ! use doc ; then
find . -iname Makefile.am \
| xargs sed -i \
-e '/html_DATA/d' \
-e '/pdf_DATA/d'
fi

# This is an old version of libtool
rm -rf libltdl
sed -i -e '/libltdl/d' \
configure.ac || die "sed failed"

# Update this file from our local libtool which is much newer than the
# bundled one. This allows MAKEOPTS=-j2 to work on FreeBSD.
cp /usr/share/libtool/install-sh config

# no nls, no gettext, no iconv macro, so disable it
use nls || sed -i '/^AM_ICONV/d' configure.ac

# Nuke the dead symlinks for the bindings
sed -i \
-e '/$(pkgluadir)/d' \
tclpkg/gv/Makefile.am || die "sed failed"

eautoreconf
}

src_compile() {
# If we want pango, we need --with-x, otherwise
# nothing gets built. Dependencies should be ok.
local myconf=""
if use X || use pango ; then
myconf="--with-x"
else
myconf="--without-x"
fi

econf \
--enable-ltdl \
--with-libgd \
--with-digcola \
--with-ipsepcola \
--without-ming \
--disable-{sharp,io} \
$(use_enable tcl) \
$(use_enable tk) \
--disable-guile \
--disable-java \
--disable-ocaml \
--disable-lua \
$(use_enable perl) \
--disable-php \
$(use_enable python) \
$(use_enable ruby) \
$(use_with gtk) \
$(use_with pango pangocairo) \
${myconf} \
$(use_with gnome gnomeui) \
|| die "econf failed"
emake || die "emake failed"
}

src_install() {
sed -i \
-e "s:htmldir:htmlinfodir:g" \
doc/info/Makefile

emake DESTDIR="${D}" \
txtdir=/usr/share/doc/${PF} \
htmldir=/usr/share/doc/${PF}/html \
htmlinfodir=/usr/share/doc/${PF}/html/info \
pdfdir=/usr/share/doc/${PF}/pdf \
pkgconfigdir=/usr/$(get_libdir)/pkgconfig \
install || die "emake install failed"

use examples || rm -rf "${D}/usr/share/graphviz/demo"

dodoc AUTHORS ChangeLog NEWS README
}

pkg_postinst() {
# This actually works if --enable-ltdl is passed
# to configure
dot -c
if use python ; then
python_mod_optimize
fi
}

pkg_postrm() {
if use python ; then
python_mod_cleanup
fi
}

graphviz-2.16.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.16.1.ebuild,v 1.3 2008/05/11 19:54:58 maekke Exp $

WANT_AUTOCONF=latest
WANT_AUTOMAKE=latest

inherit eutils autotools multilib python

DESCRIPTION="Open Source Graph Visualization Software"
HOMEPAGE="http://www.graphviz.org/"
SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz"

LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="cairo doc examples gnome gtk jpeg nls perl png python ruby X tcl tk"

# Requires ksh
RESTRICT="test"

RDEPEND="
>=dev-libs/expat-2.0.0
>=dev-libs/glib-2.11.1
>=media-libs/fontconfig-2.3.95
>=media-libs/freetype-2.1.10
>=media-libs/gd-2.0.28
>=media-libs/jpeg-6b
>=media-libs/libpng-1.2.10
virtual/libiconv
ruby? ( dev-lang/ruby )
tcl? ( >=dev-lang/tcl-8.3 )
tk? ( >=dev-lang/tk-8.3 )
X? ( x11-libs/libX11 x11-libs/libXaw x11-libs/libXpm
gnome? ( gnome-base/libgnomeui )
gtk? ( >=x11-libs/gtk+-2 )
cairo? ( >=x11-libs/pango-1.12 >=x11-libs/cairo-1.1.10 ) )"

DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.20
sys-devel/flex
nls? ( >=sys-devel/gettext-0.14.5 )
perl? ( dev-lang/swig )
python? ( dev-lang/swig )
ruby? ( dev-lang/swig )
tcl? ( dev-lang/swig )"

# Dependency description / Maintainer-Info:

# Rendering is done via the following plugins (/plugins):
# - core, dot_layout, neato_layout, gd (the ones which are always compiled in, depend on zlib, gd)
# - gtk (depends on gtk-2, cairo, libX11, gtk-2 depends on cairo and libX11 as well)
# - ming ( depends on ming-3.0 which is still p.masked)
# - pango ( depends on pango and cairo, but pango depends on cairo as well)
# - xlib ( depends on libX11, Xrender AND pango, can make use of gnomeui and inotify support)
# - ming ( depends on ming-3 which is still masked, ?)

# There can be swig-generated bindings for the following languages (/tclpkg/gv):
# - c-sharp (disabled)
# - scheme (enabled via guile) ... broken on ~x86
# - io (disabled)
# - java (enabled via java) *2
# - lua (enabled via lua)
# - ocaml (enabled via ocaml)
# - perl (enabled via perl) *1
# - php (enabled via php) *2
# - python (enabled via python) *1
# - ruby (enabled via ruby) *1
# - tcl (enabled via tcl)
# *1 = The ${P}-bindings.patch takes care that those bindings are installed to the right location
# *2 = Those bindings don't build because the paths for the headers/libs aren't
# detected correctly and/or the options passed to swig are wrong (-php instead of -php4/5)

# There are several other tools in /tclpkg:
# gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --with-tcl
# tkspline, tkstubs ; enabled with: --with-tk

# And the commands (/cmd):
# - dot, dotty, gvpr, lefty, lneato, tools/* :)
# Lefty needs Xaw and X to build

pkg_setup() {
if use tcl && ! built_with_use dev-lang/swig tcl ; then
eerror "SWIG has to be built with tcl support."
die "Missing tcl USE-flag for dev-lang/swig"
fi
# bug 181147
if use png && ! built_with_use media-libs/gd png ; then
eerror "media-libs/gd has to be built with png support"
die "remerge media-libs/gd with USE=\"png\""
fi
if use jpeg && ! built_with_use media-libs/gd jpeg ; then
eerror "media-libs/gd has to be built with jpeg support"
die "remerge media-libs/gd with USE=\"jpeg\""
fi
# bug 202781
if ! built_with_use x11-libs/cairo svg ; then
eerror "x11-libs/cairo has to be built with svg support"
die "emerge x11-libs/cairo with USE=\"svg\""
fi
}

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}"/${P}-bindings.patch
epatch "${FILESDIR}"/${P}-gcc43-missing-includes.patch

# ToDo: Do the same thing for examples and/or
# write a patch for a configuration-option
# and send it to upstream
if ! use doc ; then
find . -iname Makefile.am \
| xargs sed -i -e '/html_DATA/d' -e '/pdf_DATA/d' || die
fi

# This is an old version of libtool
rm -rf libltdl
sed -i -e '/libltdl/d' configure.ac || die

# Update this file from our local libtool which is much newer than the
# bundled one. This allows MAKEOPTS=-j2 to work on FreeBSD.
cp /usr/share/libtool/install-sh config

# no nls, no gettext, no iconv macro, so disable it
use nls || { sed -i -e '/^AM_ICONV/d' configure.ac || die; }

# Nuke the dead symlinks for the bindings
sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die

eautoreconf
}

src_compile() {
# If we want pango, we need --with-x, otherwise
# nothing gets built. Dependencies should be ok.
local myconf=""
if use X || use cairo ; then
myconf="--with-x"
else
myconf="--without-x"
fi

econf \
--enable-ltdl \
--disable-guile \
--disable-java \
--disable-io \
--disable-lua \
--disable-ocaml \
$(use_enable perl) \
--disable-php \
$(use_enable python) \
$(use_enable ruby) \
--disable-sharp \
$(use_enable tcl) \
$(use_enable tk) \
$(use_with cairo pangocairo) \
$(use_with gnome gnomeui) \
$(use_with gtk) \
--without-ming \
--with-digcola \
--with-ipsepcola \
--with-fontconfig \
--with-freetype \
--with-libgd \
${myconf} \
|| die "econf failed"

emake || die "emake failed"
}

src_install() {
sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile || die

emake DESTDIR="${D}" \
txtdir=/usr/share/doc/${PF} \
htmldir=/usr/share/doc/${PF}/html \
htmlinfodir=/usr/share/doc/${PF}/html/info \
pdfdir=/usr/share/doc/${PF}/pdf \
pkgconfigdir=/usr/$(get_libdir)/pkgconfig \
install || die "emake install failed"

use examples || rm -rf "${D}/usr/share/graphviz/demo"

dodoc AUTHORS ChangeLog NEWS README
}

pkg_postinst() {
# This actually works if --enable-ltdl is passed
# to configure
dot -c
if use python ; then
python_mod_optimize
fi
}

pkg_postrm() {
if use python ; then
python_mod_cleanup
fi
}

graphviz-2.18.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.18.ebuild,v 1.10 2008/05/18 07:26:12 jer Exp $

WANT_AUTOCONF=latest
WANT_AUTOMAKE=latest

inherit eutils autotools multilib python

DESCRIPTION="Open Source Graph Visualization Software"
HOMEPAGE="http://www.graphviz.org/"
SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz"

LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="doc examples gnome gtk java jpeg nls perl png python ruby tcl tk"

# Requires ksh
RESTRICT="test"

RDEPEND="
>=dev-libs/expat-2.0.0
>=dev-libs/glib-2.11.1
>=media-libs/fontconfig-2.3.95
>=media-libs/freetype-2.1.10
>=media-libs/gd-2.0.28
>=media-libs/jpeg-6b
>=media-libs/libpng-1.2.10
virtual/libiconv
ruby? ( dev-lang/ruby )
tcl? ( >=dev-lang/tcl-8.3 )
tk? ( >=dev-lang/tk-8.3 )
gtk? (
>=x11-libs/gtk+-2
x11-libs/libXaw
>=x11-libs/pango-1.12
>=x11-libs/cairo-1.1.10
gnome? ( gnome-base/libgnomeui )
)"

DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.20
sys-devel/flex
java? ( dev-lang/swig )
nls? ( >=sys-devel/gettext-0.14.5 )
perl? ( dev-lang/swig )
python? ( dev-lang/swig )
ruby? ( dev-lang/swig )
tcl? ( dev-lang/swig )"

# Dependency description / Maintainer-Info:

# Rendering is done via the following plugins (/plugins):
# - core, dot_layout, neato_layout, gd , dot
# the ones which are always compiled in, depend on zlib, gd
# - gtk
# Directly depends on gtk-2.
# gtk-2 depends on pango, cairo and libX11 directly.
# - gdk-pixbuf
# Disabled, GTK-1 junk.
# - ming
# Disabled, depends on ming-3.0 which is still p.masked.
# - cairo:
# Needs pango for text layout, uses cairo methods to draw stuff
# - xlib :
# needs cairo+pango,
# can make use of gnomeui and inotify support,
# needs libXaw for UI

# There can be swig-generated bindings for the following languages (/tclpkg/gv):
# - c-sharp (disabled)
# - scheme (enabled via guile) ... broken on ~x86
# - io (disabled)
# - java (enabled via java) *2
# - lua (enabled via lua)
# - ocaml (enabled via ocaml)
# - perl (enabled via perl) *1
# - php (enabled via php) *2
# - python (enabled via python) *1
# - ruby (enabled via ruby) *1
# - tcl (enabled via tcl)
# *1 = The ${P}-bindings.patch takes care that those bindings are installed to the right location
# *2 = Those bindings don't build because the paths for the headers/libs aren't
# detected correctly and/or the options passed to swig are wrong (-php instead of -php4/5)

# There are several other tools in /tclpkg:
# gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --with-tcl
# tkspline, tkstubs ; enabled with: --with-tk

# And the commands (/cmd):
# - dot, dotty, gvpr, lefty, lneato, tools/* :)
# Lefty needs Xaw and X to build

pkg_setup() {
if use tcl && ! built_with_use dev-lang/swig tcl ; then
eerror "SWIG has to be built with tcl support."
die "Missing tcl USE-flag for dev-lang/swig"
fi

# bug 181147
local gdflags
use png && gdflags="png"
use jpeg && gdflags="${gdflags} jpeg"
if [[ -n ${gdflags} ]] && ! built_with_use media-libs/gd ${gdflags} ; then
local diemsg="Re-emerge media-libs/gd with USE=\"${gdflags}\""
eerror "${diemsg}"
die "${diemsg}"
fi

# bug 202781
if use gtk && ! built_with_use x11-libs/cairo svg ; then
eerror "x11-libs/cairo has to be built with svg support"
die "emerge x11-libs/cairo with USE=\"svg\""
fi
}

src_unpack() {
unpack ${A}
cd "${S}"

# ToDo: Do the same thing for examples and/or
# write a patch for a configuration-option
# and send it to upstream
if ! use doc ; then
find . -iname Makefile.am \
| xargs sed -i -e '/html_DATA/d' -e '/pdf_DATA/d' || die
fi

# This is an old version of libtool
rm -rf libltdl
sed -i -e '/libltdl/d' configure.ac || die

# Update this file from our local libtool which is much newer than the
# bundled one. This allows MAKEOPTS=-j2 to work on FreeBSD.
if has_version ">=sys-devel/libtool-2" ; then
cp /usr/share/libtool/config/install-sh config || die
else
cp /usr/share/libtool/install-sh config || die
fi

# no nls, no gettext, no iconv macro, so disable it
use nls || { sed -i -e '/^AM_ICONV/d' configure.ac || die; }

# Nuke the dead symlinks for the bindings
sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die

# replace the whitespace with tabs
sed -i -e 's: :\t:g' doc/info/Makefile.am || die

eautoreconf
}

src_compile() {
local myconf

# Core functionality:
# All of X, cairo-output, gtk need the pango+cairo functionality
myconf="${myconf}
$(use_with gtk)
$(use_with gtk x)
$(use_with gtk pangocairo)
--without-ming
--with-digcola
--with-ipsepcola
--with-fontconfig
--with-freetype
--with-libgd
--without-gdk-pixbuf"

use gtk && myconf="${myconf} $(use_with gnome gnomeui)"

# Bindings:
myconf="${myconf}
--disable-guile
$(use_enable java)
--disable-io
--disable-lua
--disable-ocaml
$(use_enable perl)
--disable-php
$(use_enable python)
--disable-r
$(use_enable ruby)
--disable-sharp
$(use_enable tcl)
$(use_enable tk)"

econf \
--enable-ltdl \
${myconf} \
|| die "econf failed"

emake || die "emake failed"
}

src_install() {
sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile || die

emake DESTDIR="${D}" \
txtdir=/usr/share/doc/${PF} \
htmldir=/usr/share/doc/${PF}/html \
htmlinfodir=/usr/share/doc/${PF}/html/info \
pdfdir=/usr/share/doc/${PF}/pdf \
pkgconfigdir=/usr/$(get_libdir)/pkgconfig \
install || die "emake install failed"

use examples || rm -rf "${D}/usr/share/graphviz/demo"

dodoc AUTHORS ChangeLog NEWS README
}

pkg_postinst() {
# This actually works if --enable-ltdl is passed
# to configure
dot -c
if use python ; then
python_mod_optimize
fi
}

pkg_postrm() {
if use python ; then
python_mod_cleanup
fi
}

graphviz-2.20.2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.20.2.ebuild,v 1.1 2008/07/04 21:34:32 maekke Exp $

WANT_AUTOCONF=latest
WANT_AUTOMAKE=latest

inherit eutils autotools multilib python

DESCRIPTION="Open Source Graph Visualization Software"
HOMEPAGE="http://www.graphviz.org/"
SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz"

LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="cairo cgraph doc examples gnome gtk java jpeg nls perl png python ruby tcl"

# Requires ksh
RESTRICT="test"

RDEPEND="
>=dev-libs/expat-2.0.0
>=dev-libs/glib-2.11.1
>=media-libs/fontconfig-2.3.95
>=media-libs/freetype-2.1.10
>=media-libs/gd-2.0.28
>=media-libs/jpeg-6b
>=media-libs/libpng-1.2.10
virtual/libiconv
cairo? (
x11-libs/libXaw
>=x11-libs/pango-1.12
>=x11-libs/cairo-1.1.10
)
ruby? ( dev-lang/ruby )
tcl? ( >=dev-lang/tcl-8.3 )
gtk? (
>=x11-libs/gtk+-2
x11-libs/libXaw
>=x11-libs/pango-1.12
>=x11-libs/cairo-1.1.10
gnome? ( gnome-base/libgnomeui )
)"

DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.20
sys-devel/flex
java? ( dev-lang/swig )
nls? ( >=sys-devel/gettext-0.14.5 )
perl? ( dev-lang/swig )
python? ( dev-lang/swig )
ruby? ( dev-lang/swig )
tcl? ( dev-lang/swig )"

# Dependency description / Maintainer-Info:

# Rendering is done via the following plugins (/plugins):
# - core, dot_layout, neato_layout, gd , dot
# the ones which are always compiled in, depend on zlib, gd
# - gtk
# Directly depends on gtk-2.
# gtk-2 depends on pango, cairo and libX11 directly.
# - gdk-pixbuf
# Disabled, GTK-1 junk.
# - ming
# Disabled, depends on ming-3.0 which is still p.masked.
# - cairo:
# Needs pango for text layout, uses cairo methods to draw stuff
# - xlib :
# needs cairo+pango,
# can make use of gnomeui and inotify support,
# needs libXaw for UI

# There can be swig-generated bindings for the following languages (/tclpkg/gv):
# - c-sharp (disabled)
# - scheme (enabled via guile) ... broken on ~x86
# - io (disabled)
# - java (enabled via java) *2
# - lua (enabled via lua)
# - ocaml (enabled via ocaml)
# - perl (enabled via perl) *1
# - php (enabled via php) *2
# - python (enabled via python) *1
# - ruby (enabled via ruby) *1
# - tcl (enabled via tcl)
# *1 = The ${P}-bindings.patch takes care that those bindings are installed to the right location
# *2 = Those bindings don't build because the paths for the headers/libs aren't
# detected correctly and/or the options passed to swig are wrong (-php instead of -php4/5)

# There are several other tools in /tclpkg:
# gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --with-tcl
# tkspline, tkstubs ; enabled with: --with-tk

# And the commands (/cmd):
# - dot, dotty, gvpr, lefty, lneato, tools/* :)
# Lefty needs Xaw and X to build

pkg_setup() {
if use tcl && ! built_with_use dev-lang/swig tcl ; then
eerror "SWIG has to be built with tcl support."
die "Missing tcl USE-flag for dev-lang/swig"
fi

# bug 181147
local gdflags
use png && gdflags="png"
use jpeg && gdflags="${gdflags} jpeg"
if [[ -n ${gdflags} ]] && ! built_with_use media-libs/gd ${gdflags} ; then
local diemsg="Re-emerge media-libs/gd with USE=\"${gdflags}\""
eerror "${diemsg}"
die "${diemsg}"
fi

# bug 202781
if use cairo && ! built_with_use x11-libs/cairo svg ; then
eerror "x11-libs/cairo has to be built with svg support"
die "emerge x11-libs/cairo with USE=\"svg\""
fi
}

src_unpack() {
unpack ${A}
cd "${S}"

# ToDo: Do the same thing for examples and/or
# write a patch for a configuration-option
# and send it to upstream
if ! use doc ; then
find . -iname Makefile.am \
| xargs sed -i -e '/html_DATA/d' -e '/pdf_DATA/d' || die
fi

# This is an old version of libtool
rm -rf libltdl
sed -i -e '/libltdl/d' configure.ac || die

# Update this file from our local libtool which is much newer than the
# bundled one. This allows MAKEOPTS=-j2 to work on FreeBSD.
if has_version ">=sys-devel/libtool-2" ; then
cp /usr/share/libtool/config/install-sh config || die
else
cp /usr/share/libtool/install-sh config || die
fi

# no nls, no gettext, no iconv macro, so disable it
use nls || { sed -i -e '/^AM_ICONV/d' configure.ac || die; }

# Nuke the dead symlinks for the bindings
sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die

# replace the whitespace with tabs
sed -i -e 's: :\t:g' doc/info/Makefile.am || die

eautoreconf
}

src_compile() {
local myconf

# Core functionality:
# All of X, cairo-output, gtk need the pango+cairo functionality
if use gtk ; then
myconf="${myconf} --with-x"
elif use cairo ; then
myconf="${myconf} --with-x"
else
myconf="${myconf} --without-x"
fi
myconf="${myconf}
$(use_with cgraph)
$(use_with gtk)
$(use_with cairo pangocairo)
--without-ming
--with-digcola
--with-ipsepcola
--with-fontconfig
--with-freetype2
--with-libgd
--without-gdk-pixbuf"

# new/experimental features, to be tested, disable for now
myconf="${myconf}
--without-sfdp
--without-smyrna
--without-digcola
--without-ipsepcola"

use gtk && myconf="${myconf} $(use_with gnome gnomeui)"

# Bindings:
myconf="${myconf}
--disable-guile
$(use_enable java)
--disable-io
--disable-lua
--disable-ocaml
$(use_enable perl)
--disable-php
$(use_enable python)
--disable-r
$(use_enable ruby)
--disable-sharp
$(use_enable tcl)"

econf \
--enable-ltdl \
${myconf} \
|| die "econf failed"

emake || die "emake failed"
}

src_install() {
sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile || die

emake DESTDIR="${D}" \
txtdir=/usr/share/doc/${PF} \
htmldir=/usr/share/doc/${PF}/html \
htmlinfodir=/usr/share/doc/${PF}/html/info \
pdfdir=/usr/share/doc/${PF}/pdf \
pkgconfigdir=/usr/$(get_libdir)/pkgconfig \
install || die "emake install failed"

use examples || rm -rf "${D}/usr/share/graphviz/demo"

dodoc AUTHORS ChangeLog NEWS README
}

pkg_postinst() {
# This actually works if --enable-ltdl is passed
# to configure
dot -c
if use python ; then
python_mod_optimize
fi
}

pkg_postrm() {
if use python ; then
python_mod_cleanup
fi
}

metadata.xml




graphics

graphviz is a set of graph drawing tools for Unix or MS-Windows
(win32), including a web service interface (webdot). Source code and
binary executables for common platforms are available. Graph drawing
addresses the problem of visualizing structural information by
constructing geometric representations of abstract graphs and networks.
Automatic generation of graph drawings has important applications in key
technologies such as database design, software engineering, VLSI and
network design and visual interfaces in other domains. Situations where
these tools might be particularly useful include:

* you would like to restructure a program and first need to
understand the relationships between its types, procedures, and source
files.
* you need to find the bottlenecks in an Internet backbone - not
only individual links, but their relationships
* you're debugging a protocol or microarchitecture represented as a
finite state machine and need to figure out how a certain
error state arises
* you would like to browse a database schema, knowledge base, or
distributed program represented pictorially
* you would like to see an overview of a collection of linked
documents
* you would like to discover patterns and communities of interest in
a database of telephone calls or e-mail messages