FS#25763 - [ocaml] Integrate OCaml compiler libraries into the "ocaml" package
Attached to Project:
Arch Linux
Opened by Baptiste (zorun) - Friday, 26 August 2011, 02:17 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 18 September 2011, 13:54 GMT
Opened by Baptiste (zorun) - Friday, 26 August 2011, 02:17 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 18 September 2011, 13:54 GMT
|
Details
Description:
`utop` [1] is a universal toplevel for OCaml, providing completion support, colors, parenthesis matching, etc... There is an almost-working package in the AUR [2], but utop "requires OCaml compiler libraries" (project README), which is available through package `ocaml-compiler-libs` [3] on Debian. On Arch, while there is such a package in the AUR [4] (currently broken and very outdated), it is not very convenient since it involves building a large part of the ocaml compiler. On the other hand, it is pretty easy to include when compiling ocaml as a whole: just copying a few libs to $pkgdir. All in all, it's an additional 4.9 MB, which is not that much compared to the ~160 MB of the package. If this *really* is an issue, a split PKGBUILD would be a valid solution too. I thereby ask to include these libs into the `ocaml` package in extra. Attached is a patch to the current PKGBUILD (based on metasyntax's work [5]). I've tested it with success. Thank you! [1] https://forge.ocamlcore.org/projects/utop/ [2] https://aur.archlinux.org/packages.php?ID=51722 [3] http://packages.debian.org/wheezy/ocaml-compiler-libs [4] https://aur.archlinux.org/packages.php?ID=12333 [5] https://bitbucket.org/taylor_venable/aur/src/tip/ocaml/PKGBUILD |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Sunday, 18 September 2011, 13:54 GMT
Reason for closing: Fixed
Additional comments about closing: 3.12.1-2
Sunday, 18 September 2011, 13:54 GMT
Reason for closing: Fixed
Additional comments about closing: 3.12.1-2
[1] https://aur.archlinux.org/packages.php?ID=39089
It has the slight advantage of *not* bumping the pkgrel of the "ocaml" package, thus avoiding re-downloading the whole package for such a small change (saving a lot of bandwidth both for the servers and for OCaml users).
Please let me know if I can help anyhow, I'm a bit afraid of this bug report being buried and forgotten ;)
If there's anything preventing it being resolved (either with direct inclusion or with the split PKGBUILD), please indicate what's wrong.
I only use ocaml for compiling unison.
Thanks
However, as superbobry has pointed out, the time required for this task is just ridiculous...