* Enable lintian override
authorSylvain Le Gall <gildor@debian.org>
Sat, 15 Dec 2007 17:00:18 +0000 (17:00 +0000)
committerSylvain Le Gall <gildor@debian.org>
Sat, 15 Dec 2007 17:00:18 +0000 (17:00 +0000)
* Remove empty directories (in ocaml-nox)
* Comment install_ocamlbuild patch
* Prepare for the release

debian/changelog
debian/control
debian/control.in
debian/ocaml-compiler-libs.install.in
debian/ocaml-compiler-libs.override
debian/ocaml-nox.empty-dirs.in [new file with mode: 0644]
debian/ocaml-nox.install.in
debian/ocaml-nox.override.in
debian/patches/install_ocamlbuild.dpatch
debian/rules

index 9fda52b2468fd9d9bcde345d5120ac0a09c3ac7c..05af6c05c2b451378968f3ca18a6b5a8aaebd65c 100644 (file)
@@ -1,4 +1,4 @@
-ocaml (3.10.0-9) UNRELEASED; urgency=low
+ocaml (3.10.0-9) unstable; urgency=low
 
   [ Samuel Mimram ]
   * Suggest "tarballs" instead of "upstream" in the policy as directory name
@@ -14,9 +14,19 @@ ocaml (3.10.0-9) UNRELEASED; urgency=low
   * fixes in cdbs class for ocamldoc generation, provides
     ocamldoc-api-ref-config to centralize generation of .ocamldoc-apiref
   * remove ia64, arm and alpha native arches (no more ocamlopt for this arches)
-  * Array is bashism, remove it from ocamldoc-api-ref-config
-
- -- Sylvain Le Gall <gildor@debian.org>  Sat, 10 Nov 2007 17:28:48 +0100
+  * array is bashism, remove it from ocamldoc-api-ref-config
+  * upgrade to Standards-Version 3.7.3 (no change)
+  * make the lintian override work: add the name of the package in
+    front of each override line, place the file in
+    usr/share/lintian/overrides and not inside a directory in this
+    directory
+  * make clean cleaner (remove byterun/libcamlrun_shared.so)
+  * remove empty directories left after moving files away from ocaml-nox
+    hierarchy
+  * add a comment to install_ocamlbuild patch, to prevent lintian
+    warning
+
+ -- Sylvain Le Gall <gildor@debian.org>  Sat, 15 Dec 2007 17:57:36 +0100
 
 ocaml (3.10.0-8) unstable; urgency=low
 
index 587b348862f07c222df8d36b31b4350d24a4c1b8..5a45cf1922cf34a0c677cd0f87f6e7cb0ea3da6d 100644 (file)
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
 Uploaders: Sven Luther <luther@debian.org>, Stefano Zacchiroli <zack@debian.org>, Julien Cristau <julien.cristau@ens-lyon.org>, Samuel Mimram <smimram@debian.org>, Sylvain Le Gall <gildor@debian.org>
 Build-Depends: debhelper (>> 5.0.0), tcl8.4-dev, tk8.4-dev, libncurses5-dev, libgdbm-dev, dpatch, bzip2, docbook-xml, docbook-utils
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocaml
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml/trunk/
 Homepage: http://caml.inria.fr/
index a4d065a66cd633613877ae6274ff8b9cbf614399..3a5a0da25d81becdf40232a374eeeca2fe06a697 100644 (file)
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
 Uploaders: Sven Luther <luther@debian.org>, Stefano Zacchiroli <zack@debian.org>, Julien Cristau <julien.cristau@ens-lyon.org>, Samuel Mimram <smimram@debian.org>, Sylvain Le Gall <gildor@debian.org>
 Build-Depends: debhelper (>> 5.0.0), tcl8.4-dev, tk8.4-dev, libncurses5-dev, libgdbm-dev, dpatch, bzip2, docbook-xml, docbook-utils
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocaml
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml/trunk/
 Homepage: http://caml.inria.fr/
index 264f4b1129ccc2ffbe1db7db4dad4fc6dbb54317..84372c914e801d95c81215bcc85d650229f4ea03 100644 (file)
@@ -1,4 +1,3 @@
-debian/ocaml-compiler-libs.override    /usr/share/lintian/overrides/ocaml-compiler-libs
 parsing/*                              /usr/lib/ocaml/#OcamlABI#/compiler-libs/parsing/
 typing/*                               /usr/lib/ocaml/#OcamlABI#/compiler-libs/typing/
 utils/*                                        /usr/lib/ocaml/#OcamlABI#/compiler-libs/utils/
index 25f6b61626806e954c1690851c441cbe50aa2b41..f348094534a400688a5f90d143f034d29bf82477 100644 (file)
@@ -1 +1 @@
-copyright-should-refer-to-common-license-file-for-gpl
+ocaml-compiler-libs: copyright-should-refer-to-common-license-file-for-lgpl
diff --git a/debian/ocaml-nox.empty-dirs.in b/debian/ocaml-nox.empty-dirs.in
new file mode 100644 (file)
index 0000000..3e7839c
--- /dev/null
@@ -0,0 +1,13 @@
+usr/lib/ocaml/#OcamlABI#/camlp4/Camlp4Parsers
+usr/lib/ocaml/#OcamlABI#/camlp4/Camlp4Top
+usr/lib/ocaml/#OcamlABI#/camlp4/Camlp4Filters
+usr/lib/ocaml/#OcamlABI#/camlp4/Camlp4Printers
+usr/lib/ocaml/#OcamlABI#/camlp4
+usr/include
+usr/lib/ocaml/#OcamlABI#/labltk
+usr/lib/ocaml/#OcamlABI#/ocamldoc/custom
+usr/lib/ocaml/#OcamlABI#/stublibs
+usr/share/texmf/tex/latex/misc
+usr/share/texmf/tex/latex
+usr/share/texmf/tex
+usr/share/texmf
index 257884c00f3872101b23e99924a82d43d4b5bcc3..0f9231d02aba5cee283089aacd05e43fb6270327 100644 (file)
@@ -1,4 +1,3 @@
 debian/cdbs/*                  /usr/share/cdbs/1/class/
-debian/ocaml-nox.override      /usr/share/lintian/overrides/ocaml-nox
 config/Makefile                        /usr/lib/ocaml/#OcamlABI#/config/Makefile
 debian/native-archs            /usr/lib/ocaml/#OcamlABI#/
index 5c348863fd679bb00945fb7b163847bd173dbbe4..2c94fc64f21463f9a5467632f7300158f3d8a45a 100644 (file)
@@ -1 +1 @@
-script-not-executable ./usr/lib/ocaml/#OcamlABI#/camlheader
+ocaml-nox: script-not-executable ./usr/lib/ocaml/#OcamlABI#/camlheader
index b97a8f44a1e2f9f54b320f96a17ab354915dadd4..d0cae201d9fd8b64a04bfedb7deefbe659392a37 100755 (executable)
@@ -2,7 +2,7 @@
 ## install_ocamlbuild.dpatch by Stefano Zacchiroli <zack@debian.org>
 ##
 ## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
+## DP: install ocamlbuild as a link on either .native or .byte.
 
 @DPATCH@
 diff -urNad trunk~/build/partial-install.sh trunk/build/partial-install.sh
index 9ad636ba3811cca123e90ca80b9a9af0d40f1143..9298ec5c37edd2e62e19c254352c1dc81c8deeef 100755 (executable)
@@ -143,6 +143,7 @@ endif
        -$(RM) _log
        -$(RM) myocamlbuild_config.ml
        -$(RM) ocaml-$(OCAMLABI)
+       -$(RM) byterun/libcamlrun_shared.so
 
        dh_clean debian/README.labltk camlp4/config/Makefile.cnf camlp4/config/Makefile config/m.h config/s.h config/Makefile emacs/ocamltags driver/ocamlcomp.sh
        debian/rules abi-sed-clean
@@ -251,6 +252,18 @@ install-arch: build-arch
                ln -sf ../ocaml-base-nox/ocaml_packaging_policy.txt.gz .; \
                ln -sf ../ocaml-base-nox/ocaml_packaging_policy.html .
 
+       # Remove empty directory
+       for i in `cat debian/ocaml-nox.empty-dirs`; do \
+                       if test -d "debian/ocaml-nox/$$i" && test -z "`ls -1 'debian/ocaml-nox/$$i'`"; then \
+                       $(RM) -r "debian/ocaml-nox/$$i"; \
+               fi; \
+       done
+       
+
+       # Install override files
+       cp debian/ocaml-compiler-libs.override debian/ocaml-compiler-libs/usr/share/lintian/overrides/ocaml-compiler-libs
+       cp debian/ocaml-nox.override debian/ocaml-nox/usr/share/lintian/overrides/ocaml-nox
+
        dh_install -a
 
 # Must not depend on anything. This is to be called by