|
From: | Rogério de Souza Moraes |
Subject: | Re: [Ltib] [Patch] Spport for GTK2 to be compiled with X11 or DirectFB |
Date: | Wed, 19 Aug 2009 10:05:41 -0300 |
Hi Stuart,
I did another patch using your sugestion. It enables gtk2 and pango to be compiled with X11 support.
Best regards.2009/8/15 Stuart Hughes <address@hidden>
Hi Rogerio,
I don't think the variable PKG_XORG_SERVER gets exported to the build environment. However all the _WANT_ symbols do.
There is a symbol: PKG_XORG_SERVER_WANT_XORG which indicates you're building the real X server rather than the X frame buffer server. Would this be the right thing to use?
If not, rather than add another environment variable to ltib, it would be better to do the test in a similar way to how it's done in xorg-server.spec, something like:
if rpm --dbpath %{_dbpath} -q xorg-server &>/dev/null
then
extra_opts='--with-x'
else
extra_opts='--without-x'
fi
In this case if the xorg-server package is built & installed in either mode (frame-buffer or full X) then --with-x gets set.
Regards, Stuart
Rogério de Souza Moraes wrote:
Hi Stuart,
this is a new patch that makes possible to compile GTK2 with support to X11 or DirectFB.
Best regarts.
Rogerio
[Prev in Thread] | Current Thread | [Next in Thread] |