Re: New draft packaging guidelines for OCaml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 01, 2008 at 04:48:02PM +0100, Hans de Goede wrote:
> Richard W.M. Jones wrote:
>>  - camlp4/camlp5 syntax extensions are a bit different from a
>>    distribution point of view.  They usually don't need a -devel
>>    package, and they require *.cmo files to be distributed.
>>    And sometimes they should be noarch.
>>    https://bugzilla.redhat.com/show_bug.cgi?id=435431
>
> Erm I don't see any .cmo files in the filelist for this one?

This one is a bit different from the other two syntax extensions.

He's building a standalone preprocessor (/usr/bin/deriving) using an
undocumented[1] feature of camlp4.  I don't know if this is just his
personal preference or if there's some reason behind it.

Most camlp4 & camlp5 extensions are distributed as '*.cmo' files,
usually 'pa_*.cmo' where 'pa' stands for parser, and they get
dynamically loaded into the rest of camlp4 at runtime.

Rich.

[1] http://stuff.mit.edu/afs/sipb/project/ocaml/src/current/camlp4/Camlp4Bin.ml
Well, all of the new camlp4 is undocumented, just this one even less.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux