sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
Re: [SM-Discuss] New (helpful?) pkg-config feature
- From: Alexander Tsamutali <astsmtl AT gmail.com>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] New (helpful?) pkg-config feature
- Date: Tue, 6 Nov 2007 11:20:47 +0500
В Tue, 6 Nov 2007 00:37:17 +0200
Juuso Alasuutari <iuso AT sourcemage.org> пишет:
> I thought I'd advertise my latest creation here because it has
> potential for making a mage's life easier.
>
> I've written a patch for pkg-config which adds the option to log to a
> Unix socket. That means you can capture info about what packages a
> configure script is looking for -- without ever having to modify the
> scripts. You simply fire up a program that listens on a socket, set
> the PKG_CONFIG_LOG_SOCKET variable to point to that socket, and
> voilá: pkg-config will report the packages and versions requested
> from it.
>
> Add to that some logic for matching pkg-config package names with
> spell names, and you get a program that tells you what spells a
> source package is hungry for.
>
> I've uploaded a tarball with the patch plus an example program to
> demonstrate the feature. I'll highly appreciate any feedback. Get it
> at: http://www.cs.uta.fi/~a445063/pkg-config-logsocket.tar.bz2
I think this is a great feature but it should be used with care.
Maybe quill can benefit from this? Btw. why are you logging to socket
and not to the file? I think it would be simpler to work with log file
than listening on a socket.
P.S. I remember T2 has some sort of dependency autodetection, but I
don't know which technique they use. You can try and investigate their
method if you want.
--
Alexander Tsamutali
-
[SM-Discuss] New (helpful?) pkg-config feature,
Juuso Alasuutari, 11/05/2007
-
Re: [SM-Discuss] New (helpful?) pkg-config feature,
Alexander Tsamutali, 11/06/2007
-
Re: [SM-Discuss] New (helpful?) pkg-config feature,
Juuso Alasuutari, 11/06/2007
- Re: [SM-Discuss] New (helpful?) pkg-config feature, Alexander Tsamutali, 11/06/2007
-
Re: [SM-Discuss] New (helpful?) pkg-config feature,
Juuso Alasuutari, 11/06/2007
- Re: [SM-Discuss] New (helpful?) pkg-config feature, Jaka Kranjc, 11/06/2007
-
Re: [SM-Discuss] New (helpful?) pkg-config feature,
Alexander Tsamutali, 11/06/2007
Archive powered by MHonArc 2.6.24.