Changeset 377
- Timestamp:
- 05/01/08 18:39:04 (2 years ago)
- Files:
-
- trunk/uploadr/Makefile (modified) (3 diffs)
- trunk/uploadr/README.osx (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/uploadr/Makefile
r365 r377 101 101 102 102 # Location of Mozilla tree for the MAR tools 103 MOZILLA := ~/ mozilla103 MOZILLA := ~/devel/mozilla 104 104 105 105 # Location for build staging … … 186 186 build: 187 187 188 @echo "Build step" 188 189 @# Make sure the package directory exists 189 190 mkdir -p $(BUILD) … … 383 384 mar: 384 385 386 @echo "MAR step" 385 387 @# Making MAR files 386 388 ifeq (mac, $(PLATFORM)) trunk/uploadr/README.osx
r370 r377 32 32 Install the Mac version of XULRunner, which will live in 33 33 /Library/Frameworks. Then pull it into your fake Uploadr distribution: 34 $ mkdir UPLOADR/MacUpl aodr.app/Contents/Frameworks34 $ mkdir UPLOADR/MacUploadr.app/Contents/Frameworks 35 35 $ sudo mv /Library/Frameworks/XUL.framework \ 36 36 UPLOADR/MacUploadr.app/Contents/Frameworks … … 86 86 $ sudo port install libpng 87 87 88 Download GraphicsMagick source :89 ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/ 88 Download GraphicsMagick source (try and stick with 1.1.10): 89 ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.1/GraphicsMagick-1.1.10.tar.bz2 90 90 91 91 Configure and install GraphicsMagick: … … 124 124 $ sudo port install expat 125 125 $ sudo port install xml2 126 $ ./configure -- disable-shared --with-expat=/opt/local126 $ ./configure --prefix=/opt/local --disable-shared --with-expat=/opt/local 127 127 $ make && sudo make install 128 128 … … 140 140 $ svn co -r 10885 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg 141 141 $ cd ffmpeg 142 $ cp common.mak subdir.mak 142 143 143 144 Then build: … … 173 174 174 175 Launch Uploadr from Terminal to get debug windows: 176 $ chmod a+w MacUploadr.app/Contents/MacOS/xulrunner 175 177 $ MacUploadr.app/Contents/MacOS/xulrunner -jsconsole 176 178 … … 211 213 $ make mac build en-US 212 214 213 If you do not want to create update files (see README.updates): 215 NOTE: These will fail at the MAR build steps, unless you have the Mozilla 216 tools built and installed. See README.updates for this, or you can 217 skip the MAR build step (recommended for outside developers): 214 218 $ make mac all-build 215 219