[Pm-utils] [PATCH] pkg-config file to support 3rd party programs
victor.lowther at gmail.com
Wed Feb 6 20:43:07 PST 2008
On Wed, Feb 06, 2008 at 10:32:35AM -0800, Dan Nicholson wrote:
> A pkg-config file has been added to allow 3rd party programs to find out
> about the user's pm-utils installation. This means they can make an
> informed decision about where to install a sleep hook, for instance.
> I think this is especially important since Victor's patch to make the
> directories build-time configurable. With this patch, other packages
> (e.g., NetworkManager and PackageKit) can figure out where to install
> hooks intelligently.
> $ sleepdir="$(pkg-config --variable=pm_sysconfdir pm-utils)/sleep.d"
Looks interesting, applies cleanly, but I have no idea about how to
judge how effective it is (from a "patch another package and build it"
perspective, that is).
I would include it anyways -- part of making pm-utils play nicely with
everything else has to include making sure everyone else can
programmaticly play nice with us, and pkg-config intergration would
really help out in that area.
More information about the Pm-utils