[Gd-chatter] r11141 - trunk/src/debian
prom at gwydiondylan.org
prom at gwydiondylan.org
Fri Jan 19 19:00:22 CET 2007
Author: prom
Date: Fri Jan 19 19:00:18 2007
New Revision: 11141
Added:
trunk/src/debian/gwydiondylan.install (contents, props changed)
Removed:
trunk/src/debian/README.Debian
trunk/src/debian/copyright
trunk/src/debian/delMakefiles
trunk/src/debian/delStatics
trunk/src/debian/gen-makefile.1
trunk/src/debian/gwydion-dylan-dev.dirs
trunk/src/debian/gwydion-dylan-dev.emacsen-install
trunk/src/debian/gwydion-dylan-dev.emacsen-remove
trunk/src/debian/gwydion-dylan-dev.emacsen-startup
trunk/src/debian/gwydion-dylan-dev.files
trunk/src/debian/gwydion-dylan-dev.postinst
trunk/src/debian/gwydion-dylan-dev.postrm
trunk/src/debian/gwydion-dylan-dev.preinst
trunk/src/debian/gwydion-dylan-dev.prerm
trunk/src/debian/gwydion-dylan.dirs
trunk/src/debian/gwydion-dylan.postinst
trunk/src/debian/gwydion-dylan.postrm
trunk/src/debian/gwydion-dylan.preinst
trunk/src/debian/gwydion-dylan.prerm
trunk/src/debian/gwydion-dylan.shlibs
trunk/src/debian/line-count.1
trunk/src/debian/make-dylan-lib.1
trunk/src/debian/mindy.dirs
trunk/src/debian/mindy.files
trunk/src/debian/mindy.postinst
trunk/src/debian/mindy.postrm
trunk/src/debian/mindy.preinst
trunk/src/debian/mindy.prerm
trunk/src/debian/mk-build-tree.1
trunk/src/debian/mk-rcs-links.1
Modified:
trunk/src/debian/changelog
trunk/src/debian/control
trunk/src/debian/rules
Log:
Job: minor
A first try at re-creating the debian packaging infrastructure.
This creates a rudimentary package on Ubuntu 6.06 LTS.
Dependencies and other things are wrong.
Always does a bootstrap.
Modified: trunk/src/debian/changelog
==============================================================================
--- trunk/src/debian/changelog (original)
+++ trunk/src/debian/changelog Fri Jan 19 19:00:18 2007
@@ -1,390 +1,5 @@
-gwydion-dylan (1:2.3.12pre3-1) unstable; urgency=low
+gwydiondylan (2.5.0) unstable; urgency=low
- * Bugfixes.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Fri, 19 Mar 2004 22:44:01 -0800
-
-gwydion-dylan (1:2.3.11release-6) unstable; urgency=low
-
- * Correct a problem with single-file-mode under gcc33.
- * Correct OpenGL build problem.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Tue, 30 Sep 2003 22:08:51 -0700
-
-gwydion-dylan (1:2.3.11release-5) unstable; urgency=low
-
- * Correction to gcc identification routine for PPC.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Thu, 25 Sep 2003 23:04:56 -0700
-
-gwydion-dylan (1:2.3.11release-4) unstable; urgency=low
-
- * Another minor tweak to help the autobuilders.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Mon, 22 Sep 2003 22:15:40 -0700
-
-gwydion-dylan (1:2.3.11release-3) unstable; urgency=low
-
- * Swap build-depends ordering to support autobuilders. (Closes:#211160)
-
- -- Brent A. Fulgham <bfulgham at debian.org> Fri, 19 Sep 2003 07:16:08 -0700
-
-gwydion-dylan (1:2.3.11release-2) unstable; urgency=low
-
- * Corrections to support autobuilding of other architectures. Main problem
- was that only x86 had multiple gcc version requirements (due to a raft
- of optimizer bugs from the 3.2-3.3 series).
- * Corrections to support building under 'stable'.
- * Fix emacsen handling. (Closes:#210856)
- * Correct small string handling bug.
- * Declare dependency on Automake1.7. New autogen.sh script creates links
- for any missing "missing" script and so forth. (Closes:#187925)
-
- -- Brent A. Fulgham <bfulgham at debian.org> Mon, 15 Sep 2003 21:43:01 -0700
-
-gwydion-dylan (1:2.3.11release-1) unstable; urgency=low
-
- * More upstream changes and updates.
- * Major floating point improvements.
- * Removed gcc-3.2 build dependency.
- * Depends on libgc-dev package (rather than libgc6-dev).
- * Handle various versions of gcc in a cleaner (and more consistent) fashion.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Mon, 8 Sep 2003 21:59:43 -0700
-
-gwydion-dylan (2.3.11pre1-1) unstable; urgency=low
-
- * Upstream updates. Lots of optimizations, bug fixes, etc.
- * Declare dependency on gcc-3.2 due to optimizer bugs.
- * Built against libgc6-dev with c102 ABI.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Tue, 24 Jun 2003 21:35:02 -0700
-
-gwydion-dylan (2.3.10pre3-3) unstable; urgency=low
-
- * Updated GNU Emacs syntax highlighting. It should *not* break XEmacs,
- and to activate you must add the following to your .emacs file:
-
- (defvar dylan-mode-hook
- (lambda()
- (progn
- (dylan-install-font-lock-defaults))))
-
- * Moved DUIM to its own package.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Sun, 30 Mar 2003 00:07:04 -0800
-
-gwydion-dylan (2.3.10pre3-2) unstable; urgency=low
-
- * Updates to add 'collections' library.
- * More complete 'machine-words' module.
- * New "fixnum-logical-shift-right" primitive.
- * New "--no-makefile" build mode.
- * Improved debugging support.
- * Minor optimizations and compiler improvements.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Sat, 29 Mar 2003 00:48:59 -0800
-
-gwydion-dylan (2.3.10pre3-1) unstable; urgency=low
-
- * New upstream with workarounds for gcc-3.2.2 bugs. Now builds without
- requiring debug build.
- * More cleanups and preparations for the release.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Sat, 1 Mar 2003 23:16:09 -0800
-
-gwydion-dylan (2.3.10pre2-1) unstable; urgency=low
-
- * New upstream, new 'pre2' status.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Tue, 25 Feb 2003 23:12:07 -0800
-
-gwydion-dylan (2.3.10pre1.5-1) unstable; urgency=low
-
- * New upstream release.
- * Initial build of runtime evaluator (REPL). Not complete, but fun
- to play with.
- * Enhanced compile-time error reporting.
- * Further melange enhancements for C-code interfacing.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Sun, 16 Feb 2003 20:53:43 -0800
-
-gwydion-dylan (2.3.10pre1.3-1) unstable; urgency=low
-
- * Minor string comparison optimizations.
- * Build networking libraries.
- * Generate better (*slightly* more readable) C code.
- * Fix lintian errors.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Mon, 3 Feb 2003 22:31:46 -0800
-
-gwydion-dylan (2.3.10pre1.1-1) unstable; urgency=low
-
- * Use system-provided GC, rather than build-in version.
- * Correct build dependencies for autobuilders.
- * Some corrections to better-process header files
- - Don't generate get/set routines for C void methods
- - Understand C macros
- - Properly escape characters in string constants
- * Correct some lintian errors.
- * Add dependency on bison (Closes:#175038)
- * Correct test-suite install (Closes:#170577)
- * Now uses debian-supplied Boehm garbage collector.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Fri, 31 Jan 2003 22:31:00 -0800
-
-gwydion-dylan (2.3.10pre1-1) unstable; urgency=low
-
- * New upstream version.
- * Improved performance on copy-sequence for <byte-string>,
- and upper/lower-case conversions.
- * Improve performance of read-line from fd-stream and fd-file-stream
- by a factor of 4.
- * Improve performance of <stretchy-vector> to amortized O(1) time per
- insertion.
- * Beginnings of a single-library version of Dylan.
- * More space-efficient boolean representation.
- * Use new concatenate! function from Extensions library (rather than
- crappy version from the Dylan library.)
- * Add support for <double-integer> class (a.k.a. "long long"), and
- remove assumption that size == alignment for C types. Add assertions
- that Dylans types and gcc's types are in agreement.
- * Add dependency on libtool (Closes: #167139)
-
- -- Brent A. Fulgham <bfulgham at debian.org> Mon, 16 Dec 2002 21:05:38 -0800
-
-gwydion-dylan (2.3.9pre4-1) unstable; urgency=low
-
- * Net networking library.
- * Fixes based on things found during the ICFP competition.
- * Generated C code now reuses temporaries.
- * Don't leave executable helper scripts in the source package. Clean
- up the source package. (Closes:Bug#159328)
-
- -- Brent A. Fulgham <bfulgham at debian.org> Sat, 21 Sep 2002 21:10:04 -0700
-
-gwydion-dylan (2.3.9pre3-4) unstable; urgency=low
-
- * Corrected without-bounds-checks
- * Some corrections to bignums
- * Command-line GC options
- * Some small generated C improvements
- * Correct Dylan-Mode loading routine. (Closes:Bug#158286)
-
- -- Brent A. Fulgham <bfulgham at debian.org> Mon, 26 Aug 2002 22:36:26 -0700
-
-gwydion-dylan (2.3.9pre3-3) unstable; urgency=low
-
- * Fixes to meet Common Dylan standard.
- * Fixes for Melange to allow it to parse more C headers.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Wed, 21 Aug 2002 23:26:39 -0700
-
-gwydion-dylan (2.3.9pre3-2) unstable; urgency=low
-
- * Updated to 'pre3' tag.
- * Bumped bootstrap counter for autobuilders.
- * Included Emacs mode.
- * Includes 'Testworks' testing framework.
- * Add a build-dependency on bison. (Closes:Bug#155600)
-
- -- Brent A. Fulgham <bfulgham at debian.org> Wed, 7 Aug 2002 21:11:24 -0700
-
-gwydion-dylan (2.3.9pre2-1) unstable; urgency=low
-
- * New upstream sources
- * Improved limited collections (now more efficient.)
- * Build corrections and updated Boehm collector code.
- * Some readline code.
- * A few optimizations to reduce size of executables (especially
- DUIM code.)
-
- -- Brent A. Fulgham <bfulgham at debian.org> Thu, 25 Jul 2002 23:00:52 -0700
-
-gwydion-dylan (2.3.8pre1-1) unstable; urgency=low
-
- * Latest upstream.
- * Corrections for various PR#'s (see http://www.gwydiondylan.org for
- more details.)
- * Correct spelling error (Closes:Bug#124716).
- * Applied semi-fix for PowerPC (Ref: Bug#135084). Leaving bug open until
- we have a real solution.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Tue, 26 Feb 2002 20:27:17 -0800
-
-gwydion-dylan (2.3.6release-1) unstable; urgency=low
-
- * Inlined functions now work.
- * Bignum optimizations.
- * Profiling with gprof now works.
- * Upstream release of 2.3.6 version.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Sat, 29 Dec 2001 19:30:05 -0800
-
-gwydion-dylan (2.3.6pre2cvs11102001-1) unstable; urgency=low
-
- * Upstream changes
- * More DUIM additions (font-select)
- * Updates to support single-file mode.
- * Support for clas-level slots.
- * More clean-up and minor optimizations.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Sat, 10 Nov 2001 23:18:13 -0800
-
-gwydion-dylan (2.3.6pre2cvs10182001-1) unstable; urgency=low
-
- * Upstream optimizations to compiler.
- * Implementation of DUIM/GTK+ file-select and directory-select browsers.
- * You can create DUIM apps using 'make-dylan-app -d' syntax.
- * Merging fer-transforms into optimizer.
- * Cleanups to the compiler
- * More Alpha fixes (Thanks to Christopher Chimelis <chris at debian.org>)
-
- -- Brent A. Fulgham <bfulgham at debian.org> Thu, 18 Oct 2001 19:51:45 -0700
-
-gwydion-dylan (2.3.6pre2cvs09272001-1) unstable; urgency=low
-
- * Correct build rules for multiple architectures in BOOTSTRAP path.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Fri, 28 Sep 2001 19:55:25 -0700
-
-gwydion-dylan (2.3.6pre2cvs09222001-1) unstable; urgency=low
-
- * Correct problem with mindy bootstrap. (Closes:Bug#112286)
- * Clean up some 32-bit-isms. Many thanks to Christopher Chimelis
- for his many patches.
- * More DUIM/GTK enhancements and bug fixes.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Fri, 21 Sep 2001 20:12:44 -0700
-
-gwydion-dylan (2.3.6pre1cvs09102001-2) unstable; urgency=low
-
- * Add build dependency for libgtk1.2-dev. (Closes:Bug#107775)
- * Add build dependency for automake. (Closes:Bug#112107)
-
- -- Brent A. Fulgham <bfulgham at debian.org> Wed, 12 Sep 2001 15:11:37 -0700
-
-gwydion-dylan (2.3.6pre1cvs09102001-1) unstable; urgency=low
-
- * Current CVS.
- * DUIM/GTK+ stuff should now work.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Mon, 10 Sep 2001 22:31:31 -0700
-
-gwydion-dylan (2.3.6pre1cvs08012001-2) unstable; urgency=low
-
- * Another update, this time with semi-working gtk bindings.
- * Updated to newer Boehm GC, which should build cleanly on
- more architectures.
- * Added build dependency on libgtk1.2-dev. (Closes:Bug#107775)
-
- -- Brent A. Fulgham <bfulgham at debian.org> Fri, 24 Aug 2001 22:54:46 -0700
-
-gwydion-dylan (2.3.6pre1cvs08012001-1) unstable; urgency=low
-
- * New release. Incorporates updates to the garbage collector,
- fixes for c-parser, updates to the ffi interface, and the
- underpinings for a soon-to-come DUIM (graphical toolkit
- based on GTK).
- * Updated build-depends and run aclocal. (Closes:Bug#107272)
-
- -- Brent A. Fulgham <bfulgham at debian.org> Wed, 1 Aug 2001 21:38:46 -0700
-
-gwydion-dylan (2.3.6pre1cvs07242001-1) unstable; urgency=low
-
- * New release, with lots of new features and some optimizations
- and bug-fixes identified during the ICFP2001 contest.
- * Better name, correct mindy package to include its own libraries.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Sun, 29 Jul 2001 19:57:01 -0700
-
-gwydion-dylan (2.3.5release-2) unstable; urgency=low
-
- * Added some needed build-depends.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Mon, 16 Jul 2001 19:52:06 -0700
-
-gwydion-dylan (2.3.5release-1) unstable; urgency=low
-
- * Rebuilt with better directory structure.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Wed, 27 Jun 2001 20:41:06 -0700
-
-gwydion-dylan (2.3.5final-1) unstable; urgency=low
-
- * Minor shuffling to correct some package dependency problems.
- 'gwydion-dylan' = The Runtime
- 'gwydion-dylan-dev' = The compiler and tools
- 'mindy' = The interpreter
- (Closes:Bug#95871)
- * Fix to a minor bug in Mindy that caused it to fail if the
- path to the Dylan runtime was not specified as a command-line
- parameter.
- * The real release!
-
- -- Brent A. Fulgham <bfulgham at debian.org> Mon, 21 May 2001 19:52:32 -0700
-
-gwydion-dylan (2.3.5-3) unstable; urgency=low
-
- * A bunch of minor fixes for DOS-style line endings so 'd2c' doesn't
- crash if someone sends you a file edited under DOS.
- * Really and Truly 2.3.5 Finally!
-
- -- Brent A. Fulgham <bfulgham at debian.org> Sat, 21 Apr 2001 16:46:13 -0700
-
-gwydion-dylan (2.3.5-2) unstable; urgency=low
-
- * The almost-but-not-quite 2.3.5 version. Now with a fix for
- slot initializations, some string optimizations, and more
- bug fixes.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Tue, 17 Apr 2001 18:01:31 -0700
-
-gwydion-dylan (2.3.5-1) unstable; urgency=low
-
- * This is really 2.3.5pre2 -- Now with class slots, and New Boehm GC.
- * Also includes some fixes to allow buildling on the Alpha, PowerPC,
- and SPARC architectures. (Closes:Bug#89886)
- * Some predicate logic in the Makefile to only bootstrap when needed.
- Hope it works$ :-)
- * Make sure configure is present. (Closes:Bug#91232).
-
- -- Brent A. Fulgham <bfulgham at debian.org> Fri, 23 Mar 2001 21:09:43 -0800
-
-gwydion-dylan (2.3.4-3) unstable; urgency=low
-
- * A few final tweaks to get everything to search the right directories.
- * Get 'parsergen' manpage into -dev where it belongs.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Thu, 22 Mar 2001 19:23:11 -0800
-
-gwydion-dylan (2.3.4-2) unstable; urgency=low
-
- * Fixes for Alpha architecture.
- * Fixes for autobuilders.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Tue, 20 Mar 2001 20:31:38 -0800
-
-gwydion-dylan (2.3.4-1) unstable; urgency=low
-
- * New upstream version.
- * About 100 people have promised to package this and not followed through. I'd
- like this to get into Debian *someday*, so I've packaged it. If you feel like
- this is unfair drop me an e-mail.
- * Initial release, bootstrapped with Mindy. Future release will depend on this
- release (or newer) to build from source.
-
- -- Brent A. Fulgham <bfulgham at debian.org> Sat, 3 Mar 2001 13:35:14 -0800
-
-gwydion-dylan (2.3.2a-1) unstable; urgency=low
-
- * New upstream version.
-
- -- Neil Schemenauer <nascheme at enme.ucalgary.ca> Mon, 30 Aug 1999 07:44:29 -0600
-
-gwydion-dylan (2.3.1-1) unstable; urgency=low
-
- * Initial Release.
-
- -- Neil Schemenauer <nascheme at enme.ucalgary.ca> Sat, 12 Jun 1999 11:59:49 -0600
+ * Initial release.
+ -- Ingo Albrecht <prom at opendylan.org> Thu, 18 Jan 2007 06:14:24 +0100
Modified: trunk/src/debian/control
==============================================================================
--- trunk/src/debian/control (original)
+++ trunk/src/debian/control Fri Jan 19 19:00:18 2007
@@ -1,52 +1,15 @@
-Source: gwydion-dylan
+Source: gwydiondylan
Section: devel
Priority: optional
-Maintainer: Brent A. Fulgham <bfulgham at debian.org>
-Standards-Version: 3.5.9
-Build-Depends: gcc, sharutils, perl-base, perl5, debhelper, libtool, autoconf, automake1.7 | automake1.8, flex | flex-old, libgtk1.2-dev, libreadline4-dev, byacc | bison, libgc-dev | libgc6-dev
+Maintainer: Ingo Albrecht <prom at opendylan.org>
+Build-Depends: gcc
+Standards-Version: 3.6.2.1
-Package: gwydion-dylan
+Package: gwydiondylan
Architecture: any
Depends: gcc, ${shlibs:Depends}
-Recommends: gwydion-dylan-dev
-Suggests: mindy
-Description: The Gwydion Dylan Runtime Environment
- This package contains the libraries and other files needed to
- run programs compiled with the Gwydion Dylan compiler (d2c).
- .
- At some point in the (hopefully near) future, this package will
- contain the Gwydion Dylan Listener, which will allow interactive
- exploration of the language.
- .
- For more information, see the Gwydion Dylan maintainers' web page at
- <http://www.gwydiondylan.org/>.
+Description: Gwydion Dylan
+ Gwydion Dylan is an implementation of the high-level system programming language dylan.
+ .
+ This package contains all of GD. Expect this to change.
-Package: gwydion-dylan-dev
-Architecture: any
-Depends: gwydion-dylan, libgc-dev, ${shlibs:Depends}
-Suggests: mindy
-Description: Gwydion Dylan Development Tools
- CMU's Gwydion Dylan provides d2c, a Dylan-to-C batch compiler. It produces
- fairly efficient output but requires strange incantations to compile even
- simple programs. Tools for interfacing with C are included. (The Mindy
- bytecode interpreter is available as a separate package.) If you're really
- excited about writing Dylan programs for Linux--and don't mind the
- inconveniences of d2c--these are the tools to use. If you prefer a mature
- development environment, try another language.
- .
- This package contains the tools necessary to recompile d2c. They
- include a LISP to Dylan translator, a parser generator, and various
- tools for maintaining the build tree. This package also contains a
- few general-purpose development utilities written in Dylan.
-
-Package: mindy
-Architecture: any
-Depends: ${shlibs:Depends}
-Suggests: gwydion-dylan
-Description: A Dylan interpreter.
- Mindy is a Dylan bytecode interpreter, originally written as part of CMU's
- Gwydion Dylan project. It compiles faster than d2c and includes much better
- debugging tools. Unfortunately, Mindy makes no attempt to run fast.
- .
- Documentation for Mindy can be found in the main gwydion-dylan package, or
- on the web at <http://www.gwydiondylan.org/>.
Added: trunk/src/debian/gwydiondylan.install
==============================================================================
--- (empty file)
+++ trunk/src/debian/gwydiondylan.install Fri Jan 19 19:00:18 2007
@@ -0,0 +1,5 @@
+usr/bin
+usr/include/runtime.h
+usr/lib/dylan
+usr/share/dylan
+usr/share/man
Modified: trunk/src/debian/rules
==============================================================================
--- trunk/src/debian/rules (original)
+++ trunk/src/debian/rules Fri Jan 19 19:00:18 2007
@@ -1,252 +1,168 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Gwydion Dylan Rules File
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+###############
+# CONFIGURATION
-STYLE=$(shell if [ -f "/usr/bin/d2c" ]; then echo "normal"; \
- else echo "bootstrap"; \
- fi)
-VERSION=2.3.12pre3
-MACHINE=$(shell uname -m)
-GCCVER=$(shell gcc -dumpversion | sed "s/\([0-9]\.[0-9]\).*/\1/")
-
-ifeq ("$(MACHINE)", "sparc64")
- MACHINE=sparc
- GCCVER=gcc
-else
- ifeq ("$(MACHINE)", "i686")
- MACHINE=x86
- # x86 had lots of annoying gcc optimizer bugs.
- ifeq ("$(GCCVER)", "3.3")
- GCCVER=gcc33
- else
- ifeq ("$(GCCVER)", "3.2")
- GCCVER=gcc32
- else
- GCCVER=gcc
- endif
- endif
- else
- ifeq ("$(MACHINE)", "ppc")
- ifeq ("$(GCCVER)", "3.3")
- GCCVER=gcc33
- else
- ifeq ("$(GCCVER)", "3.2")
- GCCVER=gcc32
- else
- GCCVER=gcc
- endif
- endif
- else
- GCCVER=gcc
- endif
- endif
-endif
+GD_DEBUG=yes
+GD_VERSION=$(shell cat version)
-bootstrap-stage1: bootstrap-stage1-stamp
-bootstrap-stage1-stamp:
- # Following is needed for bootstrapping
-ifeq ("$(STYLE)", "bootstrap")
- aclocal
- -automake-1.7 --add-missing
- libtoolize --force --copy
- autoheader
- autoconf
- ./configure --with-readline \
- --prefix=/usr \
- --enable-mindy-bootstrap \
- --enable-duim=no \
- --with-gnu-ld \
- --with-site-dylan-prefix=/usr
- libtoolize --force --copy
- $(MAKE)
- $(MAKE) DESTDIR=`pwd`/debian/bootstrap install
- mkdir `pwd`/bootstrap_compiler
- ln -sf `pwd`/debian/bootstrap/usr/bin/d2c `pwd`/bootstrap_compiler
+GD_PREFIX=/usr
+GD_MANDIR=$(GD_PREFIX)/share/man
- -rm -f config.cache
-endif
+GD_BOOTSTRAP_PREFIX=$(shell pwd)/debian/bootstrap
+GD_BOOTSTRAP_BINDIR=$(GD_BOOTSTRAP_PREFIX)/bin
+
+export DH_COMPAT=5
+export DH_VERBOSE=0
- touch bootstrap-stage1-stamp
+########
+# SANITY
-bootstrap-stage2: bootstrap-stage2-stamp
-bootstrap-stage2-stamp: bootstrap-stage1-stamp
-ifeq ("$(STYLE)", "bootstrap")
- -rm config.cache
- -automake-1.7 --add-missing
- libtoolize --force --copy
- PATH=`pwd`/debian/bootstrap/usr/bin:$(PATH); \
- LD_LIBRARY_PATH=`pwd`/debian/bootstrap/usr/lib/dylan/$(VERSION)/$(MACHINE)-linux-$(GCCVER):$(LD_LIBRARY_PATH); \
- ./configure --with-readline \
- --prefix=/usr \
- --enable-duim=no \
- --with-site-dylan-prefix=/usr \
- --with-gnu-ld \
- --with-existing-runtime=`pwd`/debian/bootstrap/usr/lib/dylan/$(VERSION)/$(MACHINE)-linux-$(GCCVER)
- # End Bootstrapping portion
-
- touch bootstrap-stage2-stamp
-
- # Add here commands to compile the package.
-
- export PATH=`pwd`/debian/bootstrap/usr/bin:$(PATH); \
- export LD_LIBRARY_PATH=`pwd`/debian/bootstrap/usr/lib/dylan/$(VERSION)/$(MACHINE)-linux-$(GCCVER):$(LD_LIBRARY_PATH); \
- $(MAKE)
+GD_BOOTSTRAP_D2C=$(shell which d2c)
+ifeq "$(GD_BOOTSTRAP_D2C)" ""
+ $(error "You need a working d2c to compile gwydiondylan 2.5")
endif
- touch bootstrap-stage2-stamp
+#########################
+# BUILD SYSTEM GENERATION
-autogen-stamp:
- `pwd`/autogen.sh --prefix=/usr
- touch autogen-stamp
+generate: generate-stamp
+.PHONY: generate
-build: autogen-stamp config build-stamp
-build-stamp: bootstrap-stage1-stamp bootstrap-stage2-stamp
-ifeq ("$(STYLE)", "normal")
+generate-stamp:
+ dh_testdir
+
+ ./real-autogen.sh
+
+ touch generate-stamp
- dh_testdir
- aclocal
- autoconf
+####################
+# BOOTSTRAP HANDLING
- # Add here commands to compile the package.
+bootstrap: bootstrap-stamp
+.PHONY: bootstrap
- $(MAKE)
-endif
+bootstrap-stamp: generate-stamp
+ dh_testdir
+
+ # configure with bootstrap enabled
+ ./configure --prefix=$(GD_BOOTSTRAP_PREFIX) \
+ --bindir=$(GD_BOOTSTRAP_BINDIR) \
+ --enable-debug=$(GD_DEBUG) \
+ --enable-bootstrap
+
+ # build the bootstrap compiler
+ $(MAKE)
+
+ # install to a temporary directory
+ $(MAKE) install
+
+ # do only the post-bootstrap cleanup
+ $(MAKE) bootstrap_clean
- touch build-stamp
+ touch bootstrap-stamp
+###############
+# CONFIGURATION
-config: config-stamp
-config-stamp:
-ifeq ("$(STYLE)", "normal")
- libtoolize --force
- aclocal
- autoconf
- ./configure --with-readline \
- --prefix=/usr \
- --with-site-dylan-prefix=/usr \
- --with-gnu-ld
- libtoolize --force
-endif
-
- touch config-stamp
+configure: configure-stamp
+.PHONY: configure
-clean:
+configure-stamp: bootstrap-stamp
dh_testdir
- dh_testroot
- -rm -f build-stamp install-stamp config-stamp bootstrap-stage1-stamp bootstrap-stage2-stamp autogen-stamp
- -rm -rf `pwd`/bootstrap_compiler
- -rm -rf `pwd`/debian/bootstrap
- -rm -f config.cache
-
- # Add here commands to clean up after the build process.
- -$(MAKE) bootstrap_clean
-
- chmod 0777 `pwd`/debian/delMakefiles
- chmod 0777 `pwd`/debian/delStatics
- `pwd`/debian/delMakefiles `pwd`
- `pwd`/debian/delStatics `pwd`
- chmod 0665 `pwd`/debian/delMakefiles
- chmod 0665 `pwd`/debian/delStatics
- -rm -f `pwd`/d2c/compiler/main/d2c.dbc
- -rm -f `pwd`/ltconfig
- -rm -f `pwd`/ltmain.sh
- -rm -f `pwd`/config.guess
- -rm -f `pwd`/config.sub
+
+ PATH=$(GD_BOOTSTRAP_BINDIR):$(PATH) \
+ ./configure --prefix=$(GD_PREFIX) \
+ --mandir=$(GD_MANDIR) \
+ --enable-debug=$(GD_DEBUG)
+
+ touch configure-stamp
- dh_clean
+#######
+# BUILD
-install: install-stamp
-install-stamp: build-stamp
+build: build-stamp
+.PHONY: build
+build-stamp: configure-stamp
+ dh_testdir
+
+ PATH=$(GD_BOOTSTRAP_BINDIR):$(PATH) \
+ $(MAKE)
+
+ touch build-stamp
+
+##############
+# INSTALLATION
+
+install: build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
- dh_installdocs CREDITS NEWS ONEWS.html README
- # Add here commands to install the package into debian/tmp.
- $(MAKE) DESTDIR=`pwd`/debian/tmp install
+ PATH=$(GD_BOOTSTRAP_BINDIR):$(PATH) \
+ $(MAKE) DESTDIR=`pwd`/debian/gwydiondylan install
- # First, put everything in FSSTD-compliant places
- mv `pwd`/debian/tmp/usr/man/* `pwd`/debian/tmp/usr/share/man
+.PHONY: install
+
+#########
+# CLEANUP
+
+clean:
+ dh_testdir
+ dh_testroot
- # Now, copy some manpages
- cp `pwd`/debian/gen-makefile.1 `pwd`/debian/tmp/usr/share/man/man1
- cp `pwd`/debian/make-dylan-lib.1 `pwd`/debian/tmp/usr/share/man/man1
- cp `pwd`/debian/mk-build-tree.1 `pwd`/debian/tmp/usr/share/man/man1
- cp `pwd`/debian/line-count.1 `pwd`/debian/tmp/usr/share/man/man1
-
- # Get rid of non-Debian directories and stuff
- rm -rf `pwd`/debian/tmp/usr/man
- rm -f `pwd`/debian/tmp/usr/bin/mk-rcs-links
-
- # Finally, put some stuff in a sane state
- chmod 0644 `pwd`/debian/tmp/usr/include/*
- chmod 0755 `pwd`/debian/tmp/usr/share/dylan
- chmod 0644 `pwd`/debian/tmp/usr/share/dylan/*
-
- # Add the emacs mode
- cp -a -r `pwd`/tools/elisp/* `pwd`/debian/gwydion-dylan-dev/usr/share/emacs/site-lisp/gwydion-dylan
-
- dh_movefiles
-
- # Make sure we don't have a bunch of extra stuff in Mindy
- rm -rf `pwd`/debian/mindy/usr/share/man/man4
- rm -rf `pwd`/debian/mindy/usr/share/man/man7
- rm -f `pwd`/debian/mindy/usr/share/man/man1/d2c*
- rm -f `pwd`/debian/mindy/usr/share/man/man1/dybug*
- rm -f `pwd`/debian/mindy/usr/share/man/man1/make*
- rm -f `pwd`/debian/mindy/usr/share/man/man1/mk*
- rm -f `pwd`/debian/mindy/usr/share/man/man1/melange*
- rm -f `pwd`/debian/mindy/usr/share/man/man1/parsergen*
- rm -f `pwd`/debian/mindy/usr/share/man/man1/gen*
- rm -f `pwd`/debian/mindy/usr/share/man/man1/line*
-
- # Make sure we don't have a bunch of extra stuff in Dev
- rm -rf `pwd`/debian/gwydion-dylan-dev/usr/share/man/man7
- rm -f `pwd`/debian/gwydion-dylan-dev/usr/share/man/man1/mindy*
-
- # Make sure we don't have a bunch of extra stuff in Dylan
- rm -rf `pwd`/debian/gwydion-dylan/share/man/man1/man1
- rm -rf `pwd`/debian/gwydion-dylan-dev/share/man/man4
+ rm -f generate-stamp bootstrap-stamp configure-stamp build-stamp
+
+ rm -rf debian/bootstrap debian/gwydiondylan
+
+ $(MAKE) clean
+
+ dh_clean
- # Fix screwy permissions in Data Object Stores
- chmod ago-x `pwd`/debian/tmp/usr/lib/dylan/$(VERSION)/$(MACHINE)-linux-$(GCCVER)/*.lib.du
+.PHONY: clean
- touch install-stamp
+###########
+# PACKAGING
# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+binary-indep:
# Build architecture-dependent files here.
binary-arch: build install
-# dh_testversion
dh_testdir
dh_testroot
+ dh_installchangelogs
dh_installdocs
- dh_installexamples
- dh_installmenu
- dh_installemacsen -pgwydion-dylan-dev
+# dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installcatalogs
+# dh_installpam
+# dh_installmime
# dh_installinit
- dh_installcron
-# dh_installmanpages
+# dh_installcron
+# dh_installinfo
# dh_undocumented
- dh_installchangelogs
+# dh_installman
+ dh_link
dh_strip
dh_compress
dh_fixperms
+# dh_perl
+# dh_python
+ dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
- dh_makeshlibs
dh_md5sums
dh_builddeb
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: binary-indep binary-arch binary
+
More information about the chatter
mailing list