Re: [gtk-osx-users] [gtk-osx-devel] Previous method for building gtkmm3



On Oct 23, 2012, at 8:20 PM, Jim Charlton <jim jimc dyndns org> wrote:

> If I do
> jhbuild buildone cairomm
> using either modulesets-stable or unstable, it errors out saying FcPattern has not been declared.
> 
> I have a relatively pristine installation of the OS and Xcode.  Are we sure that Cairomm does not need FontConfig???  How does one fix this?

Yes. Those functions are protected with #ifdef CAIRO_HAS_FT_FONT. You've managed to confuse configure into defining it.

Given your previous messages, I think you need to make a clean start by deleting everything: jhbuild (in ~/Source), checkoutroot and prefix (by default in ~/gtk/src and ~/gtk/inst respectively), and ~/.jhbuild*. Run the following commands, in order, verbatim:

gtk-osx-build-setup.sh
jhbuild bootstrap
jhbuild --moduleset='http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx.modules' build meta-gtk-osx-bootstrap meta-gtk-osx-gtk3 meta-gtk-osx-gtkmm

Do not *ever* edit ~/.jhbuildrc. You can use .jhbuildrc-custom to make just about any modification you can program in python. Don't mix modulesets, either: The dependency chains aren't interchangeable, though bootstrap.modules, invoked by `jhbuild bootstrap`, is special and installed in ~/Source/jhbuild/modulesets; there's only one of it. For example, to save some typing, you can create a .jhbuildrc-custom containing the following lines:

moduleset = 'http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx.modules'
modules = ['meta-gtk-osx-bootstrap', 'meta-gtk-osx-gtk3', 'meta-gtk-osx-gtkmm']

after which you would need only say `jhbuild build` on the command line to accomplish the same task.

Regards,
John Ralls



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