Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2012 06:12:47 +0000
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports@FreeBSD.org, ports-announce@FreeBSD.org
Subject:   [HEADSUP] devel/pkgconfig is gone, long live devel/pkgconf
Message-ID:  <20120726061247.GG13771@ithaqua.etoilebsd.net>

next in thread | raw e-mail | index | archive | help

--uc35eWnScqDcQrv5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

We have two problems with devel/pkg-config, the first one is hopefully now
solved, the second one is in the slow way to be solved.

Let's first start with the first one:

1/ since 0.26 devel/pkg-config expects pkg-config and glib2 to be present t=
o be
able to built, and glib2 also depends on pkg-config, this prevent bootstrap=
ping
pkg-config and thus prevented us from upgrading devel/pkg-config to a newer
version than 0.25.

Hopefully some people decided to work on viable alternative, one of them be=
ing
devel/pkgconf, which already have the feature set from 0.27 and is in active
developpement.

We just switched devel/pkg-config to devel/pkgconf for that reason (see
UPDATING for instructions)

Now the second problem.

2/ USE_GNOME=3D pkgconfig macro was the most used macro to pkg-config suppo=
rt to
your port, problem is that macro pushed both run and build dependency. Whic=
h in
most cases was wrong.

More than that lots of ports do not even care about pkg-config because they=
 do
depend on glib20 or xproto which run depend on it. so fixing/changing USE_G=
NOME=3D
pkgconfig cannot be done in one shot, too much impact.

We introduced a new macro deprecating USE_GOME=3D pkgconfig:
USE_PKGCONFIG which can take the following arguments:
 - yes (equivalent to build)=20
 - build
 - run
 - both

So maintainers please convert your ports to using this macro, please be rea=
lly
careful while converting your ports that no ports rely on your ports having=
 a
run depends on pkg-config. (this will break package building on pointyhat a=
nd
any package building for binary only users!)

Please also check that if your ports actually needs pkgconfig or not and if=
 it
needs it explicitly add the dependency what ever the ports you depends on a=
re
having has a dependency.

regards,
Bapt

--uc35eWnScqDcQrv5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlAQ398ACgkQ8kTtMUmk6EydVwCghQ7Jio9tfq8rC9VWtF7Qq2Hs
YcoAmwQFoJfdbGkpQ35LPBn0P4l0MZFD
=+2mU
-----END PGP SIGNATURE-----

--uc35eWnScqDcQrv5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120726061247.GG13771>