octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: package manager patch + problem


From: David Bateman
Subject: Re: package manager patch + problem
Date: Mon, 05 Mar 2007 14:22:08 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

John W. Eaton wrote:
> On  2-Mar-2007, David Bateman wrote:
>
> | John W. Eaton wrote:
> | > The autoload function is supposed to link a function name to a
> | > specific file.  The name of the file should not depend on searching
> | > the loadpath.
> | 
> | Then in that case the only thing that makes sense is what you did for
> | the autoloads in octave itself as the call to mfilename() will return
> | the name of the PKG_ADD file in which the function we want to link to is
> | located. There really is no other choice.
>
> OK, then I think autoload should probably produce a warning if the
> second argument is not absolute file name.
>
> jwe
>
>   
Michael,

I've updated the octave-forge PKG_ADD files to use the same technique as
octave to file the file to load. As Paul says its a bit ugly, but at
least it will always find the function in the same directory as the
PKG_ADD file, rather than be dependent on the users path.. Perhaps we
should make a helper function to hide some of this mess..

Can you check and see if this helps with your pkg uninstall issue?

Regards
David

-- 
David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

[Prev in Thread] Current Thread [Next in Thread]