[SCM] Packaging for luasseq branch, master, updated. upstream/2.1-2-g4a10cbf
Rupert Swarbrick
rswarbrick at gmail.com
Wed Jan 18 13:16:51 UTC 2012
The following commit has been merged in the master branch:
commit d2a8b07017ed34223797d0f816b940681971c700
Author: Rupert Swarbrick <rswarbrick at gmail.com>
Date: Wed Jan 18 13:11:23 2012 +0000
Initial packaging efforts (version uploaded to mentors.debian.net)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..37f6c13
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,25 @@
+luasseq (2.1-3) unstable; urgency=low
+
+ * Added texlive-latex-recommended to build-depends, since it's required
+ by luasseq.dtx for xkeyval.sty. Also put version 1.01 for pgf
+ since that agrees with the dating on the relevant \RequirePackage,
+ but since that came out in 2006, I don't expect it to make much
+ difference!
+
+ * Also added texlive-fonts-recommended: I can't work out what exactly
+ requires it, but we seem to need pzdr.tfm to build. With these, pbuilder
+ actually works!
+
+ -- Rupert Swarbrick <rswarbrick at gmail.com> Wed, 04 Jan 2012 02:01:38 +0000
+
+luasseq (2.1-2) unstable; urgency=low
+
+ * Fixed build-depends to require pgf and luatex.
+
+ -- Rupert Swarbrick <rswarbrick at gmail.com> Wed, 04 Jan 2012 01:28:57 +0000
+
+luasseq (2.1-1) unstable; urgency=low
+
+ * Initial version. (Closes: #654532)
+
+ -- Rupert Swarbrick <rswarbrick at gmail.com> Tue, 03 Jan 2012 18:13:14 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ee86add
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: luasseq
+Section: tex
+Priority: optional
+Maintainer: Rupert Swarbrick <rswarbrick at gmail.com>
+Build-Depends: debhelper (>= 8.0.0)
+Build-Depends-Indep: tex-common, texlive-latex-base, luatex (>=0.63),
+ pgf(>= 1.01), texlive-latex-recommended, texlive-fonts-recommended,
+Standards-Version: 3.9.2
+Homepage: http://www.few.vu.nl/~tilman/tex.html
+
+Package: luasseq
+Architecture: all
+Depends: texlive-latex-base, luatex (>=0.63), pgf(>= 1.01),
+ texlive-latex-recommended, texlive-fonts-recommended,
+ ${misc:Depends}
+Description: LuaLaTeX package for drawing spectral sequences.
+ luasseq is the LuaTeX version of sseq, a package for drawing spectral
+ sequences in LaTeX. It has some extra features and should run faster
+ than the author's original version (which doesn't require LuaTeX).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..22092f0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: luasseq
+Upstream-Contact: Tilman Bauer
+Source: <http://www.few.vu.nl/~tilman/tex.html>
+
+Files: *
+Copyright: 2003-2007 Tilman Bauer
+License: LPPL
+ This work may be distributed and/or modified under the
+ conditions of the LaTeX Project Public License, either version 1.3
+ of this license or (at your option) any later version.
+ The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+ and version 1.3 or later is part of all distributions of LaTeX
+ version 2005/12/01 or later.
+
+Files: debian/*
+Copyright: 2012 Rupert Swarbrick <rswarbrick at gmail.com>
+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 program. 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/dirs b/debian/dirs
new file mode 100644
index 0000000..fe3bd26
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+usr/share/texmf/tex/latex/luasseq
+usr/share/doc/texmf/luasseq
diff --git a/debian/luasseq.doc-base b/debian/luasseq.doc-base
new file mode 100644
index 0000000..8e0ee3d
--- /dev/null
+++ b/debian/luasseq.doc-base
@@ -0,0 +1,10 @@
+Document: luasseq
+Title: Extending LATEX s color facilities: the xcolor package
+Author: Tilman Bauer
+Abstract: This manual describes what luasseq is
+ and how it can be used to generate spectral sequence
+ diagrams in LuaLaTeX.
+Section: Text
+
+Format: pdf
+Files: /usr/share/doc/texmf/luasseq/luasseq.pdf.gz
diff --git a/debian/patches/fix-newlua.patch b/debian/patches/fix-newlua.patch
new file mode 100644
index 0000000..a2b4363
--- /dev/null
+++ b/debian/patches/fix-newlua.patch
@@ -0,0 +1,25 @@
+Fixes package on new lualatex versions (see
+http://tex.stackexchange.com/questions/24093/luatex-nil-value-errors). The
+.wd,.ht,.dp code got removed from luatex in their SVN at revision
+r3825 (August 2010).
+
+--- a/luasseq.lua
++++ b/luasseq.lua
+@@ -374,9 +374,9 @@
+
+ function sseq_register_size()
+ local currobj = sseqobject[sseqcurrentindex[1]][sseqcurrentindex[2]][sseqcurrentindex[3]]
+- currobj.wd = tex.wd[sseqboxno]
+- currobj.ht = (tex.ht[sseqboxno]+tex.dp[sseqboxno])
+- currobj.dp = tex.dp[sseqboxno]
++ currobj.wd = tex.box[sseqboxno].width
++ currobj.ht = (tex.box[sseqboxno].height+tex.box[sseqboxno].depth)
++ currobj.dp = tex.box[sseqboxno].depth
+ currobj.radius = 0.5*math.sqrt(currobj.wd*currobj.wd+currobj.ht*currobj.ht)
+ end
+
+@@ -827,4 +827,3 @@
+ end
+ tex.print("\\makeatother")
+ end
+-
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..356d936
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-newlua.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..42e30af
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,61 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Based on the rules file for latex-xcolor
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PACKAGE = luasseq
+
+DOCDIR = $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/texmf
+TEXMF = $(CURDIR)/debian/$(PACKAGE)/usr/share/texmf
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+ lualatex luasseq.ins
+ lualatex luasseq.dtx
+ touch build-stamp
+
+build-arch: configure
+build-indep: build
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ rm -f *.{idx,log,aux,glo,sty,pdf}
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ install -m 644 luasseq.sty $(TEXMF)/tex/latex/luasseq
+ install -m 644 luasseq.lua $(TEXMF)/tex/latex/luasseq
+ install -m 644 luasseq.pdf $(DOCDIR)/luasseq
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installtex
+ dh_installdocs
+ dh_installdeb
+ dh_compress
+ dh_fixperms
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: build install
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build-arch build-indep
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)
--
Packaging for luasseq
More information about the debian-science-commits
mailing list