Migration to OCaml 3.11
Check list
List of things you should check / do while updating your package for OCaml 3.11:
- package new upstream version: implies (of course) a sourceful upload
add a build-dependency on [http://packages.debian.org/experimental/dh-ocaml dh-ocaml]
- if you use something from /usr/share/cdbs/2, update to the new dh-ocaml
- consider switching debian/rules to CDBS (recommended)
- (libraries only) ensure you are generating ocamldoc API reference in HTML format (to be registered in doc-base under section Programming/OCaml): for that you can use /usr/share/cdbs/1/class/ocamldoc-api-ref-config shipped by dh-ocaml
check your debian/*.in files: they should use the @OCamlStdlibDir@ substitution variable to reference ocamlc -where, do not rely on /usr/lib/ocaml/@OCamlABI@
similarly: use @OCamlDllDir@ for /stublibs/
check whether Ubuntu differences should be integrated (see [http://bentobako.org/ubuntu-ocaml-status/raw/ this page])
- consider migrating your package to Git (for uniformity with other packages, though not required)
check you are distributing at least one of .mli / .ml (the latter only if the former is missing) for each .cmi
- remove additional dependencies added for uploads to experimental
build .cmxs / install .cma in non-dev package if needed by Ocsigen (ping StephaneGlondu)
Upload rounds
Add your package here if it is ready for upload to unstable. The version will be used for the binNMU request. It has to be strictly greater than the one available in unstable, and lower or equal to the one to be uploaded.
TODO
This section summarizes packages that will need sourceful uploads, but are not ready yet:
- because of use of ocamldoc-api-ref-config (moved to /usr/share/ocaml): ocamlnet galax ocamlbricks
- because of use of ocaml.mk (moved to dh-ocaml): approx bin-prot calendar cameleon camlidl camlimages camlp5 camomile cothreads cryptgps cryptokit extlib findlib galax gmetadom headache janest-core json-static json-wheel lablgtkmathview lwt mlpcap ocaml-benchmark ocaml-bitstring ocaml-bjack ocamldap ocaml-dbus ocaml-duppy ocaml-expat ocaml-fileutils ocaml-gettext ocamlgraph ocamlgsl ocaml-http ocaml-inotify ocaml-libvirt ocaml-magic ocamlnet ocamlpam ocaml-res ocaml-sha ocaml-soundtouch ocaml-syck ocurl ounit pcre-ocaml planets polygen postgresql-ocaml pxp sexplib310 syslog-ocaml type-conv ulex ulex0.8 unison unison2.13.16 uuidm virt-top xml-light xmlrpc-light xstr
StephaneGlondu's TODO-list:
- runtime dynamically-loaded dependencies of ocsigen (move .cma to non -dev package, build .cmxs): camlzip cryptokit ocaml-sqlite3
- fix FTBFS: cameleon
Round 0
dh-ocaml (>= 0.2)
Round 1
ocaml (>= 3.11.0-2)
Round 2~1
- Be sure the binNMU request has been processed
Round 2
findlib (>= 1.2.4-1)
lablgl (>= 1.04-2)
Round 3
lablgtk2 (>= 2.12.0-2)
BinNMUs
TODO