From owner-freebsd-ports@FreeBSD.ORG Thu Jul 26 06:26:36 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D801D106566C; Thu, 26 Jul 2012 06:26:35 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 54F688FC0C; Thu, 26 Jul 2012 06:26:35 +0000 (UTC) Received: by vbmv11 with SMTP id v11so1629515vbm.13 for ; Wed, 25 Jul 2012 23:26:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=h9r+JufKWump/mcUyp6us7gnChccn7g4lCqjA1dBkP0=; b=Z1Fxty8fAi0AvPl7T0EHKkan0yNTDXbqihjZ/V6mr0+/sx5eaua79YLwfllfjarQik UKgcNXdybLKmVuPkt8NAdOlNxGU6IXBOjUHzGpmrf8fH5myUifTjXoZ/r+sM5DjRu4fB lroaGq5NoaIEdbjbbkf9KR2R2nsjNItMca+N/Qg6K5jyFsc7MAH2E0XJ52XO+H0aZ8iI lOQ5A6cYvirfiLZS4uOG7lyDgbNniArtqfCi7H5e+967sbuMw+TwaZ9TGx3gIK20SUX2 AaeueDVfjxu6Zye0jSVC7j92jsdJPQv2QZjkq/tO/80W5CYtpMdiEwIW5X4gvYL854ZV FBMQ== MIME-Version: 1.0 Received: by 10.52.36.180 with SMTP id r20mr17951159vdj.15.1343283994837; Wed, 25 Jul 2012 23:26:34 -0700 (PDT) Received: by 10.58.145.10 with HTTP; Wed, 25 Jul 2012 23:26:34 -0700 (PDT) In-Reply-To: References: <20120726061247.GG13771@ithaqua.etoilebsd.net> Date: Thu, 26 Jul 2012 09:26:34 +0300 Message-ID: From: Kimmo Paasiala To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 Cc: ports@freebsd.org, ports-announce@freebsd.org Subject: Re: [HEADSUP] devel/pkgconfig is gone, long live devel/pkgconf X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 06:26:36 -0000 On Thu, Jul 26, 2012 at 9:24 AM, Kimmo Paasiala wrote: > On Thu, Jul 26, 2012 at 9:12 AM, Baptiste Daroussin wrote: >> 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 to be >> able to built, and glib2 also depends on pkg-config, this prevent bootstrapping >> 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 being >> 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= pkgconfig macro was the most used macro to pkg-config support to >> your port, problem is that macro pushed both run and build dependency. Which 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_GNOME= >> pkgconfig cannot be done in one shot, too much impact. >> >> We introduced a new macro deprecating USE_GOME= pkgconfig: >> USE_PKGCONFIG which can take the following arguments: >> - yes (equivalent to build) >> - build >> - run >> - both >> >> So maintainers please convert your ports to using this macro, please be really >> 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 and >> 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 are >> having has a dependency. >> >> regards, >> Bapt > > Bapt, > > You may have noticed this already but the Makefile for devel/pkgconfig > is broken, it contains the same lines twice. > > Thank for the good work, > > Kimmo Sorry, I meant of course the Makefile of the new devel/pkgconf :)