annotate mozilla.html @ 0:6633abcdf7fa

initial import. take all html files under control.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 17 May 2011 09:40:01 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
1 <html>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
2 <head>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
3 <link rel="stylesheet" href="mozilla.css" title="mozilla">
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
4 <link rel="stylesheet" href="default.css" title="subsonic">
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
5 <!--<link rel="stylesheet" href="__defaults.css">-->
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
6 <meta http-equiv="content-type" content="text/html;charset=EUC-JP">
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
7
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
8 <title>Mozilla</title>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
9 </head>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
10
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
11
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
12 <body>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
13
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
14 <div align=center><h1>Mozilla</h1></div>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
15
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
16 <ul>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
17 <li><a href="#compile">コンパイル</a>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
18 <li><a href="#patch">パッチ</a>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
19 <li><a href="#customize">カスタマイズ</a>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
20 </ul>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
21
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
22
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
23 <a name="compile"></a>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
24 <h3>Mozillaのコンパイル</h3>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
25
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
26 <h4>チェックアウトとコンパイル</h4>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
27
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
28 6月6日現在、次のようにしてコンパイルしています。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
29
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
30 <ol>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
31 <li><a href="#mozconfig">.mozconfig</a> にconfigure optionを設定
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
32 <li><a href="#clientmk">client.mk</a> にチェックアウトの時刻を設定 (tinderboxを見て良さそうな時刻を狙ってチェックアウトする)
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
33 <li>make -f client.mk checkout でチェックアウト (チェックアウト結果を確認してからビルドしたいので、まずチェックアウトだけ行う)
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
34 <li><a href="#buildscript">ビルドスクリプト実行</a>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
35 </ol>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
36
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
37 毎日繰り返しているのは2〜4です。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
38
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
39 <a name="mozconfig"></a>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
40
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
41 <h4>.mozconfigの設定</h4>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
42 次のような設定をしています。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
43
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
44 <pre class="quoted">
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
45 # sh
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
46 # Build configuration script
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
47 #
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
48 # See http://www.mozilla.org/build/unix.html for build instructions.
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
49 #
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
50
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
51 # Options for 'configure' (same as command-line options).
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
52 ac_add_options --disable-mailnews
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
53 ac_add_options --disable-tests
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
54 ac_add_options --enable-optimize
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
55 ac_add_options --disable-debug
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
56 ac_add_options --enable-strip-libs
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
57 ac_add_options --disable-dtd-debug
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
58 ac_add_options --with-gtk
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
59 ac_add_options --with-pthreads
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
60 ac_add_options --enable-crypto
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
61 </pre>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
62
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
63 <div class="indented">
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
64 <h5 >解説</h5>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
65
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
66 <p>メールやニュースは使わないのでビルドしていません。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
67
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
68 <p>テスト、デバッグサポートの類は通常はなしにしています。コンパイルするようになったそもそもの動機が「少しでも速いMozillaをビルドしよう」だった名残です。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
69
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
70 <p>--enable-crypto を指定することで psm2 がビルドされます。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
71
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
72 </div>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
73
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
74 <a name="clientmk"></a>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
75 <h4>client.mkの設定</h4>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
76 今は MOZ_CO_DATE = 06/06/2001 01:00:00 PDT のように、チェックアウトする日時を指定してチェックアウトするようにしています。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
77
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
78 <a name="buildscript"></a>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
79 <h4>ビルドスクリプト</h4>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
80
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
81 通常は make -f clientmk build_all で問題ないのですが、私はこういうスクリプトでコンパイルしています。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
82 <pre class="quoted">
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
83 #! /bin/sh
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
84 export MOZILLA_OFFICIAL=1
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
85 export BUILD_OFFICIAL=1
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
86 export BUILD_OPT=1
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
87 export MOZ_NSS_AUTOCONF=1
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
88 export MAKE="make -j3"
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
89 make -f client.mk build_all
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
90 </pre>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
91
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
92 <div class="indented">
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
93 <h5>解説</h5>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
94 export MOZILLA_OFFICIAL=1, export BUILD_OFFICIAL=1 はBuild IDにビルド時刻を入れるために設定しています。本当はオフィシャルなビルド以外はこの環境変数は設定せず、Build IDには 0000000000を入れるのが正しいのですが、これではちっとも面白くないので。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
95
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
96 <p>export BUILD_OPT=1 は最適化をかけるための環境変数です。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
97
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
98 <p>export MOZ_NSS_AUTOCONF=1 はpsm2をビルドする時に必要な環境変数です。今でも必要なのかわかりませんが、psm2に切り替わった時には指定しないと止まっていたので習慣で設定しています。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
99
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
100 <p>export MAKE="make -j3" は、makeプロセスが同時に3つ走るようにするための設定です。私のビルド環境はデュアルCPUマシンなので、プロセス数3が最適なようです。PentiumII 300MHzなので、50分程度かかります。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
101 </div>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
102
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
103 <a name="patch"></a>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
104 <h3>パッチ</h3>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
105
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
106 <a name="customize"></a>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
107 <h3>カスタマイズ</h3>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
108
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
109
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
110 <h4>user.js</h4>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
111 user_pref("ui.submenuDelay", 1000);
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
112 pref("ui.key.accelKey", 18);
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
113 pref("ui.key.menuAccessKeyFocuses", false);
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
114 user_pref("capability.policy.popupsites.sites", "http://www.tripod.com");
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
115 user_pref("capability.policy.popupsites.windowinternal.open", "noAllAccess");
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
116 user_pref("xim.input_style", "over-the-spot");
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
117 user_pref("image.animation_mode", "once");
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
118 pref("font.min-size.variable.ja", 14);
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
119 pref("font.min-size.fixed.ja", 14);
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
120
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
121 <h5>解説</h5>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
122
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
123 <p>user_pref("ui.submenuDelay", 1000); を設定すると、マウスポインタがサブメニューから外れても、指定した時間だけサブメニューを維持します。単位はミリ秒です。
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
124
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
125 <p>pref("ui.key.accelKey", 18);, pref("ui.key.menuAccessKeyFocuses", false);を設定すると
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
126
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
127
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
128
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
129 <h4></h4>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
130
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
131 <hr>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
132 <center><a href="index.html">[back]</a></center>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
133 </body>
6633abcdf7fa initial import. take all html files under control.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
134 </html>