From Mageia wiki
This page describes information shared between the OCaml packagers.
Current OCaml packagers:
- blue_prawn User:Blueprawn
- malo User:Malo
Contents
Policy
The OCaml policy is described in the OCaml policy page.
OCaml Status
OCaml status for the next upcoming Mageia
Project Page on OCamlForge
The OCaml packaging project page on the OCamlForge
List of Packages
|
|
|
Missing libraries
Unsorted:
- ocaml-dbi
- ocaml-dbus
- ocaml-deriving
- ocaml-dml
- ocaml-gl
- ocaml-gregoriandate
- ocaml-html-form
- ocaml-ioxml
- ocaml-js
- ocaml-mlglade
- ocaml-mlgmp
- ocaml-mlgmpidl
- ocaml-ocamldap
- ocaml-ocamlgsl
- ocaml-odbc
- ocaml-ode
- ocaml-omake
- ocaml-openin
- ocaml-optcomp
- ocaml-orm-sqlite
- ocaml-otags
- ocaml-ows
- ocaml-p3l
- ocaml-pa-do
- ocaml-pa-monad
- ocaml-pam
- ocaml-perl4caml
- ocaml-preludeml
- ocaml-reins
- ocaml-rpm
- ocaml-tony
- ocaml-wlex
- ocaml-xmlrpc
- ocaml-xmlrpc-light
- ocamldot
- ocaml-omake
- rpmcheck
- rpmdepsize
- sks
- spring-installer
- v6
- virt-ctrl
- virt-df
- virt-dmesg
- virt-mem
- virt-top
- why
- wyrd
- xspp
- zenon
Still alive?
- ocaml-bdb
- ocaml-camlal (still alive no, but still useful yes)
- ocaml-camlgi
Known problems
- the plplot binding should be renamed to ocaml-plplot and some link in the package mentions
-L/home/iurt/rpm/BUILD/plplot-5.9.9/build/bindings/ocaml
- ocaml-xen should be split in ocaml-xen and ocaml-xen-devel, (2013-03-04)
- missing Requires: xen-devel
- cudf-ocaml-devel to be splitted in devel and not
- ocaml-dose3 (Work in progress)
- To be submitted when cudl 0.6.2 gets out.
- due to a change in the API, it does not compile anymore, here is the error message:
File "common/cudfAdd.ml", line 128, characters 15-34: Error: Unbound value Cudf.uid_by_package
- (2012-11-23) it seems that ocaml-js packages the upstream js_of_ocaml, there is already a package named js_of_ocaml
- (2012-11-23) Interface "topdirs.cmi" occurs in several directories:
- /usr/lib/ocaml/compiler-libs/topdirs.cmi
- /usr/lib/ocaml/topdirs.cmi
TODO list
Testing
I order to test the simple linking of installed libraries here is a little script:
#!/bin/bash
PACKAGES=`ocamlfind list | cut -d '(' -f 1 | xargs echo`
MSG="=> All good "
THREAD=-thread
echo "= Testing individual OCaml packages ="
echo "$PACKAGES"
for p in $PACKAGES
do
ocamlfind ocamlc -o test $THREAD -package $p -linkpkg -g test.ml
if [ "$?" = "2" ]
then
echo "[Fail] $p Bytecode"
fi
ocamlfind ocamlopt -o test $THREAD -package $p -linkpkg -g test.ml
if [ "$?" = "2" ]
then
echo "[Fail] $p Native"
fi
done
The test.ml does nothing:
let _ = print_string "Success!\n"
This script notifies only the problems encountered. All native errors are normal if the -devel pacakge is not installed.
Links
Other Distros
Where to find the ocaml packages of the other distros:
PKG_NAME=ocaml-csv http://pkgs.fedoraproject.org/cgit/$PKG_NAME.git http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/$PKG_NAME.git http://svnweb.mageia.org/packages/cauldron/$PKG_NAME/current/ http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-ml/$PKG_NAME/ https://aur.archlinux.org/packages/oc/$PKG_NAME/PKGBUILD