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: Thu, 20 Aug 2009 09:37:35 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Roger,

You can try changing the package build/install order. The only thing that may trip you up if if xorg-server refers to something in one of these package (I don't think so). You'll need to be careful as some of the packages after gtk/cairo/pango do depend on them. To test you'll need to force a full rebuild (-f)

Regards, Stuart

Rogério de Souza Moraes wrote:
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




reply via email to

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