-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use make as a build system for opam files. #845
Conversation
Thanks for submitting, I will not be able to dig into this until January sometime. |
Sure. Sorry for the delay! |
One potential subject of discussion is the status of Is this the right thing to do? |
Yes. The current Also note that |
unison-fsmonitor is built on some places and not others, not just !mac. Also not on netbsd. I am not sure we want to go down this path. I do not have time to pay attention until January. |
True, and then there's nothing to install. For mac there is a fallback, so there is something to install.
Yes, probably not in this PR. |
64d8434
to
f4b4735
Compare
For the record, I rebased this branch, removing my change about the installation of fsmonitor. And then I noticed that the install target has been removed, making this change more subtle because then the opam file needs to contain the installation script. I'm not going to continue until anyone tells he is interested. |
The install taget is in #939. Your testing and/or review would be very helpful. |
f4b4735
to
8979ec7
Compare
Thanks! I rebased this PR on top of #939, and this seem to work well. |
Can you rebase to master? I came to this intending to read what I expected to be a small number of commits. I'm guessing a rebase is trivial and leads to that. I did kick off the workflow. |
8979ec7
to
6bef517
Compare
There are now two opam files: - unison.opam is the main opam file. It has an optional dependency to lablgtk3, so that the GUI is built only if the lablgtk3 package is installed. - unison-gui.opam is a pseudo-package, with both unison and lablgtk3 as dependencies. It can be used to force the GUI to be installed. As a side effect, remove the package information from the dune-project files, to avoid redundancy.
6bef517
to
b7262c4
Compare
Sure, done! |
Thanks. Now I can be 100% sure easily this only touches opam. I have kicked off a workflow run and will hit merge if it finishes green. |
Perfect, thanks! I'll do my best to publish releases on OPAM as soon as they appear here. |
There are now two opam files:
As a side effect, remove the package information from the dune-project files, to avoid redundancy.
Fixes #842, #827