Mailinglist Archive: opensuse-packaging (232 mails)

< Previous Next >
Re: [opensuse-packaging] New build failures due to xorg-x11 reshuffle
Le lundi 20 février 2012, à 12:38 +0100, Michael Matz a écrit :
Hi,

On Mon, 20 Feb 2012, Stephan Kulow wrote:

For most packages this is no problem, but in some cases this creates a
problem. The situation is this:

vim.spec requires gtk2-devel, which in return requires pkgconfig(xft).
Before the xorg libs split, this pkgconfig require dragged in all other
XOrg libraries too and vim build was free to choose. Now there is only
Xft and the libraries below it in the buildroot and vim fails.

You have two options to fix the build, which both come down to: fix your
build requires to require what you need to build.

Either use the correct form (works on >= 11.4 afaik)
BuildRequires: pkgconfig(xt)

or simulate the old way in dragging all X libs in:
BuildRequires: xorg-x11-devel

Is it really meaningful to have gtk2-devel installed, but not
xorg-x11-devel? I.e. why what that requires removed (it still existed in
11.3)?

Because you don't need all the xorg libraries to compile something
against gtk2.

But really, this was just this specific example with vim; the issue most
likely exists in other packages that do not use gtk2 at all...

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 >