|
1 | 1 | { |
2 | | - "hash": "9350b216342c05f38ce9761259bd3807", |
| 2 | + "hash": "04636acc6a72954534ee78aa338f9076", |
3 | 3 | "root": "bs-react-intl-extractor@path:.", |
4 | 4 | "node": { |
5 | 5 | "refmterr@3.1.7": { |
|
60 | 60 | }, |
61 | 61 | "dependencies": [ |
62 | 62 | "@esy-ocaml/substs@0.0.1", "@opam/biniou@opam:1.2.0", |
63 | | - "@opam/cppo@opam:1.6.4", "@opam/easy-format@opam:1.3.1", |
| 63 | + "@opam/cppo@opam:1.6.5", "@opam/easy-format@opam:1.3.1", |
64 | 64 | "@opam/jbuilder@opam:transition" |
65 | 65 | ] |
66 | 66 | }, |
|
191 | 191 | "name": "ocaml-stub", |
192 | 192 | "content": |
193 | 193 | "#!/bin/sh\n\nBINDIR=$(dirname \"$(command -v ocamlc)\")\n\"$BINDIR/ocaml\" -I \"$OCAML_TOPLEVEL_PATH\" \"$@\"\n" |
194 | | - }, |
195 | | - { |
196 | | - "name": "_esy/build", |
197 | | - "content": |
198 | | - "#!/bin/bash\n\nset -euo pipefail\nset -x\n\n#\n# Shim OCAMLLIB so that we can write topfind there\n#\n\nREAL_OCAMLLIB=\"$1\"\n\nmkdir -p $cur__install/lib/ocaml\ncd $cur__install/lib/ocaml\n\nfor filename in `ls -1 $REAL_OCAMLLIB`; do\n ln -s $REAL_OCAMLLIB/$filename $filename;\ndone\n\n#\n# Build\n#\n\ncd $cur__root\n\nexport OCAMLLIB=\"$cur__install/lib/ocaml\"\n\n./configure \\\n -bindir $cur__install/bin \\\n -sitelib $cur__install/lib \\\n -mandir $cur__install/man \\\n -config $cur__install/lib/findlib.conf \\\n -no-custom \\\n -no-camlp4\n\nmake all\nmake opt\nmake install\n\n(opam-installer --prefix=$cur__install || true)\n" |
199 | 194 | } |
200 | 195 | ], |
201 | 196 | "opam": { |
|
204 | 199 | "opam": |
205 | 200 | "opam-version: \"1.2\"\nname: \"ocamlfind\"\nversion: \"1.8.0\"\nmaintainer: \"Thomas Gazagnaire <thomas@gazagnaire.org>\"\nauthors: \"Gerd Stolpmann <gerd@gerd-stolpmann.de>\"\nhomepage: \"http://projects.camlcity.org/projects/findlib.html\"\nbug-reports: \"https://gitlab.camlcity.org/gerd/lib-findlib/issues\"\ndepends: [\n \"conf-m4\" {build}\n]\navailable: ocaml-version >= \"4.00.0\"\nbuild: [\n [\n \"./configure\"\n \"-bindir\"\n bin\n \"-sitelib\"\n lib\n \"-mandir\"\n man\n \"-config\"\n \"%{lib}%/findlib.conf\"\n \"-no-custom\"\n \"-no-topfind\" {preinstalled}\n ]\n [make \"all\"]\n [make \"opt\"] {ocaml-native}\n]\ninstall: [\n [make \"install\"]\n [\"install\" \"-m\" \"0755\" \"ocaml-stub\" \"%{bin}%/ocaml\"] {preinstalled}\n]\nremove: [\n [\"ocamlfind\" \"remove\" \"bytes\"]\n [\n \"./configure\"\n \"-bindir\"\n bin\n \"-sitelib\"\n lib\n \"-mandir\"\n man\n \"-config\"\n \"%{lib}%/findlib.conf\"\n \"-no-topfind\" {preinstalled}\n ]\n [make \"uninstall\"]\n [\"rm\" \"-f\" \"%{bin}%/ocaml\"] {preinstalled}\n]\ndev-repo: \"git+https://gitlab.camlcity.org/gerd/lib-findlib.git\"", |
206 | 201 | "override": { |
207 | | - "build": [ [ "bash", "./_esy/build", "#{ocaml.lib / 'ocaml'}" ] ], |
| 202 | + "build": [ |
| 203 | + [ |
| 204 | + "./configure", "-bindir", "#{self.bin}", "-sitelib", |
| 205 | + "#{self.lib}", "-mandir", "#{self.man}", "-config", |
| 206 | + "#{self.lib}/findlib.conf", "-no-custom", "-no-topfind" |
| 207 | + ], |
| 208 | + [ "make", "all" ], |
| 209 | + [ "make", "opt" ] |
| 210 | + ], |
| 211 | + "install": [ |
| 212 | + [ "make", "install" ], |
| 213 | + [ "install", "-m", "0755", "ocaml-stub", "#{self.bin}/ocaml" ], |
| 214 | + [ "mkdir", "-p", "#{self.toplevel}" ], |
| 215 | + [ |
| 216 | + "install", "-m", "0644", "src/findlib/topfind", |
| 217 | + "#{self.toplevel}/topfind" |
| 218 | + ] |
| 219 | + ], |
208 | 220 | "exportedEnv": { |
209 | | - "OCAMLLIB": { |
210 | | - "val": "#{@opam/ocamlfind.install / 'lib' / 'ocaml'}", |
211 | | - "scope": "global" |
212 | | - }, |
213 | | - "CAML_LD_LIBRARY_PATH": { |
214 | | - "val": |
215 | | - "#{@opam/ocamlfind.install / 'lib' / 'ocaml' / 'stublibs' : @opam/ocamlfind.install / 'lib' / 'ocaml' : $CAML_LD_LIBRARY_PATH}", |
216 | | - "scope": "global" |
217 | | - }, |
218 | 221 | "OCAML_TOPLEVEL_PATH": { |
219 | | - "val": "#{@opam/ocamlfind.install / 'lib' / 'ocaml'}", |
| 222 | + "val": "#{self.toplevel}", |
220 | 223 | "scope": "global" |
221 | 224 | } |
222 | 225 | } |
|
230 | 233 | "name": "@opam/ocamlbuild", |
231 | 234 | "version": "opam:0.12.0", |
232 | 235 | "source": [ |
233 | | - "archive:https://opam.ocaml.org/archives/ocamlbuild.0.12.0+opam.tar.gz#md5:6e877d7f40c119c0c6c03f04342f2264", |
| 236 | + "archive:https://opam.ocaml.org/archives/ocamlbuild.0.12.0+opam.tar.gz#md5:43f12b7f9a57d8e967a652bfb6a9dd65", |
234 | 237 | "archive:https://github.com/ocaml/ocamlbuild/archive/0.12.0.tar.gz#md5:442baa19470bd49150f153122e22907b" |
235 | 238 | ], |
236 | 239 | "files": [ |
|
244 | 247 | "name": "ocamlbuild", |
245 | 248 | "version": "0.12.0", |
246 | 249 | "opam": |
247 | | - "opam-version: \"1.2\"\nname: \"ocamlbuild\"\nversion: \"0.12.0\"\nmaintainer: \"Gabriel Scherer <gabriel.scherer@gmail.com>\"\nauthors: [\"Nicolas Pouillard\" \"Berke Durak\"]\nlicense: \"LGPL-2 with OCaml linking exception\"\nhomepage: \"https://github.com/ocaml/ocamlbuild/\"\ndoc: \"https://github.com/ocaml/ocamlbuild/blob/master/manual/manual.adoc\"\nbug-reports: \"https://github.com/ocaml/ocamlbuild/issues\"\nconflicts: [\n \"base-ocamlbuild\"\n \"ocamlfind\" {< \"1.6.2\"}\n]\navailable: ocaml-version >= \"4.03\"\nbuild: [\n [\n make\n \"-f\"\n \"configure.make\"\n \"all\"\n \"OCAMLBUILD_PREFIX=%{prefix}%\"\n \"OCAMLBUILD_BINDIR=%{bin}%\"\n \"OCAMLBUILD_LIBDIR=%{lib}%\"\n \"OCAMLBUILD_MANDIR=%{man}%\"\n \"OCAML_NATIVE=%{ocaml-native}%\"\n \"OCAML_NATIVE_TOOLS=%{ocaml-native}%\"\n ]\n [make \"check-if-preinstalled\" \"all\" \"opam-install\"]\n]\ndev-repo: \"git+https://github.com/ocaml/ocamlbuild.git\"", |
| 250 | + "opam-version: \"1.2\"\nname: \"ocamlbuild\"\nversion: \"0.12.0\"\nmaintainer: \"Gabriel Scherer <gabriel.scherer@gmail.com>\"\nauthors: [\"Nicolas Pouillard\" \"Berke Durak\"]\nlicense: \"LGPL-2 with OCaml linking exception\"\nhomepage: \"https://github.com/ocaml/ocamlbuild/\"\ndoc: \"https://github.com/ocaml/ocamlbuild/blob/master/manual/manual.adoc\"\nbug-reports: \"https://github.com/ocaml/ocamlbuild/issues\"\nconflicts: [\n \"base-ocamlbuild\"\n \"ocamlfind\" {< \"1.6.2\"}\n]\navailable: ocaml-version >= \"4.03\" & ocaml-version < \"4.08.0\"\nbuild: [\n [\n make\n \"-f\"\n \"configure.make\"\n \"all\"\n \"OCAMLBUILD_PREFIX=%{prefix}%\"\n \"OCAMLBUILD_BINDIR=%{bin}%\"\n \"OCAMLBUILD_LIBDIR=%{lib}%\"\n \"OCAMLBUILD_MANDIR=%{man}%\"\n \"OCAML_NATIVE=%{ocaml-native}%\"\n \"OCAML_NATIVE_TOOLS=%{ocaml-native}%\"\n ]\n [make \"check-if-preinstalled\" \"all\" \"opam-install\"]\n]\ndev-repo: \"git+https://github.com/ocaml/ocamlbuild.git\"", |
248 | 251 | "override": { |
249 | 252 | "build": [ |
250 | 253 | [ |
|
323 | 326 | } |
324 | 327 | }, |
325 | 328 | "dependencies": [ |
326 | | - "@esy-ocaml/substs@0.0.1", "@opam/cppo@opam:1.6.4", |
| 329 | + "@esy-ocaml/substs@0.0.1", "@opam/cppo@opam:1.6.5", |
327 | 330 | "@opam/ocamlfind@opam:1.8.0" |
328 | 331 | ] |
329 | 332 | }, |
330 | | - "@opam/menhir@opam:20170712": { |
| 333 | + "@opam/menhir@opam:20171013": { |
331 | 334 | "record": { |
332 | 335 | "name": "@opam/menhir", |
333 | | - "version": "opam:20170712", |
| 336 | + "version": "opam:20171013", |
334 | 337 | "source": [ |
335 | | - "archive:https://opam.ocaml.org/archives/menhir.20170712+opam.tar.gz#md5:18aaf814e51aeb4fbfd8b7c1fb7ffbba", |
336 | | - "archive:http://gallium.inria.fr/~fpottier/menhir/menhir-20170712.tar.gz#md5:85a5c2aef1d3f2224dab7c53d79892e5" |
| 338 | + "archive:https://opam.ocaml.org/archives/menhir.20171013+opam.tar.gz#md5:b361a87378407e26b9ea2dde7ddf41a0", |
| 339 | + "archive:http://gallium.inria.fr/~fpottier/menhir/menhir-20171013.tar.gz#md5:620863edea40437390ee5e5bd82fba11" |
337 | 340 | ], |
338 | 341 | "files": [ |
339 | 342 | { |
340 | | - "name": "_esy/menhir-20170712.patch", |
| 343 | + "name": "_esy/menhir-20171013.patch", |
341 | 344 | "content": |
342 | | - "--- ./Makefile\n+++ ./Makefile\n@@ -60,10 +60,11 @@\n # If the compiler is MSVC, then the name of the executable file ends in .exe,\n # and object file names end in .obj instead of .o.\n \n-ifneq (,$(shell ocamlc -config | grep -E \"ccomp_type: msvc\"))\n+OS_TYPE:=$(shell ocamlc -config | tr -d '\\15' | awk '/^os_type:/ {print $$2}')\n+ifeq ($(OS_TYPE),$(filter $(OS_TYPE),Win32 Cygwin))\n MENHIREXE := menhir.exe\n- OBJ := obj\n-# LIBSUFFIX := lib\n+ OBJ := $(shell ocamlc -config | tr -d '\\15' | awk '/^ext_obj:/ {print $$2}' | tr -d '.')\n+# LIBSUFFIX := $(shell ocamlc -config | tr -d '\\15' | awk '/^ext_lib:/ {print $$2}' | tr -d '.')\n else\n MENHIREXE := menhir\n OBJ := o\n@@ -85,8 +86,8 @@\n # performed if \"os_type\" is \"Win32\" or \"Win64\", and must not be performed if\n # \"os_type\" is \"Cygwin\" or \"Unix\".\n \n-ifneq (,$(shell ocamlc -config | grep -E \"os_type: (Win32|Win64)\"))\n-installation_libdir := $(shell cygpath -m $(libdir))\n+ifeq ($(OS_TYPE),Win32)\n+installation_libdir := $(shell cygpath -m $(libdir) || echo $(libdir))\n else\n installation_libdir := $(libdir)\n endif\n--- ./src/cmly_write.ml\n+++ ./src/cmly_write.ml\n@@ -168,6 +168,6 @@\n output_value oc (t : grammar)\n \n let write filename =\n- let oc = open_out filename in\n+ let oc = open_out_bin filename in\n write oc (encode());\n close_out oc\n" |
| 345 | + "--- ./Makefile\n+++ ./Makefile\n@@ -59,13 +59,8 @@\n \n # If the compiler is MSVC, then object file names end in .obj instead of .o.\n \n-ifneq (,$(shell ocamlc -config | grep -E \"ccomp_type: msvc\"))\n- OBJ := obj\n-# LIBSUFFIX := lib\n-else\n- OBJ := o\n-# LIBSUFFIX := a\n-endif\n+OBJ := $(shell ocamlc -config | awk -F '[\\t \\r]+' '/^ext_obj:/ {print $$2}' | tr -d '.')\n+#LIBSUFFIX := $(shell ocamlc -config | awk -F '[\\t \\r]+' '/^ext_lib:/ {print $$2}' | tr -d '.')\n \n # If we are under Windows (regardless of whether we are using MSVC or mingw)\n # then the name of the executable file ends in .exe.\n@@ -91,8 +86,9 @@\n # performed if \"os_type\" is \"Win32\" or \"Win64\", and must not be performed if\n # \"os_type\" is \"Cygwin\" or \"Unix\".\n \n-ifneq (,$(shell ocamlc -config | grep -E \"os_type: (Win32|Win64)\"))\n-installation_libdir := $(shell cygpath -m $(libdir))\n+OS_TYPE:=\t$(shell ocamlc -config | awk -F '[\\t \\r]+' '/^os_type:/ {print $$2}')\n+ifeq ($(OS_TYPE),Win32)\n+installation_libdir := $(shell cygpath -m $(libdir) || echo $(libdir))\n else\n installation_libdir := $(libdir)\n endif\n--- ./src/cmly_write.ml\n+++ ./src/cmly_write.ml\n@@ -168,6 +168,6 @@\n output_value oc (t : grammar)\n \n let write filename =\n- let oc = open_out filename in\n+ let oc = open_out_bin filename in\n write oc (encode());\n close_out oc\n" |
343 | 346 | } |
344 | 347 | ], |
345 | 348 | "opam": { |
346 | 349 | "name": "menhir", |
347 | | - "version": "20170712", |
| 350 | + "version": "20171013", |
348 | 351 | "opam": |
349 | | - "opam-version: \"1.2\"\nname: \"menhir\"\nversion: \"20170712\"\nmaintainer: \"francois.pottier@inria.fr\"\nauthors: [\n \"François Pottier <francois.pottier@inria.fr>\"\n \"Yann Régis-Gianas <yrg@pps.univ-paris-diderot.fr>\"\n]\nhomepage: \"http://gallium.inria.fr/~fpottier/menhir/\"\nbug-reports: \"menhir@inria.fr\"\ndepends: [\n \"ocamlfind\"\n \"ocamlbuild\" {build}\n]\navailable: ocaml-version >= \"4.02\"\nbuild: [\n make\n \"-f\"\n \"Makefile\"\n \"PREFIX=%{prefix}%\"\n \"USE_OCAMLFIND=true\"\n \"docdir=%{doc}%/menhir\"\n \"libdir=%{lib}%/menhir\"\n \"mandir=%{man}%/man1\"\n]\ninstall: [\n make\n \"-f\"\n \"Makefile\"\n \"install\"\n \"PREFIX=%{prefix}%\"\n \"docdir=%{doc}%/menhir\"\n \"libdir=%{lib}%/menhir\"\n \"mandir=%{man}%/man1\"\n]\nremove: [\n make\n \"-f\"\n \"Makefile\"\n \"uninstall\"\n \"PREFIX=%{prefix}%\"\n \"docdir=%{doc}%/menhir\"\n \"libdir=%{lib}%/menhir\"\n \"mandir=%{man}%/man1\"\n]\ndev-repo: \"git+https://gitlab.inria.fr/fpottier/menhir.git\"", |
| 352 | + "opam-version: \"1.2\"\nname: \"menhir\"\nversion: \"20171013\"\nmaintainer: \"francois.pottier@inria.fr\"\nauthors: [\n \"François Pottier <francois.pottier@inria.fr>\"\n \"Yann Régis-Gianas <yrg@pps.univ-paris-diderot.fr>\"\n]\nhomepage: \"http://gallium.inria.fr/~fpottier/menhir/\"\nbug-reports: \"menhir@inria.fr\"\ndepends: [\n \"ocamlfind\"\n \"ocamlbuild\" {build}\n]\navailable: ocaml-version >= \"4.02\"\nbuild: [\n make\n \"-f\"\n \"Makefile\"\n \"PREFIX=%{prefix}%\"\n \"USE_OCAMLFIND=true\"\n \"docdir=%{doc}%/menhir\"\n \"libdir=%{lib}%/menhir\"\n \"mandir=%{man}%/man1\"\n]\ninstall: [\n make\n \"-f\"\n \"Makefile\"\n \"install\"\n \"PREFIX=%{prefix}%\"\n \"docdir=%{doc}%/menhir\"\n \"libdir=%{lib}%/menhir\"\n \"mandir=%{man}%/man1\"\n]\nremove: [\n make\n \"-f\"\n \"Makefile\"\n \"uninstall\"\n \"PREFIX=%{prefix}%\"\n \"docdir=%{doc}%/menhir\"\n \"libdir=%{lib}%/menhir\"\n \"mandir=%{man}%/man1\"\n]\ndev-repo: \"git+https://gitlab.inria.fr/fpottier/menhir.git\"", |
350 | 353 | "override": { |
351 | 354 | "build": [ |
352 | 355 | [ |
353 | 356 | "bash", "-c", |
354 | | - "#{os == 'windows' ? 'patch -p1 < _esy/menhir-20170712.patch' : 'true'}" |
| 357 | + "#{os == 'windows' ? 'patch -p1 < _esy/menhir-20171013.patch' : 'true'}" |
355 | 358 | ], |
356 | 359 | [ |
357 | 360 | "make", "-f", "Makefile", "PREFIX=#{self.install}", |
|
454 | 457 | }, |
455 | 458 | "dependencies": [ "@esy-ocaml/substs@0.0.1" ] |
456 | 459 | }, |
457 | | - "@opam/cppo@opam:1.6.4": { |
| 460 | + "@opam/cppo@opam:1.6.5": { |
458 | 461 | "record": { |
459 | 462 | "name": "@opam/cppo", |
460 | | - "version": "opam:1.6.4", |
| 463 | + "version": "opam:1.6.5", |
461 | 464 | "source": [ |
462 | | - "archive:https://opam.ocaml.org/archives/cppo.1.6.4+opam.tar.gz#md5:c6651a3677048b442859d085138c2cc2", |
463 | | - "archive:https://github.com/mjambon/cppo/archive/v1.6.4.tar.gz#md5:f7a4a6a0e83b76562b45db3a93ffd204" |
| 465 | + "archive:https://opam.ocaml.org/archives/cppo.1.6.5+opam.tar.gz#md5:07b0faeb722c1d625befb89fdc39617f", |
| 466 | + "archive:https://github.com/mjambon/cppo/archive/v1.6.5.tar.gz#md5:1cd25741d31417995b0973fe0b6f6c82" |
464 | 467 | ], |
465 | 468 | "files": [], |
466 | 469 | "opam": { |
467 | 470 | "name": "cppo", |
468 | | - "version": "1.6.4", |
| 471 | + "version": "1.6.5", |
469 | 472 | "opam": |
470 | | - "opam-version: \"1.2\"\nname: \"cppo\"\nversion: \"1.6.4\"\nmaintainer: \"martin@mjambon.com\"\nauthors: \"Martin Jambon\"\nlicense: \"BSD-3-Clause\"\nhomepage: \"https://github.com/mjambon/cppo\"\nbug-reports: \"https://github.com/mjambon/cppo/issues\"\ndepends: [\n \"jbuilder\" {build & >= \"1.0+beta17\"}\n \"base-bytes\"\n \"base-unix\"\n]\nbuild: [\n [\"jbuilder\" \"subst\" \"-p\" name] {pinned}\n [\"jbuilder\" \"build\" \"-p\" name \"-j\" jobs]\n]\nrun-test: [\"jbuilder\" \"runtest\" \"-p\" name]\ndev-repo: \"git+https://github.com/mjambon/cppo.git\"", |
| 473 | + "opam-version: \"1.2\"\nname: \"cppo\"\nversion: \"1.6.5\"\nmaintainer: \"martin@mjambon.com\"\nauthors: \"Martin Jambon\"\nlicense: \"BSD-3-Clause\"\nhomepage: \"https://github.com/mjambon/cppo\"\nbug-reports: \"https://github.com/mjambon/cppo/issues\"\ndepends: [\n \"jbuilder\" {build & >= \"1.0+beta17\"}\n \"base-unix\"\n]\nbuild: [\n [\"jbuilder\" \"subst\" \"-p\" name] {pinned}\n [\"jbuilder\" \"build\" \"-p\" name \"-j\" jobs]\n]\nrun-test: [\"jbuilder\" \"runtest\" \"-p\" name]\ndev-repo: \"git+https://github.com/mjambon/cppo.git\"", |
471 | 474 | "override": null |
472 | 475 | } |
473 | 476 | }, |
474 | 477 | "dependencies": [ |
475 | | - "@esy-ocaml/substs@0.0.1", "@opam/base-bytes@opam:base", |
476 | | - "@opam/base-unix@opam:base", "@opam/jbuilder@opam:transition" |
| 478 | + "@esy-ocaml/substs@0.0.1", "@opam/base-unix@opam:base", |
| 479 | + "@opam/jbuilder@opam:transition" |
477 | 480 | ] |
478 | 481 | }, |
479 | 482 | "@opam/conf-which@opam:1": { |
|
655 | 658 | }, |
656 | 659 | "dependencies": [ |
657 | 660 | "@esy-ocaml/esy-installer@0.0.0", "@esy-ocaml/substs@0.0.1", |
658 | | - "@opam/jbuilder@opam:transition", "@opam/menhir@opam:20170712", |
| 661 | + "@opam/jbuilder@opam:transition", "@opam/menhir@opam:20171013", |
659 | 662 | "@opam/merlin-extend@opam:0.3", |
660 | 663 | "@opam/ocaml-migrate-parsetree@opam:1.0.11", |
661 | 664 | "@opam/ocamlfind@opam:1.8.0", "@opam/result@opam:1.3" |
|
0 commit comments