Hi,

Le 31 mai 2011 à 16:47, Raimon Esteve a écrit :
> Can you make a little doc about steps to step to make dmg client?
> 
> My last try, I don't successfully change python apple for python macports :(

1. Read and follow https://sourceforge.net/apps/trac/gtk-osx/wiki/Build
and 
https://sourceforge.net/mailarchive/forum.php?thread_name=E492E23E-1048-407D-99AA-93F9F67EDC8E%40ceridwen.fremont.ca.us&forum_name=gtk-osx-devs

2. On your mac box, create a dedicated user named gtkosxbuilder

3. Here is the bottom of the .jhbuildrc-custom file :
_gtk_osx_use_jhbuild_python = True
branches["python"] = 
"http://www.python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2"; 
# all other settings fail to build
setup_sdk(target="10.5", sdk_version="10.5", architectures=["i386"])
os.environ["CC"] = "/usr/bin/gcc-4.0" 
os.environ["DYLD_LIBRARY_PATH"] = "" 
build_policy = "updated-deps" 
modules = [ "meta-gtk-osx-bootstrap", "meta-gtk-osx-core", 
"meta-gtk-osx-python", "librsvg", "meta-gtk-osx-themes", "gtk-quartz-engine" ]

4. First time only: checkout tryton client
$ hg clone http://hg2.tryton.org/2.0/tryton

Next time: update the tree
$ cd tryton
$ hg incoming
$ hg pull -u

5. Apply the pheller patch (maybe it's no longer useful after Cedrik's change 
http://codereview.tryton.org/40002/)
and build the dmg
$ cd tryton
$ patch -p1 <../issue23001_1_2.diff 
$ python ./setup.py py2app


-- 
[email protected] mailing list

Reply via email to