[ocaml-platform] OPAM 0.9.5 released

Thomas Gazagnaire thomas at ocamlpro.com
Mon Mar 11 10:01:33 GMT 2013


So I've started to get some feedback to the auto-setup step and it seems to be broken under debian/ubuntu.

The symptom: gnome is not starting
The cure: open a textual console and add " > /dev/null 2> /dev/null || true" to the line ". ~/.opam/opam-int/init.sh" in your ~/.profile
The cause: some starting scripts use dash which is quite limited

For the linux packagers the fixing patches:
https://github.com/OCamlPro/opam/commit/93cf842464589d1e479072d7aeb76d94537facfe.diff
https://github.com/OCamlPro/opam/commit/8ca0faa4df701e0e15e26681ad3fbc9c5fa44780.diff

--
Thomas

On Mar 10, 2013, at 5:17 PM, Thomas Gazagnaire wrote:

> Just a remark for the packagers of OPAM. 0.9.5 is broken for packages using symbolic links[1]. If possible, please apply the following patch on the version you are distributing:
> 
> https://github.com/OCamlPro/opam/commit/db5129d42fd70cb80ee33040d42f0103d9cc51ea.diff
> 
> Best,
> Thomas
> 
> [1] https://github.com/OCamlPro/opam/issues/520
> 
> 
> On Mar 8, 2013, at 5:30 PM, Thomas Gazagnaire wrote:
> 
>> Hi,
>> 
>> I'm pleased to announce the release 0.9.5 of OPAM.  All the features that I though are important for the first releases are in, so you can consider 0.9.5 to be something like 1.0-rc1.
>> 
>> For this release, I'm particularly keen on getting people feebdack on the new auto-setup thing: OPAM now asks the user if he wants his local configuration upgraded to fully use OPAM (including installation auto-completion scripts). Use `opam init --no-setup` if you want to continue using OPAM as before.
>> 
>> One notable change which will please packagers of OPAM for OS distributions: I've added a `make with-ocamlbuild` and `make install-with-ocamlbuild` targets to not depend on the unreleased (and thus unpackaged) ocp-build. Otherwise, when using the development version of OPAM, it is still recommended to use ocp-build (as it is much faster). 
>> 
>> The changelog:
>> * If necessary, apply patches and substitute files before removing a package
>> * Fix `opam remove <pkg> --keep-build-dir` keeps the folder if a source archive is extracted
>> * Add build and install rules using ocamlbuild to help distro packagers
>> * Support arbitrary level of nested subdirectories in packages repositories
>> * Add `opam config exec "CMD ARG1 ... ARGn" --switch=SWITCH` to execute a command in a subshell
>> * Improve the behaviour of `opam update` wrt. pinned packages
>> * Change the default external solver criteria (only useful if you have aspcud installed on your machine)
>> * Add support for global and user configuration for OPAM (`opam config setup`)
>> * Stop yelling when OPAM is not up-to-date
>> * Update or generate `~/.ocamlinit` when running `opam init`
>> * Fix tests on *BSD (thx Arnaud Degroote)
>> * Fix compilation for the source archive
>> 
>> The files:
>> [OPAM] https://github.com/OCamlPro/opam/archive/latest.tar.gz
>> [OPAM+depends] http://www.ocamlpro.com/pub/opam-latest-full.tar.gz
>> 
>> Best,
>> Thomas
>> 
> 



More information about the Platform mailing list