Hi Stuart,
while I was testing the modifications provided for this patch, I
discovered that the support for X11 in gtk2, pango and cairo(this is
new) doesn't work, because by the solution you told me, to compile these
packages with X11 support, the xorg-server package needs to be installed
before the compilation of them.
Looking at pkg_map, the gtk2, pango and cairo are installed before the
xorg-server, so I need to change the order of packages in this file
(taking care about dependencies), to make the xorg-server be installed
before these packages. Can I change the order of the packages in pkg_map
or do you know a better way to solve this problem?
Thanks in advance!
2009/8/17 Rogério de Souza Moraes <address@hidden
<mailto:address@hidden>>
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 <mailto: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
------------------------------------------------------------------------
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib