Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148733 - media-gfx/graphviz should explicitly enable/disable plenty of bindings
Summary: media-gfx/graphviz should explicitly enable/disable plenty of bindings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 148656 148677
  Show dependency tree
 
Reported: 2006-09-22 21:53 UTC by Georgi Georgiev
Modified: 2006-10-31 01:53 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
graphviz-useflags.patch (graphviz-useflags.patch,1.23 KB, patch)
2006-09-22 21:58 UTC, Georgi Georgiev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2006-09-22 21:53:46 UTC
graphviz-2.8-r1 has support for plenty of languages, but most of them are automatically detected by configure. The output of ./configure --help shows that it is possible to --disable guile, java, lua, ocaml, perl, php, python, ruby, sharp, io. I guess that all but the last two should be explicitly stated with an use flag.
Comment 1 Georgi Georgiev 2006-09-22 21:58:39 UTC
Created attachment 97813 [details, diff]
graphviz-useflags.patch

I'm not sure what I'm doing, nor that this patch is working, but here it is anyway. Adds useflags for guile, java, lua, ocaml, perl, php, python and ruby. Disables io and sharp. On a further note, shouldn't the tcltk use flag be renamed to tcl. And shouldn't it be "use_enable tcl" instead of "use_with". ./configure --help does not mention "tk" at all.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-23 13:41:05 UTC
This won't work, because there aren't the switch to enable those. I'll attach a patch that adds those, that actually works (used to use it in my overlay).
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-23 13:43:04 UTC
Argh sorry I confused myself with graphviz 2.6.. the ebuild patch should be enough now (2.6 needed the infamous patch).
Comment 4 Christian Ludwig 2006-10-22 09:59:29 UTC
Just one hint, IMO it is useful to split up the "tcltk" USE flag to "tcl" and "tk" USE flags. I think this change was done on (nearly) all other ebuilds as well.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-31 01:53:34 UTC
*graphviz-2.8-r2 (24 Sep 2006)

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

Closing.