<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Thanks David,<div><br></div><div>I have compiled some test programs provided with LORENE that make use of pgplot.</div><div><br></div><div>One can compile them without -lX11 and run the test with any of the pgplot variant without need for recompiling.</div><div><br></div><div>I will therefore remove -lX11 in the next commit.</div><div><br></div><div>Regards, Thibaut.</div><div><br></div><div><br><div><div>Le 18 oct. 2016 à 01:57, David Strubbe &lt;<a href="mailto:dstrubbe@macports.org">dstrubbe@macports.org</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I guess the question is: is x11 definitely what pgplot should be linked with? +x11 is an optional (though default) variant for pgplot (as below). Is it necessary to use x11 for these LORENE codes to be compiled? For example, what if they were to use +aquaterm?<div><br></div><div><div>pgplot @5.2.2_10 (graphics, devel)</div><div>Variants: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; aquaterm, docs, dragonegg33, dragonegg34, g95, gcc44, gcc45, gcc46, gcc47, gcc48, gcc49, gcc5, [+]gcc6, gcc7, [+]x11</div><div><br></div><div>Description: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The PGPLOT Graphics Subroutine Library is a Fortran- or C-callable, device-independent graphics package for making simple scientific graphs. It is intended for making</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; graphical images of publication quality with minimum effort on the part of the user. For most applications, the program can be device-independent, and the output can be</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; directed to the appropriate device at run time.</div><div>Homepage: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.astro.caltech.edu/~tjp/pgplot/">http://www.astro.caltech.edu/~tjp/pgplot/</a></div><div><br></div><div>Build Dependencies: &nbsp; perl5, pkgconfig, gcc6</div><div>Library Dependencies: libpng, zlib, xorg-libX11, libgcc</div><div>Conflicts with: &nbsp; &nbsp; &nbsp; miriad</div><div>Platforms: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;darwin</div><div>License: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Noncommercial</div><div>Maintainers: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:mcalhoun@macports.org">mcalhoun@macports.org</a>, <a href="mailto:openmaintainer@macports.org">openmaintainer@macports.org</a></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 17, 2016 at 11:38 AM, Thibaut Paumard <span dir="ltr">&lt;<a href="mailto:thibaut@macports.org" target="_blank">thibaut@macports.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div>This is correct. I will emote the dependency.</div><div><br></div><div>Should I also remove -lX11 from LIB_PGPLOT, since libpgplot itself is linked with -lX11?</div><div><br></div><div>Kind regards, Thibaut.</div><div><div class="gmail-h5"><div><br></div><br><div><div>Le 17 oct. 2016 à 20:12, David Strubbe &lt;<a href="mailto:dstrubbe@macports.org" target="_blank">dstrubbe@macports.org</a>&gt; a écrit :</div><br class="gmail-m_6205308760249638825Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">It appears libX11, in the LIB_PGPLOT variable, is used in principle to compile some codes that are not in fact compiled in this package. It looks like X11 is only in fact used via pgplot.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 17, 2016 at 10:46 AM, Ryan Schmidt <span dir="ltr">&lt;<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><br>
&gt; On Oct 16, 2016, at 11:57 PM, David Strubbe &lt;<a href="mailto:dstrubbe@macports.org" target="_blank">dstrubbe@macports.org</a>&gt; wrote:<br>
&gt;<br>
&gt; Additionally, the dependency port:xorg-libX11 does not seem necessary: I don't see any evidence in the build log that it is used, and the build succeeds without it being active.<br>
<br>
</span>Are you sure? libX11 is mentioned in local_settings:<br>
<span class="gmail-m_6205308760249638825im gmail-m_6205308760249638825HOEnZb"><br>
<br>
&gt; &gt; --- trunk/dports/science/LORENE/fi<wbr>les/local_settings&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (rev 0)<br>
&gt; &gt; +++ trunk/dports/science/LORENE/fi<wbr>les/local_settings&nbsp; 2016-10-16 17:41:08 UTC (rev 153943)<br>
<br>
</span><div class="gmail-m_6205308760249638825HOEnZb"><div class="gmail-m_6205308760249638825h5">&gt; &gt; +# Graphical libraries: PGPLOT, PNG and X11<br>
&gt; &gt; +# ------------------------------<wbr>----------<br>
&gt; &gt; +LIB_PGPLOT = -lcpgplot -lpgplot -lX11<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div></body></html>