From cbcf66753943574056746fe7a3e5acdff377ad7f Mon Sep 17 00:00:00 2001
From: Erwan Jahier <erwan.jahier@univ-grenoble-alpes.fr>
Date: Tue, 15 May 2018 17:57:30 +0200
Subject: [PATCH] lutils only from ocaml 4.02 because of the Byte vs String
 issue

---
 Makefile             |  4 ++--
 _oasis               |  4 +++-
 _tags                | 18 +++++++++---------
 doc/version.tex      |  6 +++---
 setup.ml             | 10 +++++-----
 src/META             |  4 ++--
 src/luciole.ml       |  4 ++--
 src/lutilsVersion.ml |  4 ++--
 8 files changed, 28 insertions(+), 26 deletions(-)

diff --git a/Makefile b/Makefile
index 2a41487..c3ba1a2 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 all:build
 
 
-BINPATH=$(shell dirname `which ocamlc`)/..
+PREFIX=$(shell opam config var prefix)
 
 
 -include ./Makefile.version
@@ -15,7 +15,7 @@ setup.ml:_oasis
 
 setup.data:configure
 configure: setup.ml
-	ocaml setup.ml -configure --prefix $(BINPATH) --exec-prefix $(BINPATH)
+	ocaml setup.ml -configure --prefix $(PREFIX)
 
 
 install:
diff --git a/_oasis b/_oasis
index 860a841..94468b4 100644
--- a/_oasis
+++ b/_oasis
@@ -1,6 +1,6 @@
 OASISFormat: 0.4
 Name:        lutils
-Version:     1.43
+Version:     1.44
 Authors:     Erwan Jahier
 Maintainers: erwan.jahier@imag.fr
 License:     CeCILL
@@ -17,8 +17,10 @@ Description:
 
 BuildTools: ocamlbuild
 PreBuildCommand: make src/lutilsVersion.ml
+OCamlVersion: >= 4.02
 PostInstallCommand:  cp emacs/*.el $prefix/lib/$pkg_name
 
+
 # A simple data visualiser based on gnuplot
 Executable "gnuplot-rif"
   Path:       src
diff --git a/_tags b/_tags
index fb789f3..5e53c75 100644
--- a/_tags
+++ b/_tags
@@ -1,5 +1,5 @@
 # OASIS_START
-# DO NOT EDIT (digest: f04ddb896e4fab2fba33404580bc4a83)
+# DO NOT EDIT (digest: 8b63ea904ea0002641021b2a51f5104d)
 # Ignore VCS directories, you can use the same kind of rule outside
 # OASIS_START/STOP if you want to exclude directories that contains
 # useless stuff for the build process
@@ -15,16 +15,16 @@ true: annot, bin_annot
 "_darcs": -traverse
 "_darcs": not_hygienic
 # Executable gnuplot-rif
-"src/gnuplotRifMain.native": pkg_camlp4
-"src/gnuplotRifMain.native": pkg_num
-"src/gnuplotRifMain.native": pkg_str
-"src/gnuplotRifMain.native": pkg_unix
+"src/gnuplotRifMain.native": package(camlp4)
+"src/gnuplotRifMain.native": package(num)
+"src/gnuplotRifMain.native": package(str)
+"src/gnuplotRifMain.native": package(unix)
 # Library lutils
 "src/lutils.cmxs": use_lutils
-<src/*.ml{,i,y}>: pkg_camlp4
-<src/*.ml{,i,y}>: pkg_num
-<src/*.ml{,i,y}>: pkg_str
-<src/*.ml{,i,y}>: pkg_unix
+<src/*.ml{,i,y}>: package(camlp4)
+<src/*.ml{,i,y}>: package(num)
+<src/*.ml{,i,y}>: package(str)
+<src/*.ml{,i,y}>: package(unix)
 # OASIS_STOP
 
 "src/gnuplotRif.ml": syntax_camlp4o
diff --git a/doc/version.tex b/doc/version.tex
index 1dbfc8f..939a6f5 100644
--- a/doc/version.tex
+++ b/doc/version.tex
@@ -1,4 +1,4 @@
-\newcommand{\version}{1.43}
-\newcommand{\sha}{5a19499}
+\newcommand{\version}{1.44}
+\newcommand{\sha}{080108b}
 \newcommand{\versionname}{none}
-\newcommand{\versiondate}{03-05-18}
+\newcommand{\versiondate}{15-05-18}
diff --git a/setup.ml b/setup.ml
index dc6ae64..ef9265e 100644
--- a/setup.ml
+++ b/setup.ml
@@ -1,7 +1,7 @@
 (* setup.ml generated for the first time by OASIS v0.4.10 *)
 
 (* OASIS_START *)
-(* DO NOT EDIT (digest: a05242512da59f2a1faaabbf3277d0c8) *)
+(* DO NOT EDIT (digest: 7a6bf0c8c372a6f256906c3924b3684f) *)
 (*
    Regenerated by OASIS v0.4.10
    Visit http://oasis.forge.ocamlcore.org for more information and
@@ -6840,7 +6840,7 @@ open OASISTypes;;
 let setup_t =
   {
      BaseSetup.configure = InternalConfigurePlugin.configure;
-     build = OCamlbuildPlugin.build [];
+     build = OCamlbuildPlugin.build ["-use-ocamlfind"];
      test = [];
      doc = [];
      install = InternalInstallPlugin.install;
@@ -6854,8 +6854,8 @@ let setup_t =
      package =
        {
           oasis_version = "0.4";
-          ocaml_version = None;
-          version = "1.43";
+          ocaml_version = Some (OASISVersion.VGreaterEqual "4.02");
+          version = "1.44";
           license =
             OASISLicense.DEP5License
               (OASISLicense.DEP5Unit
@@ -7256,7 +7256,7 @@ let setup_t =
        };
      oasis_fn = Some "_oasis";
      oasis_version = "0.4.10";
-     oasis_digest = Some "b\004L8Kp\187s\138\n\238\"\244\170\003\214";
+     oasis_digest = Some "qS\025\1479\017\170\225\159\180'\215\020`\022\209";
      oasis_exec = None;
      oasis_setup_args = [];
      setup_update = false
diff --git a/src/META b/src/META
index 08a3cca..8049dbe 100644
--- a/src/META
+++ b/src/META
@@ -1,6 +1,6 @@
 # OASIS_START
-# DO NOT EDIT (digest: f8fe83befb77c8c6f01a283a75e670a0)
-version = "1.43"
+# DO NOT EDIT (digest: edb5a8985f03b1674efb93fc7298fc35)
+version = "1.44"
 description = "shared by Verimag/synchronous tools (lustre, lutin, rdbg)."
 requires = "unix str camlp4 num"
 archive(byte) = "lutils.cma"
diff --git a/src/luciole.ml b/src/luciole.ml
index 68d038f..c5f76e8 100644
--- a/src/luciole.ml
+++ b/src/luciole.ml
@@ -1,4 +1,4 @@
-(* Time-stamp: <modified the 27/01/2016 (at 14:39) by Erwan Jahier> *)
+(* Time-stamp: <modified the 07/05/2018 (at 10:11) by Erwan Jahier> *)
 (*-----------------------------------------------------------------------
 ** This file may only be copied under the terms of the GNU Library General
 ** Public License
@@ -16,7 +16,7 @@ let soi = string_of_int
 (** Generates stub files for calling luciole.  *)
 
 
-(* Generate a Makefile that compiles files generated by gen_stubs,
+(** Generate a Makefile that compiles files generated by gen_stubs,
    and calls luciole on the resulting .dro file.
 
    the first arg is a just a string used to invent file names
diff --git a/src/lutilsVersion.ml b/src/lutilsVersion.ml
index 03f571b..395264d 100644
--- a/src/lutilsVersion.ml
+++ b/src/lutilsVersion.ml
@@ -1,2 +1,2 @@
-let str="1.43"
-let sha="5a19499"
+let str="1.44"
+let sha="080108b"
-- 
GitLab