[m-dev.] for review: debian scripts

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Feb 4 21:25:25 AEDT 1999


On 04-Feb-1999, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> I use
> 
> 	dpkg-buildpackage -rfakeroot -mtrd at cs.mu.oz.au
> 
> to build the Mercury binary packages.

This information should go somewhere in the debian directory,
e.g. maybe in a debian/README file.

> Note that I have built a .deb file for mercury-0.8.1 and uploaded
> it to the Debian ftp sites already (e.g.
> /mnt/monash/distributions/debian/dists/potato/main/binary-i386/devel/mercury_0.8.1-1.deb on hydra).

Great.  How about also uploading it onto the Mercury ftp site
and adding a link from our WWW page?

> --- mercury-0.8.1.orig/debian/copyright
> +++ mercury-0.8.1/debian/copyright
> @@ -0,0 +1,62 @@
> +
> +
> +This package was first debianized by Milan Zamazal <pdm at fi.muni.cz> on
> +Tue, 4 Mar 1997 16:01:10 +0100.
> +
> +Subsequent debianizations have been performed by Tyson Dowd
> +<trd at cs.mu.oz.au>.
> +
> +The sources for this package were obtained from the Mercury CVS archive,
> +but are the same sources as
> +ftp://turiel.cs.mu.oz.au/pub/mercury/mercury-0.8.1-compiler.tar.gz
> +The only difference is that the tar file contains pre-compiled .c files
> +to make bootstrapping easier.
> +
> +This means if you want to recompile this package, you need to have
> +a working Mercury compiler already installed (not to mention a working
> +C compiler and other tools).  This can be done by installing the
> +Debian binary package, or installing the compiler from the tar file
> +shown above.
> +
> +Copyright:
> +
> +	The Mercury implementation is free software, but it is Copyright
> +	(C) 1994-1996 The University of Melbourne.  It is distributed
...

Having the copyright terms here as well as in ../.README.in is a bit of
a double-maintenance problem, but I suppose we can live with that.
As Peter remarked, the 1996 date is obsolete.  You should copy the
latest version of all this from ../.README.in.

Also the diff looked like the copyright stuff here ended abruptly,
in mid-sentence?

> +install-info --quiet --remove /usr/info/mercury.info
> --- mercury-0.8.1.orig/debian/rules
> +++ mercury-0.8.1/debian/rules
> @@ -0,0 +1,103 @@
> +#!/usr/bin/make -f
> +# Sample debian.rules file - for GNU Hello (1.3).
> +# Copyright 1994,1995 by Ian Jackson.
> +# I hereby give you perpetual unlimited permission to copy,
> +# modify and relicense this file, provided that you do not remove
> +# my name from the file itself.  (I assert my moral right of
> +# paternity under the Copyright, Designs and Patents Act 1988.)
> +# This file may have to be extensively modified
> +
> +package=mercury
> +
> +MERCURY_DOCS = 	BUGS HISTORY LIMITATIONS NEWS README RELEASE_NOTES \
> +		README.Linux WORK_IN_PROGRESS
> +MERCURY_MANS =	doc/c2init.1 doc/mmc.1 doc/mgnuc.1 doc/ml.1 doc/msc.1 \
> +		doc/mprof.1 
> +DEBIAN_DOCS =	debian/README.debian debian/copyright 

This is another double-maintenance problem.
MERCURY_MANS is obsolete; it should include man pages for
mdb, mmake, mprof_merge_runs, and mtags.
MERCURY_DOCS should probably include VERSION.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "Binaries may die
WWW: <http://www.cs.mu.oz.au/~fjh>  |   but source code lives forever"
PGP: finger fjh at 128.250.37.3        |     -- leaked Microsoft memo.



More information about the developers mailing list