Difference between revisions of "Talk:MacOS/Quartz"
Iain benson (talk | contribs) |
Iain benson (talk | contribs) |
||
Line 49: | Line 49: | ||
Next is a bit of a problem, we need libgnomecanvas, but the version pulled down by jhbuild required gail which has not been ported to support quartz, it is dependent on either windows or X, so libgnomecanvas will have to built manually with an older version, which we will do later. | Next is a bit of a problem, we need libgnomecanvas, but the version pulled down by jhbuild required gail which has not been ported to support quartz, it is dependent on either windows or X, so libgnomecanvas will have to built manually with an older version, which we will do later. | ||
− | So, now we run <code>jhbuild shell</code> and progress on with the 'many other requirements' from the previous page | + | So, now we run <code>jhbuild shell</code> and progress on with the 'many other requirements' from the previous page, with the following notes: |
+ | |||
+ | * After running configure for readline, edit <code>shlib/Makefile</code> and change <code>SHOBJ_LDFLAGS = -dynamic</code> to <code>SHOBJ_LDFLAGS = -dynamic -dynamiclib</code> | ||
+ | * I haven't got through all these yet, but will update this when I do, but I will suggest now that libgnomecanvas is installed as part of item 13, between libgnome and libbonoboui. It should be fetched from the same place and configured in the same way. | ||
--[[User:Iain benson|Iain benson]] 04:53, 4 November 2007 (EST) | --[[User:Iain benson|Iain benson]] 04:53, 4 November 2007 (EST) |
Revision as of 20:52, 4 November 2007
Building on Leopard on Intel
Just thought I'd give details of my experience attempting to build gnucash for MacOSX/Quartz on an Intel MacBook Pro running Leopard .
The first thing is that MacOSX/Quartz has moved on to use jhbuild rather than gtk-osx-build, so I'm using the this instead, following the official instructions to bootstrap.
svn co http://svn.gnome.org/svn/jhbuild/trunk jhbuild (cd jhbuild && make -f Makefile.plain install) jhbuild bootstrap
Next, to ensure that pango builds the pangoft module, we have to have freetype and fontconfig, and then we can build the core
jhbuild build fontconfig jhbuild
jhbuild doesn't have an 'extra' list like gtk-osx-build had, but some of the listed extras are already built, and gtk-engines and libart_lgpl can be built with jhbuild.
jhbuild buildone gtk-engines libart_lgpl
Next is a little tricky, libglade uses the "-std=c9x" switch which causes problems with inlining under leopard (http://bugzilla.gnome.org/show_bug.cgi?id=315437), so we have to start the build of libglade, interrupt it with ctrl+c when it starts running configure an then fix a file, so ...
jhbuild buildone libglade
wait for the following to appear
U libglade Checked out revision 538. *** Configuring libglade *** [1/1] ./autogen.sh --prefix /opt/gtk --disable-static --disable-gtk-doc --disable-docs --disable-scrollkeeper /opt/gtk/bin/gnome-autogen.sh
and then press ctrl+c and enter the following
4 sed -e s/std=c9x/std=c89/ configure.in > configure.in.new mv configure.in.new configure.ing exit 1
Next is a bit of a problem, we need libgnomecanvas, but the version pulled down by jhbuild required gail which has not been ported to support quartz, it is dependent on either windows or X, so libgnomecanvas will have to built manually with an older version, which we will do later.
So, now we run jhbuild shell
and progress on with the 'many other requirements' from the previous page, with the following notes:
- After running configure for readline, edit
shlib/Makefile
and changeSHOBJ_LDFLAGS = -dynamic
toSHOBJ_LDFLAGS = -dynamic -dynamiclib
- I haven't got through all these yet, but will update this when I do, but I will suggest now that libgnomecanvas is installed as part of item 13, between libgnome and libbonoboui. It should be fetched from the same place and configured in the same way.
--Iain benson 04:53, 4 November 2007 (EST)