[Pkg-xen-devel] [patch] Packages ocaml libraries

Thomas Goirand thomas at goirand.fr
Thu Sep 1 04:15:34 UTC 2011


On 09/01/2011 12:28 AM, Mehdi Dogguy wrote:
> +	export OCAMLINIT_SED="-e
> s%@XenBuildOcamlLibsDir@%debian/build/build-utils_$(ARCH)/tools/ocaml/libs%"
> && dh_ocamlinit
> 
> I think that the following is enough.

Done as suggested.

> I guess the dependency on "libxen-ocaml (= ${binary:Version})" is not
> necessary since it will be detected by dh_ocaml.

I tried to do that, but it didn't work (eg: a quick check to the
resulting packages with "mc" showed that the dependency were missing),
even after the correct files were sent to the correct packages. So I
just left it in the debian/templates/control.main.in file.

The way I did, at least I'm sure the dependency will be there! If
someone wants to investigate the issue further, that'd be great.

> The build-dependency on dh-ocaml should be versioned since all those
> dh_ocaml* scripts have been added in 0.9.0. I think you should turn that
> into something like "dh-ocaml (>= 0.9~), ocaml-nox (>= 3.11.1-3~)".
> Lintian should warn about that though.

Done as suggested as well.

New patch is attached.

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ocaml_3.diff
Type: text/x-diff
Size: 13631 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110901/437a8055/attachment.diff>


More information about the Pkg-xen-devel mailing list