--- nickle-2.74.orig/debian/rules +++ nickle-2.74/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + ./configure --prefix=/usr --mandir='$${prefix}/share/man' + touch configure-stamp + +build: configure-stamp build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: + dh_testdir + $(MAKE) + $(MAKE) nickle.1 + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + if test -f Makefile; then $(MAKE) distclean; else true; fi + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + pwd + mkdir -p $(CURDIR)/debian/tmp/usr/share/lintian/overrides + install -o 0 -g 0 -p -m644 debian/lintian.override $(CURDIR)/debian/tmp/usr/share/lintian/overrides/nickle + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs -XCVS -X.cvsignore + dh_installexamples + dh_installmenu + dh_installcron + dh_installman + dh_installinfo + dh_installchangelogs + dh_install + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- nickle-2.74.orig/debian/nickle.install +++ nickle-2.74/debian/nickle.install @@ -0,0 +1 @@ +debian/tmp/usr . --- nickle-2.74.orig/debian/lintian.override +++ nickle-2.74/debian/lintian.override @@ -0,0 +1,4 @@ +nickle: extra-license-file usr/share/nickle/examples/smlng/COPYING +nickle: extra-license-file usr/share/nickle/examples/turtle/COPYING +nickle: extra-license-file usr/share/nickle/examples/COPYING +nickle: extra-license-file usr/share/nickle/COPYING --- nickle-2.74.orig/debian/compat +++ nickle-2.74/debian/compat @@ -0,0 +1 @@ +7 --- nickle-2.74.orig/debian/control +++ nickle-2.74/debian/control @@ -0,0 +1,17 @@ +Source: nickle +Section: interpreters +Priority: optional +Maintainer: Keith Packard +Build-Depends: debhelper (>= 7), libreadline-dev +Standards-Version: 3.9.2 + +Package: nickle +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: desk calculator language + Nickle is a language with powerful programming and scripting capabilities. + Nickle supports a variety of datatypes, especially arbitrary precision + integers, rationals, and imprecise reals. The input language vaguely + resembles C. Some things in C which do not translate easily are different, + some design choices have been made differently, and a very few features are + simply missing. --- nickle-2.74.orig/debian/copyright +++ nickle-2.74/debian/copyright @@ -0,0 +1,40 @@ +This package was debianized by Keith Packard on 18 Feb 2004. + +Original source can be found at: http://nickle.org + +Upstream Authors: Bart Massey , Keith Packard + +Nickle is distributed under the MIT license: + +Copyright © 1988-2004 Keith Packard and Bart Massey. All Rights Reserved. +Copyright © 2001 Keith Packard and Carl Worth. All Rights Reserved. +Copyright © 2001 Bart Massey. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, +sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall +be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the names of the authors +or their institutions shall not be used in advertising or +otherwise to promote the sale, use or other dealings in this +Software without prior written authorization from the +authors. + --- nickle-2.74.orig/debian/changelog +++ nickle-2.74/debian/changelog @@ -0,0 +1,360 @@ +nickle (2.74-1) unstable; urgency=low + + * Fix Semaphore::wait to not deadlock + * Switch debian package building to use pdebuild + + -- Keith Packard Sat, 03 Mar 2012 17:16:35 -0800 + +nickle (2.73-1) unstable; urgency=low + + * add gamma function + * fix readline interaction when using pipes + * add sort and skiplist to library + * add is_type and has_member built-ins + * typecheck switch statements + + -- Keith Packard Wed, 29 Feb 2012 17:00:25 +1300 + +nickle (2.72-1) unstable; urgency=low + + * wait3 returns 0 when there's nothing left to do + * Rename configure.in to configure.ac + * Block in select instead of sigsuspend when waiting for I/O + * Keep readline from catching signals + + -- Keith Packard Sun, 29 Jan 2012 22:03:44 -0800 + +nickle (2.71-1) unstable; urgency=low + + * Update old-school variable length struct allocation to ansi-C + * Replace most parameterized macros in nickle.h and value.h with + static inline functions. + * Clean up a pile of build warnings + * Catch attempts to use uninitialized pointer contents + * Exit after two consecutive interrupts + * Cleanup struct type changes + + -- Keith Packard Fri, 25 Nov 2011 11:43:31 -0800 + +nickle (2.70-1) unstable; urgency=low + + * Make parse_csv_t type public + * Throw 'bad_csv_parse' exception on unclosed quotes + * Add factorial tests + * Repliace naïve factorial algorithm with the prime swing + algorithm defined by Peter Luschny + * Update to standard 3.8.4 + + -- Keith Packard Tue, 06 Jul 2010 01:22:30 -0400 + +nickle (2.69-1) unstable; urgency=low + + * Make debian build depend on libreadline-dev not libreadline5-dev. + * Get math-tables.5c built before tests are run + * Fix trig boundary conditions. + * Add tests for math functions. + * math.5c: fix quadrant errors in atan/asin/acos + + -- Keith Packard Thu, 17 Sep 2009 14:30:42 -0700 + +nickle (2.68-1) unstable; urgency=low + + * Add README.release + * Bump debian standards to 3.8.0 + * Allow background nickle to not poll on tty ownership + * Remove support for non-SIGIO pipes + * Fix floating point printing to correctly round output + + -- Keith Packard Sat, 21 Jun 2008 02:17:49 -0700 + +nickle (2.67-1) unstable; urgency=low + * Don't require string to be first param on builtin exceptions + * Add io_eof exceptions when reading at EOF + * Add unix-domain socket support + * Make SIGINT raise signal exception + * Add pid/uid/gid builtins + * Add unlink/rename/mkdir/rmdir builtins + * Autoimport works better on nested namespaces + + -- Keith Packard Wed, 19 Mar 2008 16:09:04 -0700 + +nickle (2.66-1) unstable; urgency=low + * Support autoload/autoimport of nested namespaces. + * Allow 'print' to find unpublished names + + -- Keith Packard Sun, 13 Jan 2008 17:39:49 -0800 + +nickle (2.65-1) unstable; urgency=low + * Add new '+' type operator for subtyping struct/union + * Eliminate segfault when pretty printing func declarations + * Check for duplicate func param/struct member names + + -- Keith Packard Sun, 06 Jan 2008 16:38:51 -0800 + +nickle (2.64-1) unstable; urgency=low + * Fix float floor/ceil with small values + * Copy hash key/value on insert + * Bump to version 2.64 + + -- Keith Packard Fri, 04 Jan 2008 00:41:15 -0800 + +nickle (2.63-1) unstable; urgency=low + * Avoid using extra libraries unless necessary + * Fix -Wl,-E testing by using AC_LINK_IFELSE + * Make foreign objects equal when they point at the same data + * Bump to version 2.63 + + -- Keith Packard Sat, 29 Dec 2007 16:02:57 -0800 + +nickle (2.62-1) unstable; urgency=low + * Add modulus test case + * Fix % and // operators to follow modulus rules + * Update manual to fix // and % documentation + * Bump to version 2.62 + + -- Keith Packard Sun, 09 Dec 2007 21:14:27 -0800 + +nickle (2.61-1) unstable; urgency=low + * Allow '.' before struct elt in initializers + * Update builtins, tests and examples to use the new syntax + * Bump to version 2.61 + + -- Keith Packard Sun, 25 Nov 2007 21:57:24 -0800 + +nickle (2.60-1) unstable; urgency=low + * Bump to version 2.60 + * Flush file output on exit call. + * Extend Ctype namespace to latin-1. + * Manage file buffer chains with explicit malloc/free. + + -- Keith Packard Tue, 02 Oct 2007 01:55:20 -0700 + +nickle (2.59-1) unstable; urgency=low + * Bump to version 2.59 + * Have git ignore nickle binary + * Clean up some autotools warnings + * Make default rational display not include braces + * Clean up some lintian warnings + * Construct ChangeLog from git history for distribution. + * No tail calls without a parent frame + + -- Keith Packard Sun, 23 Sep 2007 21:16:34 -0700 + +nickle (2.58-1) unstable; urgency=low + * CCITT/ITU CRC-32 computation example + * changed import PRNG to autoimport + * get rid of archaic "v" print and scan functions + * fixed signededness bug in integer carry calculation + + -- Keith Packard Thu, 26 Apr 2007 07:58:34 -0700 + +nickle (2.57-1) unstable; urgency=low + * example/fourfours was using xor instead of exponentiation + * De-macroize allocator. + * Merge IntBinaryOperate into BinaryOperate. + * PRNG is no longer loaded by default, tests need to load it. + * Avoid broken GCC signed integer changes using -fwrapv. + * Move version number to configure.in script and out of ChangeLog. + + -- Keith Packard Fri, 23 Mar 2007 12:10:39 -0700 + +nickle (2.56-1) unstable; urgency=low + * Fix Catch object initialization order to avoid segfault + + -- Keith Packard Tue, 5 Dec 2006 12:57:06 -0800 + +nickle (2.55-1) unstable; urgency=low + * Fix mismatching catch nesting depth in multi-peer try/catch + * Add fourfours.5c example + * Update debian-policy version to 3.7.2.1 + + -- Keith Packard Tue, 5 Dec 2006 03:39:50 -0800 + +nickle (2.54-1) unstable; urgency=low + * time() builtin needs to return all 32 bits + * Update standards to 3.7.2 + * Compute NICKLELIBDIR at build time + + -- Keith Packard Sat, 20 May 2006 10:39:38 -0500 + +nickle (2.53-1) unstable; urgency=low + * Use rpmbuild instead of rpm to build rpms (Keith Packard) + * Permit {} in numbers to allow exact rational input + (Keith Packard) + + -- Bart Massey Sat, 28 Jan 2006 12:05:26 -0800 + +nickle (2.52-1) unstable; urgency=low + * Add needed autoloads/autoimports to fix + bugs introduced in examples, library (Bart Massey) + + -- Bart Massey Sat, 11 Dec 2005 23:05:49 -0800 + +nickle (2.51-1) unstable; urgency=low + * Don't load every random library; make the user autoload or + autoimport them if they want them instead (Bart Massey) + * Fixed bug introduced in copy function (Bart Massey) + * Added &&= and ||= operators (Bart Massey) + + -- Bart Massey Fri, 10 Dec 2005 14:11:45 -0800 + +nickle (2.50-1) unstable; urgency=low + * Solaris build fixes (Bart Massey) + * Various argument parsing buglets, including mis-parsing single character + options (Bart Massey) + * Permit any numeric type to TypeBinaryIntegral as required by + unified numeric types. Representation errors will be caught by + runtime system (Keith Packard) + * Add system() popen() and run_process() (Bart Massey) + * cbrt must use more intermediate precision to hit the + specified error bound (Keith Packard) + + -- Keith Packard Tue, 6 Dec 2005 20:25:02 -0800 + +nickle (2.49-1) unstable; urgency=low + * Fix &foo() return type to be pointer rather than reference. + * Always set SO_BROADCAST for UDP sockets + * Rewrite parse-args module to be more useful (Bart Massey) + * Replace ad-hoc argument parsing code with parse-args (Bart Massey) + + -- Keith Packard Tue, 2 Aug 2005 23:10:30 -0700 + +nickle (2.48-1) unstable; urgency=low + * Reference valued functions assigned to references need to avoid copy + * avoid use of 'long long' type in rational.c, use 'signed_digit' instead + * add 'π' as an alias for pi. + + -- Keith Packard Thu, 16 Jun 2005 13:53:06 -0700 + +nickle (2.47-1) unstable; urgency=low + * Make builtin functions return pointers instead of references. + * Check for NULL hash value in a valid hash element. + * Initialize base.func pointer to NULL (Eric Anholt) + * Functions returning reference type need to auto-dereference on return + + -- Keith Packard Tue, 15 Mar 2005 11:29:22 -0800 + +nickle (2.46-1) unstable; urgency=low + * Fix error state confusion about nl handling + * Make File builtins use error_type typedef instead of the union directly + * Fix DoublePart to survive invalid value representations + + -- Keith Packard Thu, 13 Jan 2005 21:46:26 -0800 + +nickle (2.45-1) unstable; urgency=low + * Add foreign function interface + * Fix floating point printing a bit + + -- Keith Packard Fri, 24 Dec 2004 01:02:01 -0800 + +nickle (2.44-1) unstable; urgency=low + * Add copyrights and eliminate non-DFSG examples. Closes: 275277. + * Fix seg fault when copying large stacks + * Replace natural and string hash function with crc32 + * Make compatible with automake 1.9 + * Fix several minor resizable array bugs + + -- Keith Packard Wed, 1 Dec 2004 20:28:17 -0800 + +nickle (2.43-1) unstable; urgency=low + * rewrite garbage collector to use simpler data structures + + -- Keith Packard Thu, 12 Aug 2004 21:21:28 -0700 + +nickle (2.42-1) unstable; urgency=low + * unlimit stack to avoid crashes in recursive GC marking + * add skiplists as an example + * fix precedence of ** so that ++x**2 works + * fix crash in HashEqual + * fix minor newline tracking bug in lexer + * add do_make_uninit (Bart Massey) + * fix nasty allocator crash with continuations + * fix handling of parallel catch blocks + * fix tail call to longjmp + + -- Keith Packard Wed, 4 Aug 2004 11:30:08 -0700 + +nickle (2.41-1) unstable; urgency=low + * Make a few grammar tweaks to improve NL handling + * Fix crash with empty array/hash initializers + * Add doc string support -- a comment following a function + or exception. + * Eliminate visible uses of nasty implicit unions. + * Accept ** and && as unary operators + * Fix some uses of & in lvalues + + -- Keith Packard Thu, 17 Jun 2004 17:02:13 -0700 + +nickle (2.38-1) unstable; urgency=low + * fix manual to include correct version and date + + -- Keith Packard Thu, 27 May 2004 23:40:13 -0700 + +nickle (2.37-1) unstable; urgency=low + * Negative left shifts gave off-by-one often (need ceil, not round) + * 30-bit integer add/subtract overflow detection broken. + + -- Keith Packard Thu, 27 May 2004 22:58:14 -0700 + +nickle (2.36-1) unstable; urgency=low + * distinguish between array types of static variables and + initializers within static scope -- dimension storage is different + + -- Keith Packard Wed, 26 May 2004 01:50:58 -0700 + +nickle (2.35-1) unstable; urgency=low + * new string parsing functions added + * fix substr to allow zero-length at end of string + * Change strings to counted to allow embedded nulls + * fix profile tracking code (was generating garbage) + * fix 'make check' to actually fail on error + * Add argument parser library + * Permit for (a; b) to skip initializer + * Compute type of & expressions correctly + * Allow &rvalue and have it automatically box the value + + -- Keith Packard Tue, 25 May 2004 20:32:09 -0700 + +nickle (2.31-1) unstable; urgency=low + * Change resizable array representation to handle shrinking + * Make File::end peek to check + + -- Keith Packard Thu, 15 Apr 2004 22:57:54 -0700 + +nickle (2.30-1) unstable; urgency=low + * Document hashes + * Add unresizable arrays and new resizable array type syntax + * Fix a couple of multi-dimensional array dim ordering bugs + * Add default hash table values + * Oops. Poly couldn't be a ref + + -- Keith Packard Sat, 10 Apr 2004 23:45:56 -0700 + +nickle (2.29-1) unstable; urgency=low + + * Add casts to avoid warnings where sizeof (int) != sizeof (void *) + * Catch File::open_error when loading files and print + reasonable message. Closes: #241417. + * exit(1) immediately if an file or library from the + command line fails load. + + -- Keith Packard Thu, 1 Apr 2004 11:52:51 -0800 + +nickle (2.28-2) unstable; urgency=low + + * Separate build dependencies with commas + + -- Keith Packard Tue, 2 Mar 2004 19:08:52 -0800 + +nickle (2.28-1) unstable; urgency=low + + * Add ilog function (Bart Massey) + + -- Keith Packard Thu, 26 Feb 2004 21:15:05 -0800 + +nickle (2.27-1) unstable; urgency=low + + * Original debian packaging exporting version 2.27. + + -- Keith Packard Sun, 15 Feb 2004 13:56:38 -0800 +