Re: [Gtk-osx-devs] pkg-config and _exec_prefix



John Ralls wrote:

>> I *am* building pkg-config as part of gtk-osx, but it is in
>> _exec_prefix (~/Source/bootstrap) and not prefix (/opt/gtk)

>> I thought the setup of pkg-config should go next to the
>> other setup, just to make sure that it finds it alright ?

> That would be because you've created a separate exec_prefix in your .jhbuild-custom, so it's your job to adjust the path the same way.
> 
> I don't have any problem with you doing things your way, but I'm not going to change things for everybody else to suit you.

Maybe I was just reading too much into the config comments...

# In addition, you can override _exec_prefix (used to set $M4 and
# $LIBTOOLIZE); by default it's set to prefix. You might want to reset
# it if you want to bootstrap to one directory and build in another
# (or more likely, several others). Similarly, you can override
# tarballdir so that you need download tarballs only once for multiple
# builds.
# _exec_prefix = os.path.join(os.path.expanduser("~"), "Source", "bootstrap")
# tarballdir = os.path.join(os.path.expanduser("~"), "Source", "Download")

I thought it was a supported configuration, guess I was wrong ?
Easy enough to put those two lines in .jhbuildrc-custom instead.

It seemed to apply, since I was doing two builds for Universal...

> Oh, I forgot to ask: What's the Gtk bug number? 

It is now https://bugzilla.gnome.org/show_bug.cgi?id=639820

Another minor problem is when using a SDK, since there are no
PC files in the /Developer/SDKs (and none at all for 10.4u.sdk)

But that's a completely different story, only affecting system. :-)

--anders





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