[Pkg-octave-commit] r2359 - octave-forge-pkgs/octave-graceplot/trunk/debian
Rafael Laboissiere
rafael at alioth.debian.org
Fri Jul 25 22:43:39 UTC 2008
tags 492033 pending
thanks
Author: rafael
Date: 2008-07-25 22:43:39 +0000 (Fri, 25 Jul 2008)
New Revision: 2359
Added:
octave-forge-pkgs/octave-graceplot/trunk/debian/missing.lst
octave-forge-pkgs/octave-graceplot/trunk/debian/template.m
Modified:
octave-forge-pkgs/octave-graceplot/trunk/debian/changelog
octave-forge-pkgs/octave-graceplot/trunk/debian/rules
Log:
Add missing graphic functions
Modified: octave-forge-pkgs/octave-graceplot/trunk/debian/changelog
===================================================================
--- octave-forge-pkgs/octave-graceplot/trunk/debian/changelog 2008-07-24 20:13:50 UTC (rev 2358)
+++ octave-forge-pkgs/octave-graceplot/trunk/debian/changelog 2008-07-25 22:43:39 UTC (rev 2359)
@@ -1,3 +1,12 @@
+octave-graceplot (1.0.5-2) UNRELEASED; urgency=low
+
+ * Add dummy definitions for each function present in the gnuplot
+ interface that is not provided by graceplot. These functions will
+ issue an error message when called and invite the user to switch back
+ to gnuplot. This kinda closes: #492033.
+
+ -- Rafael Laboissiere <rafael at debian.org> Fri, 25 Jul 2008 23:53:42 +0200
+
octave-graceplot (1.0.5-1) unstable; urgency=low
[ Ólafur Jens Sigurðsson ]
Added: octave-forge-pkgs/octave-graceplot/trunk/debian/missing.lst
===================================================================
--- octave-forge-pkgs/octave-graceplot/trunk/debian/missing.lst (rev 0)
+++ octave-forge-pkgs/octave-graceplot/trunk/debian/missing.lst 2008-07-25 22:43:39 UTC (rev 2359)
@@ -0,0 +1,70 @@
+ancestor
+area
+axes
+barh
+box
+caxis
+close
+closereq
+colorbar
+compass
+contour3
+contourc
+contourf
+contour
+cylinder
+drawnow
+ellipsoid
+feather
+fill
+findobj
+fplot
+gca
+gcf
+grid
+hidden
+hist
+isfigure
+line
+loglogerr
+loglog
+meshc
+meshgrid
+mesh
+meshz
+ndgrid
+newplot
+orient
+pareto
+patch
+pcolor
+peaks
+pie
+plot3
+plotyy
+quiver3
+quiver
+replot
+ribbon
+rose
+scatter3
+scatter
+shading
+shg
+slice
+sombrero
+sphere
+spinmap
+stairs
+stem3
+stem
+surface
+surfc
+surf
+surfnorm
+text
+view
+xlim
+ylim
+zlabel
+zlim
Modified: octave-forge-pkgs/octave-graceplot/trunk/debian/rules
===================================================================
--- octave-forge-pkgs/octave-graceplot/trunk/debian/rules 2008-07-24 20:13:50 UTC (rev 2358)
+++ octave-forge-pkgs/octave-graceplot/trunk/debian/rules 2008-07-25 22:43:39 UTC (rev 2359)
@@ -4,3 +4,11 @@
include /usr/share/cdbs/1/class/octave-pkg.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+INSTDIR = $(shell ls -d \
+debian/octave-graceplot/usr/share/octave/packages/graceplot-*/alternatives)
+
+install/octave-graceplot::
+ for f in $(shell cat debian/missing.lst) ; do \
+ sed s/@FUN@/$$f/ < debian/template.m \
+ > $(INSTDIR)/$$f.m ; \
+ done
Added: octave-forge-pkgs/octave-graceplot/trunk/debian/template.m
===================================================================
--- octave-forge-pkgs/octave-graceplot/trunk/debian/template.m (rev 0)
+++ octave-forge-pkgs/octave-graceplot/trunk/debian/template.m 2008-07-25 22:43:39 UTC (rev 2359)
@@ -0,0 +1,15 @@
+## Copyright (C) 2008 Rafael Laboissiere
+##
+## This file is in the public domain.
+
+## Function @FUN@ does not work with the Grace graphic interface.
+## In order to use this function, please revert to the standard
+## graphic interface by doing 'toggle_grace_use ("off")'.
+
+function @FUN@ ()
+
+ error ("Function @FUN@ does not work with the Grace graphic interface.\n\
+In order to use this function, please revert to the standard\n\
+graphic interface by doing 'toggle_grace_use (\"off\")'.");
+
+endfunction
More information about the Pkg-octave-commit
mailing list