Re: Building multiple backends on on same system

On Fri, 2010-12-10 at 13:57 -0500, Matthias Clasen wrote:
> On Fri, Dec 10, 2010 at 1:29 PM, Alexander Larsson <alexl redhat com> wrote:
> > On Wed, 2010-12-08 at 23:28 -0500, Matthias Clasen wrote:
> >> On Tue, Dec 7, 2010 at 7:33 AM, Alexander Larsson <alexl redhat com> wrote:
> >> > On Mon, 2010-12-06 at 23:28 +0100, Alexander Larsson wrote:
> >>
> >> > * Merge gdk and gtk+ (if we want to do this, and i think it makes sense)
> >> > * Rename to
> >> > * Change the way the pc files are set up so that gtk+-x11-3.0.pc just
> >> >  depends on gtk+-3.0 and adds the includedir for gdkx.h.
> >>
> >> I've committed my attempt at doing these tasks to the gdk-backend branch.
> >
> > I see you didn't add a gtk+-x11-3.0.pc. Maybe we still want this in so
> > that apps can easily specify a build-time requirement for the x11
> > backend.
> Yes, I am going to bring it back.

I see you added it back as it was before (i.e. a copy of the main one).
I dunno if it is very important, but the idea i had was to make e.g. gtk
+-3.0-x11.pc just depend on gtk+-3.0.pc but add -I $includedir/gtk
+-3.0-x11, which lets apps access $includedir/gtk+-3.0-x11/gdk/gdkx.h as
<gdk/gdkx.h>. A setup like this makes builds accessing gdkx.h without a
gtk+-3.0-x11.pc dependency fail at buildtime, which is nice.

 Alexander Larsson                                            Red Hat, Inc 
       alexl redhat com            alexander larsson gmail com 
He's a genetically engineered voodoo assassin fleeing from a secret government 
programme. She's a cosmopolitan tempestuous wrestler trying to make a 
difference in a man's world. They fight crime! 

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