Repository navigation
3.0.0: packaging: factor out packages to lessen depopts - #335
Merged
Merged
Conversation
aantron
force-pushed
the
3.0.0-packaging
branch
from
April 10, 2017 01:26
321cebb to
16f4e89
Compare
This is a breaking change. Originally set in motion in #301.
aantron
force-pushed
the
3.0.0-packaging
branch
from
April 10, 2017 02:01
42d16be to
1f34920
Compare
Collaborator
Author
|
I amended the commit. Travis and AppVeyor now generate the extra packages' release build systems and install the packages. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR would commit the change to packaging described in #308.
I gave each of
lwt_ssl,lwt_glib, andlwt_reacttheir own little build systems, with_oasisfiles. OASIS seemed like the easiest way to getlwt_glibcompiling with all the right flags for the external dependency, and the easiest way to generate all the various output files. These new build systems are only used during release packaging. It is still possible (and easier during development) to build these packages from the main build system, by supplying the rightconfigureflags.The main
opamfile is no longer aware of these flags, however, so it is not possible to accidentally build the extra packages when installing packagelwt. Theopamdepopts for these extra packages have been removed. I kept theopammessages, however. The idea is that if someone does, e.g.,opam install lwt ssl, we should still try to warn them that that's not how you getLwt_sslanymore. We can remove these messages after maybe a few more releases of Lwt.I kept the possibility to build the packages in the main build system mainly because I don't feel like reworking it. In particular, I don't want to mess up the modules shown in the ocsigen.org manual.
In the course of working on
lwt_glib, I noticed that it doesn't actually needlablgtk, so I removed that dependency. This may break a user's build system that expectslablgtkto appear transitively.The extra packages have been bumped to version 1.0.1. They all require Lwt 3.0.0, mainly because installing them with Lwt < 3.0.0 will result in duplicate files in Findlib packages
lwtand whatever extra package is installed. This will result in lots of Findlib warnings, and errors about inconsistent assumptions.