[med-svn] [staden-doc] 03/10: Initial work packaging Staden (gap5)

Andreas Tille tille at debian.org
Thu Dec 28 20:19:20 UTC 2017


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

tille pushed a commit to branch master
in repository staden-doc.

commit 46a16390bb490f8fd98e4295c700e23bf0446f80
Author: Tim Booth <tbooth at ceh.ac.uk>
Date:   Wed Jun 12 16:44:22 2013 +0000

    Initial work packaging Staden (gap5)
---
 debian/changelog                            | 15 +++++++++++++++
 debian/compat                               |  1 +
 debian/control                              | 17 +++++++++++++++++
 debian/copyright                            | 19 +++++++++++++++++++
 debian/doc-base                             |  0
 debian/patches/fix_installing_i_directories | 24 ++++++++++++++++++++++++
 debian/patches/fix_warning_in_make_pdf      | 11 +++++++++++
 debian/patches/series                       |  2 ++
 debian/rules                                | 24 ++++++++++++++++++++++++
 debian/source/format                        |  1 +
 debian/watch                                |  2 ++
 11 files changed, 116 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..32af8fd
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,15 @@
+staden-doc (2.0.0b9-0biolinux2) precise; urgency=low
+
+  * Make clean target actually clean up
+  * Remove rogue file '*.*.png.html'
+  * Fix help menus:
+    * Allow context menu to open copyright page
+    * Avoid compressing .index files
+
+ -- Tim Booth <tbooth at ceh.ac.uk>  Wed, 12 Jun 2013 16:54:05 +0100
+
+staden-doc (2.0.0b9-0biolinux1) precise; urgency=low
+
+  * New package for Bio-Linux
+
+ -- Tim Booth <tbooth at ceh.ac.uk>  Thu, 06 Jun 2013 12:10:19 +0100
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..8de4d86
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: staden-doc
+Section: doc
+Priority: extra
+Maintainer: Tim Booth <tbooth at ceh.ac.uk>
+Build-Depends:
+ debhelper (>= 8), tcl, emacs, imagemagick, m4,
+ texinfo, texlive-base, texlive-latex-base, texlive-generic-recommended, texlive-latex-extra
+Standards-Version: 3.9.3
+Homepage: https://staden.sf.net
+
+Package: staden-doc
+Architecture: all
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: staden-common, staden
+Description: documentation for Staden
+ Documentation for Staden, including manpages for commands and full manual in
+ PDF format.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..37924e9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,19 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Staden
+Upstream-Contact: James Bonfield
+Source: https://sourceforge.net/p/staden/code/HEAD/tree/
+
+Files: *
+Copyright: 2005-2013, James Bonfield
+           2005-2013, Andrew Whitwham
+	   Rodger Staden
+           Kathryn Beal
+           Mark Jordan
+           Yaping Cheng
+           Simon Dear
+           Matthew Betts
+License: Modified BSD
+
+Files: debian/*
+Copyright: 2013, Tim Booth <tbooth at ceh.ac.uk>
+License: Simplified BSD
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..e69de29
diff --git a/debian/patches/fix_installing_i_directories b/debian/patches/fix_installing_i_directories
new file mode 100644
index 0000000..f6f9dcb
--- /dev/null
+++ b/debian/patches/fix_installing_i_directories
@@ -0,0 +1,24 @@
+--- a/Makefile
++++ b/Makefile
+@@ -51,18 +51,15 @@
+ 	cp manual/*.html  $(HTMLDIR)/manual
+ 	cp manual/*.png   $(HTMLDIR)/manual
+ 	cp manual/*.index $(HTMLDIR)/manual
+-	-mkdir            $(HTMLDIR)/manual/i
+-	cp i/*            $(HTMLDIR)/manual/i
++	cp -r i           $(HTMLDIR)/manual
+ 
+ 	-mkdir                      $(HTMLDIR)/scripting_manual
+ 	-cp scripting_manual/*.html $(HTMLDIR)/scripting_manual
+-	-mkdir                      $(HTMLDIR)/scripting_manual/i
+-	cp i/*                      $(HTMLDIR)/scripting_manual/i
++	cp -r i                     $(HTMLDIR)/scripting_manual/i
+ 
+ 	# Other bits and pieces
+ 	cp Acknowledgements *.txt *.pdf $(DOCDIR)
+-	-mkdir -p $(DOCDIR)/i
+-	cp i/*    $(DOCDIR)/i
++	cp -r i/* $(DOCDIR)
+ 
+ 
+ DISTSRC=staden_doc-$(VERSION)-src
diff --git a/debian/patches/fix_warning_in_make_pdf b/debian/patches/fix_warning_in_make_pdf
new file mode 100644
index 0000000..e58dbcc
--- /dev/null
+++ b/debian/patches/fix_warning_in_make_pdf
@@ -0,0 +1,11 @@
+--- a/manual/tools/make_pdf
++++ b/manual/tools/make_pdf
+@@ -109,7 +109,7 @@
+     binmode(FILE,":raw");
+     while (<FILE>) {
+ 	if (/^\/CropBox/) {
+-	    ($a,$b)=/^\/CropBox \[(\d+) \d+ (\d+) \d+\]/;
++	    ($a,$b)=/^\/CropBox \[([0-9.]+) [0-9.]+ ([0-9.]+) [0-9.]+\]/;
+ 	    $width = $b-$a;
+ 	}
+     }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cc1768b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+fix_warning_in_make_pdf
+fix_installing_i_directories
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..57d2fc2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+%:
+	dh $@
+
+override_dh_auto_build:
+	make unix PAPER=a4
+	for x in gap4 pregap4 gap5 trev ; do \
+		echo "{Copyright} $${x}_1.html" >> manual/$${x}.index ; \
+	done
+
+override_dh_auto_install:
+	dh_auto_install
+	rm -f debian/*/usr/share/doc/staden/manual/'*.*.png.html'
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f config.log config.status
+	for ext in index html pdf tp pg ky vr aux cp cps fn fns log pgs toc vr vrs texinfo htmlinfo ; do \
+		find manual scripting_manual -name "*.$$ext" -delete ; \
+	done
+	rm -f overview.html
+
+override_dh_compress:
+	dh_compress -Xmanual
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/watch b/debian/watch
new file mode 100644
index 0000000..a729f9a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/staden/staden_doc-([0-9ab.]*).tar.(?:bz2|gz)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/staden-doc.git



More information about the debian-med-commit mailing list