pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/js_of_ocaml Updated package to latest version, 2...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f8b47b570ad
branches:  trunk
changeset: 348918:7f8b47b570ad
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon Jun 20 14:01:42 2016 +0000

description:
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

diffstat:

 devel/js_of_ocaml/Makefile                    |   9 +++++----
 devel/js_of_ocaml/PLIST                       |  11 ++++++++---
 devel/js_of_ocaml/distinfo                    |  12 ++++++------
 devel/js_of_ocaml/patches/patch-Makefile.conf |  14 ++++++--------
 4 files changed, 25 insertions(+), 21 deletions(-)

diffs (151 lines):

diff -r 16a2c0fd5c17 -r 7f8b47b570ad devel/js_of_ocaml/Makefile
--- a/devel/js_of_ocaml/Makefile        Mon Jun 20 12:34:00 2016 +0000
+++ b/devel/js_of_ocaml/Makefile        Mon Jun 20 14:01:42 2016 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2016/05/05 11:45:37 jaapb Exp $
+# $NetBSD: Makefile,v 1.14 2016/06/20 14:01:42 jaapb Exp $
 #
 
 GITHUB_PROJECT=        js_of_ocaml
-DISTNAME=      ${GITHUB_PROJECT}-2.7
-PKGREVISION=   2
+DISTNAME=      ${GITHUB_PROJECT}-2.8
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ocsigen/}
 
@@ -13,7 +12,6 @@
 LICENSE=       gnu-lgpl-v2
 
 DEPENDS+=      ocaml-deriving-ocsigen>=0.6:../../devel/ocaml-deriving-ocsigen
-DEPENDS+=      ocaml-ppx_deriving>=3.1:../../devel/ocaml-ppx_deriving
 DEPENDS+=      menhir-[0-9]*:../../devel/menhir
 
 USE_TOOLS=     gmake
@@ -22,6 +20,8 @@
 MAKE_ENV=      BINDIR=${DESTDIR}/${PREFIX}/bin DESTDIR=${DESTDIR} OCAML_SITELIBDIR=${OCAML_SITELIBDIR}
 MAKE_JOBS_SAFE=        no
 
+OCAML_USE_FINDLIB=     yes
+
 .include "options.mk"
 .include "../../devel/ocaml-base64/buildlink3.mk"
 .include "../../devel/ocaml-cmdliner/buildlink3.mk"
@@ -29,6 +29,7 @@
 .include "../../devel/ocaml-lwt/buildlink3.mk"
 .include "../../devel/ocaml-optcomp/buildlink3.mk"
 BUILDLINK_API_DEPENDS.ocaml-optcomp+=   ocaml-optcomp>=1.6
+.include "../../devel/ocaml-ppx_deriving/buildlink3.mk"
 .include "../../devel/ocaml-ppx_tools/buildlink3.mk"
 .include "../../lang/camlp4/buildlink3.mk"
 .include "../../mk/ocaml.mk"
diff -r 16a2c0fd5c17 -r 7f8b47b570ad devel/js_of_ocaml/PLIST
--- a/devel/js_of_ocaml/PLIST   Mon Jun 20 12:34:00 2016 +0000
+++ b/devel/js_of_ocaml/PLIST   Mon Jun 20 14:01:42 2016 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2016/02/17 17:02:30 jaapb Exp $
-@unexec %D/libexec/ocaml-findlib-register del %D/${OCAML_SITELIB}/js_of_ocaml
+@comment $NetBSD: PLIST,v 1.8 2016/06/20 14:01:42 jaapb Exp $
 bin/js_of_ocaml
 bin/jsoo_minify
 bin/jsoo_mkcmis
@@ -7,6 +6,8 @@
 ${OCAML_SITELIB}/js_of_ocaml/META
 ${OCAML_SITELIB}/js_of_ocaml/array.js
 ${OCAML_SITELIB}/js_of_ocaml/bigarray.js
+${OCAML_SITELIB}/js_of_ocaml/bigstring.js
+${OCAML_SITELIB}/js_of_ocaml/bin_prot.js
 ${OCAML_SITELIB}/js_of_ocaml/cSS.cmi
 ${OCAML_SITELIB}/js_of_ocaml/cSS.mli
 ${OCAML_SITELIB}/js_of_ocaml/classlist.js
@@ -16,6 +17,7 @@
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/js_of_ocaml/compiler.cmx
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/js_of_ocaml/compiler.cmxa
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/js_of_ocaml/compiler.cmxs
+${OCAML_SITELIB}/js_of_ocaml/core_kernel.js
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/js_of_ocaml/deriving_Json.cmx
 ${OCAML_SITELIB}/js_of_ocaml/deriving_Json.mli
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/js_of_ocaml/deriving_Json_lexer.cmx
@@ -70,6 +72,9 @@
 ${OCAML_SITELIB}/js_of_ocaml/jsooTopError.cmi
 ${OCAML_SITELIB}/js_of_ocaml/jsooTopError.cmo
 ${OCAML_SITELIB}/js_of_ocaml/jsooTopError.mli
+${OCAML_SITELIB}/js_of_ocaml/jsooTopPpx.cmi
+${OCAML_SITELIB}/js_of_ocaml/jsooTopPpx.cmo
+${OCAML_SITELIB}/js_of_ocaml/jsooTopPpx.mli
 ${OCAML_SITELIB}/js_of_ocaml/jsoo_findlib_support.a
 ${OCAML_SITELIB}/js_of_ocaml/jsoo_findlib_support.cma
 ${OCAML_SITELIB}/js_of_ocaml/jsoo_findlib_support.cmi
@@ -102,6 +107,7 @@
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/js_of_ocaml/ocamlbuild_js_of_ocaml.cmxa
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/js_of_ocaml/ocamlbuild_js_of_ocaml.cmxs
 ${OCAML_SITELIB}/js_of_ocaml/ocamlbuild_js_of_ocaml.mli
+${OCAML_SITELIB}/js_of_ocaml/object.js
 ${OCAML_SITELIB}/js_of_ocaml/pa_deriving_Json.cmo
 ${OCAML_SITELIB}/js_of_ocaml/pa_deriving_Json.cmi
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/js_of_ocaml/pa_deriving_Json.cmx
@@ -154,4 +160,3 @@
 ${OCAML_SITELIB}/js_of_ocaml/worker.mli
 ${OCAML_SITELIB}/js_of_ocaml/xmlHttpRequest.cmi
 ${OCAML_SITELIB}/js_of_ocaml/xmlHttpRequest.mli
-@exec %D/libexec/ocaml-findlib-register add %D/${OCAML_SITELIB}/js_of_ocaml
diff -r 16a2c0fd5c17 -r 7f8b47b570ad devel/js_of_ocaml/distinfo
--- a/devel/js_of_ocaml/distinfo        Mon Jun 20 12:34:00 2016 +0000
+++ b/devel/js_of_ocaml/distinfo        Mon Jun 20 14:01:42 2016 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2016/02/06 14:00:13 jaapb Exp $
+$NetBSD: distinfo,v 1.8 2016/06/20 14:01:42 jaapb Exp $
 
-SHA1 (js_of_ocaml-2.7.tar.gz) = 38cf61fd0963d3cd9414c5c2f619dfed75118687
-RMD160 (js_of_ocaml-2.7.tar.gz) = d1a6f659a46a73b8a31560e1b7a41ee3e7f4938c
-SHA512 (js_of_ocaml-2.7.tar.gz) = ab6e5d16342bf763c10eb5c2e7589610622034eee2ad82aa09c6f68448f155a5c56584702307852b251bde80146c1b7115ed6add1358ad96b130c9dd2b96118b
-Size (js_of_ocaml-2.7.tar.gz) = 1304487 bytes
+SHA1 (js_of_ocaml-2.8.tar.gz) = b2dd34395fd83ba84650d0f1fa0f2f4b7e87883b
+RMD160 (js_of_ocaml-2.8.tar.gz) = 66352ac084a126e6b2b9d5d404cd3a4c22e158c7
+SHA512 (js_of_ocaml-2.8.tar.gz) = 914b2a1a452acd494c3373fa65e858c2747bd7d946d6077320429160d4172f627978a0b4ee526fc6e39378dffc9c965b81e5a1f16eba1f60529e4a6b5f474c1e
+Size (js_of_ocaml-2.8.tar.gz) = 1330364 bytes
 SHA1 (patch-Makefile) = 9268aaa9bfb7aedda30a9a0356d6caa531c88f34
-SHA1 (patch-Makefile.conf) = 528bb6922649f0a07e760e45a8f70d13287277d2
+SHA1 (patch-Makefile.conf) = 40a365bd35106f2cb16958424926e657edc7887b
diff -r 16a2c0fd5c17 -r 7f8b47b570ad devel/js_of_ocaml/patches/patch-Makefile.conf
--- a/devel/js_of_ocaml/patches/patch-Makefile.conf     Mon Jun 20 12:34:00 2016 +0000
+++ b/devel/js_of_ocaml/patches/patch-Makefile.conf     Mon Jun 20 14:01:42 2016 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-Makefile.conf,v 1.4 2016/02/06 14:01:13 jaapb Exp $
+$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-01-25 19:35:03.000000000 +0000
+--- Makefile.conf.orig 2016-06-16 15:53:27.000000000 +0000
 +++ Makefile.conf
 @@ -1,6 +1,6 @@
  
@@ -12,7 +12,7 @@
  
  ####
  
-@@ -40,8 +40,8 @@ WITH_DERIVING ?= $(shell if [ -f `ocamlf
+@@ -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)
  
@@ -21,9 +21,9 @@
 +WITH_REACT ?= ${USE_REACT}
 +WITH_TYXML ?= ${USE_TYXML}
  
- WITH_FINDLIB?=YES
+ WITH_ASYNC ?= $(shell if [ -f `ocamlfind query async_kernel 2> /dev/null`/async_kernel.cma ]; then echo YES; else echo NO; fi)
  
-@@ -60,7 +60,7 @@ endif
+@@ -66,7 +66,7 @@ endif
  
  METAOCAML ?= 0
  
@@ -31,6 +31,4 @@
 +#VERSION_GIT := $(shell git log -n1 --pretty=format:%h 2> /dev/null)
  
  %.ml: %.cppo.ml
--      cppo $< -o $@ -V OCAML:`ocamlc -version`
-\ No newline at end of file
-+      cppo $< -o $@ -V OCAML:`ocamlc -version`
+       cppo $< -o $@ -V OCAML:`ocamlc -version`



Home | Main Index | Thread Index | Old Index