[m-dev.] diff: updates to debian/*

Tyson Dowd trd at cs.mu.OZ.AU
Mon Nov 1 17:09:46 AEDT 1999


Hi,

Since we are hoping to get daily .deb building working soon, here
are the latest updates to the debian/* files.

===================================================================


Estimated hours taken: 1

Update the .deb building scripts and information.

debian/README.debian:
debian/changelog:
debian/copyright:
debian/rules:
	Various updates to these files.


Index: debian/README.debian
===================================================================
RCS file: /home/mercury1/repository/mercury/debian/README.debian,v
retrieving revision 1.1
diff -u -r1.1 README.debian
--- README.debian	1999/03/22 06:45:54	1.1
+++ README.debian	1999/11/01 06:02:04
@@ -18,5 +18,8 @@
 the Mercury ftp site: ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/ as
 mercury-compiler-(version).tar.gz
 
+This particular version can be compiled using a release of the day:
+ftp://ftp.mercury.cs.mu.oz.au/pub/mercury/debian/mercury-compiler-rotd-1999-10-25.tar.gz
+
 -- Tyson Dowd <trd at cs.mu.oz.au>  Mon, 22 Mar 1999 16:33:10 +1100
 
Index: debian/changelog
===================================================================
RCS file: /home/mercury1/repository/mercury/debian/changelog,v
retrieving revision 1.1
diff -u -r1.1 changelog
--- changelog	1999/03/22 06:45:55	1.1
+++ changelog	1999/11/01 06:02:04
@@ -1,8 +1,26 @@
-mercury (0.8.1-2) unstable; urgency=low
+mercury (0.8.1.rotd19991025-2) unstable; urgency=low
 
-  * Add fix for m68k.
+  * Modify path for bootstrapping from a local installation directory
 
- -- Tyson Dowd <trd at cs.mu.oz.au>  Mon, 22 Mar 1999 16:33:10 +1100
+ -- Tyson Dowd <trd at cs.mu.oz.au>  Wed, 27 Oct 1999 07:14:16 -0500
+
+mercury (0.8.1.rotd19991025-1) unstable; urgency=low
+
+  * New upstream version.
+  * Now works with egcs 2.95.2  (Fixes #43028, #42016)
+  * Can unpack source now using dpkg-source (Fixes #42934, #31268, #39239)
+    Although dpkg-source is still broken.
+
+ -- Tyson Dowd <trd at cs.mu.oz.au>  Mon, 25 Oct 1999 16:58:27 +1000
+
+mercury (0.8.1.rotd19990809-1) unstable; urgency=low
+
+  * New upstream version.
+  * Update to release of the day version as earlier versions do not
+    compile with egcs.
+  * Compile against potato (Fixes #39239 and #42016)
+
+ -- Tyson Dowd <trd at cs.mu.oz.au>  Mon,  9 Aug 1999 22:13:48 +0200
 
 mercury (0.8.1-1) unstable; urgency=low
 
Index: debian/copyright
===================================================================
RCS file: /home/mercury1/repository/mercury/debian/copyright,v
retrieving revision 1.2
diff -u -r1.2 copyright
--- copyright	1999/06/23 05:43:57	1.2
+++ copyright	1999/11/01 06:02:04
@@ -16,7 +16,7 @@
 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.
+shown above (however see README.Debian for updates to this procedure).
 
 Copyright:
 
Index: debian/rules
===================================================================
RCS file: /home/mercury1/repository/mercury/debian/rules,v
retrieving revision 1.2
diff -u -r1.2 rules
--- rules	1999/06/23 05:43:57	1.2
+++ rules	1999/11/01 06:02:04
@@ -15,23 +15,28 @@
 		doc/mprof.1 
 DEBIAN_DOCS =	debian/README.debian debian/copyright 
 
+PATH	    :=    $(PATH):/usr/local/mercury-DEV/bin:/home/tyson/install/bin
+
 # To build, configure as if we are going to install in /usr,
 # then build the compiler. 
 build:
 	$(checkdir)
+	echo $(PATH)
 	autoconf
-	PATH="/usr/bin:/bin" ./configure --prefix=/usr
+	./configure --prefix=/usr
 	make
 	touch build
 
 clean:
 	$(checkdir)
+	echo $(PATH)
 	-rm -f build
 	autoconf
-	./configure
+	./configure 
 	-mmake realclean
 	-rm -f config.status config.cache config.log configure.log
 	-rm -f runtime/mercury_conf.h boehm_gc/mercury_boehm_gc_conf.h
+	-rm -f bindist.build_vars bindist/bindist.build_vars
 	-rm -f Mmake.common
 	-rm -f configure
 	-rm -f `find . -name "*~"`
@@ -69,16 +74,17 @@
 # install the manpages
 	install -m 644 $(MERCURY_MANS) debian/tmp/usr/man/man1/
 # compress manpages, info pages, and html
-	gzip -9 `find debian/tmp/usr/man -type f 2>/dev/null`
-	gzip -9 `find debian/tmp/usr/info -type f`
-	gzip -9 `find debian/tmp/usr/doc -type f -size +4k ! -name "*.htm*"`
+	-gzip -9 `find debian/tmp/usr/man -type f 2>/dev/null`
+	-gzip -9 `find debian/tmp/usr/info -type f`
+	-gzip -9 `find debian/tmp/usr/doc -type f -size +4k ! -name "*.htm*"`
 # strip all executables
 	strip `find debian/tmp -type f -perm +111 | xargs file | fgrep ELF | sed 's/^\([^:]*\):.*$$/\1/'`
 # create DEBIAN directory
 	install -d debian/tmp/DEBIAN
 # install necessary scrips into debian directory
 	install -m 755 debian/postinst debian/postrm debian/tmp/DEBIAN/
-	dpkg-shlibdeps `find debian/tmp -type f -perm +111 | xargs file | fgrep ELF | sed 's/^\([^:]*\):.*$$/\1/'`
+	# XXX not entirely sure what to do about the shlibs
+	-dpkg-shlibdeps `find debian/tmp -type f -perm +111 | xargs file | fgrep ELF | sed 's/^\([^:]*\):.*$$/\1/'`
 	md5sum `find debian/tmp/* -type f ! -regex "debian/tmp/DEBIAN/.*"` >debian/tmp/DEBIAN/checksums
 	dpkg-gencontrol
 	chown -R root.root debian/tmp


-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't eveyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list