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



On Oct 21, 2012, at 9:35 AM, Jim Charlton <jim jimc dyndns org> wrote:

> Here is my previous method for building gtkmm3 on LION
> 
> jhbuild bootstrap --skip libiconv
> edited .jhbuildrc to change modulesets-stable to modulesets-unstable

Don't edit .jhbuildrc. You can set moduleset = foo (with whatever value of foo you like) in .jhbuildrc-custom.

> added os.environ["ARCHFLAGS"] = "-arch x86_64" to .jhbuildrc-custom
> jhbuild build meta-gtk-osx-bootstrap
> jhbuild build meta-gtk-osx-gtkmm (it will halt on errors)
> independently build/install mm-common and meta-gtk-osx-freetype and put a link between .../gtk/inst/lib/freetype and .../freetype2.

Since you're building from unstable, and so using Pango git master, you shouldn't need Freetype anymore. I (just) added mm-common as a dependency of libsig++, so you won't need to build it after I push the commit.

> jhbuild build --skip=atk-bridge gtk+-3.0

Probably better to build meta-gtk-osx-gtk3. The atk-bridge module has been removed, and the gtk3 module's autogen-args includes "--without-atk-bridge", the "skip" isn't needed.

> got atkmm-2.22.6.tar from gnome.org and unpacked it, started a jhbuild shell and ./configure,  make, make install

I've just added that to the  moduleset as well.

> continue building meta-gtk-osx-gtkmm
> 
> That worked a few months ago and I never got the gobject-introspection error.
> 
> I will try again from scratch and see how it now works.

Better to wait a little while, I'm testing my additions to the moduleset and I'll push it when I'm done.

Regards,
John Ralls



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