--- guava-3.6.orig/debian/gap-guava.install +++ guava-3.6/debian/gap-guava.install @@ -0,0 +1,6 @@ +lib /usr/share/gap/pkg/guava +doc /usr/share/gap/pkg/guava +tbl /usr/share/gap/pkg/guava +bin /usr/lib/gap/pkg/guava +*.g /usr/share/gap/pkg/guava + --- guava-3.6.orig/debian/control +++ guava-3.6/debian/control @@ -0,0 +1,16 @@ +Source: guava +Section: math +Priority: optional +Maintainer: Tim Abbott +Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 5), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), gap-dev +Standards-Version: 3.8.0 + +Package: gap-guava +Section: math +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: gap-pkg-guava +Description: Coding theory library for GAP + GUAVA is a package that implements coding theory algorithms in GAP. + Codes can be created and manipulated and information about codes can + be calculated. --- guava-3.6.orig/debian/control.in +++ guava-3.6/debian/control.in @@ -0,0 +1,16 @@ +Source: guava +Section: math +Priority: optional +Maintainer: Tim Abbott +Build-Depends: @cdbs@, gap-dev +Standards-Version: 3.8.0 + +Package: gap-guava +Section: math +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: gap-pkg-guava +Description: Coding theory library for GAP + GUAVA is a package that implements coding theory algorithms in GAP. + Codes can be created and manipulated and information about codes can + be calculated. --- guava-3.6.orig/debian/rules +++ guava-3.6/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +debian/stamp-makefile-build: configure-guava + +configure-guava: + ./configure /usr/lib/gap + +DEB_MAKE_CLEAN_TARGET = distclean +DEB_DH_LINK_ARGS += /usr/lib/gap/pkg/guava/bin /usr/share/gap/pkg/guava/bin --- guava-3.6.orig/debian/changelog +++ guava-3.6/debian/changelog @@ -0,0 +1,11 @@ +guava (3.6-2) unstable; urgency=low + + * Fix bug in HadamardMat on power of 2 inputs. + + -- Tim Abbott Fri, 25 Jul 2008 19:55:27 -0400 + +guava (3.6-1) unstable; urgency=low + + * Initial release (Closes: #480099). + + -- Tim Abbott Fri, 20 Jun 2008 21:21:29 -0400 --- guava-3.6.orig/debian/patches/series +++ guava-3.6/debian/patches/series @@ -0,0 +1 @@ +hadamard-bugfix.patch --- guava-3.6.orig/debian/patches/hadamard-bugfix.patch +++ guava-3.6/debian/patches/hadamard-bugfix.patch @@ -0,0 +1,12 @@ +diff -ur /tmp/guava-3.6/lib/matrices.gi foo/guava3.6/lib/matrices.gi +--- a/lib/matrices.gi 2008-06-20 16:14:59.000000000 -0400 ++++ b/lib/matrices.gi 2008-06-28 14:54:56.000000000 -0400 +@@ -157,6 +157,8 @@ + local result, had, i, j, N; + if n mod 2 = 0 then + N:=n/2; ++ elif n = 1 then ++ N :=1; + else + Error("The Hadamard matrix of order ",n," does not exist"); + fi; --- guava-3.6.orig/debian/copyright +++ guava-3.6/debian/copyright @@ -0,0 +1,55 @@ +This package was debianized by Tim Abbott in 2008. + +It was downloaded from http://sage.math.washington.edu/home/wdj/guava/ + +Upstream Authors: David Joyner (wdjoyner@gmail.com) + Jeffrey S. Leon + Jasper Cramwinckel + Erik Roijackers + Reinald Baart + Eric Minkes + Cen Tjhai + Robert Miller + Tom Boothby + +Copyright (C) 2003-2008 David Joyner (wdjoyner@gmail.com), + Jeffrey S. Leon, + Jasper Cramwinckel, + Erik Roijackers, + Reinald Baart, + Eric Minkes, + Cen Tjhai, + Robert Miller, + Tom Boothby + +License: + + This package 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 or + version 3 of the License. + + This package 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 + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2008, Tim Abbott and is +licensed under the GPL, see above. + +The documentation for Guava (doc/) is distributed under the GNU Free +Documentation License (GFDL): + + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled "GNU + Free Documentation License". --- guava-3.6.orig/debian/compat +++ guava-3.6/debian/compat @@ -0,0 +1 @@ +5