[xmds2] 04/04: Do not use Xvfb to run the lorenz example with Octave

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Wed Apr 9 09:38:44 UTC 2014


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

rlaboiss-guest pushed a commit to branch master
in repository xmds2.

commit 3bd84487bc4b7a561c4eb6444aca3fdea670496b
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Wed Apr 9 00:13:36 2014 +0200

    Do not use Xvfb to run the lorenz example with Octave
    
    Instead, use 'figure("visible","off")'.  This is much simpler than the
    previous approach and allows the removal of xauth and xvfb from the
    list of build-dependencies.
---
 debian/control | 4 +---
 debian/rules   | 9 +++++----
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index 594eb93..5d30b28 100644
--- a/debian/control
+++ b/debian/control
@@ -19,9 +19,7 @@ Build-Depends: debhelper (>= 9),
                python-mpmath,
                python-numpy,
                python-lxml,
-               python-cheetah,
-               xauth,
-               xvfb
+               python-cheetah
 Standards-Version: 3.9.5
 X-Python-Version: >= 2.4, << 3
 Homepage: http://xmds.sourceforge.net/
diff --git a/debian/rules b/debian/rules
index 0ae1845..1430eba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,10 +25,11 @@ override_dh_auto_test:
 	  xmds2 lorenz.xmds ;				\
 	  ./lorenz | grep '^\(Seg\|  Att\|Gen\)' ;	\
 	  xsil2graphics2 -m lorenz.xsil ;		\
-	  echo 'source ("lorenz.m"); plot (t_1, xR_1);'	\
-	       'disp ("Octave plot succeeded")'		\
-	    | xvfb-run -s "-screen 0 800x600x24"	\
-                       octave -qf )
+	  echo 'source ("lorenz.m");			\
+		figure ("visible", "off");		\
+		plot (t_1, xR_1);			\
+		disp ("Octave plot succeeded")'		\
+		| octave -qf )
 
 override_dh_auto_clean:
 	dh_clean

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



More information about the debian-science-commits mailing list