I want ot chime in on this.

XQuartz is intended as a replacement for Apple's X11, and s not meant to be a 
full development environment. The pkgconfig files included with XQuartz provide 
completeness for the packages that come with X11. But they would only be used 
as part of a development environment outside XQuartz.

The /opt/X11/lib/pkgconfig directory that's part of XQuartz (which contains the 
.pc files) should be added to the PKG_CONFIG_PATH environment variable, so that 
it's found along with other pkgconfig directories when setting up the 
development environment.

There are a lot of different opinions on what development environment is best 
on OSX. But the approach of adding /opt/lib/pkgconfig/ to the environment is 
the same regardless what development environment you use.

MacPorts, Brew, and Posix are all ery different philosophies on setting up a 
development environment for OSX. Thay all have their merits and drawbacks. Once 
you select one of these, you are stuck with it forever (or recompile 
everything), so you should learn about them and make an educated decision. 
Personally, I would never use MacPorts or Brew, and prefer Posix. But that's my 
opinion.

Whatever your decision is, it's very important to install pkgconfig FIRST 
before installing anything else. Gtk can then be built in that development 
environment.

Hope this helps.
Dave




On Feb 27, 2013, at 12:00 PM, Pascal <p....@orange.fr> wrote:

> Hello, I'm new to the list but I'm using X11 since the beginning, thus first 
> I want to thanks all the team for making X11 still available on MacOS.
> 
> One suggestion, as XQuartz provide some packages with pkgconfig spec as 
> /opt/X11/lib/pkgconfig/cairo.pc,
> is it possible to provide pkgconfig itself in XQuartz release ?
> 
> I need pkgconfig to build gtk. Is there a chance to have gtk included in a 
> next release?
> 
> Regards, Pascal.
> http://blady.pagesperso-orange.fr


_______________________________________________
Xquartz-dev mailing list
Xquartz-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/xquartz-dev

Reply via email to