tutorial/docs #77
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
I understand that
pkgconf
if a replacement for some good and old unix tool, but is it possible to host some straight-to-the point tutorial that describes the problem domain for those with no prior experience?Would be nice but right now I don't have time to write documentation. If someone else does it, I will merge it.
In meantime, you could read legacy
pkg-config
's tutorial: http://people.freedesktop.org/~dbn/pkg-config-guide.htmlFrom that page -
pkg-config collects metadata about the installed libraries on the system
. Is it obligatory to install the libraries? I justwant to point to the location of dependencies in downloadable .zip file, so
that after unpacking I can add its directories to appropriate INCLUDE and
LIB paths.
Yes,
pkg-config
is not a package manager in any way. Nor ispkgconf
, but a package manager as you describe could be built around it (although this seems like a bad idea)On Fri, Jun 26, 2015 at 10:17 AM, William Pitcock notifications@github.com
wrote:
Why it is a bad idea? I need the libraries only for the build process, and
see how much magic is required to set all those paths correctly for the
build -
48cd31a64c/05.wesnoth.py
?at=default#cl-419Just to clarify - I don't need package manager. I need a format to describe
the paths to different libraries in the archive.
As mentioned previously, that's not what
pkg-config
norpkgconf
do. It's a toolchain tool, what you would probably want to do is have virtual entries in your package database based on .pc files provided. That is what redhat, alpine, etc do. Don't know why Debian hasn't joined that party yet.Is pkgconf data format suitable for that purpose? I'd like to avoid writing the stuff from scratch if possible.
you don't even need the data, you just index by what package has what .pc file, and then that allows you to build an index of providers.