[gap-openmath] 01/01: Imported Debian patch 11.2.0+ds-1

Jerome Benoit calculus-guest at moszumanska.debian.org
Sun Feb 23 00:18:58 UTC 2014


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

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

commit d41f04023868342f2184ed11b70ecb0b79e193c3
Merge: 50117d1 92ce8cd
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Sat Feb 22 21:40:23 2014 +0000

    Imported Debian patch 11.2.0+ds-1

 debian/changelog                |  21 +
 debian/clean                    |  13 +
 debian/compat                   |   1 +
 debian/control                  |  26 ++
 debian/copyright                |  36 ++
 debian/gap-openmath.dir         |   1 +
 debian/gap-openmath.doc-base    |  16 +
 debian/gap-openmath.docs        |   1 +
 debian/gap-openmath.install     |   8 +
 debian/gap-openmath.links       |   3 +
 debian/makedoc.g                |  12 +
 debian/repack                   | 108 +++++
 debian/rules                    |  18 +
 debian/source/format            |   1 +
 debian/source/lintian-overrides |   1 +
 debian/source/options           |   2 +
 debian/watch                    |   4 +
 doc/chap0.html                  | 153 -------
 doc/chap0.txt                   | 112 -----
 doc/chap1.html                  |  96 -----
 doc/chap1.txt                   |  71 ----
 doc/chap2.html                  | 533 ------------------------
 doc/chap2.txt                   | 505 ----------------------
 doc/chap3.html                  | 139 -------
 doc/chap3.txt                   | 123 ------
 doc/chapBib.html                |  83 ----
 doc/chapBib.txt                 |  27 --
 doc/chapInd.html                |  55 ---
 doc/chapInd.txt                 |  24 --
 doc/chooser.html                | 132 ------
 doc/lefttoc.css                 |  17 -
 doc/manual.aux                  |  86 ----
 doc/manual.bbl                  |  36 --
 doc/manual.blg                  |  45 --
 doc/manual.brf                  |   5 -
 doc/manual.css                  | 482 ---------------------
 doc/manual.idx                  |  17 -
 doc/manual.ilg                  |   6 -
 doc/manual.ind                  |  30 --
 doc/manual.js                   | 112 -----
 doc/manual.lab                  |  37 --
 doc/manual.log                  | 595 --------------------------
 doc/manual.out                  |  13 -
 doc/manual.pdf                  | Bin 186884 -> 0 bytes
 doc/manual.pnr                  |  31 --
 doc/manual.six                  |  86 ----
 doc/manual.tex                  | 900 ----------------------------------------
 doc/manual.toc                  |  24 --
 doc/nocolorprompt.css           |  13 -
 doc/ragged.css                  |   6 -
 doc/rainbow.js                  |  60 ---
 doc/times.css                   |   6 -
 doc/toggless.css                |  42 --
 doc/toggless.js                 |  65 ---
 54 files changed, 272 insertions(+), 4767 deletions(-)

diff --cc debian/changelog
index 0000000,0000000..95e4e1b
new file mode 100644
--- /dev/null
+++ b/debian/changelog
@@@ -1,0 -1,0 +1,21 @@@
++gap-openmath (11.2.0+ds-1) unstable; urgency=low
++
++  * Initial release. (Closes: #738008)
++  * Debianization:
++    - debian/copyright in DEP-5 format;
++    - debian/control:
++      - debhelper build-dep to >= 9;
++      - Standards Version 3.9.5;
++      - Vcs-* headers.
++    - debian/source, format 3.0 (quilt);
++    - debian/watch file;
++    - debian/repack, repack script to clean up and gain weight;
++    - debian/makedoc.g, GAP script to compose the documentation;
++    - debian/rules:
++      - full dh integration;
++      - get-orig-source uscan based target which downloads the currently
++        packaged upstream tarball and repacks it;
++      - default target which basically queries package status with uscan
++        -- output in DEHS format.
++
++ -- Jerome Benoit <calculus at rezozer.net>  Sat, 22 Feb 2014 21:40:23 +0000
diff --cc debian/clean
index 0000000,0000000..d28b256
new file mode 100644
--- /dev/null
+++ b/debian/clean
@@@ -1,0 -1,0 +1,13 @@@
++doc/chap*.txt
++doc/chap*.html
++doc/chooser.html
++doc/manual.{tex,aux,out,brf,toc,log,bbl,blg,ind,idx,ilg}
++doc/manual.{pnr,six,lab}
++doc/manual.pdf
++doc/lefttoc.css
++doc/manual.{css,js}
++doc/nocolorprompt.css
++doc/ragged.css
++doc/rainbow.js
++doc/times.css
++doc/toggless.{css,js}
diff --cc debian/compat
index 0000000,0000000..ec63514
new file mode 100644
--- /dev/null
+++ b/debian/compat
@@@ -1,0 -1,0 +1,1 @@@
++9
diff --cc debian/control
index 0000000,0000000..c389b63
new file mode 100644
--- /dev/null
+++ b/debian/control
@@@ -1,0 -1,0 +1,26 @@@
++Source: gap-openmath
++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 (>=4r5), gap-dev (>=4r5), gap-gapdoc, gap-io,
++ texlive-latex-extra, texlive-fonts-recommended
++Standards-Version: 3.9.5
++Homepage: http://www.gap-system.org/Packages/openmath.html
++Vcs-Git: git://anonscm.debian.org/debian-science/packages/gap-openmath.git
++Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/gap-openmath.git
++
++Package: gap-openmath
++Provides: gap-pkg-openmath
++Architecture: all
++Depends: ${misc:Depends}, gap (>=4r5)
++Description: OpenMath phrasebook 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 allows GAP to import and export mathematical objects
++ encoded in OpenMath, for the purpose of exchanging them with other
++ applications that are OpenMath enabled.
diff --cc debian/copyright
index 0000000,0000000..3a442f7
new file mode 100644
--- /dev/null
+++ b/debian/copyright
@@@ -1,0 -1,0 +1,36 @@@
++Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
++Upstream-Name: GAP package OpenMath
++Upstream-Contact: Alexander Konovalov <alexk at mcs.st-andrews.ac.uk>
++Source: http://www.gap-system.org/Packages/openmath.html
++Comment:
++ The upstream source tarball is repacked to drop off the regenarated
++ material, namely the documentation, to gain substantial weight.
++
++Files: *
++Copyright:
++ 2007-2014 Alexander Konovalov <alexk at mcs.st-andrews.ac.uk>
++ 2005-2006 Marco Costantini
++ 2000-2005 Andrew Solomon
++License: GPL-2+
++
++Files: debian/*
++Copyright:
++ 2014 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 --cc debian/gap-openmath.dir
index 0000000,0000000..aa7d3c4
new file mode 100644
--- /dev/null
+++ b/debian/gap-openmath.dir
@@@ -1,0 -1,0 +1,1 @@@
++usr/share/gap/pkg/openmath/examples
diff --cc debian/gap-openmath.doc-base
index 0000000,0000000..5efe116
new file mode 100644
--- /dev/null
+++ b/debian/gap-openmath.doc-base
@@@ -1,0 -1,0 +1,16 @@@
++Document: gap-openmath
++Title: OpenMath functionality in GAP
++Author:
++ Marco Costantini
++ Alexander Konovalov
++ Max Nicosia
++ Andrew Solomon
++Abstract:
++ The OpenMath package provides an OpenMath phrasebook for GAP:
++ it allows GAP users to import and export mathematical objects
++ encoded in OpenMath, for the purpose of exchanging them with
++ other OpenMath-enabled applications.
++Section: Science/Mathematics
++
++Format: pdf
++Files: /usr/share/doc/gap-openmath/doc/manual.pdf
diff --cc debian/gap-openmath.docs
index 0000000,0000000..e845566
new file mode 100644
--- /dev/null
+++ b/debian/gap-openmath.docs
@@@ -1,0 -1,0 +1,1 @@@
++README
diff --cc debian/gap-openmath.install
index 0000000,0000000..8158682
new file mode 100644
--- /dev/null
+++ b/debian/gap-openmath.install
@@@ -1,0 -1,0 +1,8 @@@
++PackageInfo.g init.g config.g read.g usr/share/gap/pkg/openmath
++gap/* usr/share/gap/pkg/openmath/gap
++cds/* usr/share/gap/pkg/openmath/cds
++hasse/* usr/share/gap/pkg/openmath/hasse
++private/* usr/share/gap/pkg/openmath/private
++tst/* usr/share/gap/pkg/openmath/tst
++doc/*.txt doc/*.html doc/manual.six doc/manual.pdf usr/share/gap/pkg/openmath/doc
++examples usr/share/gap/pkg/openmath
diff --cc debian/gap-openmath.links
index 0000000,0000000..cbff996
new file mode 100644
--- /dev/null
+++ b/debian/gap-openmath.links
@@@ -1,0 -1,0 +1,3 @@@
++usr/share/gap/pkg/openmath/doc usr/share/doc/gap-openmath/doc
++usr/share/gap/pkg/openmath/cds/README usr/share/doc/gap-openmath/README.cds
++usr/share/gap/pkg/openmath/examples usr/share/doc/gap-openmath/examples/examples
diff --cc debian/makedoc.g
index 0000000,0000000..db8915e
new file mode 100644
--- /dev/null
+++ b/debian/makedoc.g
@@@ -1,0 -1,0 +1,12 @@@
++# debian/makedoc.g -- GAP script
++SetPackagePath("openmath",".");
++LoadPackage("openmath");;
++MakeGAPDocDoc("doc","manual",[
++	"../PackageInfo.g",
++	"../gap/parse.gd",
++	"../gap/xmltree.gd",
++	"../gap/omget.gd",
++	"../gap/omput.gd",
++	"../gap/test.gd"
++	],"OpenMath");;
++CopyHTMLStyleFiles("doc");
diff --cc debian/repack
index 0000000,0000000..5dcedbf
new file mode 100755
--- /dev/null
+++ b/debian/repack
@@@ -1,0 -1,0 +1,108 @@@
++#!/bin/bash
++
++PACKAGE_NAME=gap-openmath
++
++set -e
++set -u
++
++usage() {
++	echo "Usage: repack --upstream-version <ver> <downloaded file>"
++	exit 1
++	}
++
++if [ "$#" != "3" ]; then
++	usage
++fi
++if [ "$1" != "--upstream-version" ]; then
++	usage
++fi
++if [ ! -f "$3" ]; then
++	if [ -n "$3" ]; then
++		echo "$3 doesn't exist"
++	fi
++	usage
++fi
++UPSTREAM_VERSION="$2"
++UPSTREAM_TARBALLZZ="$3"
++
++DEBIAN_SUFFIX="+ds"
++####DEBIAN_ENCAPSULATEDFOLDERNAME="${PACKAGE_NAME}-usrc"
++
++DEBIAN_UVERSION=${UPSTREAM_VERSION}${DEBIAN_SUFFIX}
++DEBIAN_ROOTFOLDERNAME="${PACKAGE_NAME}-${DEBIAN_UVERSION}.orig"
++DEBIAN_TARBALLXZ="$(dirname $UPSTREAM_TARBALLZZ)/${PACKAGE_NAME}_${DEBIAN_UVERSION}.orig.tar.xz"
++
++REPACK_TMPDIR=`mktemp -d ./repackXXXXXX`
++REPACK_TMPDIR=$(readlink -f "$REPACK_TMPDIR")
++trap "/bin/rm -rf \"$REPACK_TMPDIR\"" QUIT INT EXIT
++
++message() {
++	echo
++	echo "-- -- $1"
++	echo
++	}
++
++message "Repackaging $UPSTREAM_TARBALLZZ"
++
++UPSTREAM_ROOTFOLDER="${REPACK_TMPDIR}/unpacked"
++mkdir "${UPSTREAM_ROOTFOLDER}"
++tar -C "${UPSTREAM_ROOTFOLDER}" -xf "${UPSTREAM_TARBALLZZ}" || unzip -d "${UPSTREAM_ROOTFOLDER}" "${UPSTREAM_TARBALLZZ}"
++if [ `ls -1 "${UPSTREAM_ROOTFOLDER}" | wc -l` -eq 1 ]; then
++	UPSTREAM_ROOTFOLDER="${UPSTREAM_ROOTFOLDER}/`ls -1 "${UPSTREAM_ROOTFOLDER}"`"
++fi
++
++DEBIAN_ROOTFOLDER="${REPACK_TMPDIR}/${DEBIAN_ROOTFOLDERNAME}"
++## repack
++####set -f
++REPACK_WORKING_FOLDER=$(pwd)
++cd "${UPSTREAM_ROOTFOLDER}"
++
++####. "${REPACK_WORKING_FOLDER}/debian/repack.local"
++## wipe out
++## clean up
++rm --verbose --force -- doc/chap*.txt
++rm --verbose --force -- doc/chap*.html
++rm --verbose --force -- doc/chooser.html
++rm --verbose --force -- doc/manual.{tex,aux,out,brf,toc,log,bbl,blg,ind,idx,ilg}
++rm --verbose --force -- doc/manual.{pnr,six,lab}
++rm --verbose --force -- doc/manual.pdf
++rm --verbose --force -- doc/lefttoc.css
++rm --verbose --force -- doc/manual.{css,js}
++rm --verbose --force -- doc/nocolorprompt.css
++rm --verbose --force -- doc/ragged.css
++rm --verbose --force -- doc/rainbow.js
++rm --verbose --force -- doc/times.css
++rm --verbose --force -- doc/toggless.{css,js}
++#:
++
++cd ${REPACK_WORKING_FOLDER}
++set +f
++## end
++####if [ -n "${DEBIAN_ENCAPSULATEDFOLDERNAME}" ]; then
++####	mkdir "${DEBIAN_ROOTFOLDER}"
++####	mv "${UPSTREAM_ROOTFOLDER}" "${DEBIAN_ROOTFOLDER}/${DEBIAN_ENCAPSULATEDFOLDERNAME}"
++####else
++	mv "${UPSTREAM_ROOTFOLDER}" "${DEBIAN_ROOTFOLDER}"
++####fi
++
++REPACK_TARBALL="${REPACK_TMPDIR}/repacked.tar"
++REPACK_TARBALLXZ="${REPACK_TARBALL}.xz"
++( cd "${REPACK_TMPDIR}" && \
++	find -L "${DEBIAN_ROOTFOLDERNAME}" -xdev -type f -print | sort | \
++	tar -T-  --owner=root --group=root --mode=a+rX --create --file "${REPACK_TARBALL}" \
++	)
++xz -9e < "${REPACK_TARBALL}" > "${REPACK_TARBALLXZ}"
++mv "${REPACK_TARBALLXZ}" "${DEBIAN_TARBALLXZ}"
++
++message "Testing ${DEBIAN_TARBALLXZ}"
++
++xz --verbose --test "${DEBIAN_TARBALLXZ}"
++
++message "Printing information about ${DEBIAN_TARBALLXZ}"
++
++xz --verbose --list "${DEBIAN_TARBALLXZ}"
++
++message "Quitting"
++
++##
++## eos
diff --cc debian/rules
index 0000000,0000000..079093f
new file mode 100755
--- /dev/null
+++ b/debian/rules
@@@ -1,0 -1,0 +1,18 @@@
++#!/usr/bin/make -f
++
++GAP=/usr/bin/gap
++
++default:
++	@uscan --no-conf --dehs --report || true
++
++%:
++	dh $@
++
++override_dh_auto_build:
++	cat debian/makedoc.g | $(GAP) -A -q -T
++
++override_dh_installchangelogs:
++	dh_installchangelogs --keep CHANGES
++
++get-orig-source:
++	uscan --no-conf --download-current-version --verbose
diff --cc debian/source/format
index 0000000,0000000..163aaf8
new file mode 100644
--- /dev/null
+++ b/debian/source/format
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
diff --cc debian/source/lintian-overrides
index 0000000,0000000..8b06cb1
new file mode 100644
--- /dev/null
+++ b/debian/source/lintian-overrides
@@@ -1,0 -1,0 +1,1 @@@
++debian-watch-may-check-gpg-signature
diff --cc debian/source/options
index 0000000,0000000..22a4de9
new file mode 100644
--- /dev/null
+++ b/debian/source/options
@@@ -1,0 -1,0 +1,2 @@@
++compression = xz
++compression-level = 9
diff --cc debian/watch
index 0000000,0000000..7185cf6
new file mode 100644
--- /dev/null
+++ b/debian/watch
@@@ -1,0 -1,0 +1,4 @@@
++version=3
++opts=dversionmangle=s/\+ds// \
++ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/packages/openmath-([\d\.]+)\.tar\.bz2 \
++debian bash debian/repack

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



More information about the debian-science-commits mailing list