[tth] 01/06: Imported Debian pre-patch 4.10+ds-0
This is an automated email from the git hooks/post-receive script.
calculus-guest pushed a commit to branch master
in repository tth.
commit 8e7382db9213c4b6051d2e761903ce3ff6dd0eed
Author: Jerome Benoit <calculus@rezozer.net>
Date: Wed Sep 13 19:05:52 2017 +0400
Imported Debian pre-patch 4.10+ds-0
---
debian/changelog | 17 +++++++
debian/compat | 2 +-
debian/control | 4 +-
debian/copyright | 63 ++++++++++++++++++++++++-
debian/repack | 140 -------------------------------------------------------
debian/watch | 7 ++-
6 files changed, 84 insertions(+), 149 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b9f9c89..4109e3e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,20 @@
+tth (4.10+ds-0) unstable; urgency=medium
+
+ * New upstream release.
+ * Debianization:
+ - debian/copyright:
+ - Files-Excluded field, introduce;
+ - copyright year tuples, refresh;
+ - debian/control:
+ - debhelper, bump to 10;
+ - Standards Version, bump to 4.1.0;
+ - debian/watch:
+ - version, bump to 4;
+ - ad hoc repack, discard;
+ - debian/repack, discard.
+
+ -- Jerome Benoit <calculus@rezozer.net> Wed, 13 Sep 2017 15:04:39 +0000
+
tth (4.08+ds-2) unstable; urgency=medium
[ Helmut Grohne ]
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index 569f363..3dec08a 100644
--- a/debian/control
+++ b/debian/control
@@ -4,9 +4,9 @@ Priority: optional
Maintainer: Debian Tex Maintainers <debian-tex-maint@lists.debian.org>
Uploaders: Jerome Benoit <calculus@rezozer.net>
Build-Depends:
- debhelper (>= 9), flex,
+ debhelper (>= 10), flex,
texlive-latex-recommended, texlive-fonts-recommended, texlive-latex-extra
-Standards-Version: 3.9.8
+Standards-Version: 4.1.0
Homepage: http://hutchinson.belmont.ma.us/tth
Vcs-Git: https://anonscm.debian.org/git/debian-tex/tth.git
Vcs-Browser: https://anonscm.debian.org/cgit/debian-tex/tth.git
diff --git a/debian/copyright b/debian/copyright
index 4b31c6c..c05e394 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -5,14 +5,73 @@ Source: http://sourceforge.net/projects/tth
Comment:
The upstream source tarball is repacked to reduce drastically its weight
by cleaning up and by wiping out material not meant for UN*X source.
+Files-Excluded:
+ tth*.tar.gz.asc
+ tthfunc
+ tthgif
+ TtMdir
+ ttmC
+ tth-gui
+ *.bat
+ *.lnk
+ *.tlg
+ *.log
+ *.ilg
+ *.idx
+ *.toc
+ *.aux
+ *.dvi
+ *.bak
+ *.res
+ *.exe
+ *~
+ manual/split/*.html
+ manual/ttm_manual.tex
+ manual/mozilla.tex
+ ttmL/ttm.gif
+ ttmL/ttm_icon.gif
+ ttmL/ttm_mini.gif
+ ttmL/ttm
+ ttmL/ps2gif
+ ttmL/ps2png
+ ttmL/latex2gif
+ ttmL/ttm_manual.html
+ ttmL/ttm.kdelnk
+ ttmL/uninstall
+ ttmL/ttminstall
+ tthgold/golddesc
+ tthgold/tthsplit.c
+ tthgold/tthsplit
+ tthgold/tthrfcat
+ tthgold/latex2gif
+ tthgold/tth
+ tthgold/tth.c
+ tthgold/tth.1
+ tthgold/tth.gif
+ tthgold/tth_icon.bmp
+ tthgold/tthntbib.sty
+ tthgold/tth_man.html
+ tthgold/gold_man.html
+ tthgold/tth_man.tex
+ tools/ps2gif_transparent
+ tools/structure
+ tools/numbering
+ tools/choice.c
+ latex2gif
+ ps2gif
+ transfer
+ tth16.png
+ tth32.png
+ tth_screen.gif
+ tars
Files: *
-Copyright: 1997-2015 Ian Hutchinson <ihutch@mit.edu>
+Copyright: 1997-2017 Ian Hutchinson <ihutch@mit.edu>
License: GPL-2+
Files: debian/*
Copyright:
- 2012-2015 Jerome Benoit <calculus@rezozer.net>
+ 2012-2017 Jerome Benoit <calculus@rezozer.net>
2001-2011 Ian Maclaine-cross <iml@debian.org>
License: GPL-2+
Comment:
diff --git a/debian/repack b/debian/repack
deleted file mode 100755
index 21e9e43..0000000
--- a/debian/repack
+++ /dev/null
@@ -1,140 +0,0 @@
-#!/bin/sh
-
-PACKAGE_NAME=tth
-
-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_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"
-
-rm --verbose --force tth4.05.tar.gz.asc
-
-rm --verbose --force --recursive tthfunc tthgif TtMdir ttmC tth-gui
-
-find . \( \
- -name '*.bat' -o \
- -name '*.lnk' -o \
- -name '*.tlg' -o \
- -name '*.log' -o \
- -name '*.ilg' -o \
- -name '*.idx' -o \
- -name '*.toc' -o \
- -name '*.aux' -o \
- -name '*.dvi' -o \
- -name '*.bak' -o \
- -name '*.res' -o \
- -name '*.exe' -o \
- -name '*~' \
- \) \
- -print -delete
-
-find . \( \
- -wholename './manual/split/*.html' \
- \) \
- -print -delete
-
-rm --verbose --force manual/ttm_manual.tex
-rm --verbose --force manual/mozilla.tex
-
-rm --verbose --force ttmL/ttm.gif ttmL/ttm_icon.gif ttmL/ttm_mini.gif
-rm --verbose --force ttmL/ttm ttmL/ps2gif ttmL/ps2png ttmL/latex2gif
-rm --verbose --force ttmL/ttm_manual.html
-rm --verbose --force ttmL/ttm.kdelnk
-rm --verbose --force ttmL/uninstall ttmL/ttminstall
-
-rm --verbose --force --recursive tthgold/golddesc
-rm --verbose --force tthgold/tthsplit.c
-rm --verbose --force tthgold/tthsplit tthgold/tthrfcat
-rm --verbose --force tthgold/latex2gif
-rm --verbose --force tthgold/tth tthgold/tth.c tthgold/tth.1
-rm --verbose --force tthgold/tth.gif tthgold/tth_icon.bmp
-rm --verbose --force tthgold/tthntbib.sty
-rm --verbose --force tthgold/tth_man.html tthgold/gold_man.html
-rm --verbose --force tthgold/tth_man.tex
-
-rm --verbose --force tools/ps2gif_transparent
-rm --verbose --force tools/structure tools/numbering
-rm --verbose --force tools/choice.c
-
-rm --verbose --force latex2gif ps2gif transfer
-rm --verbose --force tth16.png tth32.png tth_screen.gif
-
-rmdir --verbose --ignore-fail-on-non-empty tars
-
-cd ${REPACK_WORKING_FOLDER}
-set +f
-## end
-mv "${UPSTREAM_ROOTFOLDER}" "${DEBIAN_ROOTFOLDER}"
-
-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 --git a/debian/watch b/debian/watch
index ead69ee..30d1b7e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
-version=3
-opts=uversionmangle=s/_/\./,dversionmangle=s/\+ds//,pgpsigurlmangle=s/$/.asc/ \
-http://sf.net/tth/tth(.*)\.tar\.gz \
-debian sh debian/repack
+version=4
+opts=repack,repacksuffix=+ds,compression=xz,uversionmangle=s/_/\./,dversionmangle=s/\+ds//,pgpsigurlmangle=s/$/.asc/ \
+http://sf.net/tth/tth(.*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/tth.git
Reply to: