Bug 54427 - README.win32 <-> code missync
README.win32 <-> code missync
Status: RESOLVED FIXED
Product: pkg-config
Classification: Unclassified
Component: src
unspecified
Other All
: medium normal
Assigned To: Tollef Fog Heen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-03 09:58 UTC by Michał Górny
Modified: 2012-12-09 04:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny 2012-09-03 09:58:00 UTC

    
Comment 1 Michał Górny 2012-09-03 09:59:56 UTC
Oops, sorry, hit the wrong key.

Here are the details:

> pkg-config uses some optional entries in the Registry: Firstly, the
> path to the pkgconfig installation prefix. This can be either
> user-specific in HKCU\Software\pkgconfig\InstallationDirectory or for
> the whole machine in HKLM\Software\pkgconfig\InstallationDirectory.

I don't see any trace of it in the code. I guess it is fully glib-magic now.

> Additionally, in addition to the PKG_CONFIG_PATH environment
> variables, any string value in the Registry key
> HKLM\Software\pkgconfig\PKG_CONFIG_PATH (or HKCU\...) is assumed to be
> a directory name and is searched for .pc files.

No trace of that either.

Is the doc outdated or am I missing something? Is there a patched version of pkg-config for win32 with the registry access code?
Comment 2 Dan Nicholson 2012-12-09 04:02:30 UTC
The registry entries were removed a few years ago in commit dce0339 as you found.

Fixed in 454dd17. Thanks for the report.