|
From: Daniel J S. <dan...@ie...> - 2012-08-22 19:09:09
|
On 08/22/2012 01:38 PM, Ethan A Merritt wrote: > On Wednesday, August 22, 2012 11:28:09 am Daniel J Sebald wrote: >> On 08/22/2012 12:56 PM, Daniel J Sebald wrote: >> >>> I don't know if leaving out the X11 terminal is a good idea. At least >>> one of the apps I know of will choose "x11" if the user doesn't set an >>> environment variable specifying an alternative gnuplot terminal. So, if >>> the distro creators leave out x11 that will cause problems in at least >>> this case. >> >> I should say that, as well, an app may want to have both x11 and qt, for >> example. A reasonable scenario is: run from the command line, x11, and >> run from a UI, qt. >> >> I've done some compilations here to check sizes: >> >> gnuplot with x11 and qt: 3462231 >> gnuplot with x11, no qt: 3067584 >> >> So, qt adds 13%. That is a fairly big addition if qt isn't used. For >> the qt user though it isn't a concern because of the added support. > >> gnuplot with qt, no x11: (I don't see a way to disable x11 terminal) > > ./configure --without-x OK... gnuplot with x11 and qt: 3462231 gnuplot with x11, no qt: 3067584 gnuplot with qt, no x11: 3415747 So x11 adds 1.4% approximately. Not much. (If I recall, the term just packages the commands slightly and sends them on their way to gnuplot_x11.) > If you care about total size you should include the respective outboard drivers: > > text data bss dec hex filename > 1385735 72836 57408 1515979 1721cb gnuplot # includes x11 + wxt + qt > 91517 4788 12704 109009 1a9d1 gnuplot_x11 > 141992 2120 744 144856 235d8 gnuplot_qt I'm discounting that because if I build with qt and run gnuplot, gnuplot_x11 outboard driver doesn't appear. Actually, qt is a little nicer along those lines because gnuplot_qt doesn't appear in the process list until an actual plot is done even though the qt terminal is set. On the other hand, gnuplot_x11 appears without having yet done a plot. It would be nice to change that, but even as is I think including X11 in any case isn't a concern. Dan |