pkg-config2
Sean Middleditch
elanthis at awesomeplay.com
Mon Jan 24 21:42:57 EET 2005
On Mon, 2005-01-24 at 20:22 +0100, Kevin Krammer wrote:
> Maybe not at the installation stage but at the user dependent setup stage.
> A couple of times admins/users/developers asked on KDE's mailing lists and
> respecitve web forums for example how to install a desktop icon on the user's
> desktop.
> A simple script in KDE's global autostart folder can do this using kde-config
> #!/bin/sh
> cp /globalpath/app.desktop $(kde-config --userpath desktop)/
So you have one tool doing two different jobs. Scrap kde-config, and
use pkg-config, for build-time stuff, and keep kde-config for dynamic
user-configured paths like that. No good reason that one tool has to do
two different things.
More information about the xdg
mailing list