Dependency on Camlp4

Boris Yakobowski <[email protected]> Tue, 4 Nov 2014 16:48:59 +0100
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <CABbVA-AH4JPw19czNyyEyrjfa4y0S_E6v4h4wmuNiuzBwtadMg@mail.gmail.com>
--===============7304830779237815833==
Content-Type: multipart/alternative; boundary=20cf307f308efc03ff05070a67a3

--20cf307f308efc03ff05070a67a3
Content-Type: text/plain; charset=UTF-8

Dear all,

Now that Camlp4 is no longer distributed along with OCaml, compiling
Lablgtk with OCaml's trunk has become problematic. As far as I can see,
Lablgtk uses Camlp4 for 2 reasons :
(1) 'IFDEF HAS_PRINTEXC_BACKTRACE THEN' in gtkSignal.ml4
(2) Concrete syntax [< ... >] for streams in 3 other .ml4 files

For (1), this could (and probably should) be replaced by a call to sed.
For (2), the .ml files could be packaged with the source distribution of
Lablgtk, and optionally regenerated by a special Makefile rule.

Would those changes be acceptable to you ? They would make life much easier
for us.

-- 
Boris

--20cf307f308efc03ff05070a67a3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div>Dear all,<br><br></div>Now that C=
amlp4 is no longer distributed along with OCaml, compiling Lablgtk with OCa=
ml&#39;s trunk has become problematic. As far as I can see, Lablgtk uses Ca=
mlp4 for 2 reasons :<br>(1) &#39;IFDEF HAS_PRINTEXC_BACKTRACE THEN&#39; in =
gtkSignal.ml4<br></div>(2) Concrete syntax [&lt; ... &gt;] for streams in 3=
 other .ml4 files<br><br></div>For (1), this could (and probably should) be=
 replaced by a call to sed.<br></div>For (2), the .ml files could be packag=
ed with the source distribution of Lablgtk, and optionally regenerated by a=
 special Makefile rule.<br><br></div>Would those changes be acceptable to y=
ou ? They would make life much easier for us.<br><div><div><div><br><div><d=
iv><div>-- <br>Boris
</div></div></div></div></div></div></div>

--20cf307f308efc03ff05070a67a3--

--===============7304830779237815833==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Lablgtk-list mailing list
[email protected]
https://lists.ocamlcore.org/cgi-bin/listinfo/lablgtk-list

--===============7304830779237815833==--