[Pkg-octave-devel] octave-epstk 2.2
Rafael Laboissiere
rafael at debian.org
Wed May 23 10:48:08 UTC 2007
Hallo Stefan,
The octave-epstk package version 2.2-1 is already uploaded to the Debian
unstable distribution and should soon appear in [1].
The package seems to work fine with both octave 2.1.73 and 2.9.10. However,
I still have to apply the patch attached below in order to have the correct
loading of /etc/epstk.conf. The first part of the patch just includes
eConfigFile into eglobpar.m. This is necessary in order to have the demos
running correctly at package build time.
The second part fixes the code in einit.m for sourcing eConfigFile. I think
that the test "exist('eConfigFile')~=2" should actually read
"exist('eConfigFile')~=1" and should not be done twice.
[1] http://packages.debian.org/octave-epstk
Cheers,
--
Rafael
-------------- next part --------------
--- octave-epstk-2.1.orig/m/eglobpar.m 2006-08-16 15:10:23.662736944 +0200
+++ octave-epstk-2.1/m/eglobpar.m 2006-08-16 15:11:11.049533056 +0200
@@ -1,4 +1,5 @@
global ...
+eConfigFile...
ePath...
ePsdPath...
eDocUrl...
diff -Nur epstk22/m/einit.m epstk22.new/m/einit.m
--- epstk22/m/einit.m 2007-05-21 11:48:37.000000000 +0200
+++ epstk22.new/m/einit.m 2007-05-23 12:12:59.000000000 +0200
@@ -345,10 +345,9 @@
% read config-file on octave/linux systems
if exist('matlabpath')~=5
- if exist('eConfigFile')~=2
+ if exist('eConfigFile')~=1
eConfigFile='/etc/epstk.conf';
- end
- if exist('eConfigFile')~=2
+ else
source(eConfigFile);
end
end
More information about the Pkg-octave-devel
mailing list