--- pforth-21.orig/Makefile +++ pforth-21/Makefile @@ -18,7 +18,6 @@ -fno-unroll-loops \ -fpeephole \ -fno-keep-inline-functions \ - -x c++ \ -Wcast-qual \ -Wall \ -Wwrite-strings \ @@ -69,7 +68,7 @@ # build basic dictionary by running newly built pforth and including system.fth pforth.dic: pforth - pforth -i system.fth + ./pforth -i system.fth ${SOURCEDIR}/pfdicdat.h: pforth pforth.dic @(echo 'INCLUDE utils/savedicd.fth'; \ --- pforth-21.orig/csrc/pf_main.c +++ pforth-21/csrc/pf_main.c @@ -42,7 +42,7 @@ int main( int argc, char **argv ) { - const char *DicName = "pforth.dic"; + const char *DicName = "/usr/lib/pforth/pforth.dic"; const char *SourceName = NULL; char IfInit = FALSE; char *s; --- pforth-21.orig/debian/changelog +++ pforth-21/debian/changelog @@ -0,0 +1,94 @@ +pforth (21-12) unstable; urgency=low + + * add Vcs entries to the control file + * add powerpcspe to architecture list, closes: #731651 + * add armhf to architecture list by request of Luca Masini + + -- Bdale Garbee Sun, 12 Jan 2014 14:01:24 -0700 + +pforth (21-11) unstable; urgency=low + + * add armeb and armel to architecture list, closes: #408789 + + -- Bdale Garbee Sun, 18 Feb 2007 15:11:53 -0800 + +pforth (21-10) unstable; urgency=low + + * add kfreebsd-i386 to the list of buildable architectures, closes: #314812 + * clean up debian/copyright file, closes: #302978 + * move to newer debhelper compat level, fix assorted lintian warnings + + -- Bdale Garbee Sun, 17 Jul 2005 13:55:20 +0300 + +pforth (21-9) unstable; urgency=low + + * add hppa to list of supported architectures, closes: #131276 + * lose the '-x c++' from the Makefile, since it appears bogus (pForth is + ANSI C, not C++) and hppa fails to link if it is using gcc for C++. + Thanks to James Troup for figuring this out. + * clean up a few cosmetic uglies and make lintian happy + + -- Bdale Garbee Mon, 28 Jan 2002 09:20:13 -0700 + +pforth (21-8) unstable; urgency=low + + * add s390 to list of supported architectures, closes: #127760 + + -- Bdale Garbee Fri, 4 Jan 2002 10:08:52 -0700 + +pforth (21-7) unstable; urgency=low + + * clean up lintian reports + + -- Bdale Garbee Tue, 1 Jan 2002 10:30:48 -0700 + +pforth (21-6) unstable; urgency=low + + * add hurd-i386 to supported architectures in control, closes: #55122 + + -- Bdale Garbee Fri, 14 Jan 2000 23:51:08 -0700 + +pforth (21-5) unstable; urgency=low + + * prefix invocation of new pforth binary in makefile with './' so that '.' + doesn't need to be in builder's path. Closes: #53627 + + -- Bdale Garbee Tue, 28 Dec 1999 10:42:18 -0700 + +pforth (21-4) unstable; urgency=low + + * recompile so libstdc++ dependency is current for potato, closes: #53452 + * building on alpha was "fixed" in -3 by using an explicit arch list, and + there's no sign of an alpha port. Closes: #39298 + + -- Bdale Garbee Mon, 27 Dec 1999 11:16:32 -0700 + +pforth (21-3) unstable; urgency=low + + * switch to an explicit architecture specification in the control file, + since this is a 32-bit implementation, doesn't work on alpha, and is + unlikely to work out of the box on other new processors that come along. + + -- Bdale Garbee Sat, 19 Jun 1999 10:45:10 -0600 + +pforth (21-2) unstable; urgency=low + + * oops, fix a typo in the man page + * include the rest of the documentation provided with the upstream sources + + -- Bdale Garbee Sun, 27 Dec 1998 12:22:42 -0700 + +pforth (21-1) unstable; urgency=low + + * move to newer upstream source pointed out by author + * implement central default location for pforth.dic file, providing diffs + to upstream author + + -- Bdale Garbee Sun, 27 Dec 1998 09:16:11 -0700 + +pforth (19-1) unstable; urgency=low + + * Initial packaging of pforth, never uploaded. + + -- Bdale Garbee Thu, 24 Dec 1998 01:55:27 -0700 + --- pforth-21.orig/debian/compat +++ pforth-21/debian/compat @@ -0,0 +1 @@ +9 --- pforth-21.orig/debian/control +++ pforth-21/debian/control @@ -0,0 +1,17 @@ +Source: pforth +Section: interpreters +Priority: optional +Maintainer: Bdale Garbee +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.5 +Vcs-Git: git://git.gag.com/debian/pforth +Vcs-Browser: http://git.gag.com/?p=debian/pforth + +Package: pforth +Architecture: arm armeb armel armhf i386 m68k powerpc powerpcspe s390 sparc hurd-i386 hppa kfreebsd-i386 +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: portable Forth interpreter + pForth is a public domain, portable ANS Forth based on a kernel written in + ANSI 'C'. This makes it easy to port pForth to multiple platforms. + . + More information on pForth is available at http://www.softsynth.com/pforth/ --- pforth-21.orig/debian/copyright +++ pforth-21/debian/copyright @@ -0,0 +1,18 @@ +This package was debianized by Bdale Garbee bdale@gag.com on +Thu, 24 Dec 1998 01:55:27 -0700. + +It was downloaded from http://www.softsynth.com/pforth/ + +Upstream Author: Phil Burk, philburk@softsynth.com + +Copyright: + +Copyright 1994 3DO, Phil Burk, Larry Polansky, Devid Rosenboom + +The pForth software code is dedicated to the public domain, and any third +party may reproduce, distribute and modify the pForth software code or any +derivative works thereof without any compensation or license. The pForth +software code is provided on an "as is" basis without any warranty of any +kind, including, without limitation, the implied warranties of merchantability +and fitness for a particular purpose and their equivalents under the laws +of any jurisdiction. --- pforth-21.orig/debian/dirs +++ pforth-21/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/lib/pforth --- pforth-21.orig/debian/docs +++ pforth-21/debian/docs @@ -0,0 +1,5 @@ +README.txt +docs/pf_ref.htm +docs/pf_todo.txt +docs/pf_tut.htm +docs/pfmanual.txt --- pforth-21.orig/debian/pforth.1 +++ pforth-21/debian/pforth.1 @@ -0,0 +1,39 @@ +.TH PFORTH 1 +.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection +.\" other parms are allowed: see man(7), man(1) +.SH NAME +pForth \- an ANS Forth interpreter written in ANSI 'C' +.SH SYNOPSIS +.B pforth +.I "[options] files ..." +.SH "DESCRIPTION" +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +.PP +.B pForth +is an interpreter for the ANS Forth language. It implements the Core, +Core Extensions, File-Access, Floating-Point, Locals, Programming-Tools, +and Strings word sets. +.PP +Any files specified on the command line will be processed as if typed. This +is useful for scripting. +.SH OPTIONS +.TP +.B \-d +Specify an alternate dictionary. By default, pforth.dic will be searched for +first in the current directory, and then in /usr/lib/pforth. +.TP +.B \-i +Initialization mode, used for creating an initial dictionary. +.TP +.B \-q +Quiet mode. +.SH "SEE ALSO" +There are some other pForth docs in /usr/doc/pforth, and a web page at +http://www.softsynth.com/pforth/. +.PP +Information on Forth in general +is available from the Forth Interest Group web site at http://www.forth.org/. +.SH AUTHOR +This manual page was written by Bdale Garbee +for the Debian GNU/Linux system (but may be used by others). --- pforth-21.orig/debian/rules +++ pforth-21/debian/rules @@ -0,0 +1,58 @@ +#!/usr/bin/make -f + +export DH_VERBOSE=1 + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: + dh_testdir + mkdir objects + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) clean + rm -fr objects + dh_clean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + install -m0755 pforth `pwd`/debian/pforth/usr/bin/pforth + install -m0644 pforth.dic `pwd`/debian/pforth/usr/lib/pforth/pforth.dic + + touch install-stamp + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_installcron + dh_installman debian/pforth.1 + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + 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