--- gforth-0.7.0+ds1.orig/debian/vmgen.1 +++ gforth-0.7.0+ds1/debian/vmgen.1 @@ -0,0 +1,33 @@ +.de TQ +.br +.ns +.IP "\fB\\$1\fI\\$2" 9 +.. +.TH Vmgen 1 "April 14, 1999" \" -*- nroff -*- +.SH NAME +vmgen \- a tool for writing fast and efficient interpreters +.SH SYNOPSIS + +\fCvmgen\fR INPUTFILE + +.SH DESCRIPTION + +\fBVmgen\fR is a tool for writing efficient interpreters. It takes a +simple virtual machine description and generates efficient C code for +dealing with the virtual machine code in various ways (in particular, +executing it). The run-time efficiency of the resulting interpreters +is usually within a factor of 10 of machine code produced by an +optimizing compiler. + +The main documentation for vmgen is in info format. Please use +\fCinfo vmgen\fR for the complete documentation on vmgen. + +.SH SEE ALSO +The Vmgen manual in info format + +\fChttp://www.complang.tuwien.ac.at/projects/forth.html\fR. +.SH AUTHORS +\fBVmgen\fR was written by Anton Ertl, Bernd Paysan, Jens Wilke and +others. +This manpage was created for the Debian GNU/Linux project by Eric Schwartz. +Any problems with it are entirely his fault. --- gforth-0.7.0+ds1.orig/debian/emacsen-install +++ gforth-0.7.0+ds1/debian/emacsen-install @@ -0,0 +1,71 @@ +#!/bin/sh +# +# emacsen install script for the Debian GNU/Linux +# gforth package +# +# Written by Rafael Laboissiere and +# Agustin Martin +# +# Some things taken from Dirk Eddelbuettel script for the octave package. +# lpath.el trick is stolen from Davide Salvetti's auctex package +# -------------------------------------------------------------- + +set -e + +# Canadian spelling ;-) +flavour=$1 + +package=gforth +files="gforth.el" +source=/usr/share/emacs/site-lisp/${package} +destination=/usr/share/${flavour}/site-lisp/${package} + +case "$flavour" in + emacs) + # Dummy emacs flavour. Do nothing and exit + exit 0 + ;; + xemacs*) + flags="-no-site-file" + ;; + emacs19|emacs-snapshot*) + # Do not byte-compile anything for emacs19 or emacs-snapshot + echo "install/${package}: Skipping byte-compilation for $flavour" + exit 0 + ;; + emacs*) + flags="--no-site-file" + ;; + *) + echo install/${package}: Ignoring emacsen flavour [${flavour}] + exit 0 + ;; +esac + +if [ -e "${destination}/done" ]; then + echo "install/${package}: Already byte-compiled for ${flavour}. Skipping ..." +else + echo install/${package}: Byte-compiling for emacsen flavour ${flavour} + + # Make sure destination directory is available + install -m 0755 -d ${destination} + + # Make sure current dir is in the load path + cat << EOF > ${destination}/path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF + + flags="${flags} -q -batch -l path.el -f batch-byte-compile" + ( # Go to the .elc dir, set sources symlinks, byte compile files and remove temp .el files from the .elc dir + cd ${destination} + for i in $files; do + ln -sf $source/$i + done + ${flavour} ${flags} ${files} + rm path.el + touch done + ) +fi + +exit 0; + --- gforth-0.7.0+ds1.orig/debian/copyright +++ gforth-0.7.0+ds1/debian/copyright @@ -0,0 +1,141 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59 +Name: gforth +Source: http://www.complang.tuwien.ac.at/forth/gforth/ + +Files: * +Author: Anton Ertl, Bernd Paysan, Jens Wilke +Copyright: (C) 1991-2008 Free Software Foundation, Inc. +License: GPL-3+ + +Files: arch/arm/cacheflush-linux.c autogen.sh prims2x0.6.2.fs +Author: Anton Ertl, Bernd Paysan, Jens Wilke +Copyright: (C) 1995-2008 Free Software Foundation, Inc. +License: GPL-2+ + +Files: arch/misc/optcmove.fs compat/* fsl-util.4th objects.fs objexamp.fs + test/checkans.fs test/tester.fs +License: PD + +Files: arch/misc/tt.fs tt.fs +Author: Dirk Uwe Zoller +License: other + Please copy and share this program, modify it for your system + and improve it as you like. But don't remove this notice. + . + Thank you. + +Files: Benchres +Copyright: (C) 2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc. +License: other + This file is free documentation; the Free Software Foundation gives + unlimited permission to copy, distribute and modify it. + +Files: doc/gforth.ds doc/gforth.info* doc/gforth.ps + doc/vmgen.info doc/vmgen.ps doc/vmgen.texi +Copyright: (C) 1995-1998, 2000, 2003-2008 Free Software Foundation, Inc. +License: GFDL-1.1+ + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.1 or + any later version published by the Free Software Foundation; with no + Invariant Sections, with the Front-Cover texts being ``A GNU Manual,'' + and with the Back-Cover Texts as in (a) below. + . + On Debian systems, the full text of the GNU Free Documentation License + version 1.2 can be found in `/usr/share/common-licenses/GFDL-1.2'. + +Files: engine/dblsub.c +Copyright: (C) 1996,2000,2003,2006,2007 Free Software Foundation, Inc. + (C) 1995 Dirk Uwe Zoller +License: LGPL-3+ + +Files: engine/getopt1.c engine/strtol.c engine/strtoul.c +Copyright: (C) 1987-2007 Free Software Foundation, Inc. +License: LGPL-3+ + +Files: gforth.el +Copyright: (C) 1995-1998, 2000, 2001, 2003, 2004, 2007, 2008 Free Software Foundation, Inc. +License: other + This file is part of Gforth. + . + GForth is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY. No author or distributor + accepts responsibility to anyone for the consequences of using it + or for whether it serves any particular purpose or works at all, + unless he says so in writing. Refer to the GNU Emacs General Public + License for full details. + . + Everyone is granted permission to copy, modify and redistribute + GNU Emacs, but only under the conditions described in the + GNU Emacs General Public License. A copy of this license is + supposed to have been given to you along with Gforth so you + can know your rights and responsibilities. It should be in a + file named COPYING. Among other things, the copyright notice + and this notice must be preserved on all copies. + +Files: oof.fs oofsampl.fs +Author: Bernd Paysan +Copyright: (C) 1996, 2000 Bernd Paysan +License: other + Please copy and share this program, modify it for your system + and improve it as you like. But don't remove this notice. + . + Thank you. + +Files: test/coretest.fs test/ttester.fs +Author: John Hayes +Copyright: (C) 1995 JOHNS HOPKINS UNIVERSITY / APPLIED PHYSICS LABORATORY +License: other + MAY BE DISTRIBUTED FREELY AS LONG AS THIS COPYRIGHT NOTICE REMAINS. + +Files: test/postpone.fs +Author: John Hayes, M. Anton Ertl +Copyright: (C) 1995 JOHNS HOPKINS UNIVERSITY / APPLIED PHYSICS LABORATORY +License: other, PD + by M. Anton Ertl 1996 + . + This file is based on John Hayes' core.fr (coretest.fs), which has + the following copyright notice: + . + (C) 1995 JOHNS HOPKINS UNIVERSITY / APPLIED PHYSICS LABORATORY + MAY BE DISTRIBUTED FREELY AS LONG AS THIS COPYRIGHT NOTICE REMAINS. + +Files: debian/* +Author: Andreas Barth , + Bdale Garbee , + Eric M. Schwartz , + Michael Meskes , + Neil Williams , + Peter Pentchev +Copyright: (C) 1996-1999 Bdale Garbee + (C) 2000,2002-2006 Eric M. Schwartz + (C) 2006 Neil Williams + (C) 2006 Andreas Barth + (C) 2008-2009 Michael Meskes + (C) 2009 Peter Pentchev +License: GPL-2+ + +License: GPL-2+ + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License; either version 2 of the License, + or (at your option) any later version. + . + On Debian systems, the full text of the GNU General Public License version 2 + can be found in `/usr/share/common-licenses/GPL-2'. + +License: GPL-3+ + This program is free software: you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation, either version 3 of the License, or (at your option) any later + version. + . + On Debian systems, the full text of the GNU General Public License version 3 + can be found in `/usr/share/common-licenses/GPL-3'. + +License: LGPL-3+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + . + On Debian systems, the full text of the GNU Lesser General Public License + version 3 can be found in `/usr/share/common-licenses/LGPL-3'. --- gforth-0.7.0+ds1.orig/debian/watch +++ gforth-0.7.0+ds1/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/([+ds[0-9]*)?[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv \ +http://www.complang.tuwien.ac.at/forth/gforth/ (?:.*/)?gforth-?_?([\d+\.]+|\d+)\.(tar|tar.gz|tgz|zip|gz|bz2|) debian uupdate --- gforth-0.7.0+ds1.orig/debian/gforth.links +++ gforth-0.7.0+ds1/debian/gforth.links @@ -0,0 +1,8 @@ +usr/share/man/man1/gforth.1.gz usr/share/man/man1/gforth-0.7.0.1.gz +usr/share/man/man1/gforth.1.gz usr/share/man/man1/gforthmi-0.7.0.1.gz +usr/share/man/man1/gforth.1.gz usr/share/man/man1/gforth-itc-0.7.0.1.gz +usr/share/man/man1/gforth.1.gz usr/share/man/man1/gforth-fast-0.7.0.1.gz +usr/share/man/man1/gforth.1.gz usr/share/man/man1/gforthmi.1.gz +usr/share/man/man1/gforth.1.gz usr/share/man/man1/gforth-itc.1.gz +usr/share/man/man1/gforth.1.gz usr/share/man/man1/gforth-fast.1.gz +usr/share/man/man1/vmgen.1.gz usr/share/man/man1/vmgen-0.7.0.1.gz --- gforth-0.7.0+ds1.orig/debian/control +++ gforth-0.7.0+ds1/debian/control @@ -0,0 +1,46 @@ +Source: gforth +Section: interpreters +Priority: optional +Maintainer: Peter Pentchev +Build-Depends: debhelper (>= 7.0.50), autoconf, automake, autotools-dev, + libffcall1-dev [!armel], libffi-dev [armel], libtool, libltdl-dev, + quilt (>= 0.46-7) +Standards-Version: 3.8.3 +Homepage: http://www.complang.tuwien.ac.at/projects/forth.html +Vcs-Svn: http://svn.ringlet.net/svn/ringlet/lang/gforth/trunk/gforth-pkg/debian/ +Vcs-Browser: http://svn.ringlet.net/cgi-bin/viewvc/viewvc.cgi/ringlet/lang/gforth/trunk/gforth-pkg/debian/ + +Package: gforth +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, dpkg (>= 1.15.4) | install-info, + gforth-common (= ${source:Version}) +Description: GNU Forth Language Environment + This is the GNU'ish implementation of a Forth programming environment. + . + Forth, as a language, is best known for being stack-based, and completely + extensible. Each Forth environment provides one or more dictionaries of + pre-defined words, and programming in Forth consists of defining and + executing new words that are combinations of previously defined words. It + has been said that learning Forth changes forever the way you think about + writing programs. + . + For more information about Forth, visit the Forth Interest Group web site + at http://www.forth.org/fig.html. + +Package: gforth-common +Architecture: all +Depends: ${misc:Depends} +Recommends: gforth (>= ${binary:Version}) +Conflicts: gforth (<< 0.7.0+ds1-1) +Replaces: gforth (<< 0.7.0+ds1-1) +Description: GNU Forth architecture-independent dictionaries + This is the GNU'ish implementation of a Forth programming environment. + . + Forth, as a language, is best known for being stack-based, and completely + extensible. Each Forth environment provides one or more dictionaries of + pre-defined words, and programming in Forth consists of defining and + executing new words that are combinations of previously defined words. It + has been said that learning Forth changes forever the way you think about + writing programs. + . + This package provides the architecture-independent Forth dictionaries. --- gforth-0.7.0+ds1.orig/debian/gforth.manpages +++ gforth-0.7.0+ds1/debian/gforth.manpages @@ -0,0 +1,2 @@ +doc/gforth.1 +debian/vmgen.1 --- gforth-0.7.0+ds1.orig/debian/compat +++ gforth-0.7.0+ds1/debian/compat @@ -0,0 +1 @@ +7 --- gforth-0.7.0+ds1.orig/debian/rules +++ gforth-0.7.0+ds1/debian/rules @@ -0,0 +1,62 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. + +GFORTH_VER = `sed -e 's/^[^ ]\+ (\([^)+-]\+\).*/\1/; 1q' debian/changelog` +D = $(CURDIR)/debian/gforth +DC = $(CURDIR)/debian/gforth-common +ULIB = $D/usr/lib/gforth/$(GFORTH_VER) +USHARE = $D/usr/share/gforth/$(GFORTH_VER) + +# arch-specific options +common_opts :=--with-lispdir=/usr/share/emacs/site-lisp/gforth +m68k_opts :=--enable-force-reg + +configure_options := $(common_opts) + +ifeq ($(DEB_BUILD_ARCH),m68k) +configure_options = $(common_opts) $(m68k_opts) +endif + +shellout := $(shell ls -d debian/kernl-save 2> /dev/null) +save-dir=frog$(shellout) + +patch unpatch: + $(MAKE) -f /usr/share/quilt/quilt.make $@ + +override_dh_auto_configure: +ifeq ($(save-dir),frog) + install -d debian/kernl-save + cp kernl*.fi debian/kernl-save +endif +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + no_dynamic_default=1 dh_auto_configure -- $(configure_options) + +override_dh_auto_clean: + dh_auto_clean + rm -f config.sub config.guess +ifneq ($(save-dir),frog) + cp debian/kernl-save/* . + rm -r debian/kernl-save +endif + +override_dh_auto_install: + touch $D/usr/lib/gforth/site-forth/site-init.fs + dh_auto_install -- DESTDIR=$D + chmod 755 $(USHARE)/filedump.fs $(USHARE)/httpd.fs $(USHARE)/sieve.fs \ + $(USHARE)/kernl*.fi $(ULIB)/gforth.fi + mkdir -p $(DC)/usr/share + mv $D/usr/share/gforth $(DC)/usr/share/gforth + find $D $(DC) -type d -empty -print | xargs rmdir + +override_dh_installchangelogs: + dh_installchangelogs NEWS + +override_dh_makeshlibs: + +%: + dh --with quilt $@ --- gforth-0.7.0+ds1.orig/debian/README.source +++ gforth-0.7.0+ds1/debian/README.source @@ -0,0 +1,17 @@ +The gforth package uses quilt to maintain local changes to +the gforth distribution. The Debian-specific patches are maintained +in the debian/patches/ directory. + +To apply all the patches, preparing the source for building, use: + debian/rules patch + +To revert the patches, preparing to build a source package, use: + debian/rules unpatch + +You do not need to manually execute these targets when building +the package; they are part of the debian/rules target chain. + +For more information on the quilt integration with Debian packages, +as well as editing, adding or removing patches, please see +the quilt documentation; in recent versions of the Debian package of +quilt, start at the /usr/share/doc/quilt/README.source file. --- gforth-0.7.0+ds1.orig/debian/changelog +++ gforth-0.7.0+ds1/debian/changelog @@ -0,0 +1,347 @@ +gforth (0.7.0+ds1-5) unstable; urgency=low + + * Fix the FTBFS on hppa by not passing -N to the linker. + Many thanks to Frans Pop and the others on the debian-hppa list for + the assistance in tracking this down! + + -- Peter Pentchev Tue, 08 Sep 2009 16:21:38 +0200 + +gforth (0.7.0+ds1-4) unstable; urgency=low + + * Try and fix the s390 build once again, this time after testing + the sdiv_qrnnd() usage code on x86; hopefully Closes: #544827 + + -- Peter Pentchev Sat, 05 Sep 2009 18:46:33 +0300 + +gforth (0.7.0+ds1-3) unstable; urgency=low + + * Explicitly depend on libtool and libltdl-dev; several benefits: + - make the build environment-agnostic and not dependent on what + just happens to be installed + - fix a FTBFS if libtool is installed but libltdl-dev isn't; + some of the autobuilders are configured that way + * Add a missing semicolon in engine/support.c to try and fix + the FTBFS on s390. + * Temporarily use libffi instead of libffcall on armel, until + libffcall's issues are resolved. + + -- Peter Pentchev Tue, 01 Sep 2009 17:58:12 +0300 + +gforth (0.7.0+ds1-2) unstable; urgency=low + + * Fix the FTBFS when building arch-dependent packages only - do not + depend on dh_installdirs to create the gforth-common /usr/share + directory, since it won't in an arch-only build. Closes: #543569 + + -- Peter Pentchev Wed, 26 Aug 2009 15:03:13 +0300 + +gforth (0.7.0+ds1-1) unstable; urgency=low + + * New maintainer. Closes: #540827 + * Use quilt for patch management and add the debian/README.source file. + * Fix the build: + - specify an absolute prefix to "make install". + - remove a couple of files that "make distclean" seems to miss. + * Add the Homepage, Vcs-Svn, and Vcs-Browser control fields. + * Install the NEWS file as an upstream changelog. + * Deal with config.sub and config.guess properly - copy them from + the autotools-dev package before running "configure" and remove them + in the "clean" target. + * Keep the vmgen.1 manual page in the debian/ directory. + * Bump the debhelper compatibility level to 7: + - version the debhelper build dependency + - add ${misc:Depends} to the binary package + - leave removing of the *-stamp files to dh_clean + - use dh_prep instead of dh_clean -k + - shorten the rules file using the dh(1) helper and override targets + - disable debhelper's verbose mode + * Bump Standards-Version to 3.8.3: + - leave "install-info" to dpkg triggers and add the proper dependency + * Disable an i*86 "optimization" of passing the nonexistent -m486 + option to gcc. + * Break out /usr/share/gforth/ into a gforth-common package. + * Make three example scripts executable. + * Repackage to remove the CVS directories. + * Fix the .TQ macro invocations in the groff.1 manual page so that + the short options are actually rendered! + * Add all the copyright holders to the copyright file and convert it + to the DEP 5 format. + * Properly compile and install gforth.el. Closes: #385399. + + -- Peter Pentchev Sun, 23 Aug 2009 14:20:28 +0300 + +gforth (0.7.0-0.1) unstable; urgency=low + + * Non-maintainer upload. + * New upstream version which is able to build on systems with address-space + randomization, closes: #484222 + * Build with ffcall support, closes: #500640 + * Applied upstream patch to not accept "-" as a valid number, closes: #512364 + * Added watch file. + * Bumped Standards-Version to 3.8.1, no changes needed. + + -- Michael Meskes Mon, 20 Apr 2009 14:28:05 +0200 + +gforth (0.6.2-7.3) unstable; urgency=low + + * Non-maintainer upload. + * Removed -s option from install, closes: #436976 + * Removed deprecated gcc options, closes: #474806 + * Bumped Standards-Version to 3.7.3. + * Changed build dependency from automake1.4 to automake. + * Bumped compatibility level to 4. + + -- Michael Meskes Wed, 23 Apr 2008 13:13:53 +0200 + +gforth (0.6.2-7.2) unstable; urgency=high + + * Non-maintainer upload. + * Fix breackage on hppa based on the comments from Lamont. + Closes: #389236 + + -- Andreas Barth Tue, 19 Dec 2006 16:48:45 +0000 + +gforth (0.6.2-7.1) unstable; urgency=low + + * Non-maintainer upload. + * gforth_0.6.2-7(hppa/unstable): FTBFS: bad build-depends + (Closes: #394407) + + -- Neil Williams Fri, 27 Oct 2006 19:19:01 +0100 + +gforth (0.6.2-7) unstable; urgency=low + + * Updating config.{guess,sub} (Closes: #342411) + + -- Eric Schwartz (Skif) Tue, 14 Feb 2006 08:58:57 -0700 + +gforth (0.6.2-6) unstable; urgency=low + + * Fix buggy postinst (Closes: #289571) + + -- Eric Schwartz (Skif) Sun, 9 Jan 2005 18:24:53 -0700 + +gforth (0.6.2-5) unstable; urgency=low + + * install-info vmgen info page (closes: #268714) + * clarify wording in gforth man page (closes: #278325) + + -- Eric Schwartz (Skif) Sun, 9 Jan 2005 00:04:04 -0700 + +gforth (0.6.2-4) unstable; urgency=low + + * Add build-dep on automake (Closes: #245317) + + -- Eric Schwartz (Skif) Mon, 26 Apr 2004 14:41:16 -0600 + +gforth (0.6.2-3) unstable; urgency=low + + * Include LaMont's patch to enable big-endian and 64-bit + builds. (Closes: #221861) + * Fixed configure.in to create valid assembler to reserve 16 bytes + of space (Closes: #188513) + + -- Eric Schwartz (Skif) Sun, 11 Apr 2004 17:00:55 -0600 + +gforth (0.6.2-2.2) unstable; urgency=low + + * NMU + * Sigh. Fix 64-bit machine builds too. (Really) Closes: #221861 + + -- LaMont Jones Wed, 24 Dec 2003 16:07:07 -0700 + +gforth (0.6.2-2.1) unstable; urgency=low + + * NMU + * Fix big-endian machine build. Closes: #221861 + + -- LaMont Jones Tue, 23 Dec 2003 21:20:08 -0700 + +gforth (0.6.2-2) unstable; urgency=low + + * Cleaned up some lintian problems. Nothing major. + + -- Eric Schwartz Thu, 20 Nov 2003 00:40:02 -0700 + +gforth (0.6.2-1) unstable; urgency=low + + * New upstream release + * Remove INSTALL_INFO from Makefile.in to not generate + /usr/share/doc/info/dir.(old).gz (closes: #213680) + + -- Eric Schwartz Tue, 14 Oct 2003 21:43:02 -0600 + +gforth (0.6.1-4) unstable; urgency=low + + * set no_dynamic_default=1 as a quick fix from the gforth mailing list. + (closes: #195364) + + * Applied Mario Lang's patch to autoload forth-block-mode and run-forth + (closes: #198055) + + -- Eric Schwartz Tue, 5 Aug 2003 20:50:47 -0600 + +gforth (0.6.1-3) unstable; urgency=low + + * Added no_dynamic_default=1 for m68k in configure.in (closes #188270) + + -- Eric Schwartz Thu, 10 Apr 2003 10:09:40 -0600 + +gforth (0.6.1-2) unstable; urgency=low + + * Added autoconf to build-deps, removed gcc-3.2 (closes #188101) + + -- Eric Schwartz Mon, 7 Apr 2003 18:34:33 -0600 + +gforth (0.6.1-1) unstable; urgency=low + + * New upstream version + + -- Eric Schwartz Tue, 25 Mar 2003 13:12:03 -0700 + +gforth (0.5.0-6) unstable; urgency=low + + * Updates config.{sub,guess} (closes #176518) + * Updates build options for m68k. Again. Dagnabit. + + -- Eric Schwartz Fri, 31 Jan 2003 18:14:55 -0700 + +gforth (0.5.0-5) unstable; urgency=low + + * Fixes won't-build-on-sparc problem + + -- Eric Schwartz Wed, 8 Jan 2003 17:07:47 -0700 + +gforth (0.5.0-4) unstable; urgency=low + + * Fixes incorrect build using --enable-force-regs on non-m68k archs + + -- Eric Schwartz Wed, 8 Jan 2003 10:15:40 -0700 + +gforth (0.5.0-3) unstable; urgency=low + + * Added portability patches from Anton Ertl (closes: #140153) + * Forced compile on m68k to use --enable-force-reg (closes: #138894) + * changed 50gforth.el to provide 'forth-mode (closes: #154042) + * Applied Kevin Ryde's patch to gforth.el (closes: #139843) + + -- Eric Schwartz Mon, 6 Jan 2003 17:20:15 -0700 + +gforth (0.5.0-2) unstable; urgency=low + + * Incorporate Colin Watson's patch + * Make /etc/emacs/site-start.d/50gforth.el a conffile (closes: #132136). + + -- Eric Schwartz Mon, 25 Feb 2002 10:55:55 -0700 + +gforth (0.5.0-1) unstable; urgency=low + + * new upstream version + * update to current policy + + -- Eric M. Schwartz Sat, 30 Sep 2000 14:21:00 -0600 + +gforth (0.4.9.19990617-2) unstable; urgency=low + + * new maintainer + + -- Eric M. Schwartz Wed, 23 Aug 2000 22:01:00 -0600 + +gforth (0.4.9.19990617-1) unstable; urgency=low + + * new upstream source snapshot, not an official release but recommended by + one of the upstream maintainers, Bernd Paysan + * update to current policy + + -- Bdale Garbee Wed, 1 Dec 1999 23:55:19 -0700 + +gforth (0.4.0-4) unstable; urgency=low + + * upstream source has CVS directories, which cvs-inject can't deal with + + -- Bdale Garbee Sun, 20 Jun 1999 14:27:00 -0600 + +gforth (0.4.0-3) unstable; urgency=low + + * revert to upstream naming for installed executables, tweaking Makefile.in + to get the symlinks right. Closes 34921. + * tweak install.TAGS in Makefile.in so that it strips the build path from + the entries in the TAGS file properly. Closes 34920. + * add link for gforthmi man page + + -- Bdale Garbee Wed, 26 May 1999 12:40:37 -0600 + +gforth (0.4.0-2) unstable; urgency=low + + * fix an include problem on m68k reported by Roman Hodek, closes 32738 + + -- Bdale Garbee Sat, 6 Feb 1999 16:34:15 -0700 + +gforth (0.4.0-1) unstable; urgency=low + + * new upstream version, closes 31563 + + -- Bdale Garbee Sun, 17 Jan 1999 23:28:14 -0700 + +gforth (0.3.0-4) unstable; urgency=low + + * m68k doesn't want -traditional-cpp per James Troup, closes 22537. + * fix a couple of lintian complaints + + -- Bdale Garbee Sun, 24 May 1998 22:37:06 -0600 + +gforth (0.3.0-3) frozen unstable; urgency=low + + * fix reference to etags.el in gforth.el, closes 20152 + * restructure 50gforth.el so it's loaded more intelligently, closes 18738. + * switch to egcc, since current Debian gcc package causes hang during build. + This problem is known to the gforth maintainers, they indicate it's a gcc + problem but provide no details. Since egcc works... I'll just use it. + * move from debstd to debhelper + + -- Bdale Garbee Sat, 18 Apr 1998 01:48:32 -0600 + +gforth (0.3.0-2) unstable; urgency=low + + * libc6 + + -- Bdale Garbee Thu, 4 Sep 1997 23:45:47 -0600 + +gforth (0.3.0-1) unstable; urgency=low + + * New upstream elease. + + -- Bdale Garbee Fri, 18 Apr 1997 21:44:03 -0600 + +gforth (0.2.1-1) unstable; urgency=low + + * New upstream version. + + -- Bdale Garbee Fri, 20 Dec 1996 22:43:35 -0700 + +gforth (0.2.0-1) stable unstable; urgency=medium + + * New upstream version. + * Fixes bugs 5973 and 5976. + + -- Bdale Garbee Sat, 14 Dec 1996 14:54:37 -0700 + +gforth (0.1beta-3) unstable; urgency=low + + * Guy moved gforth to devel, closes bug 5301 - not re-released + + -- Bdale Garbee Tue, 12 Nov 1996 09:21:34 -0700 + +gforth (0.1beta-2) unstable; urgency=low + + * Add postinst and postrm to make info files visible. + + -- Bdale Garbee Sat, 2 Nov 1996 15:23:19 -0700 + +gforth (0.1beta-1) unstable; urgency=low + + * Initial Release. + + -- Bdale Garbee Tue, 29 Oct 1996 02:03:02 -0800 + + --- gforth-0.7.0+ds1.orig/debian/emacsen-startup +++ gforth-0.7.0+ds1/debian/emacsen-startup @@ -0,0 +1,3 @@ +(autoload 'forth-mode "gforth" "Mode to edit gforth files" t) +(autoload 'forth-block-mode "gforth" "major mode for editing Forth block source files." t) +(autoload 'run-forth "gforth" "Run an inferior Forth process, input and output via buffer *forth*." t) --- gforth-0.7.0+ds1.orig/debian/emacsen-remove +++ gforth-0.7.0+ds1/debian/emacsen-remove @@ -0,0 +1,28 @@ +#!/bin/sh +# +# emacsen remove script for the Debian GNU/Linux +# gforth package +# +# Written by Rafael Laboissiere and +# Agustin Martin based on +# Dirk Eddelbuettel script for the octave package. +# ----------------------------------------------------------------- + +set -e + +# Canadian spelling ;-) +flavour=$1 + +# Do nothing for dummy 'emacs' flavour +if [ ${flavour} = emacs ]; then exit 0; fi + +package=gforth +destination=/usr/share/${flavour}/site-lisp/${package} + +if [ -d $destination ]; then + echo remove/${package}: Purging byte-compiled files for flavour ${flavour} + rm -f ${destination}/*.elc ${destination}/*.el ${destination}/done + rmdir --ignore-fail-on-non-empty ${destination} +fi + +exit 0; --- gforth-0.7.0+ds1.orig/debian/gforth.dirs +++ gforth-0.7.0+ds1/debian/gforth.dirs @@ -0,0 +1,4 @@ +etc/emacs/site-start.d +usr/lib/gforth/site-forth +usr/share/emacs/site-lisp/gforth +usr/share/gforth/site-forth --- gforth-0.7.0+ds1.orig/debian/gforth-common.lintian-overrides +++ gforth-0.7.0+ds1/debian/gforth-common.lintian-overrides @@ -0,0 +1,2 @@ +gforth-common: extra-license-file usr/share/gforth/0.7.0/kernel/license.fs +gforth-common: unusual-interpreter * #!/usr/bin/gforth-0.7.0 --- gforth-0.7.0+ds1.orig/debian/patches/04-minus-number.patch +++ gforth-0.7.0+ds1/debian/patches/04-minus-number.patch @@ -0,0 +1,43 @@ +An upstream patch to not accept "-" as a valid number. + +--- a/kernel/int.fs ++++ b/kernel/int.fs +@@ -163,21 +163,24 @@ + over c@ '' = if + 1 /string s'>unumber? exit + endif +- base @ >r getbase sign? >r +- 0. 2swap +- BEGIN ( d addr len ) +- dup >r >number dup +- WHILE \ there are characters left +- dup r> - +- WHILE \ the last >number parsed something +- dup 1- dpl ! over c@ [char] . = +- WHILE \ the current char is '.' +- 1 /string +- REPEAT THEN \ there are unparseable characters left +- 2drop rdrop false ++ base @ >r getbase sign? ++ over if ++ >r 0. 2swap ++ BEGIN ( d addr len ) ++ dup >r >number dup ++ WHILE \ there are characters left ++ dup r> - ++ WHILE \ the last >number parsed something ++ dup 1- dpl ! over c@ [char] . = ++ WHILE \ the current char is '.' ++ 1 /string ++ REPEAT THEN \ there are unparseable characters left ++ 2drop rdrop false ++ ELSE ++ rdrop 2drop r> ?dnegate true ++ THEN + ELSE +- rdrop 2drop r> ?dnegate true +- THEN ++ drop 2drop 0. false THEN + r> base ! ; + + \ ouch, this is complicated; there must be a simpler way - anton --- gforth-0.7.0+ds1.orig/debian/patches/01-script-hashbang.patch +++ gforth-0.7.0+ds1/debian/patches/01-script-hashbang.patch @@ -0,0 +1,26 @@ +Add a #!-line to the installed Forth scripts. + +--- a/filedump.fs ++++ b/filedump.fs +@@ -1,4 +1,4 @@ +-#! /usr/local/lib/gforth/0.2.0/kernel.fi ++#! /usr/share/gforth/0.7.0/kernl32l.fi + \ file hex dump + + \ Copyright (C) 1997,2002,2003,2004,2007 Free Software Foundation, Inc. +--- a/httpd.fs ++++ b/httpd.fs +@@ -1,4 +1,4 @@ +-#! /usr/local/bin/gforth ++#! /usr/bin/gforth + + \ Copyright (C) 2000,2002,2003,2004,2006,2007,2008 Free Software Foundation, Inc. + +--- a/sieve.fs ++++ b/sieve.fs +@@ -1,4 +1,4 @@ +-#! /usr/stud/paysan/bin/forth ++#! /usr/bin/gforth + + DECIMAL + : SECS TIME&DATE 2DROP DROP 60 * + 60 * + ; --- gforth-0.7.0+ds1.orig/debian/patches/07-manpage.patch +++ gforth-0.7.0+ds1/debian/patches/07-manpage.patch @@ -0,0 +1,87 @@ +The .TQ macro does not expect the actual text as an argument! + +--- a/doc/gforth.1 ++++ b/doc/gforth.1 +@@ -57,18 +57,21 @@ + .SH OPTIONS + + .BI "\-\-help" +-.TQ "\-h" ++.TQ ++.BI "\-h" + Lists the available options, including some not described here (see + also the manual). + .TP + .BI "\-\-image\-file " "file" +-.TQ "\-i " "file" ++.TQ ++.BI "\-i " "file" + Loads the Forth image + .I file + instead of the default \fCgforth.fi\fR. + .TP + .BI "\-\-path " "path" +-.TQ "\-p " "path" ++.TQ ++.BI "\-p " "path" + Uses + .I path + for searching the image file and Forth source code +@@ -80,7 +83,8 @@ + list. + .TP + .BI "\-\-dictionary\-size " "size" +-.TQ "\-m " "size" ++.TQ ++.BI "\-m " "size" + Allocate + .I size + space for the Forth dictionary space instead of +@@ -94,21 +98,24 @@ + \fCe\fR is used. + .TP + .BI "\-\-data\-stack\-size " "size" +-.TQ "\-d " "size" ++.TQ ++.BI "\-d " "size" + Allocate + .I size + space for the data stack instead of using the + default specified in the image (typically 16K). + .TP + .BI "\-\-return\-stack\-size " "size" +-.TQ "\-r " "size" ++.TQ ++.BI "\-r " "size" + Allocate + .I size + space for the return stack instead of using the + default specified in the image (typically 16K). + .TP + .BI "\-\-fp\-stack\-size " "size" +-.TQ "\-f " "size" ++.TQ ++.BI "\-f " "size" + Allocate + .I size + space for the floating point stack instead of +@@ -118,7 +125,8 @@ + refers to floating point numbers. + .TP + .BI "\-\-locals\-stack\-size " "size" +-.TQ "\-l " "size" ++.TQ ++.BI "\-l " "size" + Allocate + .I size + space for the locals stack instead of using the +@@ -126,7 +134,8 @@ + + .TP + .BI "\-\-evaluate " "forth" +-.TQ "\-e " "forth" ++.TQ ++.BI "\-e " "forth" + Evaluates the + .I forth + code. This option takes only one argument; if you want to evaluate --- gforth-0.7.0+ds1.orig/debian/patches/series +++ gforth-0.7.0+ds1/debian/patches/series @@ -0,0 +1,8 @@ +01-script-hashbang.patch +02-skip-install.patch +03-hppa-build.patch +04-minus-number.patch +05-distclean.patch +06-configure-assumptions.patch +07-manpage.patch +08-qrnnd-build.patch --- gforth-0.7.0+ds1.orig/debian/patches/02-skip-install.patch +++ gforth-0.7.0+ds1/debian/patches/02-skip-install.patch @@ -0,0 +1,24 @@ +Do not install the .elc and .info files. + +--- a/Makefile.in ++++ b/Makefile.in +@@ -615,7 +615,7 @@ + $(INSTALL_DATA) $(kernel_fi) $(DESTDIR)$(datadir)/gforth/$(VERSION) + @if test -d "$(DESTDIR)$(emacssitelispdir)"; then \ + $(INSTALL_DATA) gforth.el $(DESTDIR)$(emacssitelispdir); \ +- $(INSTALL_DATA) gforth.elc $(DESTDIR)$(emacssitelispdir); \ ++ #$(INSTALL_DATA) gforth.elc $(DESTDIR)$(emacssitelispdir); \ + else \ + echo '>>>>>Please install gforth.{el,elc} in your .../emacs/site-lisp directory'; \ + fi +@@ -629,8 +629,8 @@ + $(LIBTOOL) --silent --mode=install $(INSTALL) lib/gforth/$(VERSION)/libcc-named/`basename $$i .fs`.la $(DESTDIR)$(libccdir)`basename $$i .fs`.la; \ + done; fi + $(POST_INSTALL) +- $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gforth.info +- $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/vmgen.info ++ #$(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gforth.info ++ #$(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/vmgen.info + + install-strip: install + --- gforth-0.7.0+ds1.orig/debian/patches/03-hppa-build.patch +++ gforth-0.7.0+ds1/debian/patches/03-hppa-build.patch @@ -0,0 +1,13 @@ +Fix the build on hppa. + +--- a/arch/hppa/cache.c ++++ b/arch/hppa/cache.c +@@ -27,7 +27,7 @@ + for(; p +- LDFLAGS="$LDFLAGS -Xlinker -N" ++ #LDFLAGS="$LDFLAGS -Xlinker -N" + LIBS="$LIBS -L/lib/pa1.1/" + ;; + sparc*) + machine=sparc + ;; +- i386) +- machine=386 +- CFLAGS="$CFLAGS -fomit-frame-pointer -fforce-addr" +- ;; +- i486) +- machine=386 +- CFLAGS="$CFLAGS -fomit-frame-pointer -fforce-addr -m486" +- ;; + i*86) + machine=386 + CFLAGS="$CFLAGS -fomit-frame-pointer -fforce-addr" + CFLAGS_1="$CFLAGS" +- CFLAGS="$CFLAGS -march=pentium" ++ CFLAGS="$CFLAGS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -4260,7 +4252,7 @@ + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +- CFLAGS="$CFLAGS_1 -m486" ++ CFLAGS="$CFLAGS_1" + fi + + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --- gforth-0.7.0+ds1.orig/debian/patches/05-distclean.patch +++ gforth-0.7.0+ds1/debian/patches/05-distclean.patch @@ -0,0 +1,15 @@ +Remove a couple of autogenerated files missing in the "distclean" target. + +--- a/Makefile.in ++++ b/Makefile.in +@@ -534,7 +534,9 @@ + engine/config.h Makefile Makedist engine/Makefile \ + stamp-h engine/stamp-h \ + doc/version.texi gforthmi vmgen preforth \ +- prim-fast.b $(FORTH_GEN_ENGINE_FAST) ++ prim-fast.b $(FORTH_GEN_ENGINE_FAST) \ ++ include lib build-ec engine/libcc.h kernel.tags machpc.fs \ ++ envos.fs makefile.dos makefile.os2 + + #realclean is useless, but dangerous, so it's commented out + realclean: distclean --- gforth-0.7.0+ds1.orig/debian/patches/08-qrnnd-build.patch +++ gforth-0.7.0+ds1/debian/patches/08-qrnnd-build.patch @@ -0,0 +1,33 @@ +Try and fix a FTBFS in the sdiv_qrnnd() usage code, which is only +executed on the s390 platform. + +--- a/engine/support.c ++++ b/engine/support.c +@@ -724,16 +724,21 @@ + DCell res; + #if defined(sdiv_qrnnd) + /* #warning "using sdiv_qrnnd" */ +- Cell u1,q,r ++ Cell u1,q,r; + UCell u0; + UCell MAYBE_UNUSED lz; + +- vm_d2twoCell(u,u0,u1); +- if (v==0) ++ vm_d2twoCell(num,u0,u1); ++ if (denom==0) + throw(BALL_DIVZERO); +- if (u1>=v) +- throw(BALL_RESULTRANGE); +- sdiv_qrnnd(q,r,u1,u0,v); ++ sdiv_qrnnd(q,r,u1,u0,denom); ++ if ((u1^denom)<0) { ++ if (q>0) ++ throw(BALL_RESULTRANGE); ++ } else { ++ if (q<0) ++ throw(BALL_RESULTRANGE); ++ } + vm_twoCell2d(q,r,res); + #else + UDCell ures;