[gap-grape] 02/02: Imported Zeroth Debian patch 4r7+ds-1

Jerome Benoit calculus-guest at moszumanska.debian.org
Tue Mar 22 01:52:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

calculus-guest pushed a commit to branch master
in repository gap-grape.

commit 48e78abeb1e4687d8324f5509f3ecf95dd71d9d5
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Tue Mar 22 02:41:07 2016 +0100

    Imported Zeroth Debian patch 4r7+ds-1
---
 debian/changelog                                   |  5 ++
 debian/check.g                                     |  7 ++
 debian/clean                                       | 14 ++++
 debian/compat                                      |  1 +
 debian/control                                     | 31 +++++++++
 debian/copyright                                   | 53 ++++++++++++++++
 debian/gap-grape.doc-base                          | 17 +++++
 debian/gap-grape.docs                              |  1 +
 debian/gap-grape.install                           |  5 ++
 debian/gap-grape.links                             |  2 +
 debian/gap-grape.lintian-overrides                 |  1 +
 debian/patches/debianization.patch                 | 74 ++++++++++++++++++++++
 debian/patches/series                              |  3 +
 .../upstream-fix-doc-faulty-references.patch       | 34 ++++++++++
 debian/patches/upstream-repack-adjustment.patch    | 16 +++++
 debian/rules                                       | 18 ++++++
 debian/source/format                               |  1 +
 debian/source/lintian-overrides                    |  1 +
 debian/source/options                              |  2 +
 debian/tests/control                               |  1 +
 debian/watch                                       |  3 +
 21 files changed, 290 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..501527a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gap-grape (4r7+ds-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #762583)
+
+ -- Jerome Benoit <calculus at rezozer.net>  Tue, 22 Mar 2016 01:40:02 +0000
diff --git a/debian/check.g b/debian/check.g
new file mode 100644
index 0000000..ada37d9
--- /dev/null
+++ b/debian/check.g
@@ -0,0 +1,7 @@
+# debian/check.g -- GAP script
+SetPackagePath("grape",".");
+LoadPackage("grape");
+## examples extracted from section 1.1 `Installing the GRAPE Package'
+IsIsomorphicGraph(JohnsonGraph(7,3),JohnsonGraph(7,4)); ## true
+Size(AutGroupGraph(JohnsonGraph(4,2))); ## 48
+##
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..a587170
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,14 @@
+htm/*.htm
+doc/manual.aux
+doc/manual.toc
+doc/manual.log
+doc/manual.bbl
+doc/manual.blg
+doc/manual.ind
+doc/manual.idx
+doc/manual.ilg
+doc/manual.dvi
+doc/manual.six
+doc/manual.pdf
+doc/manual.lab
+doc/manual.example-*.tst
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..81c8613
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: gap-grape
+Section: math
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Jerome Benoit <calculus at rezozer.net>
+Build-Depends:
+ debhelper (>= 9),
+ gap, gap-doc,
+ nauty, bliss,
+ texlive-generic-recommended, texlive-fonts-recommended, tth
+Standards-Version: 3.9.7
+Homepage: http://www.gap-system.org/Packages/grape.html
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/gap-grape.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/gap-grape.git
+
+Package: gap-grape
+Provides: gap-pkg-grape
+Architecture: all
+Depends: ${misc:Depends}, gap, nauty
+Recommends: bliss
+Suggests: pdf-viewer, www-browser
+Description: GRaph Algorithms using PErmutation groups for GAP
+ GAP is a system for computational discrete algebra with particular
+ emphasis on computational group theory, but which has already proved
+ useful also in other areas.
+ .
+ This package implements computing with graphs and groups for GAP.
+ GRAPE is primarily designed for constructing and analysing graphs
+ related to groups, finite geometries, and designs; special emphasis
+ is placed on the determination of regularity properties and subgraph
+ structure.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5b33fed
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,53 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: GAP package GRAPE
+Upstream-Contact:
+ Leonard H. Soicher <l.h.soicher at qmul.ac.uk>
+Source: http://www.gap-system.org/Packages/grape.html
+Files-Excluded:
+ nauty22
+ bin
+ Makefile.in
+ Makefile
+ configure
+ htm
+ doc/manual.ilg
+ doc/manual.idx
+ doc/manual.ind
+ doc/manual.blg
+ doc/manual.bbl
+ doc/manual.log
+ doc/manual.toc
+ doc/manual.aux
+ doc/manual.example-*.tst
+ doc/manual.mst
+ doc/manual.lab
+ doc/manual.six
+ doc/manual.dvi
+ doc/manual.pdf
+
+Files: *
+Copyright:
+ 1992-2016 Leonard H. Soicher <l.h.soicher at qmul.ac.uk>
+License: GPL-2+
+
+Files: debian/*
+Copyright:
+ 2016 Jerome Benoit <calculus at rezozer.net>
+License: GPL-2+
+
+License: GPL-2+
+ 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 of the License, or
+ (at your option) any later version.
+ .
+ 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, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/gap-grape.doc-base b/debian/gap-grape.doc-base
new file mode 100644
index 0000000..b245b27
--- /dev/null
+++ b/debian/gap-grape.doc-base
@@ -0,0 +1,17 @@
+Document: gap-grape
+Title: GRAPE
+Author: Leonard H. Soicher
+Abstract:
+ This manual describes the GRAPE GAP package for computing with
+ graphs and groups. GRAPE is primarily designed for the construction
+ and analysis of finite graphs related to groups, designs, and
+ geometries; special emphasis is placed on the determination of
+ regularity properties and subgraph structure.
+Section: Science/Mathematics
+
+Format: pdf
+Files: /usr/share/doc/gap-grape/doc/manual.pdf
+
+Format: HTML
+Index: /usr/share/doc/gap-grape/htm/chapters.htm
+Files: /usr/share/doc/gap-grape/htm/*.htm
diff --git a/debian/gap-grape.docs b/debian/gap-grape.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/gap-grape.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/gap-grape.install b/debian/gap-grape.install
new file mode 100644
index 0000000..b8ee08e
--- /dev/null
+++ b/debian/gap-grape.install
@@ -0,0 +1,5 @@
+PackageInfo.g init.g usr/share/gap/pkg/grape
+grh usr/share/gap/pkg/grape
+lib usr/share/gap/pkg/grape
+htm usr/share/gap/pkg/grape
+doc/manual.lab doc/manual.six doc/manual.pdf usr/share/gap/pkg/grape/doc
diff --git a/debian/gap-grape.links b/debian/gap-grape.links
new file mode 100644
index 0000000..f75edc7
--- /dev/null
+++ b/debian/gap-grape.links
@@ -0,0 +1,2 @@
+usr/share/gap/pkg/grape/doc usr/share/doc/gap-grape/doc
+usr/share/gap/pkg/grape/htm usr/share/doc/gap-grape/htm
diff --git a/debian/gap-grape.lintian-overrides b/debian/gap-grape.lintian-overrides
new file mode 100644
index 0000000..fc882fe
--- /dev/null
+++ b/debian/gap-grape.lintian-overrides
@@ -0,0 +1 @@
+no-upstream-changelog
diff --git a/debian/patches/debianization.patch b/debian/patches/debianization.patch
new file mode 100644
index 0000000..0ca70d8
--- /dev/null
+++ b/debian/patches/debianization.patch
@@ -0,0 +1,74 @@
+Description: debianization
+ Meant to maintain a minimal debian/rules, to fix annoying
+ warnings, to address Debian specific stuff in general.
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2016-03-22
+
+--- a/doc/manual.tex
++++ b/doc/manual.tex
+@@ -9,7 +9,7 @@
+ %%
+ %F  gapmacro . . . . . . . . . . . . . . . .  read the GAP macro package
+ %%
+-\input ../../../doc/gapmacro
++\input gapmacro
+ %
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+--- a/doc/make_doc
++++ b/doc/make_doc
+@@ -12,24 +12,33 @@
+ ##  etc/convert.pl) documentation for the Example Package.
+ ##
+ 
++GAPDATADIR=/usr/share/gap
++
++TEXINPUTS=$GAPDATADIR/etc:${TEXINPUTS}
++export TEXINPUTS
++
++PDFTEX='/usr/bin/pdftex -no-shell-escape -interaction batchmode'
++
+ echo "TeXing documentation"
+ # TeX the manual
+-tex manual
++$PDFTEX manual
+ # ... and build its bibliography (uncomment if there is a `manual.bib')
+ bibtex manual
+ # TeX the manual again to incorporate the ToC ... and build the index
+-tex manual; ../../../doc/manualindex manual
++$PDFTEX manual
++$GAPDATADIR/etc/manualindex manual
+ # Finally TeX the manual again to get cross-references right
+-tex manual
++$PDFTEX manual
+ # Create the PostScript version (uncomment next line, if needed)
+ #dvips -D300 manual -o
+ # Create PDF version
+-pdftex manual; pdftex manual 
++$PDFTEX manual
++$PDFTEX manual
+ 
+ # The HTML version of the manual
+ mkdir -p ../htm
+ echo "Creating HTML documentation"
+-../../../etc/convert.pl -t -c -n grape . ../htm
++$GAPDATADIR/etc/convert.pl -s -t -c -n grape . ../htm
+ 
+ #############################################################################
+ ##
+--- a/lib/grape.g
++++ b/lib/grape.g
+@@ -41,11 +41,10 @@
+ 
+ GRAPE_NAUTY := true;   # Use nauty when true, else use bliss.
+ 
+-GRAPE_DREADNAUT_EXE := 
+-   ExternalFilename(DirectoriesPackagePrograms("grape"),"dreadnautB"); 
++GRAPE_DREADNAUT_EXE := "/usr/bin/dreadnaut";
+    # filename of dreadnaut or dreadnautB executable
+ 
+-GRAPE_BLISS_EXE := "/home/leonard/bliss-0.73/bliss"; 
++GRAPE_BLISS_EXE := "/usr/bin/bliss";
+    # filename of bliss executable
+ 
+ BindGlobal("GRAPE_OrbitRepresentatives",function(arg)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..036d6f8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+upstream-repack-adjustment.patch
+upstream-fix-doc-faulty-references.patch
+debianization.patch
diff --git a/debian/patches/upstream-fix-doc-faulty-references.patch b/debian/patches/upstream-fix-doc-faulty-references.patch
new file mode 100644
index 0000000..53f5c3d
--- /dev/null
+++ b/debian/patches/upstream-fix-doc-faulty-references.patch
@@ -0,0 +1,34 @@
+Description: upstream: fix: doc: faulty references
+ Fix external references in the manual; meant to be
+ submitted to the upstream maintainer.
+Origin: debian
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2016-03-22
+
+--- a/doc/grape.tex
++++ b/doc/grape.tex
+@@ -76,12 +76,12 @@
+ unless you want to install the package separately from your main
+ {\GAP} installation or are installing an upgrade of {\GRAPE} to an
+ existing installation of {\GAP} (see the main {\GAP} reference section
+-"Reference:Installing a GAP Package").  If you do need to download
++"REF:Installing a GAP Package").  If you do need to download
+ {\GRAPE}, you can find the most recent `.tar.gz' archive file for
+ the package at \URL{http://www.maths.qmul.ac.uk/~leonard/grape/}, and
+ then this archive file should be downloaded and unpacked in the `pkg'
+ subdirectory of an appropriate {\GAP} root directory (see the main {\GAP}
+-reference section "Reference:GAP Root Directories").
++reference section "REF:GAP Root Directories").
+ 
+ If your {\GRAPE} installation does not include a pre-compiled binary of 
+ the nauty/dreadnaut programs included with {\GRAPE} and you do not want 
+--- a/doc/manual.tex
++++ b/doc/manual.tex
+@@ -23,7 +23,6 @@
+ %%
+ %F  UseReferences . . . . . . . . . . . . . . . . . .  specify references
+ %%
+-% \UseReferences{../../../doc/ext}
+ % \UseReferences{../../../doc/ref}
+ %
+ %
diff --git a/debian/patches/upstream-repack-adjustment.patch b/debian/patches/upstream-repack-adjustment.patch
new file mode 100644
index 0000000..4048751
--- /dev/null
+++ b/debian/patches/upstream-repack-adjustment.patch
@@ -0,0 +1,16 @@
+Description: upstream: repack adjustment
+Origin: debian
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2016-03-22
+
+--- a/PackageInfo.g
++++ b/PackageInfo.g
+@@ -58,7 +58,7 @@
+ ##  
+ ##  These entries are *optional*.
+ #TextFiles := ["init.g", ......],
+-BinaryFiles := ["doc/manual.dvi","doc/manual.pdf","nauty22/nug.pdf","bin/i686-pc-cygwin-gcc-default32/dreadnautB.exe"],
++BinaryFiles := ["doc/manual.pdf"],
+ 
+ 
+ ##  Information about authors and maintainers. Specify for each person a 
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f27d543
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+GAP=/usr/bin/gap
+
+default:
+	@uscan --no-conf --dehs --report || true
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	cd doc && sh make_doc
+
+override_dh_auto_test:
+	echo "SetPackagePath(\"grape\",\".\"); LoadPackage(\"grape\"); quit;" | $(GAP) -A -q -T
+
+get-orig-source:
+	uscan --no-conf --download-current-version --compression xz --verbose
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..8b06cb1
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1 @@
+debian-watch-may-check-gpg-signature
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..22a4de9
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1,2 @@
+compression = xz
+compression-level = 9
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..b111f18
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Test-command: echo "Test(\"tst/testall.tst\"); quit;" | gap -A -q -T
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f9b1997
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=repack,dversionmangle=s/\+ds//,repacksuffix=+ds \
+http://www.maths.qmul.ac.uk/~leonard/grape/ .*/grape(.+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gap-grape.git



More information about the debian-science-commits mailing list