[MLton-commit] r7266

Wesley Terpstra wesley at mlton.org
Wed Oct 14 10:01:39 PDT 2009


Update packaging to deal with lintian complaints


----------------------------------------------------------------------

U   mlton/trunk/package/debian/changelog
U   mlton/trunk/package/debian/control
U   mlton/trunk/package/debian/copyright
U   mlton/trunk/package/debian/mllex.doc-base
U   mlton/trunk/package/debian/mlton.doc-base
D   mlton/trunk/package/debian/mlton.postinst
D   mlton/trunk/package/debian/mlton.prerm
U   mlton/trunk/package/debian/mlyacc.doc-base
U   mlton/trunk/package/debian/rules

----------------------------------------------------------------------

Modified: mlton/trunk/package/debian/changelog
===================================================================
--- mlton/trunk/package/debian/changelog	2009-10-14 15:59:45 UTC (rev 7265)
+++ mlton/trunk/package/debian/changelog	2009-10-14 17:01:38 UTC (rev 7266)
@@ -5,7 +5,7 @@
   * Standards-version 3.8.3.0 (no changes)
   * Added alpha ia64 kfreebsd-i386 s390 ports
     * manual uploads of (half-broken) bootstrap packages will follow
-  * Handle nostrip build option (closes #437581)
+  * Handle nostrip build option (closes: #437581)
 
  -- Wesley W. Terpstra <terpstra at debian.org>  Wed, 14 Oct 2009 15:37:25 +0200
 

Modified: mlton/trunk/package/debian/control
===================================================================
--- mlton/trunk/package/debian/control	2009-10-14 15:59:45 UTC (rev 7265)
+++ mlton/trunk/package/debian/control	2009-10-14 17:01:38 UTC (rev 7266)
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: Wesley W. Terpstra <terpstra at debian.org>
-Build-Depends: mlton (>= 20070826-1), htmldoc, libgmp3-dev (>= 4.0.1), tetex-bin, tetex-extra
+Build-Depends: mlton (>= 20070826), htmldoc, libgmp3-dev (>= 4.0.1), texlive-latex-base
 Standards-Version: 3.8.3.0
 
 Package: mlton

Modified: mlton/trunk/package/debian/copyright
===================================================================
--- mlton/trunk/package/debian/copyright	2009-10-14 15:59:45 UTC (rev 7265)
+++ mlton/trunk/package/debian/copyright	2009-10-14 17:01:38 UTC (rev 7266)
@@ -14,7 +14,7 @@
 
    MLton COPYRIGHT NOTICE, LICENSE AND DISCLAIMER.
    
-   Copyright (C) 1999-2005 Henry Cejtin, Matthew Fluet, Suresh
+   Copyright (C) 1999-2009 Henry Cejtin, Matthew Fluet, Suresh
       Jagannathan, and Stephen Weeks.
    Copyright (c) 1997-2000 by the NEC Research Institute
    
@@ -27,13 +27,13 @@
    pertaining to distribution of the software without specific, written
    prior permission.
 
-   NEC disclaims all warranties with regard to this software, including
-   all implied warranties of merchantability and fitness. In no event
-   shall NEC be liable for any special, indirect or consequential damages
-   or any damages whatsoever resulting from loss of use, data or profits,
-   whether in an action of contract, negligence or other tortious action,
-   arising out of or in connection with the use or performance of this
-   software.
+   The above copyright holders disclaim all warranties with regard to
+   this software, including all implied warranties of merchantability and
+   fitness. In no event shall the above copyright holders be liable for
+   any special, indirect or consequential damages or any damages
+   whatsoever resulting from loss of use, data or profits, whether in an
+   action of contract, negligence or other tortious action, arising out
+   of or in connection with the use or performance of this software.
 
 The following portions of the software are derived from the Standard ML
 of New Jersey compiler:

Modified: mlton/trunk/package/debian/mllex.doc-base
===================================================================
--- mlton/trunk/package/debian/mllex.doc-base	2009-10-14 15:59:45 UTC (rev 7265)
+++ mlton/trunk/package/debian/mllex.doc-base	2009-10-14 17:01:38 UTC (rev 7266)
@@ -3,7 +3,7 @@
 Author: Andrew W. Appel, James S. Mattson, David R. Tarditi
 Abstract: This document describes how write lexer specification files for 
  mllex.
-Section: Apps/Programming
+Section: Programming
 
-Format: postscript
+Format: PDF
 Files: /usr/share/doc/mlton/mllex.pdf

Modified: mlton/trunk/package/debian/mlton.doc-base
===================================================================
--- mlton/trunk/package/debian/mlton.doc-base	2009-10-14 15:59:45 UTC (rev 7265)
+++ mlton/trunk/package/debian/mlton.doc-base	2009-10-14 17:01:38 UTC (rev 7266)
@@ -3,7 +3,7 @@
 Author: The MLton Team
 Abstract: This document describes how to use MLton, a whole-program
  optimizing compiler for the Standard ML Programming language.
-Section: Apps/Programming
+Section: Programming
 
 Format: HTML
 Index: /usr/share/doc/mlton/guide/Home

Deleted: mlton/trunk/package/debian/mlton.postinst
===================================================================
--- mlton/trunk/package/debian/mlton.postinst	2009-10-14 15:59:45 UTC (rev 7265)
+++ mlton/trunk/package/debian/mlton.postinst	2009-10-14 17:01:38 UTC (rev 7266)
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
-	for f in mllex mlton mlyacc; do
-		install-docs -i /usr/share/doc-base/$f
-	done
-fi
-

Deleted: mlton/trunk/package/debian/mlton.prerm
===================================================================
--- mlton/trunk/package/debian/mlton.prerm	2009-10-14 15:59:45 UTC (rev 7265)
+++ mlton/trunk/package/debian/mlton.prerm	2009-10-14 17:01:38 UTC (rev 7266)
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = remove ] || [ "$1" = upgrade ] && \
- 	which install-docs >/dev/null 2>&1; then
-
-	for f in mllex mlton mlyacc; do
-	 	install-docs -r $f
-	done
-fi
-

Modified: mlton/trunk/package/debian/mlyacc.doc-base
===================================================================
--- mlton/trunk/package/debian/mlyacc.doc-base	2009-10-14 15:59:45 UTC (rev 7265)
+++ mlton/trunk/package/debian/mlyacc.doc-base	2009-10-14 17:01:38 UTC (rev 7266)
@@ -3,7 +3,7 @@
 Author: David R. Tarditi, Andrew W. Appel
 Abstract: This document describes how to write parser specification files for
  mlyacc.
-Section: Apps/Programming
+Section: Programming
 
-Format: postscript
+Format: PDF
 Files: /usr/share/doc/mlton/mlyacc.pdf

Modified: mlton/trunk/package/debian/rules
===================================================================
--- mlton/trunk/package/debian/rules	2009-10-14 15:59:45 UTC (rev 7265)
+++ mlton/trunk/package/debian/rules	2009-10-14 17:01:38 UTC (rev 7266)
@@ -19,7 +19,7 @@
 clean:
 	rm -f build-stamp configure-stamp
 	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
+	$(MAKE) clean
 
 BUILDDIR = $(CURDIR)/debian/mlton
 install: build
@@ -35,10 +35,6 @@
 binary-arch: build install
 	# dh_installdeb
 	mkdir -p $(BUILDDIR)/DEBIAN
-	for f in postinst prerm; do 				\
-		$(CP) debian/mlton.$$f $(BUILDDIR)/DEBIAN/$$f;	\
-		chown root.root $(BUILDDIR)/DEBIAN/$$f;		\
-	done
 	# dh_shlibdeps
 	dpkg-shlibdeps \
 		-e$(BUILDDIR)/usr/bin/mllex \




More information about the MLton-commit mailing list