head 1.6; access; symbols pkgsrc-2017Q2:1.5.0.10 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.8 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.6 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.4 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.2 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.4.0.2 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.3.0.8 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.6 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.4 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.2 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.2.0.2 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.1.0.18 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.16 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.14 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.12 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.10 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.8 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.6 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.4 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.2 pkgsrc-2012Q3-base:1.1; locks; strict; comment @# @; 1.6 date 2017.09.08.13.19.34; author jaapb; state dead; branches; next 1.5; commitid LMHQHa8yIHLPzo6A; 1.5 date 2016.06.20.14.01.53; author jaapb; state Exp; branches; next 1.4; commitid weLUIDOr1oeh7dbz; 1.4 date 2016.02.06.14.01.13; author jaapb; state Exp; branches; next 1.3; commitid eSM3CZjwvyQOrRTy; 1.3 date 2015.01.20.16.09.16; author jaapb; state Exp; branches; next 1.2; commitid kQycPU9TkMx9rM6y; 1.2 date 2014.10.09.21.18.05; author jaapb; state Exp; branches; next 1.1; commitid ooIP2Kb1WtiQrzTx; 1.1 date 2012.07.11.15.35.06; author wiz; state Exp; branches; next ; desc @@ 1.6 log @Updated package to latest version, 3.0.0. Changes include: Features/Changes Misc: switch to ppx instead of camlp4 Misc: always install deriving_json Misc: remove support for async_kernel, bin_prot Misc: remove support for ppx_driver Misc: split js_of_ocaml in multiple packages Misc: switch to jbuilder Misc: new pseudo filesystem support with better node support Compiler: sourcemap support is now optional Compiler: no more strong dep on yojson, b64, menhir, ocamllex Compiler: improve separate compilation workflow Runtime: add support for weakdef Syntaxes: add expect tests Syntaxes: switch to ocaml-migrate-parsetree and ppx_tools_versioned Lib: Add primitives in [Js.Unsafe] Lib: remove keycode module, replaced by Dom_html.Keyboard_code Lib: XmlHttpRequest, API change for perform functions. Bug fixes: Runtime: fix many stubs Lib: fix many signatures Compiler: fix performance of compilation passes (simpl,clean) Compiler: fix compat with OCaml 4.06 Toplevel: flush channels after execution. Toplevel: fix toplevel generation when using -export-unit @ text @$NetBSD: patch-Makefile.conf,v 1.5 2016/06/20 14:01:53 jaapb Exp $ Have BINDIR be determined from package Makefile, do not call git Also determine tyxml and react usage based on options rather than detection --- Makefile.conf.orig 2016-06-16 15:53:27.000000000 +0000 +++ Makefile.conf @@@@ -1,6 +1,6 @@@@ # Where binaries are installed: -BINDIR := `dirname \`which ocamlc\`` +#BINDIR := `dirname \`which ocamlc\`` #### @@@@ -44,8 +44,8 @@@@ WITH_DERIVING ?= $(shell if [ -f `ocamlf WITH_GRAPHICS ?= $(shell if [ -f `ocamlfind query graphics 2> /dev/null`/graphics.cmi ]; then echo YES; else echo NO; fi) -WITH_REACT ?= $(shell if [ -f `ocamlfind query reactiveData 2> /dev/null`/reactiveData.cma ]; then echo YES; else echo NO; fi) -WITH_TYXML ?= $(shell if [ -f `ocamlfind query tyxml 2> /dev/null`/tyxml_f.cma ]; then echo YES; else echo NO; fi) +WITH_REACT ?= ${USE_REACT} +WITH_TYXML ?= ${USE_TYXML} WITH_ASYNC ?= $(shell if [ -f `ocamlfind query async_kernel 2> /dev/null`/async_kernel.cma ]; then echo YES; else echo NO; fi) @@@@ -66,7 +66,7 @@@@ endif METAOCAML ?= 0 -VERSION_GIT := $(shell git log -n1 --pretty=format:%h 2> /dev/null) +#VERSION_GIT := $(shell git log -n1 --pretty=format:%h 2> /dev/null) %.ml: %.cppo.ml cppo $< -o $@@ -V OCAML:`ocamlc -version` @ 1.5 log @Updated package to latest version, 2.8. Changes include: * Features/Changes ** Compiler: allow dynlink of precompiled javascript file ** Compiler: Improve tailcall optimization ** Compiler: Improve pretty mode ** Compiler: More inlining and static evaluation ** Compiler: Better source map support, to leverage resolve_variable_names in chrome DevTools ** Compiler: preserve as much as possible the initial OCaml variable names ** Lib: synchronize with tyxml 4.0.0 ** Lib: convert string/bigstring to/from typed_array ** Lib: add Tyxml_js.Register API. ** Lib: Support for Core_kernel and Async_kernel (32bit only). ** Lib: Mutation observer. ** Runtime: bigstring, caml_int32_bits_of_float, .. ** Runtime: better nodejs integration * Misc ** Support for OCaml 4.03 ** Toplevel with ppx syntax * Bug fixes ** Compiler: Fix float printing ** Compiler: fix separate compilation @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Updated package to latest version, 2.7. Changes include: ===== 2.7 (2016-01-25) ===== * Features/Changes ** Syntax: ppx_deriving ** Compiler: Add custom_header ability to jsoo generate file (Edgar Aroutiounian) ** Compiler: Bytecode parsing, improved performance ** Lib: add geolocation API (Stéphane Legrand) ** Lib: add Mutation observers API (Stéphane Legrand) ** Lib: add Jstable module (Drup) ** Lib: add WebWorker API (Grégoire Henry) ** Lib: Allow to customize 'in_channel' with specific 'refiller' (Grégoire Henry) ** Lib: Synchronized tyxml 3.6.0 * BugFixes ** Compiler: Fix compilation of the [match with exception] construct ** Compiler: fix compat with the upcoming ocaml 4.03 ** Lib: Tyxml_js, discrepancy between Firefox and Chromium ** Lib: various small fixes ** Runtime: Fix Big_int.square_big_int ** Runtime: graphics, fix draw_image with transparent pixel ** Ppx: fix for merlin ===== 2.6 (2015-07-15) ===== * Features/Changes ** Compiler: Findlib is optionnal ** Compiler: improvement of sourcemap support (ie: inlinned sourcemap) ** Compiler: Support for separate compilation (compile cm{o,a} -> js) ** Compiler: more inlining ** Syntax: new ppx syntax ** Syntax: js object literal (camlp4 + ppx) ** Runtime: support for Dynlink ** Runtime: Support for upcomming release of Bin_prot, Core_kernel, Async_kernel ** Lib: add requestAnimationFrame ** Lib: complete Js.Math ** Lib: complete xmlHttpRequest * Misc ** Drop support for 3.12 * BugFixes ** Runtime: Fix caml_hash ** Lib: fix tyxml + svg ** Lib: various Api fixes @ text @d5 1 a5 1 --- Makefile.conf.orig 2016-01-25 19:35:03.000000000 +0000 d15 1 a15 1 @@@@ -40,8 +40,8 @@@@ WITH_DERIVING ?= $(shell if [ -f `ocamlf d24 1 a24 1 WITH_FINDLIB?=YES d26 1 a26 1 @@@@ -60,7 +60,7 @@@@ endif d34 1 a34 3 - cppo $< -o $@@ -V OCAML:`ocamlc -version` \ No newline at end of file + cppo $< -o $@@ -V OCAML:`ocamlc -version` @ 1.3 log @Revbump associated with ocaml 4.02.1. Also added the ocaml-tyxml option which compiles in tyxml (and react) support. @ text @d5 1 a5 1 --- Makefile.conf.orig 2014-09-30 14:40:37.000000000 +0000 d15 1 a15 1 @@@@ -39,12 +39,12 @@@@ WITH_DERIVING ?= $(shell if [ -f `ocamlf d21 2 a22 2 +WITH_REACT ?= $(USE_REACT) +WITH_TYXML ?= $(USE_TYXML) d24 1 d26 1 a26 1 NATDYNLINK ?= $(shell if [ -f `ocamlc -where`/dynlink.cmxa ]; then echo YES; else echo NO; fi) d32 5 @ 1.2 log @Updated js_of_ocaml to latest version, 2.5. Package now uses ocaml.mk. There are many changes since the latest version, most important are: ** Compiler: SourceMap improvement ** Compiler: remove registration of unused named value (wrt runtime) ** Compiler: Smarter inlining, Constant sharing, Switch generation ** Lib: Dom binding: *AttributeNS, *AttributeNode*, borderRadius ** Runtime: improve performence of string, array allocation * Misc: enable safestring for OCaml 4.02 * Commandline: switch to Cmdliner. Better -help + manpage ** Runtime: support for num (Ryan Goulden) ** Lib: initial support for Dom_svg ** Lib: introduce Jsonp module ** Lib: introduce JSON object binding ** Lib: introduce DomContentLoaded ** lib: introduce eventSource ** Lib: introduce js_of_ocaml.toplevel package ** Lib: various improvement: textContent,outerHTML,unload event,css properties ** Lib: complete binding of Js.array ** Lib: change signature of Sys_js.register_autoload ** Lib: sync js_of_ocaml.tyxml with latest tyxml ** Tools: helpers to build toplevel: jsoo_mktop, jsoo_mkcmis ** Lib: remove deprecated Event_arrow ** Lib: introduce js_of_ocaml.tyxml ** Lib: introduce js_of_ocaml.weak (that loads weak.js) and remove predicate joo_weak ** Lib: introduce js_of_ocaml.log (Lwt logger) ** Lib: Dom_html.{range,selection} (Enguerrand Decorne) ** Runtime: improve blit_string perf ** Compiler: option to warn about unused js variable ** Lib: audio/videoElement ** Runtime: bigarray comparison ** Compiler: allow to embed directory with -file dir_name=ext1,ext2:dest_path ** Compiler: can now output embeded files in a differant js file ** Lib: js_of_ocaml.graphics ** Lib: Js.Unsafe.expr to embed JavasScript expression to be used instead of Js.Unsafe.variable (or eval_string) ** Lib: Sys_js.js_of_ocaml_version && Sys_js.file_content ** OCamlbuild plugin: Add the OASIS support, document the API and add the tags sourcemap (included in the meta-tag debug) and tailcall (#148) (by Jacques-Pascal Deplaix) ** Compiler: generate shorter variable names ** Parsing and minifying of external javascript file (ie: runtime) (by Hugo Heuzard) ** Compiler: JavaScript strict mode enabled ** Runtime: add support for recursive module (by Hugo Heuzard) ** Compiler: use trampoline to implement tailcall optim (by Hugo Heuzard) ** Improved OCaml toplevel UI (by Hugo Heuzard) ** Toplevel: support dynamic loading of cmo and cma files ** Runtime: add Bigarray support (contributed by Andrew Ray) ** Library: switch from "float Js.t" to just "float" for typing JavaScript numbers ** Compiler: Add javascript file lookup using findlib (+mypkg/myfile.js will read myfile.js from mypkg findlib directory) (by Hugo Heuzard) ** Compiler: improve missing primitives & reserved name detection (by Hugo Heuzard) ** Compiler: static evaluation of constant ("staticeval" optimisation) (by Hugo Heuzard) ** Compiler: share constants (by Hugo Heuzard) ** Compiler: alias primitives (by Hugo Heuzard) ** Compiler: complete javacript ast (by Hugo Heuzard) ** Compiler: 'caml_format_int %d x' compiles to ""+x (by Hugo Heuzard) ** Add JavaScript file in META (to be used with ocamlfind) (by Hugo Heuzard) ** Add Ocamlbuild plugin js_of_ocaml.ocamlbuild (by Jacques-Pascal Deplaix) ** Add/Install classlist.js, weak.js ** Add Url.Current.protocol (by Vicent Balat) ** Dependency: deriving instead of deriving-ocsigen ** Runtime: log wrong string encoding issues to the console (by Hugo Heuzard) ** Add compiler_libs (by Pierre Chambart) ** Compile syntax extension to native code as well (by Hugo Heuzard) ** Add a JavaScript parser (extracted from facebook/pfff) ** Compiler: remove redundant 'var' (by Hugo Heuzard) ** Compiler: improve compact mode, remove unnecessary space, semicolon ** Runtime: Support in_channel and out_channel (by Hugo Heuzard) ** Compiler: option to embed files into the generated js such files can be read using open_in (by Hugo Heuzard) ** Runtime: add cache for method lookup (by Hugo Heuzard) ** Compiler: experimental sourcemap support (by Hugo Heuzard) ** JavaScript Errors are now wrapped inside OCaml exceptions (by Hugo Heuzard) ** Add missing primitives for OCaml 4.01 ** Improved Dom bindings (Hugo Heuzard and many other contributors) ** Add -linkall option to keep all provided primitives (Pierre Chambard) ** Improved tail-call optimization (Hugo Heuzard) ** Added optimization levels: -o {1,2,3} (Hugo Heuzard) @ text @d4 1 d15 11 a25 1 @@@@ -47,4 +47,4 @@@@ NATDYNLINK ?= $(shell if [ -f `ocamlc -w @ 1.1 log @Import js_of_ocaml-1.2 as devel/js_of_ocaml. Packaged by Jaap Boender. Js_of_ocaml is a compiler of OCaml bytecode to Javascript. It makes it possible to run OCaml programs in a Web browser. @ text @d3 2 a4 2 Have BINDIR be determined from package Makefile --- Makefile.conf.orig 2011-11-30 14:25:06.000000000 +0000 d9 2 a10 2 -BINDIR := /usr/local/bin +# BINDIR := /usr/local/bin d14 6 @