Differences between revisions 37 and 38
Revision 37 as of 2009-02-21 14:10:36
Size: 4913
Editor: MehdiDogguy
Comment: Add Mehdi's TODO list
Revision 38 as of 2009-02-22 11:36:45
Size: 4904
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
 * add a build-dependency on [http://packages.debian.org/experimental/dh-ocaml dh-ocaml]  * add a build-dependency on [http://packages.debian.org/sid/dh-ocaml dh-ocaml]

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/sid/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 in a round subsection 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. If you think a package needs some work and a binNMU might not be appropriate, please add it to the TODO list.

/!\ Don't forget to put the version information, it will be needed to generate the binNMU request!

TODO

This section summarizes packages that will need sourceful uploads, but are not ready yet:

  • /!\ use CoqABI: why

  • /!\ because of use of ocamldoc-api-ref-config (moved to /usr/share/ocaml): galax ocamlbricks

    • if these are dealt with, I think we can get rid of compatibility symlinks in dh-ocaml -- StephaneGlondu ?DateTime(2009-02-18T07:38:16Z)

  • /!\ because of use of hard-coded /usr/lib/ocaml/@OCamlABI@ (or such): cairo-ocaml camlzip cduce gmetadom json-static json-wheel lablgl lablgtk2 lablgtkmathview mlgmp mysql-ocaml numerix ocamlagrep ocaml-alsa ocaml-ao ocaml-bjack ocaml-csv ocaml-curses ocaml-dtools ocaml-duppy ocaml-expat ocaml-http ocaml-ladspa ocaml-lastfm ocaml-mad ocaml-magic ocaml-ogg ocamlpam ocaml-portaudio ocamlsdl ocaml-shout ocaml-soundtouch ocaml-sqlite3 ocaml-ssl ocaml-taglib ocaml-vorbis ocaml-xmlplaylist ocsigen ocurl otags pagodacf perl4caml postgresql-ocaml pxp pycaml ulex ulex0.8 xstr

  • {X} because of use of ocaml.mk (moved to dh-ocaml): approx bin-prot 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 ocamlpam ocaml-res ocaml-sha ocaml-soundtouch ocaml-syck ocurl ounit 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

  • {X} because they build arch:all packages: ara ledit

StephaneGlondu's TODO-list:

  • /!\ runtime dynamically-loaded dependencies of ocsigen (move .cma to non -dev package, build .cmxs): camlzip cryptokit ocaml-sqlite3

  • {X} fix FTBFS: cameleon

  • {X} new upstream: coq, coq-floats

MehdiDogguy's TODO-list:

  • /!\ Add new binary package libmenhir-ocaml-dev to menhir

  • /!\ Add new binary package libwhy-coq to why

StefanoZacchiroli's TODO-list:

  • {X} fix FTBFS: ocamlnet

Round 0

/!\ Note: rounds must be checked for correctness against the [http://pkg-ocaml-maint.alioth.debian.org/ocaml_build_deps.png build-dep graph]

  • dh-ocaml (>= 0.2) --- uploaded by zack ?Date(2009-02-21T14:32:00Z)

Round 1

  • ocaml (>= 3.11.0-2) --- planned upload ?Date(2009-02-22T14:00:00Z)

Round 2~1

  • Be sure the binNMU request has been processed (for dependencies of to-be-sourcefully-uploaded packages, if any)

Round 2

  • bibtex2html (>= 1.93-2)

  • calendar (>= 2.0.2-1)

  • cmigrep (>= 1.5-3)

  • findlib (>= 1.2.4-1)

  • hevea (>= 1.10-7)

  • hlins (>= 0.39-14)

  • lablgl (>= 1.04-2)

  • pcre-ocaml (>= 5.15.1-2)

  • menhir (>= 20080912.dfsg-2)

  • ocamlweb (>= 1.37-10)

Round 3

  • lablgtk2 (>= 2.12.0-2)

BinNMUs

TODO

Round 4

  • ocamlnet (>= 2.2.9-6)