Development:IDE:XCode: Difference between revisions
m →Building Adonthell Tools: external links fixed |
Asipicabad (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
---- | |||
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | |||
---- | |||
=[http://usuzezyjiza.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]= | |||
---- | |||
=[http://usuzezyjiza.co.cc CLICK HERE]= | |||
---- | |||
</div> | |||
''This article is a work in progress'' | ''This article is a work in progress'' | ||
Line 15: | Line 23: | ||
== Creating An App Bundle == | == Creating An App Bundle == | ||
To package Adonthell, all its [[Architecture:Overview|modules]] and [[Development:Dependency_Matrix|dependencies]] need to be included in the Application bundle. The script [http://cvs.savannah.nongnu.org/viewvc/adonthell/scripts/make-bundle.sh?root=adonthell&view=markup make-bundle.sh] exists to mostly automate this process. It (currently) relies on adonthell and all its dependencies being installed to ''/usr/local'' and can be executed as follows | To package Adonthell, all its [[Architecture:Overview|modules]] and [[Development:Dependency_Matrix|dependencies]] need to be included in the Application bundle. The script [http://cvs.savannah.nongnu.org/viewvc/adonthell/scripts/make-bundle.sh?root=adonthell&view=markup make-bundle.sh] exists to mostly automate this process. It (currently) relies on adonthell and all its dependencies being installed to ''/usr/local'' and can be executed as follows | ||
install-bundle.sh /path/to/executable/ | install-bundle.sh /path/to/executable/ | ||
Line 27: | Line 35: | ||
# Install jhbuild into ~/bin: | # Install jhbuild into ~/bin: | ||
svn co http://svn.gnome.org/svn/jhbuild/trunk jhbuild | svn co http://svn.gnome.org/svn/jhbuild/trunk jhbuild | ||
cd jhbuild && make -f Makefile.plain install | cd jhbuild && make -f Makefile.plain install | ||
# Get GTK+ jhbuild configuration for OSX | # Get GTK+ jhbuild configuration for OSX |
Revision as of 01:14, 24 November 2010
This article is a work in progress
Creating XCode Project Files
This requires CMake. Open a terminal and cd into the adonthell directory. Then run
cmake -G XCode .
to generate the Adonthell.xcproj that can be opened by XCode. Note that you might have to repeat this step as new source files get added (or you need to add them manually later on).
Creating Universal Binaries
No perfect way to do this yet. Adonthell PPC binaries run fine on Intel Macs, however.
Creating An App Bundle
To package Adonthell, all its modules and dependencies need to be included in the Application bundle. The script make-bundle.sh exists to mostly automate this process. It (currently) relies on adonthell and all its dependencies being installed to /usr/local and can be executed as follows
install-bundle.sh /path/to/executable/
to create Executable.app in the current directory.
Building Adonthell Tools
The tools used to create content for Adonthell rely on GTK+, which used to require X11 to run. However, there is Gtk+ for Mac OS X, which provides GTK+ with a native Cocoa backend. It also has simple installation instructions, summarized below:
# Install jhbuild into ~/bin: svn co http://svn.gnome.org/svn/jhbuild/trunk jhbuild cd jhbuild && make -f Makefile.plain install # Get GTK+ jhbuild configuration for OSX svn co http://developer.imendio.com/svn/gtk-osx-build/ ln -s gtk-osx-build/jhbuildrc-gtk-osx ~/.jhbuildrc # Bootstrap build environment (required once) ~/bin/jhbuild bootstrap # Install GTK+ in /opt/gtk ~/bin/jhbuild build