Subject: HEADS UP: Announcing verifypc
To: None <tech-pkg@netbsd.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-pkg
Date: 10/01/2005 15:07:14
Hi everybody,

For a long time, I've had some code laying around that, given a package bui=
ld,
it verifies whether the calls to pkg-config done by it really match
the dependencies
specified by the package.  This is to ensure that the package does not
fail to list
any direct (and required) dependency in it.

I used this while packaging GNOME 2.10 and it let me catch lots of mistakes=
 in
dependency specifications in a quite automated fashion.  As it's time to do=
 the
update to 2.12, this will help again :-)

Today, I decided to clean up all that stuff and incorporate it in
pkgsrc.  In order
to use it, you have to update your pkg-config to 0.19nb1 and install the
pkgtools/verifypc package.  Once this is done, build any package of your
liking and run 'verifypc' after the build finishes.  If there are any
problems in the
dependencies, it will (hopefully) let you know.  Read verifypc(1) for more
information as to how to shut up some false positives.

Some more information can be found in the post I wrote when I had the idea:
        http://www.livejournal.com/users/jmmv/32844.html

So... install it and verify your packages! ;-)

Cheers,

--
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/