Show
Ignore:
Timestamp:
06/29/09 13:05:34 (5 months ago)
Author:
jdecq
Message:

new temporary build, additional command line handler modification to retrieve frob, GM version matching site...

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/uploadr/3.2/README.osx

    r636 r641  
    2525------------------------------------------------------------------------ 
    2626 
    27 you'll have to build it until 1.9.1 is released 
    28 Good luck! 
    29  
    30 finish with : 
    31 make -C obj-xulrunner/ppc/xulrunner/installer/ CHOWN_ROOT=~/UPLOADR/chown_root CHOWN_REVERT=~/UPLOADR/chown_revert 
    32 install the resulting xulrunner-1.9.1b3pre.en-US.mac-pkg.dmg 
    33  
    34  
    35 (rsync -rl mozilla/obj-xulrunner/ppc/dist/universal/xulrunner/XUL.framework/ MacUploadr.app/Contents/Frameworks) 
    36  
    37  
    38 XULRunner trunk builds: 
    39   ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/latest-trunk/ 
     27Now using directly http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/latest-mozilla-1.9.1/ instead of building it. 
     28http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/latest-mozilla-1.9.1/xulrunner-1.9.1pre.en-US.mac-pkg.dmg at the time of writing. 
    4029 
    4130Note: You want the version *without* 'sdk' in the name. 
     
    4332Install the Mac version of XULRunner, which will live in 
    4433/Library/Frameworks.  Then pull it into your fake Uploadr distribution: 
    45   $ mkdir UPLOADR/MacUploadr.app/Contents/Frameworks 
    46   $ sudo mv /Library/Frameworks/XUL.framework
    47     UPLOADR/MacUploadr.app/Contents/Frameworks 
     34  $ mkdir UPLOADR/MacUploadr.app/Contents/Frameworks/XUL.framework 
     35  $ sudo mv /Library/Frameworks/XUL.framework/Versions/Current/*
     36    UPLOADR/MacUploadr.app/Contents/Frameworks/XUL.framework/ 
    4837 
    4938Install MacPorts if you haven't already: 
     
    9584------------------------------------------------------------------------ 
    9685Because of dynamic/static linker weirdness, before building GraphicsMagick, 
    97 and Exiv, move libintl.dylibout of the way: 
     86and Exiv, move libintl.dylib out of the way: 
    9887  $ sudo mv /opt/local/lib/libintl.dylib /opt/local/lib/libintl.dylib.sav 
    9988you might need to do that for all the versions of libintl you have on your system 
     
    10796  $ sudo port install libpng 
    10897 
    109 in trunk, using 1.2.5 release 
     98to match the site, using 1.3.5 release 
    11099 
    111100Configure and install GraphicsMagick: 
     
    143132  $ sudo port install libiconv 
    144133  $ sudo port install expat 
    145   $ sudo port install xml2 
    146134  $ ./configure --prefix=/opt/local --disable-shared --with-expat=/opt/local 
    147135  $ make && sudo make install 
     
    151139  $ sudo mv /opt/local/lib/libiconv.dylib /opt/local/lib/libiconv.dylib.sav 
    152140  $ sudo mv /opt/local/lib/libexpat.dylib /opt/local/lib/libexpat.dylib.sav 
    153   $ sudo mv /opt/local/lib/libxml2.dylib /opt/local/lib/libxml2.dylib.sav ??? 
    154141 
    155142 
     
    163150Then build: 
    164151  $ ./configure --disable-ffserver --disable-ffplay --enable-gpl \ 
    165         --disable-vhook --disable-mmx --enable-static --disable-shared  \ 
    166         --extra-cflags=-fno-common --disable-debug --enable-swscale 
     152        --disable-mmx --enable-static --disable-shared  \ 
     153        --extra-cflags=-fno-common --disable-debug 
    167154  $ make && sudo make install 
    168155 
     156On Mac OS X 10.4 you may encounter: 
     157 
     158make(6189) malloc: *** vm_allocate(size=4272951296) failed (error code=3)  
     159make(6189) malloc: *** error: can't allocate region  
     160make(6189) malloc: *** set a breakpoint in szone_error to debug  
     161make: *** virtual memory exhausted.  Stop.  
     162 
     163$ which make  
     164/usr/bin/make  
     165$ make --version  
     166GNU Make 3.80  
     167                  
     168port install gmake  
     169$ which gmake  
     170/opt/local/bin/gmake  
     171$ gmake --version  
     172GNU Make 3.81  
     173and used gmake instead of make 
    169174 
    170175Building XPCOM components 
     
    191196Running Flickr Uploadr 
    192197------------------------------------------------------------------------ 
    193 //cp MacUploadr.app/Contents/Frameworks/Versions/1.9..../xulrunner-bin MacUploadr.app/Contents/MacOS/xulrunner ??? 
    194 // Actually do not put Versions subdirectory or auto-update won't work (forces to use symlink) 
     198cp MacUploadr.app/Contents/Frameworks/XUL.framework/xulrunner MacUploadr.app/Contents/MacOS/xulrunner 
    195199 
    196200The app can be launched by double-clicking on MacUploadr.app in Finder.