On 20.02.2012 12:38, Michael Matz wrote:
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)?
gtk2-devel requires that X libs that are necessary to develop GTK2 applications - which is the right thing to do. That vim needs Xt headers additionally is a vim problem, not a GTK problem. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org