Mailinglist Archive: opensuse-packaging (140 mails)
< Previous | Next > |
Re: [opensuse-packaging] Breaking the loop with pkg-config 0.26
- From: Vincent Untz <vuntz@xxxxxxxxxxxx>
- Date: Thu, 12 Jan 2012 09:30:14 +0100
- Message-id: <20120112083014.GG25451@vuntz.net>
Le jeudi 12 janvier 2012, à 09:16 +0100, Adrian Schröter a écrit :
You missed the point: we don't need pkg-config to build glib2 as you
point out, and it's already fixed in my local checkout. But packages
that are needed to build glib2 depend on pkg-config. Hence the loop.
Vincent
--
Les gens heureux ne sont pas pressés.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx
Am Donnerstag, 12. Januar 2012, 08:39:32 schrieb Vincent Untz:
Hi,
A while ago, pkg-config 0.26 got released and the main change in there
is that it depends on an external glib (instead of an internal copy).
We can easily drop the pkg-config BuildRequires in glib by setting some
environment variable so that glib knows how to use pcre & friends. (Of
course, we lose the automatic pkgconfig() Provides/Requires, but okay,
let's ignore that).
However, things get ugly:
+ if we want glib2 to build with the external pcre library, we need
pcre-devel to be installed
+ pcre-devel has a Requires for /usr/bin/pkg-config, and hence on the
pkg-config package (automatically added at the same time as the
pkgconfig() Provides, I guess)
I think the easiest would be to change the detection to work also without
pkg-config to avoid the loop ... Or even hardcode the pcre support via a
patch, because we can ensure that the right one is installed via a versioned
BuildRequires.
You missed the point: we don't need pkg-config to build glib2 as you
point out, and it's already fixed in my local checkout. But packages
that are needed to build glib2 depend on pkg-config. Hence the loop.
Vincent
--
Les gens heureux ne sont pas pressés.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx
< Previous | Next > |