[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE4 Patch to allow testing/execution of uninstalled
From:       "Friedrich W. H. Kossebau" <Friedrich.W.H () kossebau ! de>
Date:       2005-08-09 10:22:49
Message-ID: 200508091222.49508.Friedrich.W.H () kossebau ! de
[Download RAW message or body]


Am Dienstag, 9. August 2005 03:17, schrieb David Faure:
> On Monday 08 August 2005 22:52, Hans Meine wrote:
> > Hi!
> >
> > On Monday 08 August 2005 21:41, Friedrich W. H. Kossebau wrote:
> > > > I have a simple patch to KStandardDirs that will allow developers to
> > > > test and run KParts/XMLGUI applications without having to install
> > > > them first.
> > > >
> > > > What I've done is to simply look for a '.krcdirs' file in the same
> > > > directory where the application is currently being executed.  This
> > > > file is a simple INI file like so:
> > > >
> > > > [KStandardDirs]
> > > > module = .libs
> > > > data = .
>
> Very cool.
>
> > > With shell commands you have to explicitly state that you want to use
> > > the executable of the current directory. I think this security approach
> > > should also be taken here (think e.g. of the libs). Better add a
> > > parameter to state the explicit wish for the usage of the local
> > > settings. Adds some little burden, but so does "./", too. (no free
> > > lunch, isn't there ;)
>
> What's "a parameter" in this context? Do you mean something in the file,
> or a command-line argument?

Command-line argument, in analogy to the "./". So the caller is in control, 
and not the writer of the '.krcdirs' file.

Something like "konqueror --rcdirs" (please find a better parameter name). 
Perhaps this could be extended to optionally point also to descriptions not 
in the cwd, but other: "konqueror --rcdirs somedir". But I have no idea if 
optional parameters are able with the current parameter system or whether it 
should better point directly to a (not hidden) file.

Regards
Friedrich

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic