Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164443 - Ocaml Expat bindings (new ebuild)
Summary: Ocaml Expat bindings (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-01-29 19:20 UTC by Oscar Hellström
Modified: 2007-02-06 21:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for ocaml-expat (ocaml-expat-0.9.1.ebuild,712 bytes, text/plain)
2007-01-29 19:22 UTC, Oscar Hellström
Details
Updated ebuild (ocaml-expat-0.9.1.ebuild,695 bytes, text/plain)
2007-01-29 20:08 UTC, Oscar Hellström
Details
expat_example_tar.bz2 (expat_example.tar.bz2,7.50 KB, text/plain)
2007-01-29 20:41 UTC, Oscar Hellström
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oscar Hellström 2007-01-29 19:20:44 UTC
Expat bindings for Objective Caml

Reproducible: Always
Comment 1 Oscar Hellström 2007-01-29 19:22:24 UTC
Created attachment 108509 [details]
Ebuild for ocaml-expat

Don't know how to do with use flags. There is a choice to build byte-code or native code or both. Right now there is only a use-flag for adding the native code.

Is there a policy for OCaml programs?
Comment 2 Alexandre Buisse (RETIRED) gentoo-dev 2007-01-29 19:44:06 UTC
Yes, we just assume that everyone has ocamlopt, so we always build with native code.

Two minor remarks:
- "( use foo ) && bar" is deprecated, one should use "if use foo ; then bar fi" instead
- we don't install LICENSE, since it's already in /usr/portage/license

Also, the tradition is to put the '{' on the same line than the function name.


Do you have an example of a program which uses this library, so I can give it a quick test?
Comment 3 Oscar Hellström 2007-01-29 20:04:19 UTC
Not sure about any program that uses it, developing that atm, but with a few more deps.

http://www.cduce.org/ seems to use it, but has quite a few dependencies. I could create a tarball with a small OCaml program that links to ocaml-expat.
Comment 4 Oscar Hellström 2007-01-29 20:08:20 UTC
Created attachment 108518 [details]
Updated ebuild

Updated the ebuild based on comments
Comment 5 Oscar Hellström 2007-01-29 20:41:18 UTC
Created attachment 108524 [details]
expat_example_tar.bz2

Very small example of using OCaml Expat bindings...
Comment 6 Alexandre Buisse (RETIRED) gentoo-dev 2007-02-06 21:28:21 UTC
And this one found its way into the tree as well.

Thanks.