On 2011-06-29 09:56:13 -0700, Jeremy Huddleston wrote: > On Jun 29, 2011, at 7:18 AM, Vincent Lefevre wrote: > > For the description of x11, I could say: > > > > Build with X11 support for the high-resolution plotting functions > > Yeah, that sounds good. ditto for qt and fltk if they work.
The build fails with Qt because PARI does something wrong with the include search path (Qt headers are in a subdirectory Qt, and this isn't taken into account by PARI). A build with X11 and with FLTK succeeds, but they are both buggy. With X11, redraw is sometimes incorrect after resizing the window (this isn't new: I had noticed this problem before). With FLTK, the GUI part freezes (at least on my machine), but I don't know who is the culprit. So, X11 seems to be preferable. BTW, I have the following warning: $ port lint pari ---> Verifying Portfile for pari Warning: Variant x11 overrides global description ---> 0 errors and 1 warnings found. I wonder what the cause is, as this looks very similar to other portfiles, for which there are no warnings. > > If qt and/or fltk variants are possible, should there be a default > > variant? > > I would argue that there should be no default variant for the > plotting. I used pari extensively in college cryptography and never > used the plotting feature once. I'm sure others have no need for it > as well. The GUI libraries are a lot to pull in for a feature that > won't be used often. If someone needs it, they probably have the > variant set. OK, I agree. -- Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon) _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
