--- chicken-3.4.0.orig/chicken.1 +++ chicken-3.4.0/chicken.1 @@ -137,7 +137,6 @@ .I library and .I eval -\. Use this option if compiling a library unit instead of an application unit. .TP @@ -241,7 +240,6 @@ Disable generation of tracing information. If a compiled executable should halt due to a runtime error, then a file containing a stack-trace will be written to the current directory under the name .I STACKTRACE -\. Each line in the created file gives the name and the line-number (if available) of a procedure call. With this option given, the generated code is slightly faster. .TP --- chicken-3.4.0.orig/chicken.texi +++ chicken-3.4.0/chicken.texi @@ -1,6 +1,11 @@ \input texinfo @c -*- texinfo -*- @settitle Chicken Scheme Reference Manual @setchapternewpage on +@dircategory Programming +@direntry +* chicken: (chicken). A practical and portable Scheme system. +@end direntry + @copying Copyright 2007-2008 Felix Winkelmann and the Chicken Team @end copying --- chicken-3.4.0.orig/Makefile.linux +++ chicken-3.4.0/Makefile.linux @@ -37,11 +37,7 @@ LIBCHICKEN_SO_LINKER_OPTIONS = -Wl,-soname,libchicken.so$(SONAME_VERSION) LIBUCHICKEN_SO_LINKER_OPTIONS = -Wl,-soname,libuchicken.so$(SONAME_VERSION) C_COMPILER_OPTIONS = -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -ifdef DEBUGBUILD -C_COMPILER_OPTIMIZATION_OPTIONS ?= -g -Wall -Wno-unused -else -C_COMPILER_OPTIMIZATION_OPTIONS ?= -Os -fomit-frame-pointer -endif +C_COMPILER_OPTIMIZATION_OPTIONS ?= $(CFLAGS) -fomit-frame-pointer LINKER_LINK_SHARED_LIBRARY_OPTIONS = -shared RUNTIME_LINKER_PATH = $(shell pwd) LINKER_LINK_SHARED_PROGRAM_OPTIONS = -Wl,-R$(RUNTIME_LINKER_PATH) --- chicken-3.4.0.orig/debian/changelog +++ chicken-3.4.0/debian/changelog @@ -0,0 +1,177 @@ +chicken (3.4.0-1) unstable; urgency=low + + * New upstream version. + * Bumped Standards-Version to release 3.8.1.0. + * CFLAGS are now set in the right way. + * Shipping HTML manual with doc-base. + + -- Davide Puricelli (evo) Fri, 03 Apr 2009 17:22:25 +0200 + +chicken (3.2.7-2) unstable; urgency=high + + * debian/rules: added chrpath support to remove RPATH pointing to + insecure location; closes: #495753. + * debian/control: added chrpath to Build-Depends. + + -- Davide Puricelli (evo) Thu, 21 Aug 2008 11:24:11 +0200 + +chicken (3.2.7-1) unstable; urgency=high + + * Acknowledge NMU, thanks Ivan for all your work. + * New upstream version; closes: #418747, #426095, #426094. + * Fixed Build-Depends; closes: #479182. + * Added /var/lib/chicken/3 directory; closes: #418738. + + -- Davide Puricelli (evo) Sat, 05 Jul 2008 09:14:18 +0200 + +chicken (3.2.7-0.1) unstable; urgency=high + + * Non-maintainer upload + * New upstream version + + -- Ivan Raikov Tue, 10 Jun 2008 04:20:00 -1100 + +chicken (2.5-1) unstable; urgency=low + + * New upstream version; closes: #388632. + * Installing eggs into /var/lib/chicken, not /usr/lib/chicken. + closes: #388644. + + -- Davide Puricelli (evo) Sun, 7 Jan 2007 17:13:09 +0100 + +chicken (2.3-1) unstable; urgency=medium + + * New upstream version. + * Fixed nursery size test to let chicken build on ia64 and alpha, too; + closes: #356996. + + -- Davide Puricelli (evo) Sun, 23 Apr 2006 12:28:15 +0200 + +chicken (2.2-1) unstable; urgency=high + + * New upstream version; closes: #282956. + * Repackaged from scratch: + - removed chicken and chicken-dev packages. + - three new packages, see README.Debian for details. + closes: #270827, #339028. + * Added /usr/lib/chicken directory to support external eggs; + closes: #337392, #277866. + * Added support for ppc64 architecture, closes: #322444. + * libchicken-dev now depends on libpcre3-dev, closes: #276981. + * Fixed a wrong path into chicken manpage, closes: #328193. + + -- Davide Puricelli (evo) Tue, 14 Feb 2006 21:56:39 +0100 + +chicken (1.63-2) unstable; urgency=high + + * Fixed issues with doc-base; closes: #267152, #267148, #267218. + + -- Davide Puricelli (evo) Sat, 21 Aug 2004 11:12:18 +0200 + +chicken (1.63-1) unstable; urgency=high + + * New upstream version; closes: #247517, #227115. + * Acknowledge NMU, thanks Tollef; closes: #260392, #249340. + * Enhanced description; closes: #209441, #251210. + * Executed libtoolize before build process; closes: #263089. + * Removed useless manpages; closes: #259452. + * Added chicken-setup script; closes: #248558. + + -- Davide Puricelli (evo) Fri, 20 Aug 2004 18:46:00 +0200 + +chicken (1.22-1.1) unstable; urgency=low + + * NMU + * Add amd64 support (closes: #249340) + + -- Tollef Fog Heen Tue, 20 Jul 2004 11:28:05 +0200 + +chicken (1.22-1) unstable; urgency=low + + * New upstream version. + + -- Davide Puricelli (evo) Mon, 19 Jan 2004 18:41:54 +0100 + +chicken (1.17-2) unstable; urgency=medium + + * Applied patch suggested by Matthias Klose to fix build failures + on m68k, mips and mipsel, closes: #208932. + + -- Davide Puricelli (evo) Sat, 6 Sep 2003 14:19:00 +0200 + +chicken (1.17-1) unstable; urgency=low + + * New upstream version, closes: #199560. + + -- Davide Puricelli (evo) Sat, 6 Sep 2003 11:51:39 +0200 + +chicken (1.10-2) unstable; urgency=high + + * Running libtoolize before build process should fix all those + horrible build failures on archs != i386. + + -- Davide Puricelli (evo) Sun, 8 Jun 2003 12:17:29 +0200 + +chicken (1.10-1) unstable; urgency=low + + * New upstream version. + * debian/control: fixed a spelling error, closes: #195119. + * chicken.doc-base: it's "manual.html", not "index.html", thanks Laurent. + closes: #189742. + + -- Davide Puricelli (evo) Sat, 7 Jun 2003 12:08:59 +0200 + +chicken (1.0-1) unstable; urgency=low + + * New upstream version. + * Documentation is now installed with install-docs; closes: #181542. + + -- Davide Puricelli (evo) Sat, 12 Apr 2003 15:42:22 +0200 + +chicken (0.1082-1) unstable; urgency=low + + * New upstream version. + * Removing hacks for hppa and arm, now gcc 3.2 is the default compiler + on all the archs, so we shouldn't need them anymore. + + -- Davide Puricelli (evo) Fri, 14 Feb 2003 14:47:38 +0100 + +chicken (0.1072-2) unstable; urgency=low + + * Removing useless hack for mips and mipsel; we need gcc-3.2, so we + just have to wait. + * Moving /usr/include/* to chicken package; closes: #157841. + + -- Davide Puricelli (evo) Thu, 12 Sep 2002 13:11:22 +0200 + +chicken (0.1072-1) unstable; urgency=low + + * New upstream version. + * Added highlevel-macros.scm, moremacros.scm and chicken.init; + closes: #156700. + * hppa, mips and mipsel need -ffunction-sections to build; + closes: #150901. + + -- Davide Puricelli (evo) Sat, 17 Aug 2002 12:16:36 +0200 + +chicken (0.1071-1) unstable; urgency=low + + * New upstream version. + * Now it should compile fine on Alpha; closes: #144373. + + -- Davide Puricelli (evo) Mon, 29 Jul 2002 23:07:36 +0200 + +chicken (0.990-2) unstable; urgency=low + + * New maintainer. + * Config.guess and config.sub are updated before building the package. + closes: #143490. + + -- Davide Puricelli (evo) Wed, 19 Jun 2002 20:10:09 +0200 + +chicken (0.990-1) unstable; urgency=low + + * Initial release. + + -- zhaoway Mon, 21 Jan 2002 20:40:17 +0800 + --- chicken-3.4.0.orig/debian/chicken-bin.dirs +++ chicken-3.4.0/debian/chicken-bin.dirs @@ -0,0 +1 @@ +var/lib/chicken/3 --- chicken-3.4.0.orig/debian/chicken-bin.docs +++ chicken-3.4.0/debian/chicken-bin.docs @@ -0,0 +1,3 @@ +README +NEWS +html/ --- chicken-3.4.0.orig/debian/chicken-bin.install +++ chicken-3.4.0/debian/chicken-bin.install @@ -0,0 +1 @@ +usr/bin --- chicken-3.4.0.orig/debian/chicken-bin.manpages +++ chicken-3.4.0/debian/chicken-bin.manpages @@ -0,0 +1,6 @@ +csc.1 +csi.1 +chicken.1 +chicken-setup.1 +chicken-profile.1 +chicken-bug.1 --- chicken-3.4.0.orig/debian/compat +++ chicken-3.4.0/debian/compat @@ -0,0 +1 @@ +5 --- chicken-3.4.0.orig/debian/control +++ chicken-3.4.0/debian/control @@ -0,0 +1,53 @@ +Source: chicken +Homepage: http://www.call-with-current-continuation.org/ +Section: interpreters +Priority: optional +Maintainer: Davide Puricelli (evo) +Build-Depends: debhelper (>> 4.0.0), libpcre3-dev, texinfo, chrpath +Standards-Version: 3.8.1 + +Package: chicken-bin +Section: interpreters +Architecture: any +Conflicts: chicken, chicken-dev +Depends: ${shlibs:Depends}, libchicken-dev (= ${binary:Version}) +Replaces: chicken, chicken-dev +Description: A practical and portable Scheme system - compiler + CHICKEN is a Scheme compiler which compiles a subset of R5RS into C. + It uses the ideas presented in Baker's paper "Cheney on the MTA", and + has a small core and is easily extendable. + . + This package contains the compiler. + + +Package: libchicken3 +Architecture: any +Section: libs +Priority: optional +Replaces: chicken, chicken-dev, libchicken0 +Depends: ${shlibs:Depends} +Conflicts: chicken, chicken-dev, libchicken0 +Description: A practical and portable Scheme system - runtime + CHICKEN is a Scheme compiler which compiles a subset of R5RS into C. + It uses the ideas presented in Baker's paper "Cheney on the MTA", and + has a small core and is easily extendable. + . + This package contains the shared library needed to run programs using + chicken. + + +Package: libchicken-dev +Architecture: any +Section: libdevel +Priority: optional +Conflicts: chicken, chicken-dev +Depends: libchicken3 (= ${binary:Version}), libpcre3-dev +Replaces: chicken, chicken-dev +Description: A practical and portable Scheme system - development + CHICKEN is a Scheme compiler which compiles a subset of R5RS into C. + It uses the ideas presented in Baker's paper "Cheney on the MTA", and + has a small core and is easily extendable. + . + This package contains the header file and static library for developing + with chicken. + --- chicken-3.4.0.orig/debian/copyright +++ chicken-3.4.0/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by zhaoway on Mon, 21 Jan +2002 20:40:17 +0800 +Davide Puricelli (evo) is the actual maintainer. + +It was downloaded from http://www.call-with-current-continuation.org + +Upstream Author: Felix L. Winkelmann +. + +Copyright (c) 2000-2007, Felix L. Winkelmann +Copyright (c) 2008, The Chicken Team +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. Redistributions +in binary form must reproduce the above copyright notice, this list of +conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. Neither the name of +the author nor the names of its contributors may be used to endorse or +promote products derived from this software without specific prior +written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR +TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. --- chicken-3.4.0.orig/debian/libchicken3.dirs +++ chicken-3.4.0/debian/libchicken3.dirs @@ -0,0 +1,2 @@ +usr/share/chicken +usr/lib --- chicken-3.4.0.orig/debian/libchicken3.install +++ chicken-3.4.0/debian/libchicken3.install @@ -0,0 +1,3 @@ +usr/lib/lib*.so.3 +usr/share/chicken/*.scm +usr/share/chicken/*.exports --- chicken-3.4.0.orig/debian/libchicken-dev.dirs +++ chicken-3.4.0/debian/libchicken-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- chicken-3.4.0.orig/debian/libchicken-dev.install +++ chicken-3.4.0/debian/libchicken-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so --- chicken-3.4.0.orig/debian/README.Debian +++ chicken-3.4.0/debian/README.Debian @@ -0,0 +1,12 @@ +Since version 2.2-1 I decided to drop the old packaging scheme with chicken +and chicken-dev packages and now we have a libchicken0 package, with runtime +libs, a libchicken-dev package, with header and static libs and, finally, a +chicken-bin package that contains the tools. +chicken-bin needs to depend on both libchicken0 (the compiler is linked against +it) and on libchicken-dev to be able to compile scm files into C ones: I know +that this is not a real common approach, but the alternative (merge -bin and +-dev package) would be probably uglier because we will need to depend on both +libpcre3 and libpcre3-dev! +If you want to discuss a better approach feel free to contact me. + +Davide Puricelli --- chicken-3.4.0.orig/debian/rules +++ chicken-3.4.0/debian/rules @@ -0,0 +1,97 @@ +#!/usr/bin/make -f +BUILD_ARCH = $(shell dpkg --print-installation-architecture) + +CFLAGS= -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 + else + CFLAGS += -O2 -fno-strict-aliasing +endif + +MAKE:=$(MAKE) PLATFORM=linux +PREFIX=/usr +BINARYVERSION=3 + +build: build-stamp +build-stamp: + dh_testdir + $(MAKE) \ + USE_HOST_PCRE=1 \ + PREFIX="$(PREFIX)" \ + MANDIR="$(PREFIX)/share/man" \ + INFODIR="$(PREFIX)/share/info" \ + SHAREDIR="$(PREFIX)/share" \ + EGGDIR="/var/lib/chicken/$(BINARYVERSION)" \ + MAKEINFO_PROGRAM_OPTIONS="" \ + HOSTNAME=debian + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + $(MAKE) clean + $(MAKE) distclean + rm -f c_defaults.h chicken_defaults.h lib*.so chicken.info-* + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs +# The directories here have to be prefixed by $(CURDIR)/debian/tmp +# because that is the location where the binary package files are +# placed by dpkg-buildpackage. If absolute files are specified, +# i.e. /var/lib/chicken, then those files will be installed on the +# build system, but will not end up in the package. + $(MAKE) \ + install \ + USE_HOST_PCRE=1 \ + PREFIX="$(CURDIR)/debian/tmp/usr" \ + MANDIR="$(CURDIR)/debian/tmp/usr/share/man" \ + INFODIR="$(CURDIR)/debian/tmp/usr/share/info" \ + SHAREDIR="$(CURDIR)/debian/tmp/usr/share" \ + EGGDIR="$(CURDIR)/debian/tmp/var/lib/chicken/$(BINARYVERSION)" \ + MAKEINFO_PROGRAM_OPTIONS="" \ + HOSTNAME=debian + chrpath -d $(CURDIR)/debian/tmp/usr/bin/chicken \ + $(CURDIR)/debian/tmp/usr/bin/chicken-profile \ + $(CURDIR)/debian/tmp/usr/bin/chicken-setup \ + $(CURDIR)/debian/tmp/usr/bin/csc \ + $(CURDIR)/debian/tmp/usr/bin/csi + +binary-common: + dh_testdir + dh_testroot + dh_installdocs + dh_installman +# The asterisk in chicken.info* is necessary, because Debian makeinfo +# is very different from the standard makeinfo, and it is incredibly +# difficult to convince it to produce standalone Texinfo files. + dh_installinfo chicken.info* + dh_installchangelogs ChangeLog.* + dh_install --sourcedir=debian/tmp + dh_link +ifeq "$(findstring nostrip,$(DEB_BUILD_OPTIONS))" "" + dh_strip +endif + dh_compress + dh_fixperms + dh_makeshlibs -V + dh_installdeb + dh_shlibdeps -l debian/libchicken3/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: build install + +binary-arch: build install + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary-%: build install + make -f debian/rules binary-common DH_OPTIONS=-p$* + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- chicken-3.4.0.orig/debian/chicken-bin.doc-base +++ chicken-3.4.0/debian/chicken-bin.doc-base @@ -0,0 +1,11 @@ +Document: chicken-manual +Title: CHICKEN - A practical and portable Scheme system - User's manual +Author: Felix L. Winkelmann +Section: Programming/Scheme +Abstract: The chicken user manual. + Contains task oriented explanations from simplex to complex + on using chicken. + +Format: html +Index: /usr/share/doc/chicken-bin/html/index.html +Files: /usr/share/doc/chicken-bin/html/*.html