Package: libtaglib-ocaml-dev Version: 0.2.0-1.1 Severity: normal Please consider building the cmxs plugin for ocaml-taglib. This is needed to dynamically load the module in a program compiled in native code.
Attached is a patch against the source package which allows for that. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (800, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libtaglib-ocaml-dev depends on: ii libtag1-dev 1.7-1 ii libtaglib-ocaml [libtaglib-ocaml-6wop0] 0.2.0-1.1 ii ocaml-findlib 1.2.7+debian-1 ii ocaml-nox [ocaml-nox-3.12.0] 3.12.0-7 libtaglib-ocaml-dev recommends no packages. libtaglib-ocaml-dev suggests no packages. -- no debconf information
diff -Nru ocaml-taglib-0.2.0/debian/changelog ocaml-taglib-0.2.0/debian/changelog --- ocaml-taglib-0.2.0/debian/changelog 2011-08-31 16:34:42.000000000 +0200 +++ ocaml-taglib-0.2.0/debian/changelog 2011-11-02 18:32:43.000000000 +0100 @@ -1,3 +1,10 @@ +ocaml-taglib (0.2.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Build and install cmxs plugin + + -- Benjamin Sigonneau <be...@touseg.insa-rennes.fr> Wed, 02 Nov 2011 18:32:27 +0100 + ocaml-taglib (0.2.0-1) unstable; urgency=low * New upstream release. diff -Nru ocaml-taglib-0.2.0/debian/patches/cmxs-plugin.patch ocaml-taglib-0.2.0/debian/patches/cmxs-plugin.patch --- ocaml-taglib-0.2.0/debian/patches/cmxs-plugin.patch 1970-01-01 01:00:00.000000000 +0100 +++ ocaml-taglib-0.2.0/debian/patches/cmxs-plugin.patch 2011-11-02 18:45:17.000000000 +0100 @@ -0,0 +1,42 @@ +Index: ocaml-taglib/src/Makefile.in +=================================================================== +--- ocaml-taglib.orig/src/Makefile.in 2011-11-02 18:44:13.856074877 +0100 ++++ ocaml-taglib/src/Makefile.in 2011-11-02 18:45:10.276354667 +0100 +@@ -12,6 +12,7 @@ + OCAMLC = @OCAMLC@ + OCAMLOPT = @OCAMLOPT@ + OCAMLBEST = @OCAMLBEST@ ++OCAML_DYNLINK = @OCAML_DYNLINK@ + OCAMLMKTOP = @OCAMLMKTOP@ + OCAMLMKLIB = @OCAMLMKLIB@ + OCAMLCP = @OCAMLCP@ +@@ -28,7 +29,7 @@ + SOURCES = taglib_stubs.cc taglib.ml taglib.mli + RESULT = taglib + OCAMLDOCFLAGS = -stars +-LIBINSTALL_FILES = $(wildcard *.mli *.cmi *.cma *.cmxa *.cmx *.a *.so) ++LIBINSTALL_FILES = $(wildcard *.mli *.cmi *.cma *.cmxa *.cmx *.a *.so *.cmxs) + ACLIBS = @LIBS@ + LDFLAGS = @LDFLAGS@ + CLIBS = $(ACLIBS:-l%=%) +@@ -41,12 +42,19 @@ + NO_CUSTOM = yes + OCAMLFLAGS = @OCAMLFLAGS@ + +-all: $(OCAMLBEST) ++all: $(OCAMLBEST) $(OCAML_DYNLINK) + + byte: byte-code-library + + opt: native-code-library + ++byte-dyn: taglib.cma ++ ++opt-dyn: taglib.cmxs ++ ++taglib.cmxs: taglib.cmxa ++ $(OCAMLOPT) $(OCAMLFLAGS) -ccopt -L. -shared -linkall -o taglib.cmxs taglib.cmxa ++ + native-code-library: byte-code-library + + install: libinstall diff -Nru ocaml-taglib-0.2.0/debian/patches/series ocaml-taglib-0.2.0/debian/patches/series --- ocaml-taglib-0.2.0/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ ocaml-taglib-0.2.0/debian/patches/series 2011-11-02 18:44:32.000000000 +0100 @@ -0,0 +1 @@ +cmxs-plugin.patch