KStandardDirs and Autopackage

Leo Savernik l.savernik at aon.at
Sun Apr 18 19:13:38 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Mittwoch 14 April 2004 15:58 schrieb Arend van Beelen jr.:
[...]
> > How do you make sure that the KDE runtime environment knows about this
> > applications, its icons, its mimetypes, etc.. ?
>
> It doesn't. The most important point is that the application can run on its
> own no matter where it's installed. Of course, the installation script
> should then make sure the .desktop files and icons are registered with KDE,
> probably by making symlinks.

One question that pops up in my mind:

If I have a standalone, autopackage-enabled KDE app under
/opt/my-kde-app

and then make a symlink like

ln -s /opt/my-kde-app/bin/my-kde-app /usr/X11/bin/my-kde-app

to be able to start it from the command line, which prefix would be returned 
then by br's PREFIX? The symlinked one /usr/X11, or the canonical 
one /opt/my-kde-app.

If the symlinked one is returned, binreloc would be unsuitable for starting 
stand-alone apps over symlinks, as they cannot determine their correct prefix 
any more.
>
[...]

mfg
	Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFAgsVSj5jssenUYTsRAv7PAJ9nvDabYJZ5J64shBW1XfUIi1lLxgCfeoNg
rUr1p3k0O9iQ+tW/OBZLqJE=
=jMsv
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list