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

Jonathan Ludlam Jonathan.Ludlam at eu.citrix.com
Wed Oct 26 15:37:13 UTC 2011


On 26 Oct 2011, at 16:12, Bastian Blank wrote:

> 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.
> 

Ah OK. It it OK to use brace expansion in the rules file then? The trouble is that the runtime and dev packages
take a different set of files from the same set of dirs. I suppose I could do a 'find' to locate the files to copy or something. Otherwise it'll be a big install line :-)

>>>> +	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.
> 

Hmm, if this happens I can remove a bunch of the rpath twiddling too. Are you planning on doing this soon, or should I put in the xen-utils- at version@ dependency for now?

> Bastian
> 
> -- 
> You!  What PLANET is this!
> 		-- McCoy, "The City on the Edge of Forever", stardate 3134.0
> 
> _______________________________________________
> Pkg-xen-devel mailing list
> Pkg-xen-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xen-devel




More information about the Pkg-xen-devel mailing list