[gap-io] 02/02: Imported Debian patch 4.3.1+ds-1

Jerome Benoit calculus-guest at moszumanska.debian.org
Sat Jul 5 22:41:47 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-io.

commit 7ed9c39dbb727c741a1daafde08818a84c884f1d
Merge: 43ffac7 de0bfad
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Sat Jul 5 22:16:35 2014 +0000

    Imported Debian patch 4.3.1+ds-1

 .mailmap                                          |     2 -
 Makefile.in                                       |   881 -
 aclocal.m4                                        |  1256 --
 autom4te.cache/output.0                           | 17007 --------------------
 autom4te.cache/output.1                           | 17007 --------------------
 autom4te.cache/output.2                           | 17007 --------------------
 autom4te.cache/requests                           |   550 -
 autom4te.cache/traces.0                           |  3271 ----
 autom4te.cache/traces.1                           |   888 -
 autom4te.cache/traces.2                           |  3271 ----
 cnf/ar-lib                                        |   270 -
 cnf/compile                                       |   347 -
 cnf/config.guess                                  |  1568 --
 cnf/config.sub                                    |  1793 ---
 cnf/depcomp                                       |   791 -
 cnf/install-sh                                    |   527 -
 cnf/ltmain.sh                                     |  9655 -----------
 cnf/missing                                       |   215 -
 cnf/pkgconfig.h.in                                |   336 -
 configure                                         | 17007 --------------------
 configure_like_gap                                |    37 -
 debian/changelog                                  |    21 +-
 debian/check.g                                    |     4 -
 debian/control                                    |     4 +-
 debian/copyright                                  |    17 +-
 debian/gap-io.dirs                                |     1 +
 debian/gap-io.docs                                |     1 -
 debian/gap-io.install                             |     2 +-
 debian/gap-io.links                               |     3 -
 debian/makedoc.g                                  |    11 -
 debian/patches/debianization.patch                |    94 +-
 debian/patches/series                             |     1 -
 debian/patches/upstream-autotools-machinery.patch |    88 -
 debian/repack                                     |    24 +-
 debian/rules                                      |    12 +
 debian/watch                                      |     2 +-
 doc/chap0.html                                    |   325 -
 doc/chap0.txt                                     |   226 -
 doc/chap1.html                                    |    45 -
 doc/chap1.txt                                     |    20 -
 doc/chap10.html                                   |   225 -
 doc/chap10.txt                                    |   189 -
 doc/chap11.html                                   |    43 -
 doc/chap11.txt                                    |    16 -
 doc/chap2.html                                    |   110 -
 doc/chap2.txt                                     |    67 -
 doc/chap3.html                                    |   750 -
 doc/chap3.txt                                     |   668 -
 doc/chap4.html                                    |   581 -
 doc/chap4.txt                                     |   700 -
 doc/chap5.html                                    |   142 -
 doc/chap5.txt                                     |   154 -
 doc/chap6.html                                    |    57 -
 doc/chap6.txt                                     |    27 -
 doc/chap7.html                                    |   133 -
 doc/chap7.txt                                     |   146 -
 doc/chap8.html                                    |   273 -
 doc/chap8.txt                                     |   328 -
 doc/chap9.html                                    |   201 -
 doc/chap9.txt                                     |   198 -
 doc/chapInd.html                                  |   189 -
 doc/chapInd.txt                                   |   158 -
 doc/chooser.html                                  |   132 -
 doc/lefttoc.css                                   |    17 -
 doc/manual.css                                    |   482 -
 doc/manual.js                                     |   112 -
 doc/manual.pdf                                    |   Bin 344412 -> 0 bytes
 doc/manual.six                                    |   370 -
 doc/nocolorprompt.css                             |    13 -
 doc/ragged.css                                    |     6 -
 doc/rainbow.js                                    |    60 -
 doc/times.css                                     |     6 -
 doc/toggless.css                                  |    42 -
 doc/toggless.js                                   |    65 -
 m4/libtool.m4                                     |  7982 ---------
 m4/ltoptions.m4                                   |   384 -
 m4/ltsugar.m4                                     |   123 -
 m4/ltversion.m4                                   |    23 -
 m4/lt~obsolete.m4                                 |    98 -
 79 files changed, 94 insertions(+), 109763 deletions(-)

diff --cc debian/changelog
index 27f91c3,0000000..f024055
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,40 -1,0 +1,59 @@@
++gap-io (4.3.1+ds-1) unstable; urgency=medium
++
++  * New upstream version.
++  * Debianization:
++    - debian/{copyright,control,repack,gap-io.docs}, refresh;
++    - debian/watch, path refresh to upstream maintainer github repository;
++    - debian/patches/:
++      - upstream-autotools-machinery.patch, remove as allowed by GAP 4r7p5-1;
++      - debianization.patch, refresh and improve;
++    - debian/gap-io.install, install io.so module within debian architecture
++      hierarchy wrt GAP 4r7p5-1 new policy;
++    - debian/gap-io.links, incorporate into debian/rules in order to
++      to create GAP architecture links wrt GAP 4r7p5-1 new policy;
++    - debian/rules, see above;
++    - debian/gap-io.dirs, reintroduce;
++    - debian/{makedoc,check}.g, remove.
++
++ -- Jerome Benoit <calculus at rezozer.net>  Sat, 05 Jul 2014 22:16:35 +0000
++
 +gap-io (4.2+ds1-1) unstable; urgency=low
 +
 +  * New original source ball repackaging.
 +  * Debianization:
 +    - debian/watch, revisit wrt repacked source ball name.
 +    - debian/makedoc.g, revisit;
 +    - debian/clean, add wrt debian/makedoc.g;
 +    - debian/repack, revisit wrt debian/makedoc.g;
 +    - debian/control, refresh;
 +    - debian/gap-io.install:
 +      - provide manual.css and manual.js;
 +      - install io.so module in pkg/bin as now allowed by GAP 4r7p2-1;
-     - debian/gap-io.dir, remove.
++    - debian/gap-io.dirs, remove.
 +
 + -- Jerome Benoit <calculus at rezozer.net>  Sat, 01 Mar 2014 14:25:57 +0000
 +
 +gap-io (4.2+ds-1) unstable; urgency=low
 +
 +  * Initial release (Closes: #734418).
 +  * 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/patches/ patches in DEP-3 format;
 +    - debian/watch file;
 +    - debian/repack, repack script to clean up and gain weight;
 +    - debian/rules:
 +      - autoreconf-iguration;
 +      - full and minal 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;
 +      - remark: the regeneration of the documention provides in fact a
 +        self-test suite substitute.
 +
 + -- Jerome Benoit <calculus at rezozer.net>  Thu, 16 Jan 2014 07:56:22 +0000
diff --cc debian/control
index 2a800a4,0000000..7d12881
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,24 -1,0 +1,24 @@@
 +Source: gap-io
 +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), autotools-dev, libtool, dh-autoreconf, autoconf-archive,
-  gap (>=4r7), gap-dev (>=4r7), gap-gapdoc, libgmp-dev,
++ gap (>=4r7p5), gap-dev (>=4r7p5), gap-gapdoc, libgmp-dev,
 + texlive-latex-extra, texlive-fonts-recommended
 +Standards-Version: 3.9.5
 +Homepage: http://www.gap-system.org/Packages/io.html
 +Vcs-Git: git://anonscm.debian.org/debian-science/packages/gap-io.git
 +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/gap-io.git
 +
 +Package: gap-io
 +Provides: gap-pkg-io
 +Architecture: any
- Depends: ${misc:Depends}, ${shlibs:Depends}, gap (>=4r7)
++Depends: ${misc:Depends}, ${shlibs:Depends}, gap (>=4r7p5)
 +Description: low level C library IO bindings 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 access UNIX I/O C-library functions.
diff --cc debian/copyright
index ca270c4,0000000..6fd6c41
mode 100644,000000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@@ -1,39 -1,0 +1,38 @@@
 +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
 +Upstream-Name: io package for GAP
- Upstream-Contact: Max Neunhoeffer <neunhoef at mcs.st-and.ac.uk>
++Upstream-Contact: Max Neunhoeffer <m.neunhoeffer at triagens.de>
 +Source: http://www.gap-system.org/Packages/io.html
++X-Source: https://neunhoef.github.io/io/
++X-Source-Downloaded-From: https://github.com/neunhoef/io/releases
++X-Upstream-Vcs: git clone https://github.com/neunhoef/io.git
++X-Upstream-Bugs: https://github.com/neunhoef/io/issues
 +Comment:
-  The upstream source tarball is repacked mainly because the top upstream
-  Makefile is corrupted in such a way that it blocks the Debian build. The
-  autotools chain being reconfigured, the opportunity is taken to drop off
-  the regenarated material ---in particular the documentation--- to gain
-  substantial weight. (A second side effect is that the documentation
-  recomposition is use as self-test suite substitute since the package
-  is needed to build the documentation.)
++ The upstream source tarball is repacked to drop off the regenarated
++ material, mainly the documentation, to gain substantial weight.
 +
 +Files: *
 +Copyright:
-  2006-2012 Max Neunhoeffer <neunhoef at mcs.st-and.ac.uk>
++ 2006-2014 Max Neunhoeffer <m.neunhoeffer at triagens.de>
 +License: GPL-3+
 +
 +Files: debian/*
 +Copyright:
 + 2014 Jerome Benoit <calculus at rezozer.net>
 +License: GPL-3+
 +
 +License: GPL-3+
 + 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 3 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 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --cc debian/gap-io.dirs
index 0000000,0000000..69574e1
new file mode 100644
--- /dev/null
+++ b/debian/gap-io.dirs
@@@ -1,0 -1,0 +1,1 @@@
++usr/lib/gap/pkg/io/bin
diff --cc debian/gap-io.docs
index 75a1a8e,0000000..724e084
mode 100644,000000..100644
--- a/debian/gap-io.docs
+++ b/debian/gap-io.docs
@@@ -1,3 -1,0 +1,2 @@@
- HISTORY
 +README
 +TODO
diff --cc debian/gap-io.install
index 743ae3b,0000000..218a1db
mode 100644,000000..100644
--- a/debian/gap-io.install
+++ b/debian/gap-io.install
@@@ -1,7 -1,0 +1,7 @@@
- usr/lib/gap/pkg/io/bin/io.so
++usr/lib/*/gap/pkg/io/bin/io.so
 +PackageInfo.g init.g makedoc.g read.g VERSION usr/share/gap/pkg/io
 +gap/* usr/share/gap/pkg/io/gap
 +tst/* usr/share/gap/pkg/io/tst
 +doc/*.txt doc/*.html doc/manual.six doc/manual.pdf usr/share/gap/pkg/io/doc
 +doc/manual.css doc/manual.js usr/share/gap/pkg/io/doc
 +example/* usr/share/gap/pkg/io/example
diff --cc debian/patches/debianization.patch
index be008b2,0000000..aa455fd
mode 100644,000000..100644
--- a/debian/patches/debianization.patch
+++ b/debian/patches/debianization.patch
@@@ -1,81 -1,0 +1,49 @@@
 +Description: debianization
- 	Meant to maintain a minimal debian/rules, to fix warnings,
- 	to address Debian specific stuff in general.
++ Meant to maintain a minimal debian/rules, to fix warnings,
++ to address Debian specific stuff in general.
 +Author: Jerome Benoit <calculus at rezozer.net>
- Last-Update: 2014-02-27
++Last-Update: 2014-07-05
 +
 +--- a/Makefile.am
 ++++ b/Makefile.am
- @@ -2,7 +2,7 @@
++@@ -1,32 +1,21 @@
++ ACLOCAL_AMFLAGS = -I m4
 + 
-  SUBDIRS =
-  
- -GAP=$(GAPROOT)/bin/gap.sh
++-BINARCHDIR = bin/$(GAPARCH)
++-GAPINSTALLLIB = $(abs_top_srcdir)/$(BINARCHDIR)/io.so
 ++GAP=/usr/bin/gap
 + 
-  BINARCHDIR = bin/$(GAPARCH)
-  GAPINSTALLLIB = $(abs_top_srcdir)/$(BINARCHDIR)/io.so
- @@ -12,11 +12,11 @@
++-lib_LTLIBRARIES = io.la
+++gapiolibdir=$(libdir)/gap/pkg/io/bin
+++
+++gapiolib_LTLIBRARIES = io.la
++ 
 + io_la_SOURCES = src/io.c
 + io_la_CPPFLAGS = $(GAP_CPPFLAGS) -DCONFIG_H
-  # Note that the latter is only for GAP 4.4.12
++-# Note that the latter is only for GAP 4.4.12
 +-io_la_LDFLAGS = -module -avoid-version
++-if SYS_IS_CYGWIN
++-io_la_LDFLAGS += -no-undefined -version-info 0:0:0 -Wl,$(GAPROOT)/bin/$(GAPARCH)/gap.dll
++-endif
++-
++-all-local: io.la
++-	$(mkdir_p) $(top_srcdir)/$(BINARCHDIR)
++-if SYS_IS_CYGWIN
++-	cp .libs/io.dll $(GAPINSTALLLIB)
++-else
++-	cp .libs/io.so $(GAPINSTALLLIB)
++-endif
++-	@echo "SUCCESS!"
 ++io_la_LDFLAGS = -module -avoid-version -Wl,--version-script,debian/io.map
-  if SYS_IS_CYGWIN
-  io_la_LDFLAGS += -no-undefined -version-info 0:0:0 -Wl,$(GAPROOT)/bin/$(GAPARCH)/gap.dll
-  endif
- -libdir = @GAPROOT@/pkg/io/bin/@GAPARCH@
- +libdir = @GAPROOT@/pkg/io/bin
-  
-  all-local: doc
-  
- @@ -30,13 +30,14 @@
-  ##	@echo "SUCCESS!"
+++
+++all-local: doc
 + 
 + distclean-local:
 +-	rm -rf bin/*
- +	rm -rf bin
 + 	(cd doc ; ./clean)
 + 
-  doc: doc/manual.six
-  
-  doc/manual.six: doc/main.xml doc/io.xml VERSION
- -	$(GAP) makedoc.g
- +	$(MKDIR_P) bin && cd bin && $(LN_S) ../.libs @GAPARCH@
- +	cat debian/makedoc.g | $(GAP) -A
-  
-  archive: doc
-  	(cd .. ; tar czvf io-`cat io/VERSION`.tar.gz --exclude ".svn" --exclude bin --exclude test --exclude ".git" --exclude ".libs" --exclude lib --exclude io.la --exclude io_la-io.lo --exclude .deps --exclude autom4te.cache --exclude .gitignore --exclude config.log --exclude stamp-h1 --exclude pkgconfig.h --exclude libtool --exclude config.status io)
- --- a/configure.ac
- +++ b/configure.ac
- @@ -7,9 +7,7 @@
-  AC_CONFIG_AUX_DIR([cnf])
-  AM_INIT_AUTOMAKE([foreign])
-  AM_MAINTAINER_MODE
- -LT_INIT([disable-static dlopen win32-dll])
- -
- -AC_PREFIX_DEFAULT([${PWD}])
- +LT_INIT
-  
-  AC_PROG_CC
++ doc:	doc/manual.six
 + 
- --- a/m4/ac_find_gap.m4
- +++ b/m4/ac_find_gap.m4
- @@ -99,7 +99,7 @@
-      echo "********************************************************************"
-      echo ""
-      
- -    AC_MSG_ERROR([Unable to find plausible GAParch information.])
- +    AC_MSG_WARN([SKIP: Unable to find plausible GAParch information.])
-    fi  
-    
-    
- @@ -117,6 +117,8 @@
-    AC_MSG_CHECKING([for GAP config.h])
-    if test -r $GAPROOT/src/$GAPARCH/config.h; then
-      AC_MSG_RESULT([$GAPROOT/src/$GAPARCH/config.h])
- +  elif test -r $GAPROOT/src/config.h; then
- +    AC_MSG_RESULT([$GAPROOT/src/config.h])
-    else
-      AC_MSG_RESULT([Not found])
-      bad=1
++ doc/manual.six: doc/*.xml PackageInfo.g
++-	($(GAPROOT)/bin/gap.sh -A makedoc.g)
+++	cat makedoc.g | $(GAP) -A -q -T
diff --cc debian/patches/series
index 459529d,0000000..bda6985
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,2 -1,0 +1,1 @@@
- upstream-autotools-machinery.patch
 +debianization.patch
diff --cc debian/repack
index ade1c20,0000000..ca856de
mode 100755,000000..100755
--- a/debian/repack
+++ b/debian/repack
@@@ -1,120 -1,0 +1,132 @@@
 +#!/bin/bash
 +
 +PACKAGE_NAME=gap-io
 +
 +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_SUFFIX="+ds1"
++DEBIAN_SUFFIX="+ds"
++##DEBIAN_SUFFIX="+ds1"
 +####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
++rm --verbose --force -- .mailmap
++rm --verbose --force -- configure_like_gap
 +####rm --verbose --force -- makefile.basic
 +## mimic autoreconf clean up
 +rm --verbose --force -- m4/lt~obsolete.m4
 +rm --verbose --force -- m4/ltsugar.m4
 +rm --verbose --force -- m4/ltoptions.m4
 +rm --verbose --force -- m4/ltversion.m4
 +rm --verbose --force -- m4/libtool.m4
 +rm --verbose --force -- cnf/ltmain.sh
 +rm --verbose --force -- cnf/pkgconfig.h.in
++rm --verbose --force -- cnf/compile
++rm --verbose --force -- cnf/ar-lib
 +rm --verbose --force -- cnf/missing
 +rm --verbose --force -- cnf/depcomp
 +rm --verbose --force -- cnf/install-sh
 +rm --verbose --force -- cnf/config.guess
 +rm --verbose --force -- cnf/config.sub
++rm --verbose --recursive --force -- autom4te.cache
 +rm --verbose --force -- aclocal.m4
 +rm --verbose --force -- configure
- rm --verbose --force -- Makefile
 +rm --verbose --force -- Makefile.in
++####rm --verbose --force -- Makefile
 +## mimic make clean up
 +rm --verbose --force -- doc/chap*.txt
 +rm --verbose --force -- doc/chap*.html
- rm --verbose --force -- doc/io.{tex,aux,toc,log,bbl,blg,ind,idx,ilg}
- rm --verbose --force -- doc/io.pnr
++rm --verbose --force -- doc/chooser.html
++####rm --verbose --force -- doc/io.{tex,aux,toc,log,bbl,blg,ind,idx,ilg}
++####rm --verbose --force -- doc/io.pnr
 +rm --verbose --force -- doc/manual.{pdf,six,lab}
- rm --verbose --force -- doc/manual.css
++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 d1d1651,0000000..59c2308
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,21 -1,0 +1,33 @@@
 +#!/usr/bin/make -f
 +
++GAP = /usr/bin/gap
++
 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 +
++DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
++DEB_BUILD_GAP_INFO_ARCH ?= $(shell echo 'Print(GAPInfo.Architecture);' | $(GAP) -A -q -T)
++
 +default:
 +	@uscan --no-conf --dehs --report || true
 +
 +%:
 +	dh $@ --with autoreconf
 +
 +override_dh_auto_configure:
 +	dh_auto_configure -- --with-gaproot=/usr/lib/gap
 +
 +override_dh_auto_install:
 +	dh_auto_install --destdir debian/tmp/
 +
++override_dh_link:
++	dh_link -p gap-io \
++		/usr/lib/$(DEB_BUILD_GNU_TYPE)/gap/pkg/io/bin /usr/lib/gap/pkg/io/bin/$(DEB_BUILD_GAP_INFO_ARCH) \
++		/usr/lib/gap/pkg/io/bin /usr/share/gap/pkg/io/bin \
++		/usr/share/gap/pkg/io/doc /usr/share/doc/gap-io/doc \
++		/usr/share/gap/pkg/io/example /usr/share/doc/gap-io/example
++
 +override_dh_installchangelogs:
 +	dh_installchangelogs --keep CHANGES
 +
 +get-orig-source:
 +	uscan --no-conf --download-current-version --verbose
diff --cc debian/watch
index d012875,0000000..a08816f
mode 100644,000000..100644
--- a/debian/watch
+++ b/debian/watch
@@@ -1,4 -1,0 +1,4 @@@
 +version=3
 +opts=dversionmangle=s/\+ds[\d]?// \
- http://www-groups.mcs.st-and.ac.uk/~neunhoef/Computer/Software/Gap/io.html io/io-([\d\.]+)\.tar\.gz \
++https://github.com/neunhoef/io/releases .*/io-(\d\S*)\.tar\.bz2 \
 +debian bash debian/repack

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



More information about the debian-science-commits mailing list