[saods9] 02/02: Start ds9 on auto_test to check it is built correctly, and all libraries are in place
Ole Streicher
olebole at moszumanska.debian.org
Thu Apr 16 15:40:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch debian
in repository saods9.
commit 3877f15478fd89523dc66b8e755e08509eee57da
Author: Ole Streicher <olebole at debian.org>
Date: Thu Apr 16 17:39:36 2015 +0200
Start ds9 on auto_test to check it is built correctly, and all libraries are in place
---
debian/changelog | 1 +
debian/control | 8 ++++++++
debian/rules | 6 ++++++
debian/saods9-data.install | 1 -
4 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index d48e6bc..0eb2016 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
saods9 (7.3.2+repack-2) UNRELEASED; urgency=low
* Create upstream/metadata with bibliographic information
+ * Add simple test (ds9 -quit)
-- Ole Streicher <olebole at debian.org> Sun, 29 Mar 2015 15:17:32 +0200
diff --git a/debian/control b/debian/control
index 2cee1ea..1bc7cb8 100644
--- a/debian/control
+++ b/debian/control
@@ -17,8 +17,16 @@ Build-Depends: autotools-dev,
libxrandr-dev,
libxt-dev,
perl,
+ tcl-signal,
+ tcl-xpa,
tcl8.6-dev,
+ tcllib,
+ tclxml,
+ tk-table (>= 2.9),
tk8.6-dev,
+ tkcon,
+ xauth,
+ xvfb,
zlib1g-dev
Standards-Version: 3.9.6
Homepage: http://ds9.si.edu/
diff --git a/debian/rules b/debian/rules
index ce75eb1..06a41c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,9 +21,15 @@ override_dh_autoreconf:
override_dh_auto_build: make.include
dh_auto_build -- $(BUILDPARTS)
+ cp xmlrpc-0.3/xmlrpc.tcl ds9/zipdir/zvfsmntpt/src
chmod ugo-x ds9/zipdir/zvfsmntpt/src/*.tcl
perl -w debian/generate-man > ds9/ds9.1
+override_dh_auto_test:
+ DS9_HOME=ds9/zipdir/zvfsmntpt \
+ xvfb-run --server-args="-screen 0 1024x768x24" \
+ ./bin/ds9 -quit
+
override_dh_installchangelogs:
dh_installchangelogs doc/release/r7.0.html
diff --git a/debian/saods9-data.install b/debian/saods9-data.install
index 8fc26cd..232b4ee 100644
--- a/debian/saods9-data.install
+++ b/debian/saods9-data.install
@@ -3,4 +3,3 @@ ds9/zipdir/zvfsmntpt/doc/sun.gif /usr/share/saods9
ds9/zipdir/zvfsmntpt/msgs /usr/share/saods9/
ds9/zipdir/zvfsmntpt/src /usr/share/saods9/
ds9/zipdir/zvfsmntpt/template /usr/share/saods9/
-xmlrpc-0.3/xmlrpc.tcl /usr/share/saods9/src
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/saods9.git
More information about the debian-science-commits
mailing list