found 471594 0.4.8-3 kthxbye On Wed, Mar 19, 2008 at 07:41:44 +0100, Andreas Barth wrote:
> currently, freetennis has different dependencies depending on the > architecture: > e.g. mipsel: freetennis-common (= 0.4.8-4), ocaml-base-3.10.1 > e.g. i386: freetennis-common (= 0.4.8-4), libatk1.0-0 (>= 1.20.0), libc6 > (>= 2.7-1), libcairo2 (>= 1.4.0), libgl1-mesa-glx | libgl1, libglib2.0-0 > (>= 2.12.0), libglu1-mesa | libglu1, libgtk2.0-0 (>= 2.12.0), > libpango1.0-0 (>= 1.18.4), libsdl-mixer1.2 (>= 1.2.6), libsdl-ttf2.0-0, > libsdl1.2debian (>= 1.2.10-1), libx11-6, libxext6, libxmu6 > > > Any special reason for this? I'm reporting that as serious because > freetennis will be uninstallable on some architectures in testing soon, > and the correct solution to this depends on the answer to that question. > on architectures with a native ocaml compiler, freetennis is an elf binary, so dpkg-shlibdeps fills in the Depends field. on other architectures, freetennis is a bytecode executable run by /usr/bin/ocamlrun, which dlopens the needed libraries; freetennis should thus depend on libcamlimages-ocaml, liblablgl-ocaml, liblablgtk2-ocaml and libsdl-ocaml on those architectures. another option would be to link with ocamlc -custom, which will embed ocamlrun in the binary and produce an elf executable (but then you have to be careful about dh_strip). Cheers, Julien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]