--- cln-1.1.9.orig/debian/control +++ cln-1.1.9/debian/control @@ -0,0 +1,53 @@ +Source: cln +Priority: optional +Maintainer: Richard Kreckel +Standards-Version: 3.6.1 +Build-Depends: debhelper, binutils, g++, libgmp3-dev (>= 4.1.4-6ubuntu1) + +Package: libcln3c2 +Architecture: any +Section: libs +Depends: libgmp3c2 +Conflicts: libcln3 +Replaces: cln, libcln3 +Suggests: pi +Description: Class Library for Numbers (C++) + CLN is a library for computations with all kinds of numbers. It has a + rich set of number classes, including integers (with unlimited precision), + reals with various precisions (including unlimited), rationals, complex + numbers and polynomials. The kernel is written in assembly language. + It uses garbage collection (automatic, without imposing any burden on the + main application). Many efficient algorithms (i.e. for all transcendental + functions) are implemented. + +Package: libcln-dev +Architecture: any +Section: libdevel +Depends: g++, libcln3c2 (>=1.1.9-1ubuntu1), libc6-dev +Replaces: cln-dev +Provides: cln-dev +Conflicts: cln-dev +Recommends: info | info-browser, libgmp3-dev +Description: Development library for Class Library for Numbers (c++) + CLN is a library for computations with all kinds of numbers. It has a + rich set of number classes, including integers (with unlimited precision), + reals with various precisions (including unlimited), rationals, complex + numbers and polynomials. The kernel is written in assembly language. + It uses garbage collection (automatic, without imposing any burden on the + main application). Many efficient algorithms (i.e. for all transcendental + functions) are implemented. + . + This package provides header files, a static library plus a manual. + +Package: pi +Architecture: any +Section: math +Depends: libcln3c2 +Description: Compute Archimedes' constant Pi to arbitrary precision + This program computes Archimedes' constant Pi to arbitrary precision. + It is extremely fast and the precision is only limited by your machine's + main memory. + . + This is a teaser for the CLN library, to which the actual computation is + delegated. You may use these decimal digits as random digits or search + them for hidden messages. :-) --- cln-1.1.9.orig/debian/libcln3c2.install +++ cln-1.1.9/debian/libcln3c2.install @@ -0,0 +1 @@ +usr/lib/libcln*.so.* --- cln-1.1.9.orig/debian/changelog +++ cln-1.1.9/debian/changelog @@ -0,0 +1,176 @@ +cln (1.1.9-1ubuntu3) breezy; urgency=low + + * rebuild to remove erroneous /usr/share/info/dir.gz on hppa + + -- LaMont Jones Fri, 8 Jul 2005 19:02:54 -0600 + +cln (1.1.9-1ubuntu2) breezy; urgency=low + + * added patch to fix gcc4 build issues + * debian/rules: removed stupid find command + + -- Stephan Hermann Thu, 16 Jun 2005 23:54:56 +0200 + +cln (1.1.9-1ubuntu1) breezy; urgency=low + + * CXX Transition: rename libcln3 to libcln3c2 + + -- Andrew Mitchell Tue, 17 May 2005 10:10:20 +1200 + +cln (1.1.9-1) unstable; urgency=low + + * New upstream release. + + -- Richard Kreckel Wed, 03 Nov 2004 22:35:11 +0100 + +cln (1.1.8-2) unstable; urgency=low + + * Include a patch from CVS to make it work on mipsel; closes: #140647. + + -- Richard Kreckel Mon, 6 Sep 2004 21:48:35 +0200 + +cln (1.1.8-1) unstable; urgency=low + + * New upstream release; closes: #256312. + + -- Richard Kreckel Thu, 1 Jul 2004 22:38:08 +0100 + +cln (1.1.7-1) unstable; urgency=low + + * New upstream release; closes: #246319. + + -- Richard Kreckel Sun, 2 May 2004 22:53:35 +0100 + +cln (1.1.6-1) unstable; urgency=low + + * New upstream release... + * ...breaking binary compatibility, so renamed the package to libcln3. + * More detailed extended description for cln-dev; closes: #210102. + + -- Richard Kreckel Sat, 10 Jan 2004 23:03:22 +0100 + +cln (1.1.5-2) unstable; urgency=low + + * Registered documentation with doc-base; closes: #99192. + * Changed section of libcln-dev to libdevel. + * Changed section of libcln2 to libs. + * Updated to standards-version 3.5.10. + + -- Richard Kreckel Tue, 27 May 2003 10:16:09 +0200 + +cln (1.1.5-1) unstable; urgency=low + + * New upstream release + + -- Richard Kreckel Fri, 28 Feb 2003 15:11:12 +0100 + +cln (1.1.4-1) unstable; urgency=low + + * New upstream release + (Debian and other bugfixes). + + -- Richard Kreckel Fri, 4 Jan 2002 15:17:07 +0100 + +cln (1.1.3-3) unstable; urgency=low + + * Manually added __s390__ section to include/cln/config.h.in such that + packages compiling against CLN on these architectures do not have to + define this on the command line. + + -- Richard Kreckel Sat, 29 Dec 2001 18:28:50 +0100 + +cln (1.1.3-2) unstable; urgency=low + + * Backported support for s390 from upstream CVS. + + -- Richard Kreckel Sat, 29 Dec 2001 18:28:35 +0100 + +cln (1.1.3-1) unstable; urgency=low + + * New bugfix release from upstream. + * Renamed the package to libcln2 and libcln-dev to match policy. + * Segregate the pi binary into a separate Debian package, for same reason. + + -- Richard Kreckel Wed, 7 Nov 2001 16:18:58 +0100 + +cln (1.1.2-1) unstable; urgency=low + + * New upstream release; closes: #104906. + * Remove build-dependency on libstdc++-dev; closes: #105953. + + -- Richard Kreckel Tue, 25 Jul 2001 13:26:36 +0200 + +cln (1.1.1-1) unstable; urgency=low + + * New upstream release. + + -- Richard Kreckel Thu, 31 May 2001 18:46:31 +0200 + +cln (1.1.0-5) unstable; urgency=low + + * Fixed some missing !defined(NO_ASM) preprocessor directives in + upstream's CVS and backported them to the Debian package in order to... + * ...switch them on by debian/rules if we are on the ARM architecture; + closes: #94097. + + -- Richard Kreckel Sat, 21 Apr 2001 15:46:31 +0200 + +cln (1.1.0-4) unstable; urgency=low + + * Rebuild again (*ugh*) using binutils 2.11.90, since the old library + occassionally resulted in ld-so assertions, PLT alloc failures and + more scary stuff like that. Building large C++ libraries using + binutils 2.9 is a Kamikaze combination! (This seems to make a lot of + sense, since gcc-2.95.3 now depends on those new binutils anyways.) + * Changed the dependencies to reflect this problem. + + -- Richard Kreckel Thu, 12 Apr 2001 17:52:20 +0200 + +cln (1.1.0-3) unstable; urgency=low + + * Rebuild using woody's gcc-2.95.3 since some people were reporting strange + problems with the old libraries that were build using gcc-2.95.3. + * Make install-info perform quiet. + + -- Richard Kreckel Tue, 10 Apr 2001 13:40:15 +0200 + +cln (1.1.0-2) unstable; urgency=low + + * As requested by installer, change priority from extra to optional. + * Fix miscompilation on Sparc by adjusting CXXFLAGS for this architecture. + * Just in case somebody decides to go for ia64: backported a one-line + essential (and tested) architecture-specific patch from the CVS version. + * As a gimmick, add Bruno Haible's pi example. (They'll put it into SuSE 7.2 + and we don't want to hear complaints "but SuSE has this...", do we?!) + + -- Richard Kreckel Thu, 14 Mar 2001 17:04:58 +0100 + +cln (1.1.0-1) unstable; urgency=low + + * New upstream source closes #84290. + * added dependency on libgmp3. + * added Build-Depends section closes #70274. + + -- Richard Kreckel Fri, 14 Jan 2000 15:20:02 +0100 + +cln (1.0.3-1) unstable; urgency=low + + * New upstream source. + * New upstream maintainer . + * New Debian maintainer . + * Entirely repackaged. + + -- Richard Kreckel Fri, 14 Jan 2000 15:20:02 +0100 + +cln (0.98-1) unstable; urgency=low + + * New upstream source + + -- John Lapeyre Sat, 1 Aug 1998 15:40:49 -0700 + + +cln (0.1-1) unstable; urgency=low + + * Initial Release. + + -- John Lapeyre Mon, 27 Jul 1998 17:06:36 -0700 --- cln-1.1.9.orig/debian/rules +++ cln-1.1.9/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f + +package=cln + +version=$(shell expr `pwd` : '.*-\([0-9.]*\)') +version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*') + +patch: patch-stamp +patch-stamp: + dh_testdir + + patch -p1 < debian/patches/01_gcc4.patch + touch patch-stamp + + +build: patch + dh_testdir + ./configure --with-gmp --prefix=/usr + # * ARM: CLN's assembler support is not working properly (it was only + # 'theoretically' ported by copying from code that had once worked in + # CLISP under BSD). + # * HPPA, GCC-3.0 - 3.2.3 miscompile cl_DS_sqrt.cc when optimization is + # turned on, so we recompile this file. Also, assembler support is not + # working properly. Somebody needs to investigate but currently I + # don't have the inspiration for fixing things on exotic architectures. + if test `dpkg-architecture -qDEB_HOST_ARCH` == "arm"; then \ + $(MAKE) CPPFLAGS="-DNO_ASM" CXXFLAGS="-O2 -fno-exceptions"; \ + elif test `dpkg-architecture -qDEB_HOST_ARCH` == "hppa"; then \ + $(MAKE) CPPFLAGS="-DNO_ASM" CXXFLAGS="-O2 -fno-exceptions -finline-limit=1000"; \ + rm -f src/cl_DS_sqrt.*; \ + $(MAKE) CPPFLAGS="-DNO_ASM" CXXFLAGS="-O0 -fno-exceptions"; \ + else \ + $(MAKE) CXXFLAGS="-O2 -fno-exceptions -finline-limit=1000"; \ + fi + touch build + +unpatch: patch unpatch-stamp +unpatch-stamp: + dh_testdir + + if [ -e patch-stamp ]; then \ + patch -p1 -R < debian/patches/01_gcc4.patch ; \ + rm patch-stamp ; \ + fi + +clean: unpatch + dh_testdir + dh_clean + -rm -f build + -$(MAKE) distclean + -rm -f `find . -name "*~"` + -rm -rf debian/tmp debian/files* core + -rm -rf debian/.libs debian/*.o + -rm -f debian/*substvars + +binary-indep: build + dh_testdir + dh_testroot +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: build + dh_testdir + dh_testroot + dh_installdirs + $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr includedir=$(CURDIR)/debian/libcln-dev/usr/include bindir=$(CURDIR)/debian/libcln-dev/usr/bin mandir=$(CURDIR)/debian/libcln-dev/usr/share/man infodir=$(CURDIR)/debian/libcln-dev/usr/share/info datadir=$(CURDIR)/debian/libcln-dev/usr/share htmldir=$(CURDIR)/debian/libcln-dev/usr/share/doc/libcln-dev/html dvidir=$(CURDIR)/debian/libcln-dev/usr/share/doc/libcln-dev + # This installs into libdir, but we must not set libdir because it affects the .la file: + mv $(CURDIR)/debian/tmp/usr/lib/pkgconfig/* $(CURDIR)/debian/libcln-dev/usr/lib/pkgconfig/ + dh_installdocs ChangeLog NEWS README TODO + dh_installexamples -plibcln-dev $(CURDIR)/examples/contfrac.cc $(CURDIR)/examples/e.cc $(CURDIR)/examples/fibonacci.cc $(CURDIR)/examples/legendre.cc $(CURDIR)/examples/lucaslehmer.cc $(CURDIR)/examples/nextprime.cc $(CURDIR)/examples/perfnum.cc + /bin/sh libtool --mode=install /usr/bin/install -c examples/pi $(CURDIR)/debian/pi/usr/bin/pi + /usr/bin/install -m 644 examples/pi.1 $(CURDIR)/debian/pi/usr/share/man/man1/pi.1 + /usr/bin/install -m 644 debian/libcln-dev.doc-base $(CURDIR)/debian/libcln-dev/usr/share/doc-base/libcln-dev + # Note: CLN's doc/Makefile should honor psdir, just as it does honor dvidir: + /usr/bin/install -m 644 doc/cln.ps $(CURDIR)/debian/libcln-dev/usr/share/doc/libcln-dev + dh_installchangelogs + dh_install --sourcedir=debian/tmp + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: binary binary-arch binary-indep clean --- cln-1.1.9.orig/debian/libcln-dev.dirs +++ cln-1.1.9/debian/libcln-dev.dirs @@ -0,0 +1,6 @@ +usr/include +usr/lib/pkgconfig +usr/share/info +usr/share/aclocal +usr/share/doc-base +usr/share/doc/libcln-dev/html --- cln-1.1.9.orig/debian/libcln-dev.install +++ cln-1.1.9/debian/libcln-dev.install @@ -0,0 +1,3 @@ +usr/lib/libcln.la +usr/lib/libcln.a +usr/lib/libcln.so --- cln-1.1.9.orig/debian/libcln-dev.prerm +++ cln-1.1.9/debian/libcln-dev.prerm @@ -0,0 +1,5 @@ +#!/bin/sh +set -e +install-info --quiet --remove /usr/share/info/cln.info + +#DEBHELPER# --- cln-1.1.9.orig/debian/libcln-dev.postinst +++ cln-1.1.9/debian/libcln-dev.postinst @@ -0,0 +1,5 @@ +#!/bin/sh +set -e +install-info --quiet --section Math Math -- /usr/share/info/cln.info + +#DEBHELPER# --- cln-1.1.9.orig/debian/compat +++ cln-1.1.9/debian/compat @@ -0,0 +1 @@ +4 --- cln-1.1.9.orig/debian/shlibs +++ cln-1.1.9/debian/shlibs @@ -0,0 +1 @@ +libcln 3 libcln3c2 (>= 1.1.6) --- cln-1.1.9.orig/debian/libcln3c2.dirs +++ cln-1.1.9/debian/libcln3c2.dirs @@ -0,0 +1 @@ +usr/lib --- cln-1.1.9.orig/debian/patches/01_gcc4.patch +++ cln-1.1.9/debian/patches/01_gcc4.patch @@ -0,0 +1,12 @@ +diff -ur cln-1.1.9.orig/include/cln/string.h cln-1.1.9.orig.patched/include/cln/string.h +--- cln-1.1.9.orig/include/cln/string.h 2004-06-23 23:04:49.000000000 +0200 ++++ cln-1.1.9.orig.patched/include/cln/string.h 2005-06-16 23:53:12.752105080 +0200 +@@ -9,7 +9,7 @@ + #include + + namespace cln { +- ++class cl_string; + // General, reference counted and garbage collected strings. + struct cl_heap_string : public cl_heap { + private: --- cln-1.1.9.orig/debian/copyright +++ cln-1.1.9/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Richard Kreckel on +Fri, 14 Jan 2000 11:20:17 +0100. + +It was downloaded from . + +Copyright: 1988-2002 Bruno Haible + 2000-2002 Richard Kreckel + + 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 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License with + the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; + if not, write to the Free Software Foundation, Inc., 59 Temple Place, + Suite 330, Boston, MA 02111-1307 USA + +On Debian systems, the complete text of the GNU General Public +License, version 2, can be found in /usr/share/common-licenses/GPL-2. --- cln-1.1.9.orig/debian/pi.dirs +++ cln-1.1.9/debian/pi.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- cln-1.1.9.orig/debian/pi.copyright +++ cln-1.1.9/debian/pi.copyright @@ -0,0 +1,7 @@ +The `pi' package was originally written by Bruno Haible as a teaser for the +SuSE distribution and adapted for Debian by Richard Kreckel kreckel@ginac.de +on Wed, 7 Nov 2001. + +Copyright: + +GPL (see /usr/share/common-licenses/GPL) --- cln-1.1.9.orig/debian/libcln-dev.doc-base +++ cln-1.1.9/debian/libcln-dev.doc-base @@ -0,0 +1,12 @@ +Document: libcln-dev +Title: CLN (Class Library for Numbers) documentation +Author: Bruno Haible +Abstract: CLN is a C++ library for computations with all kinds of numbers. +Section: Apps/Programming + +Format: HTML +Index: /usr/share/doc/libcln-dev/html/cln_ovr.html +Files: /usr/share/doc/libcln-dev/html/* + +Format: PostScript +Files: /usr/share/doc/libcln-dev/cln.ps.gz