Building a native (no X11) MacOSX binary: Difference between revisions
Jump to navigation
Jump to search
Line 26: | Line 26: | ||
</autotools> | </autotools> | ||
---------------------------------- | ---------------------------------- | ||
or a section for SVN: | |||
---------------------------------- | |||
<repository type="svn" name="bluefish-svn" default="yes" href="https://bluefish.svn.sourceforge.net/svnroot/" /> | |||
<autotools id="bluefish-svn" autogen-sh="./configure" autogenargs="--disable-nls" > | |||
<branch repo="bluefish-svn" module="bluefish/trunk/bluefish"/> | |||
<dependencies> | |||
<dep package="intltool"/> | |||
<dep package="gtk+"/> | |||
<dep package="glib"/> | |||
<dep package="libxml2"/> | |||
<dep package="ige-mac-integration"/> | |||
</dependencies> | |||
<suggests> | |||
<dep package="enchant"/> | |||
<dep package="gucharmap"/> | |||
</suggests> | |||
</autotools> | |||
-------------------------------------- | |||
this section will fail the first time, choose 4 (enter shell), run | |||
./autogen.sh | |||
exit and choose 7 (rerun configure) | |||
== Building == | == Building == |
Revision as of 13:39, 9 March 2010
This is work in progress.
Getting a native gtk
A lot of information can be found here: http://gtk-osx.sourceforge.net/
follow the instructions to get the gtk core up and running
jhbuild configuration
a jhbuild section for bluefish looks like this:
<repository type="tarball" name="bluefish" href="http://www.bennewitz.com/bluefish/stable/source/"/> <autotools id="bluefish"> <branch module="bluefish-2.0.0.tar.bz2" version="2.0.0" repo="bluefish" md5="ac9b1e8ef6d5691718a0daa6c78d5618" size="3287346"/> <dependencies> <dep package="intltool"/> <dep package="gtk+"/> <dep package="glib"/> <dep package="libxml2"/> </dependencies> <suggests> <dep package="enchant"/> <dep package="gucharmap"/> </suggests> </autotools>
or a section for SVN:
<repository type="svn" name="bluefish-svn" default="yes" href="https://bluefish.svn.sourceforge.net/svnroot/" /> <autotools id="bluefish-svn" autogen-sh="./configure" autogenargs="--disable-nls" > <branch repo="bluefish-svn" module="bluefish/trunk/bluefish"/> <dependencies> <dep package="intltool"/> <dep package="gtk+"/> <dep package="glib"/> <dep package="libxml2"/> <dep package="ige-mac-integration"/> </dependencies> <suggests> <dep package="enchant"/> <dep package="gucharmap"/> </suggests> </autotools>
this section will fail the first time, choose 4 (enter shell), run
./autogen.sh
exit and choose 7 (rerun configure)
Building
pcre.h is missing on OSX, but libpcre is available. You can copy the pcre.h file from a different computer to ~/gtk/inst/include/pcre.h
Creating a package
todo
Better MacOSX integration
todo