From Mageia wiki
Jump to: navigation, search

This page describes information shared between the OCaml packagers.

Current OCaml packagers:

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

  • caboodle
  • coq
  • cudf
  • hevea
  • laby
  • ocaml
  • ocaml-alsa
  • ocaml-ancient
  • ocaml-ansiterminal
  • ocaml-ao
  • ocaml-archive
  • ocaml-argot
  • ocaml-async
  • ocaml-async_core
  • ocaml-async_extra
  • ocaml-async_unix
  • ocaml-atd
  • ocaml-atdgen
  • ocaml-augeas
  • ocaml-autoconf
  • ocaml-batteries
  • ocaml-benchmark
  • ocaml-bin-prot
  • ocaml-biniou
  • ocaml-bisect
  • ocaml-bitcoin
  • ocaml-bitstring
  • ocaml-bjack
  • ocaml-cairo
  • ocaml-calendar
  • ocaml-camlbz2
  • ocaml-camlidl
  • ocaml-camlpdf
  • ocaml-camlzip
  • ocaml-camomile
  • ocaml-cfg
  • ocaml-cmdliner
  • ocaml-cmigrep
  • ocaml-comparelib
  • ocaml-config-file
  • ocaml-cppo
  • ocaml-creal
  • ocaml-cry
  • ocaml-cryptgps
  • ocaml-cryptokit
  • ocaml-csv
  • ocaml-curl
  • ocaml-curses
  • ocaml-data-notation
  • ocaml-deriving-ocsigen
  • ocaml-dose3
  • ocaml-duppy
  • ocaml-easy-format
  • ocaml-eliom
  • ocaml-event
  • ocaml-expat
  • ocaml-expect
  • ocaml-extlib
  • ocaml-extunix
  • ocaml-faad
  • ocaml-facile
  • ocaml-fd
  • ocaml-fieldslib
  • ocaml-fileutils
  • ocaml-findlib
  • ocaml-flac
  • ocaml-ftp
  • ocaml-gavl
  • ocaml-getopt
  • ocaml-gettext
  • ocaml-gg
  • ocaml-glmlite
  • ocaml-gsl
  • ocaml-gstreamer
  • ocaml-herelib
  • ocaml-inifiles
  • ocaml-janest-core
  • ocaml-janest-core_extended
  • ocaml-js
  • ocaml-json-static
  • ocaml-json-wheel
  • ocaml-jsonm
  • ocaml-kaputt
  • ocaml-lablgl
  • ocaml-lablgtk2
  • ocaml-lacaml
  • ocaml-ladspa
  • ocaml-lambda-term
  • ocaml-libaio
  • ocaml-libvirt
  • ocaml-lwt
  • ocaml-lzma
  • ocaml-lzo
  • ocaml-mad
  • ocaml-magic
  • ocaml-mikmatch
  • ocaml-mm
  • ocaml-mysql
  • ocaml-newt
  • ocaml-oasis
  • ocaml-ocamlagrep
  • ocaml-ocamlgraph
  • ocaml-ocamlmpi
  • ocaml-ocamlnet
  • ocaml-ocplib-endian
  • ocaml-ogg
  • ocaml-otfm
  • ocaml-ounit
  • ocaml-pa_ounit
  • ocaml-pareto
  • ocaml-pcre
  • ocaml-pgocaml
  • ocaml-pgocaml-introduction
  • ocaml-pipebang
  • ocaml-pomap
  • ocaml-postgresql
  • ocaml-pure-fun
  • ocaml-pxp
  • ocaml-react
  • ocaml-release
  • ocaml-res
  • ocaml-rope
  • ocaml-rss
  • ocaml-rtime
  • ocaml-sdl
  • ocaml-sexplib
  • ocaml-sfml
  • ocaml-sha
  • ocaml-simple_gettext
  • ocaml-size
  • ocaml-speex
  • ocaml-sqlite3
  • ocaml-ssl
  • ocaml-syck
  • ocaml-syslog
  • ocaml-text
  • ocaml-theora
  • ocaml-tophide
  • ocaml-type-conv
  • ocaml-typehashlib
  • ocaml-tyxml
  • ocaml-uint
  • ocaml-ulex
  • ocaml-uri
  • ocaml-uucd
  • ocaml-uuidm
  • ocaml-uunf
  • ocaml-uutf
  • ocaml-variantslib
  • ocaml-vg
  • ocaml-vorbis
  • ocaml-xhtml
  • ocaml-xml-light
  • ocaml-xmlm
  • ocaml-xstr
  • ocaml-xtmpl
  • ocaml-yojson
  • ocaml-zarith
  • ocaml-zed
  • ocamldsort
  • ocamlduce
  • ocamlify
  • ocamlmakefile
  • ocamlmod
  • ocamlnat (not available for ocaml 4)
  • ocamlviz
  • ocamlwc
  • ocamlweb
  • iteml
  • js_of_ocaml
  • stog
  • swig
  • unison
  • xen


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