diff options
author | Jacek Antonelli | 2008-08-15 23:44:46 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:46 -0500 |
commit | 38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4 (patch) | |
tree | adca584755d22ca041a2dbfc35d4eca01f70b32c /linden/indra/newview/mozilla-powerpc-darwin-readme.txt | |
parent | README.txt (diff) | |
download | meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.zip meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.gz meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.bz2 meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.xz |
Second Life viewer sources 1.13.2.12
Diffstat (limited to 'linden/indra/newview/mozilla-powerpc-darwin-readme.txt')
-rw-r--r-- | linden/indra/newview/mozilla-powerpc-darwin-readme.txt | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/linden/indra/newview/mozilla-powerpc-darwin-readme.txt b/linden/indra/newview/mozilla-powerpc-darwin-readme.txt new file mode 100644 index 0000000..be67ad3 --- /dev/null +++ b/linden/indra/newview/mozilla-powerpc-darwin-readme.txt | |||
@@ -0,0 +1,71 @@ | |||
1 | NOTE: these directions have been obsoleted. There are now shell scripts that will check out, build, and package the necessary pieces | ||
2 | of the mozilla code in lindelib/mozilla-1.8.0/mac-build. I'm leaving this file here for historical interest. | ||
3 | ------------- | ||
4 | Written by Monroe on June 17, 2005. | ||
5 | |||
6 | Here's how to rebuild the Mozilla components for the Mac build. | ||
7 | |||
8 | Check out the mozilla source from cvs | ||
9 | |||
10 | cd to the mozilla directory (the same one that contains client.mk) | ||
11 | |||
12 | cp .mozconfig.opt.shared.small .mozconfig | ||
13 | |||
14 | Add the following line to the .mozconfig file you just created: | ||
15 | |||
16 | ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.2.8.sdk | ||
17 | |||
18 | make -f client.mk build | ||
19 | |||
20 | wait a while. | ||
21 | |||
22 | The build products you need to extract are in objdir-opt-shared-small/dist/bin and objdir-opt-shared-small/dist/lib. | ||
23 | |||
24 | Copy the following to linden/libraries/firefox-1.0.4/<arch>/lib_release and linden/libraries/firefox-1.0.4/<arch>/lib_release: | ||
25 | |||
26 | objdir-opt-shared-small/dist/lib/libembed_base_s.a | ||
27 | objdir-opt-shared-small/dist/lib/libxpcomglue_s.a | ||
28 | objdir-opt-shared-small/dist/bin/libxpcom.dylib | ||
29 | objdir-opt-shared-small/dist/bin/libplds4.dylib | ||
30 | objdir-opt-shared-small/dist/bin/libplc4.dylib | ||
31 | objdir-opt-shared-small/dist/bin/libnspr4.dylib | ||
32 | objdir-opt-shared-small/dist/bin/libgkgfx.dylib | ||
33 | |||
34 | This first part should be repeated with .mozconfig.debug.shared.small to generate the libraries in the two matching lib_debug directories. The debug version of the bin directory is prohibitively large, so we're just using the release version of that part. | ||
35 | |||
36 | Much of the contents of objdir-opt-shared-small/dist/bin also needs to go into a tar file that will be used when generating the application bundle. | ||
37 | |||
38 | The bin directory will be populated with symlinks. If you just tar it up as-is, you'll get a tar file full of symlinks, which is not useful. | ||
39 | |||
40 | Use 'cp -RL source dest' to make a copy of the bin directory with all symlinks expanded. This will be more useful. | ||
41 | |||
42 | Remove things that aren't needed. This includes at least: | ||
43 | |||
44 | asdecode | ||
45 | firefox | ||
46 | firefox-bin | ||
47 | firefox-config | ||
48 | LICENSE | ||
49 | nsinstall | ||
50 | mangle | ||
51 | regxpcom | ||
52 | regchrome | ||
53 | README.txt | ||
54 | run-mozilla.sh | ||
55 | xpcshell | ||
56 | xpt_dump | ||
57 | shlibsign | ||
58 | xpt_link | ||
59 | xpidl | ||
60 | xpicleanup | ||
61 | |||
62 | There may be other pieces that aren't needed as well. I expect this will be refined moving forward. | ||
63 | |||
64 | Because of the way the tar file will be expanded (directly inside the application bundle, in Contents/MacOS), it's important to create it so that it won't expand at a subdirectory of the current path. The way to to this is to cd to the dist/bin directory and do something like this: | ||
65 | |||
66 | tar -zcvf ../mozilla-powerpc-darwin.tgz . | ||
67 | |||
68 | This will create a tar file containing everything in the current directory, and will place the file one level up (so it doesn't interfere with its own creation). This file should replace the file with the above name checked into cvs in linden/indra/newview/. One of the lines in the shell script phase of the build extracts it appropriately into the application bundle. | ||
69 | |||
70 | If any of this is unclear, please contact Monroe and I'll try to clarify and update this file. | ||
71 | |||