--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libxml-light-ocaml-dev: Package should ship cmxs plugin
- From: Benjamin Sigonneau <benjamin.sigonneau@gmail.com>
- Date: Tue, 01 Nov 2011 18:42:23 +0100
- Message-id: <20111101174223.30976.66460.reportbug@touseg.insa-rennes.fr>
Package: libxml-light-ocaml-dev
Version: 2.2-12+b2
Severity: normal
Tags: patch
Please consider building the cmxs plugin for xml-light. This is needed to
dynamically load the module in a program compiled in native code.
Attached is a dpatch that can be thrown in debian/patches to achieve this.
-- 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 libxml-light-ocaml-dev depends on:
ii ocaml-nox [ocaml-nox-3.12.0] 3.12.0-7
libxml-light-ocaml-dev recommends no packages.
libxml-light-ocaml-dev suggests no packages.
#! /bin/sh /usr/share/dpatch/dpatch-run
## 05_cmxs_plugin.dpatch by <benny@touseg.insa-rennes.fr>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' xml-light~/Makefile xml-light/Makefile
--- xml-light~/Makefile 2011-11-01 16:05:08.000000000 +0100
+++ xml-light/Makefile 2011-11-01 16:06:34.905241750 +0100
@@ -9,13 +9,13 @@
all: xml-light.cma test.exe doc
-opt: xml-light.cmxa test_opt.exe
+opt: xml-light.cmxs test_opt.exe
install: all
cp xml-light.cma xml.mli xmlParser.mli dtd.mli xml.cmi xmlParser.cmi dtd.cmi $(INSTALLDIR)
installopt: opt all
- cp xml-light.a xml-light.cmxa xml.cmx dtd.cmx xmlParser.cmx $(INSTALLDIR)
+ cp xml-light.a xml-light.cmxa xml-light.cmxs xml.cmx dtd.cmx xmlParser.cmx $(INSTALLDIR)
doc:
mkdir doc
@@ -33,6 +33,9 @@
xml-light.cmxa: xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
ocamlopt -o xml-light.cmxa $(XML_LIGHT_OCAML_LFLAGS) $(LIBS) xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
+xml-light.cmxs: xml-light.cmxa
+ ocamlopt -o xml-light.cmxs -shared -linkall xml-light.cmxa
+
dtd.cmo: xml.cmi xml_lexer.cmi dtd.cmi
dtd.cmx: xml.cmi xml_lexer.cmi dtd.cmi
#! /bin/sh /usr/share/dpatch/dpatch-run
## 05_cmxs_plugin.dpatch by <benny@touseg.insa-rennes.fr>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' xml-light~/Makefile xml-light/Makefile
--- xml-light~/Makefile 2011-11-01 16:05:08.000000000 +0100
+++ xml-light/Makefile 2011-11-01 16:06:34.905241750 +0100
@@ -9,13 +9,13 @@
all: xml-light.cma test.exe doc
-opt: xml-light.cmxa test_opt.exe
+opt: xml-light.cmxs test_opt.exe
install: all
cp xml-light.cma xml.mli xmlParser.mli dtd.mli xml.cmi xmlParser.cmi dtd.cmi $(INSTALLDIR)
installopt: opt all
- cp xml-light.a xml-light.cmxa xml.cmx dtd.cmx xmlParser.cmx $(INSTALLDIR)
+ cp xml-light.a xml-light.cmxa xml-light.cmxs xml.cmx dtd.cmx xmlParser.cmx $(INSTALLDIR)
doc:
mkdir doc
@@ -33,6 +33,9 @@
xml-light.cmxa: xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
ocamlopt -o xml-light.cmxa $(XML_LIGHT_OCAML_LFLAGS) $(LIBS) xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
+xml-light.cmxs: xml-light.cmxa
+ ocamlopt -o xml-light.cmxs -shared -linkall xml-light.cmxa
+
dtd.cmo: xml.cmi xml_lexer.cmi dtd.cmi
dtd.cmx: xml.cmi xml_lexer.cmi dtd.cmi
--- End Message ---
--- Begin Message ---
Source: xml-light
Source-Version: 2.2-13
We believe that the bug you reported is fixed in the latest version of
xml-light, which is due to be installed in the Debian FTP archive:
libxml-light-ocaml-dev_2.2-13_amd64.deb
to main/x/xml-light/libxml-light-ocaml-dev_2.2-13_amd64.deb
libxml-light-ocaml_2.2-13_amd64.deb
to main/x/xml-light/libxml-light-ocaml_2.2-13_amd64.deb
xml-light_2.2-13.debian.tar.gz
to main/x/xml-light/xml-light_2.2-13.debian.tar.gz
xml-light_2.2-13.dsc
to main/x/xml-light/xml-light_2.2-13.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 647299@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mehdi Dogguy <mehdi@debian.org> (supplier of updated xml-light package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 29 May 2012 15:17:26 +0200
Source: xml-light
Binary: libxml-light-ocaml-dev libxml-light-ocaml
Architecture: source amd64
Version: 2.2-13
Distribution: unstable
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Mehdi Dogguy <mehdi@debian.org>
Description:
libxml-light-ocaml - mininal XML parser and printer for OCaml (runtime package)
libxml-light-ocaml-dev - mininal XML parser and printer for OCaml (development package)
Closes: 647299
Changes:
xml-light (2.2-13) unstable; urgency=low
.
* Provide a .cmxs plugin in libxml-light-ocaml-dev (Closes: #647299).
Thanks to Benjamin Sigonneau for the patch.
* Convert source package to 3.0 (quilt) format.
- Fixes build-depends-on-obsolete-package (dpatch)
- Fixes debian-rules-uses-deprecated-makefile (dpatch.mk)
* Bump Standards-Version to 3.9.2, no changes needed.
* Add libxml-light-ocaml, needed to ship .cmxs files.
- libxml-light-ocaml Breaks/Replaces the old binary package
libxml-light-ocaml-dev (<< 2.2-13).
Checksums-Sha1:
ab70c4ef83d49bf967f271e12949a21b1996b36f 1773 xml-light_2.2-13.dsc
b7302ced471b30cdbffcc51df20529593b834335 5206 xml-light_2.2-13.debian.tar.gz
000c4a4a92b73a64f627c6a78d4a8ad96167f869 62048 libxml-light-ocaml-dev_2.2-13_amd64.deb
d86980cac44d1c6d2f955596d2f1c278db7e9ae3 52638 libxml-light-ocaml_2.2-13_amd64.deb
Checksums-Sha256:
f451fa8db13c6723afd0e8e7c14543ca54e7a924118f93aab2731ca401dd02a4 1773 xml-light_2.2-13.dsc
68afe8156537e163ae1c6e286a8ec7e85b47785d03e3b90f8b1fa9d1c698e33d 5206 xml-light_2.2-13.debian.tar.gz
9a4ea4819beef635b491a77ff47901fa374a7601847697fd4544f49a1b8efd46 62048 libxml-light-ocaml-dev_2.2-13_amd64.deb
34f41b28e2a880854b05cd91144f7fee5932d3052276dd21fb0565ef881a92ca 52638 libxml-light-ocaml_2.2-13_amd64.deb
Files:
454031a76bb61fb7cf347e6d2c895e97 1773 ocaml optional xml-light_2.2-13.dsc
8e0020109d82b0f2afab0991ab802541 5206 ocaml optional xml-light_2.2-13.debian.tar.gz
b77aae4c13f8e7a3b95d2ef03342e67b 62048 ocaml optional libxml-light-ocaml-dev_2.2-13_amd64.deb
b641512385e40d2bc8796ee10a07ad3e 52638 ocaml optional libxml-light-ocaml_2.2-13_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQEcBAEBAgAGBQJPxOb9AAoJEDe1GR0FRlJoajYH/3Qr2zShKghTcpc5rXHcVa6X
WDNFKe2e7AaZb/3PruYurotWiPysB6X53NwFxYlU4SZOXqPDXhirJeyzHQmUJKo5
JVxV9UFsL36Kq0k1iWx/aA0uLkSxvhF4e0yNtyZzRv3HAroIM++TgGhvieVdwLp+
//6uCMZxF7pyuWXf/r4T+i5lbGycgNmbSyyQ+E4PG1RWNkUhhMRfdg9Gos36Ki7u
FeMKSMftVWn39S4kxLa336J6gF67R4q6PzahClztkVnyqgdPX/QbMosojRXzk7/a
pdS5morOvWWCeST0S2zLLQJN9GjvXNuk7CMCdR4knabJq0/KsY2uH+NeFNejHg4=
=5Gzy
-----END PGP SIGNATURE-----
--- End Message ---