Changeset 641 for branches/uploadr/3.2/README.osx
- Timestamp:
- 06/29/09 13:05:34 (5 months ago)
- Files:
-
- branches/uploadr/3.2/README.osx (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/uploadr/3.2/README.osx
r636 r641 25 25 ------------------------------------------------------------------------ 26 26 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/ 27 Now using directly http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/latest-mozilla-1.9.1/ instead of building it. 28 http://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. 40 29 41 30 Note: You want the version *without* 'sdk' in the name. … … 43 32 Install the Mac version of XULRunner, which will live in 44 33 /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/ 48 37 49 38 Install MacPorts if you haven't already: … … 95 84 ------------------------------------------------------------------------ 96 85 Because of dynamic/static linker weirdness, before building GraphicsMagick, 97 and Exiv, move libintl.dylib out of the way:86 and Exiv, move libintl.dylib out of the way: 98 87 $ sudo mv /opt/local/lib/libintl.dylib /opt/local/lib/libintl.dylib.sav 99 88 you might need to do that for all the versions of libintl you have on your system … … 107 96 $ sudo port install libpng 108 97 109 in trunk, using 1.2.5 release98 to match the site, using 1.3.5 release 110 99 111 100 Configure and install GraphicsMagick: … … 143 132 $ sudo port install libiconv 144 133 $ sudo port install expat 145 $ sudo port install xml2146 134 $ ./configure --prefix=/opt/local --disable-shared --with-expat=/opt/local 147 135 $ make && sudo make install … … 151 139 $ sudo mv /opt/local/lib/libiconv.dylib /opt/local/lib/libiconv.dylib.sav 152 140 $ 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 ???154 141 155 142 … … 163 150 Then build: 164 151 $ ./configure --disable-ffserver --disable-ffplay --enable-gpl \ 165 --disable- vhook --disable-mmx --enable-static --disable-shared \166 --extra-cflags=-fno-common --disable-debug --enable-swscale152 --disable-mmx --enable-static --disable-shared \ 153 --extra-cflags=-fno-common --disable-debug 167 154 $ make && sudo make install 168 155 156 On Mac OS X 10.4 you may encounter: 157 158 make(6189) malloc: *** vm_allocate(size=4272951296) failed (error code=3) 159 make(6189) malloc: *** error: can't allocate region 160 make(6189) malloc: *** set a breakpoint in szone_error to debug 161 make: *** virtual memory exhausted. Stop. 162 163 $ which make 164 /usr/bin/make 165 $ make --version 166 GNU Make 3.80 167 168 port install gmake 169 $ which gmake 170 /opt/local/bin/gmake 171 $ gmake --version 172 GNU Make 3.81 173 and used gmake instead of make 169 174 170 175 Building XPCOM components … … 191 196 Running Flickr Uploadr 192 197 ------------------------------------------------------------------------ 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) 198 cp MacUploadr.app/Contents/Frameworks/XUL.framework/xulrunner MacUploadr.app/Contents/MacOS/xulrunner 195 199 196 200 The app can be launched by double-clicking on MacUploadr.app in Finder.