ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] [Patch] Spport for GTK2 to be compiled with X11 or DirectFB


From: Stuart Hughes
Subject: Re: [Ltib] [Patch] Spport for GTK2 to be compiled with X11 or DirectFB
Date: Sat, 15 Aug 2009 09:45:08 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]