<div dir="ltr"><div><div><div><div>Hi Willy, thanks, yes, I agree it would, in general, become a bit convoluted otherwise. <br></div><br>For packages with build options, though, the first-level dependencies may differ between options. For example, with unison if FLAVOR=text, then ocaml becomes a first-level dependency. <br><br></div>So, I'm guessing that it's probably best to have the required list state the first-level dependencies for the *default* behavior only. Should we then add comments regarding first-level dependencies for non-default build options in say the README (I ask this in regard to the packages I maintain also)? <br><br></div>Kind regards,<br></div>J<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 12, 2017 at 12:29 AM, Willy Sudiarto Raharjo <span dir="ltr"><<a href="mailto:willysr@slackbuilds.org" target="_blank">willysr@slackbuilds.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> I believe ocaml should be listed as a required package for unison.<br>
> Currently lablgtk is listed as the only required package. It needs ocaml<br>
> too so if its installed, then unison will build. However, lablgtk is only<br>
> required if FLAVOR=gtk2 or if FLAVOR is not provided.<br>
><br>
> If you use FLAVOR=text then unison will not build if ocaml is not already<br>
> installed, and this is not mentioned in the README/info.<br>
><br>
> Since ocaml is a hard dependency, regardless of FLAVOR, it should probably<br>
> be listed in the required package, with possibly a note that lablgtk is<br>
> only required if FLAVOR != text.<br>
<br>
</span>Hi Jason<br>
<br>
since ocaml is third-level dependency, we don't list it on REQUIRES nor<br>
README. In SBo we only list first-level dependency, with assumption that<br>
in order to have a working package, all of the deps must be satisfied<br>
(in this case ocaml, ocaml-findlib, and lablgtk).<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Willy Sudiarto Raharjo<br>
<br>
</font></span><br>______________________________<wbr>_________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.<wbr>org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">http://lists.slackbuilds.org/<wbr>mailman/listinfo/slackbuilds-<wbr>users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/<wbr>pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
<br></blockquote></div><br></div>