[Slackbuilds-users] unison: ocaml required package for FLAVOR=text

Jason Graham jgraha8 at gmail.com
Sun Mar 12 05:44:45 UTC 2017


Hi Willy, thanks, yes, I agree it would, in general, become a bit
convoluted otherwise.

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.

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)?

Kind regards,
J

On Sun, Mar 12, 2017 at 12:29 AM, Willy Sudiarto Raharjo <
willysr at slackbuilds.org> wrote:

> > I believe ocaml should be listed as a required package for unison.
> > Currently lablgtk is listed as the only required package. It needs ocaml
> > too so if its installed, then unison will build. However, lablgtk is only
> > required if FLAVOR=gtk2 or if FLAVOR is not provided.
> >
> > If you use FLAVOR=text then unison will not build if ocaml is not already
> > installed, and this is not mentioned in the README/info.
> >
> > Since ocaml is a hard dependency, regardless of FLAVOR, it should
> probably
> > be listed in the required package, with possibly a note that lablgtk is
> > only required if FLAVOR != text.
>
> Hi Jason
>
> since ocaml is third-level dependency, we don't list it on REQUIRES nor
> README. In SBo we only list first-level dependency, with assumption that
> in order to have a working package, all of the deps must be satisfied
> (in this case ocaml, ocaml-findlib, and lablgtk).
>
>
> --
> Willy Sudiarto Raharjo
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170312/2baefffd/attachment.html>


More information about the SlackBuilds-users mailing list