[Pkg-octave-devel] octave-epstk 2.2

Stefan Müller stefan.mueller at fgan.de
Wed May 23 14:47:44 UTC 2007


Rafael Laboissiere wrote:
> 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,
>
>   
> ------------------------------------------------------------------------
>
> --- 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
> +  elset
>      source(eConfigFile); 
>    end
>  end
>   
Hallo Rafael,

thank you for your work !
Your patch is fine. (thats was a quick and dirty part of me)

I'm glad to get the new package.

Stefan





More information about the Pkg-octave-devel mailing list