[Pkg-xen-devel] [PATCH 9/9] Create 2 ocaml packages, libxen-ocaml-4.1 and libxen-ocaml-dev.

Bastian Blank waldi at debian.org
Wed Oct 26 15:12:31 UTC 2011


On Wed, Oct 26, 2011 at 02:52:46PM +0100, Jonathan Ludlam wrote:
> On 26 Oct 2011, at 13:34, Bastian Blank wrote:
> > On Tue, Oct 25, 2011 at 01:37:29PM +0100, Jon Ludlam wrote:
> >> diff --git a/xen/debian/libxen-ocaml-dev.install b/xen/debian/libxen-ocaml-dev.install
> >> new file mode 100644
> >> index 0000000..a9f22f6
> >> --- /dev/null
> >> +++ b/xen/debian/libxen-ocaml-dev.install
> >> @@ -0,0 +1,2 @@
> >> +/usr/lib/xen-4.1/lib/ocaml/{xenlight,xenbus,xenctrl,xenstore,xeneventchn,xenmmap}/*.cm{i,x,xa}
> >> +/usr/lib/xen-4.1/lib/ocaml/{xenlight,xenbus,xenctrl,xenstore,xeneventchn,xenmmap}/*.a
> > Brace-expansion, don't use it.
> OK

If you do the OCAMLDESTDIR change, you can push the patch directly in
the rules file.

> >> +	dh_ocaml
> > This package should not include any ocaml stuff.
> Do you mean it should be moved from the generic install-base into the 'install-lib-ocaml*_$(ARCH)' make recipes? Sure.

Yes.

> Good question. What's the recommendation here? The shlibs variable doesn't, for example, pick up the xenctrl.so:

I think about doing this another way: Move some libs back into /usr/lib
as libxenXXX-4.1.so, aka no ABI and into its own package. Every user of
this libs have to check the version on its own, but if people want it
broken, they can have it. Also shlibs should pick it up then.

Bastian

-- 
You!  What PLANET is this!
		-- McCoy, "The City on the Edge of Forever", stardate 3134.0



More information about the Pkg-xen-devel mailing list