Compare commits
2298 Commits
tags/LDAPJ
...
M15-OJI-05
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67056f00c4 | ||
|
|
ccd51b5d26 | ||
|
|
914a9dd6d9 | ||
|
|
193a00ef84 | ||
|
|
1059ee2815 | ||
|
|
20dd39d886 | ||
|
|
d255e4f630 | ||
|
|
6843b7377f | ||
|
|
88a6585f44 | ||
|
|
8c43455fee | ||
|
|
3dcf8ee928 | ||
|
|
1e61aed599 | ||
|
|
1fc8facb29 | ||
|
|
b0fcd0f927 | ||
|
|
5cb71c2338 | ||
|
|
ebee291b86 | ||
|
|
1655f87445 | ||
|
|
754e9ae17b | ||
|
|
ac7f0fbbf6 | ||
|
|
df2cbe06de | ||
|
|
15261d54b3 | ||
|
|
b51c62a35d | ||
|
|
d65ace950f | ||
|
|
fa29db571e | ||
|
|
67a383a881 | ||
|
|
16dad38456 | ||
|
|
7054380d1c | ||
|
|
3f0de52df6 | ||
|
|
d3d35bd9ee | ||
|
|
1970bb414b | ||
|
|
8bb2c660a0 | ||
|
|
e3a3cf5021 | ||
|
|
452443a5fa | ||
|
|
3293e9c759 | ||
|
|
980dca512f | ||
|
|
909ece9f67 | ||
|
|
4b3e6f8b37 | ||
|
|
a6d091bda9 | ||
|
|
2c36f54e77 | ||
|
|
ae3fcedf7c | ||
|
|
9b704f554d | ||
|
|
a7f61b8f27 | ||
|
|
c69cf9b675 | ||
|
|
7324169e85 | ||
|
|
059b47ed63 | ||
|
|
1e748689bf | ||
|
|
cbbf6613b2 | ||
|
|
014d6cbcc3 | ||
|
|
4b62fafa72 | ||
|
|
fb413134cb | ||
|
|
38c0c409d2 | ||
|
|
c5e7aef931 | ||
|
|
8c2d7428b0 | ||
|
|
82a7c4b5d1 | ||
|
|
3790cee907 | ||
|
|
93085bdcea | ||
|
|
f3b6687858 | ||
|
|
bce78a9b6f | ||
|
|
9c79c0289e | ||
|
|
9f7a491400 | ||
|
|
555b3bc24a | ||
|
|
3a4fa6c0e4 | ||
|
|
76f5ac4ebb | ||
|
|
d0e429f593 | ||
|
|
25af6f072e | ||
|
|
0f983a4f75 | ||
|
|
e13d529eb4 | ||
|
|
686afe447d | ||
|
|
4a050fe624 | ||
|
|
d7b932b44c | ||
|
|
a95fc58cfa | ||
|
|
d239205029 | ||
|
|
16cb9ef15a | ||
|
|
c74c09d6ca | ||
|
|
4680f7a8f2 | ||
|
|
ca7d3cfa85 | ||
|
|
e3b1190234 | ||
|
|
54b45daf6a | ||
|
|
dff72b227a | ||
|
|
a7ba12fe18 | ||
|
|
76d0e6c856 | ||
|
|
e0fe88ca49 | ||
|
|
df776b59c9 | ||
|
|
f2e3671578 | ||
|
|
4e9eafa605 | ||
|
|
a2672c9272 | ||
|
|
ecf40dc1dc | ||
|
|
2c93d426f5 | ||
|
|
03d158b415 | ||
|
|
5a24c35b6b | ||
|
|
5a5cff3522 | ||
|
|
798592bacb | ||
|
|
746896d6d8 | ||
|
|
1151deaeba | ||
|
|
025b5c147c | ||
|
|
614a71b731 | ||
|
|
6a0b888642 | ||
|
|
21edbcf9bf | ||
|
|
d5432800ca | ||
|
|
e7f717c715 | ||
|
|
0d21df33e8 | ||
|
|
e130527e3f | ||
|
|
9be62697ba | ||
|
|
c95e25c6e1 | ||
|
|
2884ab4c55 | ||
|
|
1b0165a577 | ||
|
|
361b57371a | ||
|
|
3b010bfe27 | ||
|
|
29c270e28b | ||
|
|
25a30b6f74 | ||
|
|
bbfb961ed9 | ||
|
|
eeeb5ab548 | ||
|
|
674a9c4de3 | ||
|
|
11ea188ef2 | ||
|
|
68ae42e908 | ||
|
|
fde2f82df4 | ||
|
|
0e0ce4e608 | ||
|
|
80f8b77a96 | ||
|
|
4d2ec01b87 | ||
|
|
8a58c18119 | ||
|
|
694932a234 | ||
|
|
7dee9e3f04 | ||
|
|
93a69e96ef | ||
|
|
762dd84335 | ||
|
|
06430e799c | ||
|
|
ddfc4f4e5c | ||
|
|
f5a1bb0728 | ||
|
|
33d9e7964b | ||
|
|
8bdd03cb35 | ||
|
|
bf345da183 | ||
|
|
d8bd7f7ea4 | ||
|
|
a8339ae588 | ||
|
|
04479d0a89 | ||
|
|
57137febd9 | ||
|
|
73783629e1 | ||
|
|
41d79fff6d | ||
|
|
74858ca097 | ||
|
|
b7d6dab60a | ||
|
|
65236ccc8d | ||
|
|
3a2985bdb9 | ||
|
|
7d6ec636e5 | ||
|
|
8418999fec | ||
|
|
18fea65aca | ||
|
|
eb61c1cec9 | ||
|
|
d2f44f024a | ||
|
|
2a47902cce | ||
|
|
3ad68f9285 | ||
|
|
6b65e23434 | ||
|
|
7616cb0e38 | ||
|
|
850329a356 | ||
|
|
db2c5cf469 | ||
|
|
e32f5aa5dd | ||
|
|
ce4a10a206 | ||
|
|
c4a32c8de3 | ||
|
|
eed09dcad3 | ||
|
|
fcc7b519ef | ||
|
|
5522923de8 | ||
|
|
1e010bc06d | ||
|
|
d247779da6 | ||
|
|
aa8847f25b | ||
|
|
dea68b16ed | ||
|
|
83863dff8d | ||
|
|
e9fe7b9661 | ||
|
|
6bbcb406d5 | ||
|
|
d4c1a32df2 | ||
|
|
d7a140bb35 | ||
|
|
45dd6631f1 | ||
|
|
7cc245b6c9 | ||
|
|
d2f1f7708c | ||
|
|
1b283121cc | ||
|
|
cecbe0520d | ||
|
|
35c791ad20 | ||
|
|
4bad738a64 | ||
|
|
98a4572bed | ||
|
|
0d332d63ea | ||
|
|
d65a9a9811 | ||
|
|
fab946580d | ||
|
|
ddcf7b1ef8 | ||
|
|
7b2ee79160 | ||
|
|
c8df49db6a | ||
|
|
c2c3b849eb | ||
|
|
bcbf08419d | ||
|
|
6472af28e8 | ||
|
|
1b9a633335 | ||
|
|
334878d735 | ||
|
|
8808a6d60b | ||
|
|
4b6f1649a1 | ||
|
|
5a02e6206f | ||
|
|
8ebbdd39ea | ||
|
|
9a4d0fcae1 | ||
|
|
2ebb0548a9 | ||
|
|
d98d36e1b0 | ||
|
|
90e59e0c49 | ||
|
|
92bec039c5 | ||
|
|
8cc9e6956a | ||
|
|
5f0a629308 | ||
|
|
4c5ce96ff3 | ||
|
|
da285c2d1e | ||
|
|
3b04c5badd | ||
|
|
facb92e96d | ||
|
|
bdf3919b60 | ||
|
|
932a73c656 | ||
|
|
7ded81f062 | ||
|
|
6002f40f82 | ||
|
|
6edaa1844c | ||
|
|
d7bccacbfb | ||
|
|
19921e6a50 | ||
|
|
b91dc8288d | ||
|
|
9149d7ed72 | ||
|
|
407b0af043 | ||
|
|
45b187466f | ||
|
|
a961616ee2 | ||
|
|
8e4e55a454 | ||
|
|
1a18ba7957 | ||
|
|
d67c411673 | ||
|
|
08b2966e58 | ||
|
|
d60f53edc3 | ||
|
|
a9d8f1a8df | ||
|
|
0c8a093517 | ||
|
|
1555cdb946 | ||
|
|
2fa3265dbe | ||
|
|
83c30253b0 | ||
|
|
45a8386f6e | ||
|
|
889f6b82b3 | ||
|
|
c9e741c5b1 | ||
|
|
6bfd494c6d | ||
|
|
64d56d0a6b | ||
|
|
cb79075ed7 | ||
|
|
dc84b2f4de | ||
|
|
6c1fd2d1d4 | ||
|
|
8113636888 | ||
|
|
5bb35c4665 | ||
|
|
77c67afe23 | ||
|
|
90db77c3c7 | ||
|
|
c7bdf7e501 | ||
|
|
dc67c1a356 | ||
|
|
4d0d5a081c | ||
|
|
563f378d79 | ||
|
|
ddca5f2eaa | ||
|
|
1eabc360fe | ||
|
|
a576e2bcde | ||
|
|
76d5cb7753 | ||
|
|
67c96f682b | ||
|
|
79202a1e68 | ||
|
|
e6026954ae | ||
|
|
fae61afe58 | ||
|
|
332002ffd6 | ||
|
|
947a394d95 | ||
|
|
7225279f50 | ||
|
|
68273ef7ed | ||
|
|
f305e3f586 | ||
|
|
41a804e9c4 | ||
|
|
46fd1a6f85 | ||
|
|
3ef84367ad | ||
|
|
aee143cbf7 | ||
|
|
d2142ef832 | ||
|
|
e99cd8531b | ||
|
|
8ecb06672e | ||
|
|
6a18fa0471 | ||
|
|
c2fcf7d5ea | ||
|
|
cdb16112f1 | ||
|
|
3b4f4b559c | ||
|
|
da00796feb | ||
|
|
669b3b25bc | ||
|
|
5d239f106a | ||
|
|
aa1a88d8d1 | ||
|
|
fd5757b311 | ||
|
|
b2680e8d6e | ||
|
|
75d743e1e7 | ||
|
|
c828e574cc | ||
|
|
05818ed551 | ||
|
|
6b4371f7db | ||
|
|
19ec65c651 | ||
|
|
9d0be6dc60 | ||
|
|
9aa006663a | ||
|
|
4d0326284e | ||
|
|
5b3314c506 | ||
|
|
5ca4f93550 | ||
|
|
80f1c1d362 | ||
|
|
91b6a99ed2 | ||
|
|
15c6b2f1a9 | ||
|
|
35c6afda66 | ||
|
|
0941577de1 | ||
|
|
e00be1c883 | ||
|
|
afab02fd48 | ||
|
|
724589f4d5 | ||
|
|
d5cadd0f3c | ||
|
|
dc1c4a0f26 | ||
|
|
384f96111e | ||
|
|
8ce2bf117c | ||
|
|
9060265f7d | ||
|
|
5527b8755e | ||
|
|
3947d4bedd | ||
|
|
8ef8ff1ccd | ||
|
|
d8a3f73756 | ||
|
|
e1384a377c | ||
|
|
4e897f6bfc | ||
|
|
8821148730 | ||
|
|
c0e639cf21 | ||
|
|
a50e3159f5 | ||
|
|
4eb70cc230 | ||
|
|
ed99ef899d | ||
|
|
63cbfa5ff2 | ||
|
|
7fed4815e5 | ||
|
|
6e6d15c4c5 | ||
|
|
db0570790a | ||
|
|
41a691e959 | ||
|
|
7244bf12cf | ||
|
|
246c094554 | ||
|
|
63352db625 | ||
|
|
1fedac2750 | ||
|
|
d16fda390c | ||
|
|
426f0d84cf | ||
|
|
a07cbfd43f | ||
|
|
52c73e6671 | ||
|
|
a6d0dde7ef | ||
|
|
40ed0a211b | ||
|
|
69fa7a30f7 | ||
|
|
bd5eb0a920 | ||
|
|
df62b399af | ||
|
|
f96e0a6579 | ||
|
|
f9caa2dd32 | ||
|
|
2a805af5a6 | ||
|
|
fa3ee0d0fb | ||
|
|
4904fc73e5 | ||
|
|
873eeef29d | ||
|
|
fefcf2c5a1 | ||
|
|
b40fc40007 | ||
|
|
78f6e2f128 | ||
|
|
a45100995b | ||
|
|
b703aee163 | ||
|
|
5691cb18d4 | ||
|
|
94cf1a9da7 | ||
|
|
221d93b578 | ||
|
|
1772f2651f | ||
|
|
4fe7279acf | ||
|
|
b082cddab4 | ||
|
|
94560c5bbe | ||
|
|
fb8d5eef77 | ||
|
|
79b8a86bff | ||
|
|
224384074a | ||
|
|
82ebb05027 | ||
|
|
74dcb00fb9 | ||
|
|
c83ff6e681 | ||
|
|
fa3187a549 | ||
|
|
fbc1381dfd | ||
|
|
8ae68ccb53 | ||
|
|
ef8ea85c55 | ||
|
|
f0d623141e | ||
|
|
29d5bf19a7 | ||
|
|
58c07c0a5b | ||
|
|
1880f41677 | ||
|
|
73f5156cca | ||
|
|
e4ad3d1501 | ||
|
|
763292e2e3 | ||
|
|
78ad2d800d | ||
|
|
3568ff8c3a | ||
|
|
45d8ebf2ca | ||
|
|
c942d3014f | ||
|
|
1d9145dffa | ||
|
|
2cd8ea4b80 | ||
|
|
86d0fa61c2 | ||
|
|
e3f617396a | ||
|
|
8d0c030319 | ||
|
|
f9a9c4dd98 | ||
|
|
98d196d511 | ||
|
|
6e9fc922fc | ||
|
|
33c4987b24 | ||
|
|
7d8705ed17 | ||
|
|
ff17fd6941 | ||
|
|
e5358e41fc | ||
|
|
50079858a8 | ||
|
|
983bffdc95 | ||
|
|
e29625922e | ||
|
|
231ef49c1e | ||
|
|
ba7a80b797 | ||
|
|
0ef34b084a | ||
|
|
92f29b7df3 | ||
|
|
88f2758dfd | ||
|
|
cb6b63eb44 | ||
|
|
d60a1b5e4b | ||
|
|
c21916a171 | ||
|
|
aad7a4b568 | ||
|
|
74bd0ad7de | ||
|
|
21fa52a784 | ||
|
|
2c144176e6 | ||
|
|
4274bc405f | ||
|
|
50d69f17f7 | ||
|
|
4549d1f9d7 | ||
|
|
d63be564c8 | ||
|
|
2aeec144fc | ||
|
|
2cde7163c3 | ||
|
|
67f64c7e8f | ||
|
|
cae70bfea8 | ||
|
|
ae3264eae5 | ||
|
|
cbe294cfb6 | ||
|
|
922f8bf9bd | ||
|
|
c00317e452 | ||
|
|
3d37b12423 | ||
|
|
0e8e681ff6 | ||
|
|
2a560ad358 | ||
|
|
3478fab5bc | ||
|
|
b317c01ad5 | ||
|
|
c83e3e4914 | ||
|
|
9e6ee35dac | ||
|
|
d0f3dcee70 | ||
|
|
766b4ae926 | ||
|
|
b4dff22f9a | ||
|
|
6d248600e8 | ||
|
|
cd27f8d38b | ||
|
|
0ae6e65268 | ||
|
|
c1230f5a1a | ||
|
|
f9404e948f | ||
|
|
2a998dbe19 | ||
|
|
14f58a455f | ||
|
|
1a9dfd32be | ||
|
|
f02663fac6 | ||
|
|
dc158b6469 | ||
|
|
fee8e2ef2f | ||
|
|
b28e710433 | ||
|
|
2b30f01c65 | ||
|
|
f5bbeda6ca | ||
|
|
227af01979 | ||
|
|
51985251d3 | ||
|
|
5bd38c3d54 | ||
|
|
4455542ec0 | ||
|
|
b7a6f178a9 | ||
|
|
3354d20e30 | ||
|
|
bb0f224ae2 | ||
|
|
893943c05f | ||
|
|
f8dc78348d | ||
|
|
659c6044bb | ||
|
|
2d2b7279d7 | ||
|
|
fd765f77f5 | ||
|
|
79a98b29b1 | ||
|
|
c5dcb4d49c | ||
|
|
bf18c65a23 | ||
|
|
ff299a7371 | ||
|
|
a49206acff | ||
|
|
10c9790349 | ||
|
|
5a077e84c4 | ||
|
|
c1f5a0c9a2 | ||
|
|
d995982e39 | ||
|
|
8c3335ee30 | ||
|
|
eb13c28294 | ||
|
|
a647cfc5e7 | ||
|
|
ed6d8aa0f2 | ||
|
|
f9ea52ae06 | ||
|
|
216976b400 | ||
|
|
3ae31acebc | ||
|
|
e13ae8edbb | ||
|
|
a14e550690 | ||
|
|
a0a15ff488 | ||
|
|
05b72d5cc8 | ||
|
|
671331210b | ||
|
|
e6919222a6 | ||
|
|
4e0ba91a68 | ||
|
|
d3db454dd0 | ||
|
|
feaecbaf4e | ||
|
|
1e856c0825 | ||
|
|
771c88f21f | ||
|
|
db87eb60fc | ||
|
|
e019aebf96 | ||
|
|
00046694d9 | ||
|
|
cc0d786c91 | ||
|
|
792a4021ec | ||
|
|
b391bd48e2 | ||
|
|
6419ce0c03 | ||
|
|
cc9f3c2cf0 | ||
|
|
5357b0c6ca | ||
|
|
54e10440ff | ||
|
|
899a433cbe | ||
|
|
43106a42c8 | ||
|
|
b54f55baf6 | ||
|
|
f426fdc26b | ||
|
|
6383146c85 | ||
|
|
bcf508de5f | ||
|
|
7c5d5251df | ||
|
|
f59a9801e7 | ||
|
|
15dc838b5c | ||
|
|
7f68da7b93 | ||
|
|
0477051202 | ||
|
|
b01980390e | ||
|
|
f3dbea33c2 | ||
|
|
d9a700da60 | ||
|
|
a82ce424e8 | ||
|
|
a363a69298 | ||
|
|
041d712fc0 | ||
|
|
92a9e2b312 | ||
|
|
8d1011eb20 | ||
|
|
3d2d21889b | ||
|
|
efcfd8f795 | ||
|
|
9e46fa744e | ||
|
|
b4171ff062 | ||
|
|
ef3d992c6a | ||
|
|
64c1d73da8 | ||
|
|
cf7701ec8a | ||
|
|
ed25d6660b | ||
|
|
1993e1afa4 | ||
|
|
d029bb7e31 | ||
|
|
9e916f41af | ||
|
|
31c65537d7 | ||
|
|
05c10bfd95 | ||
|
|
9f480a5a2e | ||
|
|
1a06df0830 | ||
|
|
a31073f144 | ||
|
|
2ba5e540ef | ||
|
|
e6bc25d0c1 | ||
|
|
156de44e6c | ||
|
|
23ef7106ae | ||
|
|
5a5da02809 | ||
|
|
de05173909 | ||
|
|
1a57db66f5 | ||
|
|
2631089126 | ||
|
|
56c86ec3c7 | ||
|
|
1efca71674 | ||
|
|
b96eac527f | ||
|
|
a64d6be2bc | ||
|
|
db6ae8167d | ||
|
|
5dd0241536 | ||
|
|
392ce397f2 | ||
|
|
a588ad99b4 | ||
|
|
8199c2fa81 | ||
|
|
1ed14ca24a | ||
|
|
98db8e731b | ||
|
|
afe2f43f12 | ||
|
|
0cabcfc955 | ||
|
|
67f2211e4f | ||
|
|
b6b7b04239 | ||
|
|
f2be33fbdb | ||
|
|
9866779cc6 | ||
|
|
23b2210448 | ||
|
|
b74080217f | ||
|
|
649a52165a | ||
|
|
0ddeab01b6 | ||
|
|
ccaae3568a | ||
|
|
6c727059ff | ||
|
|
0b77e43aaa | ||
|
|
aaadc4e320 | ||
|
|
e0885e77e8 | ||
|
|
92b59271e2 | ||
|
|
bdeb54c4c8 | ||
|
|
5659ec87fb | ||
|
|
a769ee37e1 | ||
|
|
272beb7e83 | ||
|
|
0e46bbe12e | ||
|
|
593d1fc0e3 | ||
|
|
e4b4e886f4 | ||
|
|
5f1d0051ca | ||
|
|
01dcdd9d2e | ||
|
|
39916df945 | ||
|
|
e92366c650 | ||
|
|
555f842351 | ||
|
|
8b3c020392 | ||
|
|
e469c92e38 | ||
|
|
3da210df16 | ||
|
|
0dbad6ddf9 | ||
|
|
a988115b6e | ||
|
|
7aaffc5637 | ||
|
|
86d8898b64 | ||
|
|
25c58ad7f3 | ||
|
|
ecd25ff06f | ||
|
|
222a08ca98 | ||
|
|
c62f029f1b | ||
|
|
b9f25e178d | ||
|
|
29b3d171ba | ||
|
|
a4402f88d2 | ||
|
|
9b9fe9f731 | ||
|
|
6dbfc8bede | ||
|
|
37ff7849a5 | ||
|
|
85fd43099b | ||
|
|
ec3744b372 | ||
|
|
47be261858 | ||
|
|
eb93823ff4 | ||
|
|
d10a1f9223 | ||
|
|
9ffbb6628a | ||
|
|
cd8a3346c8 | ||
|
|
3cedde6ba8 | ||
|
|
1cd8acaf4c | ||
|
|
9c0866d3cd | ||
|
|
bb2bb7b8cd | ||
|
|
398cfb9d57 | ||
|
|
17327a2c36 | ||
|
|
47c824959d | ||
|
|
71a83abcfd | ||
|
|
eb033166cd | ||
|
|
ddb6d22881 | ||
|
|
44a5477caa | ||
|
|
5da5e40053 | ||
|
|
77f7ac61c7 | ||
|
|
6dbc7f1cc0 | ||
|
|
aa5d529c9b | ||
|
|
aadc3a22aa | ||
|
|
6e186b23bc | ||
|
|
faaac86741 | ||
|
|
37de9f1619 | ||
|
|
35af08406c | ||
|
|
0ddccc84cd | ||
|
|
720745c350 | ||
|
|
4a78c22102 | ||
|
|
8454c02823 | ||
|
|
530f4abc9b | ||
|
|
8597bd1269 | ||
|
|
935a497c18 | ||
|
|
fb24793d9d | ||
|
|
c5ab79ef17 | ||
|
|
0035146f6c | ||
|
|
b3b4a8464f | ||
|
|
34b54eb2f3 | ||
|
|
bfdb8192c3 | ||
|
|
253dbdc94b | ||
|
|
6c59416dbb | ||
|
|
5153e7b341 | ||
|
|
b7def2c4f0 | ||
|
|
13c15c5ba2 | ||
|
|
0fa41df8f3 | ||
|
|
af2ec7f7d2 | ||
|
|
c12a69113a | ||
|
|
4604e0ffd8 | ||
|
|
bf65d4d2c9 | ||
|
|
fda18eb7a8 | ||
|
|
337f926b04 | ||
|
|
500e7bc765 | ||
|
|
2e2a7fb67e | ||
|
|
a9450341a2 | ||
|
|
2e227e80a6 | ||
|
|
35e833a0b1 | ||
|
|
adb3c7cdcb | ||
|
|
d7b28b3a88 | ||
|
|
d72bc4b7cb | ||
|
|
7ac9730b18 | ||
|
|
25820b6f1e | ||
|
|
da21657c84 | ||
|
|
8569c2504a | ||
|
|
e3773fbadf | ||
|
|
090c58c1f2 | ||
|
|
9eee1f2c48 | ||
|
|
bbcb730ab9 | ||
|
|
4f119d994c | ||
|
|
a6bafe714f | ||
|
|
1a9d746c54 | ||
|
|
d62fe47db9 | ||
|
|
71f1389f62 | ||
|
|
93b81cbee8 | ||
|
|
c426e7215c | ||
|
|
e744dc6a5a | ||
|
|
9c33dac73f | ||
|
|
03dd654c88 | ||
|
|
5126892e98 | ||
|
|
5399afa0da | ||
|
|
f076f1d32c | ||
|
|
46c0606929 | ||
|
|
4f60076af4 | ||
|
|
635cc77cd0 | ||
|
|
7ac3904158 | ||
|
|
0bc1efc286 | ||
|
|
c7b5598a40 | ||
|
|
5632825acd | ||
|
|
d9327835d0 | ||
|
|
334eeb38f5 | ||
|
|
9a1cac3784 | ||
|
|
74a01a0c9c | ||
|
|
9965469511 | ||
|
|
c7cbf7e6cb | ||
|
|
783cdc14b2 | ||
|
|
f0a6d45fa7 | ||
|
|
dde2de38e5 | ||
|
|
3dc68a64fc | ||
|
|
e6d779a76b | ||
|
|
0bba649ace | ||
|
|
32460b6bfd | ||
|
|
caef63e134 | ||
|
|
c71947a6d1 | ||
|
|
8318198770 | ||
|
|
162b0b3a96 | ||
|
|
4473dd1fbc | ||
|
|
40adda3c7f | ||
|
|
026cef5f66 | ||
|
|
8c8e97ee48 | ||
|
|
666e9e81fb | ||
|
|
29c0d4c2c8 | ||
|
|
339cb24a08 | ||
|
|
377359d015 | ||
|
|
c49a976120 | ||
|
|
ffa553a09e | ||
|
|
5318eeba96 | ||
|
|
4b0c34a1d1 | ||
|
|
6725db8971 | ||
|
|
0da336fcdb | ||
|
|
3e7206338c | ||
|
|
ad0e6cd338 | ||
|
|
32e51cfc6e | ||
|
|
9ed0b3ff36 | ||
|
|
d82e34d116 | ||
|
|
0d89d5ecea | ||
|
|
87c20e0328 | ||
|
|
9f7eb0c5d7 | ||
|
|
10f1416d0a | ||
|
|
bbc07c78b0 | ||
|
|
d1c4704669 | ||
|
|
87646ed129 | ||
|
|
262a974c2d | ||
|
|
7a4f294831 | ||
|
|
bcd165f8c7 | ||
|
|
7a79d7fb7b | ||
|
|
f1822d565d | ||
|
|
10be5af8b2 | ||
|
|
d228d3d2f7 | ||
|
|
214ca2aca9 | ||
|
|
bb2840c26f | ||
|
|
383782079d | ||
|
|
1439944fd8 | ||
|
|
abe125dc1d | ||
|
|
ab0195b1ab | ||
|
|
b81ed94ab8 | ||
|
|
d42ca5af73 | ||
|
|
f96cf9232f | ||
|
|
981f9c0e77 | ||
|
|
048e61d401 | ||
|
|
8e6e4f5c99 | ||
|
|
bba288a55b | ||
|
|
91243dfcb6 | ||
|
|
59480dce0b | ||
|
|
5ba3b4a382 | ||
|
|
893d6dbc2a | ||
|
|
316f7f071e | ||
|
|
708f094d44 | ||
|
|
8c34eff2e9 | ||
|
|
9c372d4d88 | ||
|
|
0c7bcad38c | ||
|
|
e6ef3c455d | ||
|
|
575bae7a5d | ||
|
|
1dbb098a94 | ||
|
|
96d2e1a4eb | ||
|
|
7dbece752c | ||
|
|
88ce63f411 | ||
|
|
11b199eb3f | ||
|
|
630825d9fa | ||
|
|
04c710549f | ||
|
|
f364669ac7 | ||
|
|
7fe66ffb76 | ||
|
|
b93b097fcc | ||
|
|
2f059a592d | ||
|
|
390e271a25 | ||
|
|
20e58b4994 | ||
|
|
cb2e8732a5 | ||
|
|
82a7028038 | ||
|
|
b215bdb2e0 | ||
|
|
67af191fbc | ||
|
|
a7c9e960d8 | ||
|
|
d79dfb890d | ||
|
|
8700b4915d | ||
|
|
7cfe616724 | ||
|
|
112549673f | ||
|
|
a2920ee43f | ||
|
|
f01694b6ea | ||
|
|
a278a03dae | ||
|
|
a285eeb2bf | ||
|
|
079260ab04 | ||
|
|
5e26030164 | ||
|
|
b8ee36abec | ||
|
|
2e4c958208 | ||
|
|
5190453157 | ||
|
|
57173901f5 | ||
|
|
e8364e459f | ||
|
|
a54adb1885 | ||
|
|
7b902466de | ||
|
|
30e91e2d64 | ||
|
|
aaa331ec68 | ||
|
|
8b525aad2a | ||
|
|
a41afbac8e | ||
|
|
8e5988a420 | ||
|
|
2f3f5c1350 | ||
|
|
b550a8aaad | ||
|
|
157dc8b4be | ||
|
|
a0451e24a4 | ||
|
|
41c29ad8e2 | ||
|
|
79ff9cfa5d | ||
|
|
be0824be33 | ||
|
|
1c4df6b745 | ||
|
|
bc1f47a275 | ||
|
|
614e337542 | ||
|
|
beb415c15a | ||
|
|
f9f4f9d39e | ||
|
|
1f2a7576c3 | ||
|
|
d1a58c5cf8 | ||
|
|
e8c12d3263 | ||
|
|
afd6b8cd47 | ||
|
|
97e9d36acb | ||
|
|
0c35143f92 | ||
|
|
63eca62e81 | ||
|
|
1a68a9d1d0 | ||
|
|
cb832c7996 | ||
|
|
46b34ca1a6 | ||
|
|
9ecd0dc581 | ||
|
|
5ab4bf755f | ||
|
|
9a0fe99280 | ||
|
|
58122b19d3 | ||
|
|
b13543b1c3 | ||
|
|
8645e77795 | ||
|
|
2f998b8cc1 | ||
|
|
2f225acb81 | ||
|
|
9c85a51b56 | ||
|
|
b8d4a1f137 | ||
|
|
a040f3d4f4 | ||
|
|
a0feb91521 | ||
|
|
fa1ea2300d | ||
|
|
472c09e475 | ||
|
|
0fdc57f6f2 | ||
|
|
f72dc9c694 | ||
|
|
05df0f0847 | ||
|
|
65819531a5 | ||
|
|
263051e1fc | ||
|
|
05b84c1c86 | ||
|
|
2cbc1dcd1a | ||
|
|
1ee175d89e | ||
|
|
559066b486 | ||
|
|
017b69b2f7 | ||
|
|
7ae6aff2d5 | ||
|
|
c12dfc2263 | ||
|
|
c8aa5c009e | ||
|
|
85d6960b5c | ||
|
|
36dd6df7e2 | ||
|
|
9793097100 | ||
|
|
942afc90d3 | ||
|
|
765cf3fee9 | ||
|
|
af988cfece | ||
|
|
dd60cc54dc | ||
|
|
8be2ec782e | ||
|
|
2a42a8f7fa | ||
|
|
5a87b2fef4 | ||
|
|
2785d55f3e | ||
|
|
783aed3888 | ||
|
|
fdecc4cae2 | ||
|
|
c0bfdadb20 | ||
|
|
5d620f172a | ||
|
|
b06888570e | ||
|
|
02dc257016 | ||
|
|
8629bb37f7 | ||
|
|
5a10793ce9 | ||
|
|
c1ee765f8b | ||
|
|
fee1ad448c | ||
|
|
d1bb62f1df | ||
|
|
bb2ae1f307 | ||
|
|
2125f81705 | ||
|
|
a68c484500 | ||
|
|
8f729a9570 | ||
|
|
e4d9d527e8 | ||
|
|
501d830356 | ||
|
|
0358170951 | ||
|
|
b02cdb4f40 | ||
|
|
cf12a14aac | ||
|
|
f4659c8550 | ||
|
|
ae3372d7df | ||
|
|
d15f1d8e90 | ||
|
|
b3452ffa86 | ||
|
|
b8ec5ab39a | ||
|
|
0269a3b0af | ||
|
|
9cc109b834 | ||
|
|
b41c1e80cc | ||
|
|
8e5656b9ad | ||
|
|
a4983057a2 | ||
|
|
3a1e6f72f5 | ||
|
|
7a7e91247e | ||
|
|
dc2ca0d903 | ||
|
|
d722a41fa4 | ||
|
|
2d1b889001 | ||
|
|
a63278f0f5 | ||
|
|
5a98fd8081 | ||
|
|
ce2bd046e6 | ||
|
|
252cd2a57b | ||
|
|
a2eae19cd1 | ||
|
|
9917be916c | ||
|
|
bd0141f352 | ||
|
|
01ae2e51da | ||
|
|
0190a030ae | ||
|
|
9934cea1a4 | ||
|
|
f67f84a96d | ||
|
|
06e93efc64 | ||
|
|
02e26502a0 | ||
|
|
691fb34191 | ||
|
|
7d99fe6a50 | ||
|
|
0e700bd86d | ||
|
|
1d0ee16a9d | ||
|
|
1f072efc55 | ||
|
|
a1c183cfb6 | ||
|
|
30a0a7ec69 | ||
|
|
4d7cc60a00 | ||
|
|
d53527a00b | ||
|
|
c63bb05028 | ||
|
|
9cb765c899 | ||
|
|
2dccd09e54 | ||
|
|
7b5ae24305 | ||
|
|
56731cd1bc | ||
|
|
b0a7cb2254 | ||
|
|
c225af8da7 | ||
|
|
122235813e | ||
|
|
bd93bdc1c0 | ||
|
|
7f70e58d47 | ||
|
|
3beb6cd858 | ||
|
|
88928d69a8 | ||
|
|
edc5130fbc | ||
|
|
6084e90375 | ||
|
|
4e0a35c885 | ||
|
|
40bab10e97 | ||
|
|
1979c23f3b | ||
|
|
e820b8149c | ||
|
|
0f5c8a5358 | ||
|
|
255a7c5844 | ||
|
|
74143dd860 | ||
|
|
a24273164d | ||
|
|
9e06320072 | ||
|
|
39f7005f7c | ||
|
|
1ecb2c6353 | ||
|
|
dc56998531 | ||
|
|
9bdb311e97 | ||
|
|
11cb811217 | ||
|
|
44d73d55a6 | ||
|
|
65b118d587 | ||
|
|
d66e8349a1 | ||
|
|
ed1ce1402f | ||
|
|
62d0801541 | ||
|
|
a7027ebdf3 | ||
|
|
a2e3f80259 | ||
|
|
2ed3618a8f | ||
|
|
fd5804c71d | ||
|
|
ac51591875 | ||
|
|
bfb4391ae7 | ||
|
|
6fb5a404d6 | ||
|
|
ca87bdf4d5 | ||
|
|
ddf691bcc3 | ||
|
|
eb5d40672a | ||
|
|
9f4460e53c | ||
|
|
0abbbc12f0 | ||
|
|
8894dc47fd | ||
|
|
2604ccb7ac | ||
|
|
0b9165c2a3 | ||
|
|
e50f08ece3 | ||
|
|
3236750692 | ||
|
|
4d8371e915 | ||
|
|
22b991b909 | ||
|
|
fabc4b230f | ||
|
|
92698411db | ||
|
|
4beca71da8 | ||
|
|
a388fb9eb3 | ||
|
|
3e5430d221 | ||
|
|
0cebd244c8 | ||
|
|
d068a54517 | ||
|
|
294ba96376 | ||
|
|
dd5751cc82 | ||
|
|
66af01a2b9 | ||
|
|
3487a4523f | ||
|
|
3a98843b0f | ||
|
|
17c7abea6a | ||
|
|
bc86763a2f | ||
|
|
21f01c9041 | ||
|
|
a72defd27a | ||
|
|
df86a957b7 | ||
|
|
d97f53e51f | ||
|
|
7b30c71d4a | ||
|
|
b5d2eacffa | ||
|
|
f2b7677c98 | ||
|
|
9b4df52e9b | ||
|
|
28e215d8dc | ||
|
|
0696c6177e | ||
|
|
3a924f3aee | ||
|
|
beb4a500e4 | ||
|
|
8afbbf4919 | ||
|
|
2d67a42d05 | ||
|
|
158d100ab1 | ||
|
|
304b2ee6c2 | ||
|
|
aa0fe0df80 | ||
|
|
8002cdafaf | ||
|
|
86f6ffabe0 | ||
|
|
202cd73559 | ||
|
|
91396420b4 | ||
|
|
39c7e359c4 | ||
|
|
3b8a866a62 | ||
|
|
5984c2ad6c | ||
|
|
2819a588b3 | ||
|
|
74a18ec950 | ||
|
|
309fb2dc04 | ||
|
|
66e653caff | ||
|
|
79bdd1d55c | ||
|
|
3af266775d | ||
|
|
2c531b8f9a | ||
|
|
43b308e95e | ||
|
|
f82812c64e | ||
|
|
e3480b94f9 | ||
|
|
2f99e64b71 | ||
|
|
37eb02ba89 | ||
|
|
86561558dd | ||
|
|
940a87bbf9 | ||
|
|
2db4630dd8 | ||
|
|
6e3dba9ba9 | ||
|
|
c9c824fb3b | ||
|
|
923a9c6cea | ||
|
|
7221d01a37 | ||
|
|
67e8886800 | ||
|
|
f71e0bbd1c | ||
|
|
705c55ff7e | ||
|
|
e0ccde3dcc | ||
|
|
6736358eed | ||
|
|
ef6cbd27a0 | ||
|
|
968dd1d4b3 | ||
|
|
b923a0809c | ||
|
|
2fb47fed49 | ||
|
|
2126ead29a | ||
|
|
6c7384a436 | ||
|
|
bf7db3cfce | ||
|
|
685fb8086e | ||
|
|
d852583364 | ||
|
|
b48cb878a4 | ||
|
|
1a49ebea5e | ||
|
|
c83131d702 | ||
|
|
b26273c196 | ||
|
|
ec91adc761 | ||
|
|
6aa7ce987a | ||
|
|
21439a6da2 | ||
|
|
bef09d5490 | ||
|
|
f4c34e07cc | ||
|
|
2ad6651228 | ||
|
|
c96d6b6ad6 | ||
|
|
7ed21ddb16 | ||
|
|
881994d97f | ||
|
|
efdba56307 | ||
|
|
c82025785f | ||
|
|
92104de00f | ||
|
|
a70f9ae2cf | ||
|
|
6a7be083de | ||
|
|
12726a7170 | ||
|
|
8e4f929fe8 | ||
|
|
a2868d1b34 | ||
|
|
a8af4813d5 | ||
|
|
daa22be30a | ||
|
|
d9046bbf40 | ||
|
|
286499ed4c | ||
|
|
ac3cca2313 | ||
|
|
9f1bae696a | ||
|
|
f95cad6393 | ||
|
|
b03393de13 | ||
|
|
cdf151eb01 | ||
|
|
321f2008a2 | ||
|
|
1edeb2036e | ||
|
|
e94f955ac6 | ||
|
|
1958638f6c | ||
|
|
db806b4238 | ||
|
|
d0c1c5d889 | ||
|
|
eccc14f464 | ||
|
|
b07d3b22e7 | ||
|
|
b9b1ac0a1c | ||
|
|
1cd514c5b2 | ||
|
|
bcaff94b6c | ||
|
|
3efc04e953 | ||
|
|
722f33dedf | ||
|
|
457c851157 | ||
|
|
8c3d820634 | ||
|
|
98bd131e8e | ||
|
|
3041b32aca | ||
|
|
6eab3bf30e | ||
|
|
cdd74c496b | ||
|
|
33a59aa036 | ||
|
|
c836ba42de | ||
|
|
c0c27a8ae9 | ||
|
|
2f3d253c94 | ||
|
|
b41cf2ee21 | ||
|
|
2f860147d8 | ||
|
|
554a2f5c3f | ||
|
|
a91654aee3 | ||
|
|
f24e1a864d | ||
|
|
1cbe08abde | ||
|
|
bb657af4ec | ||
|
|
4550613f8c | ||
|
|
735db7afdb | ||
|
|
18bf882f03 | ||
|
|
0bcb9dbb57 | ||
|
|
3f8ad55c85 | ||
|
|
dbee980bf9 | ||
|
|
05ba84a19d | ||
|
|
948c8a8155 | ||
|
|
a24d345d24 | ||
|
|
24fcf27eea | ||
|
|
5c9fccf9c2 | ||
|
|
b086b8143d | ||
|
|
e7efad7787 | ||
|
|
fcc726b474 | ||
|
|
126385aa5a | ||
|
|
5ee82cc838 | ||
|
|
509a16e45e | ||
|
|
a905816d58 | ||
|
|
5c3346a180 | ||
|
|
049b247b1a | ||
|
|
86788bad0c | ||
|
|
7bf34e9d29 | ||
|
|
af2f4da590 | ||
|
|
f792546214 | ||
|
|
18ba83921b | ||
|
|
ea550ddd6a | ||
|
|
88dad3f1a6 | ||
|
|
a14494844e | ||
|
|
3b35449119 | ||
|
|
bc3b593945 | ||
|
|
236c53e909 | ||
|
|
a49e82e29d | ||
|
|
bd2da7022a | ||
|
|
709cd3f5e8 | ||
|
|
a1f31dd556 | ||
|
|
997494aca9 | ||
|
|
5a01bb97d5 | ||
|
|
461f2d27b5 | ||
|
|
fbf28de24e | ||
|
|
a64581fc57 | ||
|
|
a4819fdc9d | ||
|
|
b2c93adc15 | ||
|
|
dec9c88f83 | ||
|
|
210e774dac | ||
|
|
64de8f0ada | ||
|
|
a158ef9c7c | ||
|
|
e9dc019be2 | ||
|
|
8e5396ba7e | ||
|
|
b89d4b1ea8 | ||
|
|
0a8a84b1d5 | ||
|
|
d78dc5c1c3 | ||
|
|
9677f78732 | ||
|
|
951cbcb55b | ||
|
|
629f79fe55 | ||
|
|
a0137155e4 | ||
|
|
7e44f4ed8f | ||
|
|
168e7fff24 | ||
|
|
d8f463065f | ||
|
|
1dda5c3dbf | ||
|
|
c0312d5689 | ||
|
|
c8030d8aea | ||
|
|
bbc74dc45c | ||
|
|
ec5096502d | ||
|
|
e65269b002 | ||
|
|
265b2a9ead | ||
|
|
d4879ec92f | ||
|
|
99866cd4f9 | ||
|
|
a822d142a4 | ||
|
|
7b494313d9 | ||
|
|
f1259dab72 | ||
|
|
b5dfe8a1d8 | ||
|
|
5510b53036 | ||
|
|
e338ee6827 | ||
|
|
3ee152f7fe | ||
|
|
dbe5c37fcc | ||
|
|
a2281fa990 | ||
|
|
8fda69c573 | ||
|
|
e5ee75c14f | ||
|
|
32ce610d53 | ||
|
|
b1eb9c1882 | ||
|
|
a9e89b0bfc | ||
|
|
7038a1008c | ||
|
|
30fc3658c1 | ||
|
|
e34bf3411c | ||
|
|
3ba9f4e50d | ||
|
|
8494d1230c | ||
|
|
3b6e26c2c5 | ||
|
|
f018b53ec5 | ||
|
|
f751dedb80 | ||
|
|
820786505d | ||
|
|
da7f347f3e | ||
|
|
7ead992016 | ||
|
|
5ba1af9ea4 | ||
|
|
949daa8801 | ||
|
|
1a8cfae4f9 | ||
|
|
4964c796e0 | ||
|
|
b5a2e336c6 | ||
|
|
53b53d0035 | ||
|
|
ce2aa59add | ||
|
|
bd9659e6fa | ||
|
|
7ca34c259e | ||
|
|
6096b97c7c | ||
|
|
802d3bcc43 | ||
|
|
5d510be538 | ||
|
|
b02e342087 | ||
|
|
0389aba1fa | ||
|
|
7223f6a8e3 | ||
|
|
a1417052ec | ||
|
|
ae3abb04a3 | ||
|
|
ad97131579 | ||
|
|
fa6759956f | ||
|
|
90253d80b6 | ||
|
|
16c7dfc988 | ||
|
|
3110d0a7ca | ||
|
|
cacb0ab510 | ||
|
|
370857c10c | ||
|
|
dfb6d7bd83 | ||
|
|
e40cd096d8 | ||
|
|
228443b476 | ||
|
|
44ebbe32f8 | ||
|
|
f9211ed0e5 | ||
|
|
2bd69fa3c3 | ||
|
|
f90a5a1e93 | ||
|
|
9e48918833 | ||
|
|
6dee1ba054 | ||
|
|
cb548a34bb | ||
|
|
ce8a7cf85d | ||
|
|
0511841c5f | ||
|
|
30e83e0ad5 | ||
|
|
912f82de3a | ||
|
|
182037787c | ||
|
|
75164efd32 | ||
|
|
61244f6db9 | ||
|
|
5cee9b1889 | ||
|
|
d699297b9f | ||
|
|
4e9d577664 | ||
|
|
b3271d3d97 | ||
|
|
656365af83 | ||
|
|
160461088a | ||
|
|
7a09fe4664 | ||
|
|
f8112bc917 | ||
|
|
5ceeefe014 | ||
|
|
8ffee9e13e | ||
|
|
0effc45ae2 | ||
|
|
153bea0ce4 | ||
|
|
e96a25651f | ||
|
|
661b4f6cf9 | ||
|
|
7e1c431935 | ||
|
|
126369b22d | ||
|
|
1be79694ec | ||
|
|
40c47054de | ||
|
|
2b5f45f545 | ||
|
|
4b7377e099 | ||
|
|
ed37b283d8 | ||
|
|
2b5f698903 | ||
|
|
667903813d | ||
|
|
7cc03763f5 | ||
|
|
c09210d2b9 | ||
|
|
fd1ff543e9 | ||
|
|
696a201e07 | ||
|
|
806b192a26 | ||
|
|
b1e151b6e3 | ||
|
|
0c6faf26f0 | ||
|
|
585086c59c | ||
|
|
a2fa84bf54 | ||
|
|
6a58aacae2 | ||
|
|
ee1697846e | ||
|
|
a06e039410 | ||
|
|
e7cbb3fca1 | ||
|
|
3252ce878c | ||
|
|
8c6a636718 | ||
|
|
ddc0384e5a | ||
|
|
82191df631 | ||
|
|
6a5229782e | ||
|
|
938ccd7d31 | ||
|
|
1ca0d9924f | ||
|
|
adb054995b | ||
|
|
63ee09a339 | ||
|
|
6775ad1391 | ||
|
|
c46f0679b3 | ||
|
|
380575cb21 | ||
|
|
65a4685f64 | ||
|
|
fa23af6946 | ||
|
|
d2082dfc31 | ||
|
|
14aeb82131 | ||
|
|
cc35a79a5c | ||
|
|
2817f0d436 | ||
|
|
1eba7b6bbe | ||
|
|
23c0cd460f | ||
|
|
7fcde7c43e | ||
|
|
4e1acfee9b | ||
|
|
075f3b1999 | ||
|
|
b1cf7fa2fb | ||
|
|
578b1917ba | ||
|
|
565b77a95f | ||
|
|
4f20234171 | ||
|
|
87e4dcc1d6 | ||
|
|
9194028d7f | ||
|
|
b2d584ed34 | ||
|
|
a4547be9bd | ||
|
|
f84570f461 | ||
|
|
95400e4869 | ||
|
|
8b6f90cc88 | ||
|
|
ebc5da3a0a | ||
|
|
a4e9dab641 | ||
|
|
93b286d054 | ||
|
|
f4d76ea285 | ||
|
|
4c0be90e26 | ||
|
|
5c4b53af9e | ||
|
|
9eb614e30d | ||
|
|
a554fde0b5 | ||
|
|
13b1e5ebad | ||
|
|
05bfc9f964 | ||
|
|
25a556e86e | ||
|
|
bad10238ec | ||
|
|
f419d3b6d4 | ||
|
|
6d409a43c8 | ||
|
|
21ae512e12 | ||
|
|
d929273bc5 | ||
|
|
5207ba0132 | ||
|
|
78cd7564f7 | ||
|
|
4cdefd7281 | ||
|
|
d282389c10 | ||
|
|
2cdb288556 | ||
|
|
6cffd9112b | ||
|
|
97d27f72e7 | ||
|
|
429c38a08e | ||
|
|
300a69d558 | ||
|
|
655ca23afd | ||
|
|
cd4a9a369b | ||
|
|
d2bc829802 | ||
|
|
bcfe1cd20b | ||
|
|
25b5e3a49a | ||
|
|
fde77a8e89 | ||
|
|
c5b9526a60 | ||
|
|
96e78a22c9 | ||
|
|
879df1b115 | ||
|
|
ebfb0669da | ||
|
|
8803273a98 | ||
|
|
f96c5cdbdc | ||
|
|
9b98a91beb | ||
|
|
e64c68e9c3 | ||
|
|
2ccc066bc2 | ||
|
|
59bea2bb57 | ||
|
|
7141d45beb | ||
|
|
58ab530914 | ||
|
|
3d5d6eab4c | ||
|
|
efa0f2876c | ||
|
|
757b271c1a | ||
|
|
04bccbd8fa | ||
|
|
e13add5c1e | ||
|
|
c3eb4a5e2a | ||
|
|
4e40fded47 | ||
|
|
10f2c15f9e | ||
|
|
2f3bfe1608 | ||
|
|
c7f05c0de2 | ||
|
|
4ffbbdd73b | ||
|
|
dae0ebac37 | ||
|
|
85fcaf6e38 | ||
|
|
2ec3ab65c8 | ||
|
|
6a8ccb4444 | ||
|
|
0240bbf90c | ||
|
|
c2c42ed547 | ||
|
|
a4e0615fcb | ||
|
|
9da9a6e991 | ||
|
|
8593c93937 | ||
|
|
124359bfb6 | ||
|
|
f5a0f1d857 | ||
|
|
26f2b0adf7 | ||
|
|
937ea1fdff | ||
|
|
4e698712c6 | ||
|
|
506ba66a39 | ||
|
|
346430e540 | ||
|
|
5fe605cfb4 | ||
|
|
ebeba6679b | ||
|
|
601cf17c57 | ||
|
|
52c90059b6 | ||
|
|
a8784ff93d | ||
|
|
7e48c62cec | ||
|
|
77b7903840 | ||
|
|
4bff050def | ||
|
|
146d1274ec | ||
|
|
6fb9d48858 | ||
|
|
81b7144459 | ||
|
|
b02d709c17 | ||
|
|
4c48750303 | ||
|
|
e320630245 | ||
|
|
a8f009cdd4 | ||
|
|
a7111f80fa | ||
|
|
ca46b767aa | ||
|
|
92e0e3948e | ||
|
|
3ce5ad690d | ||
|
|
941c236798 | ||
|
|
b68192bcb7 | ||
|
|
d9d69f2ded | ||
|
|
1ddf9f1307 | ||
|
|
82d4232e2a | ||
|
|
27b545ecc0 | ||
|
|
71aa4d745b | ||
|
|
b78129ad3a | ||
|
|
4d15b8b11a | ||
|
|
11d8d11a0a | ||
|
|
4c2e2d1d03 | ||
|
|
1e6769acc4 | ||
|
|
34bf8f3d8e | ||
|
|
3f0d9c47e4 | ||
|
|
7dcea4a606 | ||
|
|
e4b0d97c55 | ||
|
|
e3f5902b2e | ||
|
|
1b63cb6d8b | ||
|
|
b5458e7aca | ||
|
|
1a2368b436 | ||
|
|
d952c3a230 | ||
|
|
64dbe462e7 | ||
|
|
a6418f2eb2 | ||
|
|
3fbc313997 | ||
|
|
b87ac24e36 | ||
|
|
1e377ab381 | ||
|
|
de082fc090 | ||
|
|
78b6f27be4 | ||
|
|
ec1076707f | ||
|
|
357d9473e4 | ||
|
|
1cc9fce387 | ||
|
|
c44c9f89d7 | ||
|
|
0269c4f502 | ||
|
|
ec3bcb9e44 | ||
|
|
c1ca33ce6e | ||
|
|
c0177aa6b1 | ||
|
|
428060adbf | ||
|
|
65772f6910 | ||
|
|
f7889f4199 | ||
|
|
98dbc47939 | ||
|
|
8d08d0dae5 | ||
|
|
e7bd6199bd | ||
|
|
f1748c41cd | ||
|
|
0ffcaa4528 | ||
|
|
8e640d3171 | ||
|
|
60e950168b | ||
|
|
62cfa242f1 | ||
|
|
5dc3b3236c | ||
|
|
05799c35e6 | ||
|
|
047dcbb0f0 | ||
|
|
2ae7b6a8b0 | ||
|
|
0985451b8a | ||
|
|
7f30e74836 | ||
|
|
dc0f25ab51 | ||
|
|
e3e9a85b60 | ||
|
|
9a38e4ddbd | ||
|
|
6cd97ee947 | ||
|
|
7e142eb484 | ||
|
|
1d0c10b443 | ||
|
|
8fe670c5ec | ||
|
|
f35836d6c7 | ||
|
|
1de9809f35 | ||
|
|
a4a39ae695 | ||
|
|
9554cf6714 | ||
|
|
8f4a48b779 | ||
|
|
657ba2e80f | ||
|
|
c032dc3b39 | ||
|
|
42339ddc33 | ||
|
|
14d3bcbd1a | ||
|
|
93879f2aae | ||
|
|
1aa0f80c90 | ||
|
|
fa1241b5bc | ||
|
|
04f4eede47 | ||
|
|
ca5bf03af3 | ||
|
|
bb2694a684 | ||
|
|
81c5f2460c | ||
|
|
851205f481 | ||
|
|
fa91dce42e | ||
|
|
135af3793e | ||
|
|
c754b24f87 | ||
|
|
8d31b561d6 | ||
|
|
66f161ec56 | ||
|
|
9d7306f78a | ||
|
|
cca3a3f012 | ||
|
|
43a1f06786 | ||
|
|
9ffc617d32 | ||
|
|
685326fd36 | ||
|
|
634834124b | ||
|
|
f5ccd18c8c | ||
|
|
c8c77763e3 | ||
|
|
23679560b1 | ||
|
|
3ac6aeef76 | ||
|
|
24cc070710 | ||
|
|
b8616df56f | ||
|
|
fdb00ff48d | ||
|
|
4704c6df76 | ||
|
|
a1a1606253 | ||
|
|
71dc6e827d | ||
|
|
9f85d6b917 | ||
|
|
3f80c66aba | ||
|
|
729eef98f9 | ||
|
|
7cda96dd36 | ||
|
|
359a1855c6 | ||
|
|
9f558b98f9 | ||
|
|
ff92bfc08a | ||
|
|
f37851bcbd | ||
|
|
760f4310e8 | ||
|
|
955239b2a5 | ||
|
|
d28aedb09d | ||
|
|
7e7dd3f943 | ||
|
|
d8c1f3f40b | ||
|
|
538b3bb273 | ||
|
|
316b3dc114 | ||
|
|
811c16554f | ||
|
|
1f92076b4c | ||
|
|
21c28f9e31 | ||
|
|
78da1efce2 | ||
|
|
4f704d5fd3 | ||
|
|
914db7a62a | ||
|
|
53d4a828fb | ||
|
|
54cc90cd2b | ||
|
|
ecfe0d174c | ||
|
|
ce12959dbc | ||
|
|
30f41d6e06 | ||
|
|
74b1e799de | ||
|
|
dd4523397c | ||
|
|
2974c17256 | ||
|
|
8dab9e6005 | ||
|
|
2c8848032c | ||
|
|
e01b786221 | ||
|
|
39da1a8765 | ||
|
|
2fd2c81f9d | ||
|
|
a7aed95683 | ||
|
|
02b5705ec7 | ||
|
|
4654bd6edc | ||
|
|
f83885b6c4 | ||
|
|
1f55bd749b | ||
|
|
cab249d09c | ||
|
|
82eec7ddd0 | ||
|
|
650e065f82 | ||
|
|
0b7838ae25 | ||
|
|
9cf3817b6e | ||
|
|
645750abb3 | ||
|
|
809f880ce4 | ||
|
|
cb1bd0ceba | ||
|
|
6695c945ff | ||
|
|
1e390e63e6 | ||
|
|
a5e49350fe | ||
|
|
afb351d73d | ||
|
|
4c39c9f483 | ||
|
|
9e0a3e0d84 | ||
|
|
75595bd143 | ||
|
|
5eb8699b85 | ||
|
|
ef06dad541 | ||
|
|
401931a3af | ||
|
|
e50b89bdf5 | ||
|
|
290779695a | ||
|
|
81c8d45f56 | ||
|
|
09e24473eb | ||
|
|
45c8ddee0e | ||
|
|
794f985e51 | ||
|
|
32813fa760 | ||
|
|
20a81239ea | ||
|
|
d0b03415da | ||
|
|
b536345e9b | ||
|
|
cecf1b0d5f | ||
|
|
c34660ee3c | ||
|
|
03cd77245a | ||
|
|
b515128eeb | ||
|
|
8a9a48f23d | ||
|
|
be84f48ede | ||
|
|
008e073c10 | ||
|
|
b7e1969c3e | ||
|
|
cd8c1fe451 | ||
|
|
3c024cf900 | ||
|
|
00dcb069d9 | ||
|
|
85544a1fd1 | ||
|
|
9251d7bb1a | ||
|
|
25eb347e78 | ||
|
|
8f9c2e72ae | ||
|
|
c058edee4d | ||
|
|
a01d929dfc | ||
|
|
4db8e26baf | ||
|
|
c3149a5ecc | ||
|
|
3b0339c1f2 | ||
|
|
c8b9b6b2ae | ||
|
|
0b09ce8b0e | ||
|
|
1eba928e0f | ||
|
|
4718465f15 | ||
|
|
160040b55b | ||
|
|
7058384b48 | ||
|
|
91f759ee19 | ||
|
|
68b26e4444 | ||
|
|
3c0227b801 | ||
|
|
be376b8fd8 | ||
|
|
9e801c011c | ||
|
|
0545061c8d | ||
|
|
e9dcfda6d9 | ||
|
|
7cea9948ba | ||
|
|
4a50592f6a | ||
|
|
d4ead625e8 | ||
|
|
e802e063b8 | ||
|
|
030bce7a4a | ||
|
|
c2affef249 | ||
|
|
d550ab97c4 | ||
|
|
ba8e18920d | ||
|
|
eeceecbd43 | ||
|
|
85eb4e1c19 | ||
|
|
db773e95d4 | ||
|
|
1b32bd9f8d | ||
|
|
0f89a50782 | ||
|
|
2d6a5fad44 | ||
|
|
7b406feb34 | ||
|
|
5677d717fd | ||
|
|
3120b3778b | ||
|
|
2cfc6d7094 | ||
|
|
d2983508a9 | ||
|
|
f0f0bc2183 | ||
|
|
fdf06e54b0 | ||
|
|
17253bd373 | ||
|
|
1ee68c34d3 | ||
|
|
64cf448035 | ||
|
|
151048e3b7 | ||
|
|
375710d6d3 | ||
|
|
30e01bc5eb | ||
|
|
6808259ac5 | ||
|
|
c1e68ee55b | ||
|
|
c7f71bf973 | ||
|
|
df23cc1782 | ||
|
|
f9c4d1cdf9 | ||
|
|
e1829be2fd | ||
|
|
8cc8d8eeb5 | ||
|
|
78b535a5a3 | ||
|
|
8da8fb7977 | ||
|
|
804d675c2e | ||
|
|
90fd61a274 | ||
|
|
8ea450e3cb | ||
|
|
4713b905fa | ||
|
|
770280a67b | ||
|
|
42d58bac04 | ||
|
|
1931899568 | ||
|
|
5f85a99ec6 | ||
|
|
3032b29df4 | ||
|
|
0e8610b91d | ||
|
|
c87ba932cb | ||
|
|
688ba3becc | ||
|
|
b1dc7bed7a | ||
|
|
84d26a0471 | ||
|
|
655ba83b6c | ||
|
|
b4ea3f3b57 | ||
|
|
45c41da01c | ||
|
|
5efe9e0b5a | ||
|
|
6c07965cf8 | ||
|
|
9520edf3c5 | ||
|
|
bbb17e5884 | ||
|
|
dc91bbd88f | ||
|
|
43d67b37f5 | ||
|
|
2967e4c80d | ||
|
|
86e75663dc | ||
|
|
17c1a4b8b1 | ||
|
|
bffa053c4a | ||
|
|
974a640c69 | ||
|
|
8d5a50fb63 | ||
|
|
b227957c83 | ||
|
|
da0d0ad924 | ||
|
|
42ff392dde | ||
|
|
8d6265f4b6 | ||
|
|
3995672747 | ||
|
|
2b3f48d496 | ||
|
|
fc2c071a23 | ||
|
|
377b0c1ce1 | ||
|
|
9fe7c8892b | ||
|
|
eed275792c | ||
|
|
70787b7125 | ||
|
|
b492607fc1 | ||
|
|
a626fea704 | ||
|
|
4d95440295 | ||
|
|
a5c0e1a803 | ||
|
|
1e90815150 | ||
|
|
9d9fb76f5c | ||
|
|
4203135581 | ||
|
|
b58380ea19 | ||
|
|
a6e517c6c5 | ||
|
|
0bd1e62714 | ||
|
|
4ea629c1bd | ||
|
|
e745f6a946 | ||
|
|
3495a25e7e | ||
|
|
57a3d8f94a | ||
|
|
a0d84f0c6c | ||
|
|
0736ff46a2 | ||
|
|
f536c121d4 | ||
|
|
5be836e3a7 | ||
|
|
9606d2e818 | ||
|
|
b7523b9005 | ||
|
|
2d02de1755 | ||
|
|
49a48f8f8c | ||
|
|
655521bf08 | ||
|
|
645d96f136 | ||
|
|
9578bda7a6 | ||
|
|
a03ea3a94a | ||
|
|
c7d97267b8 | ||
|
|
e45c105fd2 | ||
|
|
0d36ac2559 | ||
|
|
0280b3ae46 | ||
|
|
ce0434e36b | ||
|
|
04c5b0b77d | ||
|
|
bc2153e6cc | ||
|
|
b8dabf3541 | ||
|
|
e4b8559c9d | ||
|
|
1b61d254d7 | ||
|
|
7360212a9a | ||
|
|
57868ecff1 | ||
|
|
ddaf9932f8 | ||
|
|
e06b1988a7 | ||
|
|
1d14c5651f | ||
|
|
62dffa4352 | ||
|
|
79a9e75e10 | ||
|
|
09e62c1777 | ||
|
|
c7cfa8bbf5 | ||
|
|
2fc92583fc | ||
|
|
55ef3ea5ba | ||
|
|
7e27276cd8 | ||
|
|
3672dc695a | ||
|
|
9e4dfcf6e9 | ||
|
|
a58298d7d1 | ||
|
|
7f38bb3c57 | ||
|
|
357979ddfd | ||
|
|
fa7d2782d1 | ||
|
|
bb48faf496 | ||
|
|
310fb63a5a | ||
|
|
554ddb0a91 | ||
|
|
9e20bca86c | ||
|
|
f7883740c4 | ||
|
|
9aa6bb7e36 | ||
|
|
853e5fb5fd | ||
|
|
e557d2c3c5 | ||
|
|
af95521450 | ||
|
|
20b669baf3 | ||
|
|
f133f8eacb | ||
|
|
326ac2ac2a | ||
|
|
a24e549491 | ||
|
|
8d570636d4 | ||
|
|
aac87d5706 | ||
|
|
0800a8cf0d | ||
|
|
181b3f847b | ||
|
|
aadf2042b2 | ||
|
|
40262764bc | ||
|
|
758a803e26 | ||
|
|
7c71944db3 | ||
|
|
6a74783789 | ||
|
|
b446578908 | ||
|
|
c2ab67bb35 | ||
|
|
37167c2e41 | ||
|
|
43b0cafe5d | ||
|
|
92ce280e5b | ||
|
|
90d0498159 | ||
|
|
5771a2ef34 | ||
|
|
871655af92 | ||
|
|
be78f0d1aa | ||
|
|
600b867627 | ||
|
|
b49f7fb020 | ||
|
|
b84faceff5 | ||
|
|
06e91ff607 | ||
|
|
16d8933014 | ||
|
|
de3a5193cc | ||
|
|
dc8e98c0df | ||
|
|
c984483443 | ||
|
|
304bbf62be | ||
|
|
60d6b3aa7e | ||
|
|
5f8c702529 | ||
|
|
f5daa8c749 | ||
|
|
0f2ab9935a | ||
|
|
81eaf69a10 | ||
|
|
4d0784eaf2 | ||
|
|
16298d5eb5 | ||
|
|
82f8744fa3 | ||
|
|
554825dfc0 | ||
|
|
a9d3122699 | ||
|
|
cad4f2f6e3 | ||
|
|
f9be2e3e22 | ||
|
|
42a5580f42 | ||
|
|
4fffbe0b2f | ||
|
|
d67ea6d20d | ||
|
|
c8db92cdb0 | ||
|
|
beb4f73409 | ||
|
|
7d2da79fbf | ||
|
|
513ea03c7a | ||
|
|
ab4ad6323a | ||
|
|
85501fc0b4 | ||
|
|
ba3147c640 | ||
|
|
b948c891c9 | ||
|
|
f77c154953 | ||
|
|
95ba8ef614 | ||
|
|
7e28d5e59a | ||
|
|
e9f58c7c2d | ||
|
|
c92307bc1c | ||
|
|
6a6910e73a | ||
|
|
4bb7cdf72d | ||
|
|
2713426ed0 | ||
|
|
bedb122dae | ||
|
|
11c9099186 | ||
|
|
e3a36c7679 | ||
|
|
e70f8cda25 | ||
|
|
553f70c5f1 | ||
|
|
f612b05135 | ||
|
|
ab9cf9370f | ||
|
|
483044a210 | ||
|
|
442c4f9e0f | ||
|
|
6065732034 | ||
|
|
593242e996 | ||
|
|
a8a9f0d2d7 | ||
|
|
93dc370cb7 | ||
|
|
b7c2c33142 | ||
|
|
0a028fbe4c | ||
|
|
2cab390400 | ||
|
|
1bf3efdeda | ||
|
|
2235f71dcb | ||
|
|
fdf20bd922 | ||
|
|
d8da90a8e9 | ||
|
|
dd7883959a | ||
|
|
355f8921f5 | ||
|
|
78f555637a | ||
|
|
71b1eecc63 | ||
|
|
64fc4f95b0 | ||
|
|
115fcfa9d1 | ||
|
|
6064c10d0c | ||
|
|
41d908ef34 | ||
|
|
81b3e073e7 | ||
|
|
dbf34adeda | ||
|
|
ced9ad03e3 | ||
|
|
c56d0b8307 | ||
|
|
5e1aa60a2b | ||
|
|
d0a1fa6feb | ||
|
|
2c72ddc39a | ||
|
|
61b3c036f2 | ||
|
|
277f072a6c | ||
|
|
6c970907bf | ||
|
|
adf9f0e4bb | ||
|
|
dddae4b918 | ||
|
|
c73ef44e07 | ||
|
|
1997cd93a9 | ||
|
|
6d8276f12c | ||
|
|
680049d4b4 | ||
|
|
06724d8946 | ||
|
|
769ae998a8 | ||
|
|
1b2a1c66e6 | ||
|
|
dc414889ec | ||
|
|
d00b5c06e3 | ||
|
|
f9b00f2887 | ||
|
|
c7dc1fa98b | ||
|
|
f4cb623095 | ||
|
|
69d15b1e2c | ||
|
|
f1372ab353 | ||
|
|
1b18a9989e | ||
|
|
6500e416c5 | ||
|
|
1040ae93ae | ||
|
|
b84f254dff | ||
|
|
96b9517eef | ||
|
|
66efd38b20 | ||
|
|
db9aff762d | ||
|
|
ad387413e2 | ||
|
|
b141168976 | ||
|
|
9e5f56238f | ||
|
|
680cda5c62 | ||
|
|
25e05a99b8 | ||
|
|
46bc1dba2e | ||
|
|
9e25b2bd23 | ||
|
|
303c4eb4ce | ||
|
|
d8531ad9c1 | ||
|
|
51bc462e35 | ||
|
|
767aac7e46 | ||
|
|
bb92fbf659 | ||
|
|
8f71de091e | ||
|
|
6082c1c557 | ||
|
|
689707fd05 | ||
|
|
a3203a8da0 | ||
|
|
5ef4975a4b | ||
|
|
2f9bd42697 | ||
|
|
d49481c3cf | ||
|
|
9b808b61d8 | ||
|
|
a959d88396 | ||
|
|
a22f5d9b59 | ||
|
|
aa83dacb15 | ||
|
|
fee885fd3f | ||
|
|
90c3e3e8d5 | ||
|
|
774c317ed4 | ||
|
|
54281e520c | ||
|
|
0058b50ef9 | ||
|
|
709bbf3c3b | ||
|
|
e2951cfa56 | ||
|
|
07be4b2c53 | ||
|
|
6f89d1cea7 | ||
|
|
b755e03209 | ||
|
|
53f8efe475 | ||
|
|
7a169e33e0 | ||
|
|
b218c26981 | ||
|
|
8eac670434 | ||
|
|
732298a629 | ||
|
|
652bf84fa5 | ||
|
|
23f6722955 | ||
|
|
ebcf115371 | ||
|
|
b5a55263a9 | ||
|
|
32f7385e9b | ||
|
|
5e08096d28 | ||
|
|
4075dc301e | ||
|
|
dec0eb37da | ||
|
|
30ada66a16 | ||
|
|
00f8cc4c60 | ||
|
|
c14b641f3a | ||
|
|
a41563a355 | ||
|
|
93c1ba7f88 | ||
|
|
0dc7fd40a1 | ||
|
|
60beac178a | ||
|
|
5ceab3f417 | ||
|
|
167b6b5dc3 | ||
|
|
5c672c4b29 | ||
|
|
a8293ddc86 | ||
|
|
8fe6168da7 | ||
|
|
9cd41f08ba | ||
|
|
536aea591f | ||
|
|
053748f710 | ||
|
|
f26fd30713 | ||
|
|
aa59f2c418 | ||
|
|
eaf09f080a | ||
|
|
61904c7f60 | ||
|
|
eee73716e3 | ||
|
|
ce37d7e4b2 | ||
|
|
c7af3f956f | ||
|
|
42773cae35 | ||
|
|
b5aaf45c85 | ||
|
|
20e7680b7c | ||
|
|
26cc53c5ac | ||
|
|
e26b3ee63b | ||
|
|
0ce23717ad | ||
|
|
348243c178 | ||
|
|
e854bc2a6d | ||
|
|
2e8f6e0dbf | ||
|
|
eefb15bbf2 | ||
|
|
340e5e0ecd | ||
|
|
614cf7a23c | ||
|
|
ea41ee7806 | ||
|
|
8f8c03017c | ||
|
|
c153a1a29d | ||
|
|
031f79e924 | ||
|
|
1ed0e7b17e | ||
|
|
47213a5d6f | ||
|
|
bbd03d84f1 | ||
|
|
6f43322f22 | ||
|
|
2e07f1d73d | ||
|
|
38fc325d10 | ||
|
|
dc8b5fb06a | ||
|
|
8683991692 | ||
|
|
65adc912fa | ||
|
|
03cfacab77 | ||
|
|
79273fd3a5 | ||
|
|
37dc539b9b | ||
|
|
0db5c92501 | ||
|
|
3468b0998f | ||
|
|
6de511c66f | ||
|
|
d41a6d8cd5 | ||
|
|
1372774810 | ||
|
|
44197c48b8 | ||
|
|
9cf24b0328 | ||
|
|
bf1e322201 | ||
|
|
90816b1fa7 | ||
|
|
99c90d4aa5 | ||
|
|
e26ea11f32 | ||
|
|
90b0c858aa | ||
|
|
73c0bffc6e | ||
|
|
559cee18e9 | ||
|
|
bd3e3d8caf | ||
|
|
d81c8e3ecd | ||
|
|
2188d95e64 | ||
|
|
6d22087f58 | ||
|
|
79fddfc58d | ||
|
|
bb660c17f7 | ||
|
|
4a009e0019 | ||
|
|
1bf1b54398 | ||
|
|
4e62a02e8e | ||
|
|
bf4b7bf752 | ||
|
|
7ff483a96d | ||
|
|
908bc40427 | ||
|
|
6f3a60503b | ||
|
|
ff4a6d95e2 | ||
|
|
e2d121f3d6 | ||
|
|
f470d1b7b8 | ||
|
|
98a7f01dc8 | ||
|
|
d44500542d | ||
|
|
58ad144778 | ||
|
|
1f77608270 | ||
|
|
24b4377de7 | ||
|
|
fdd6ad0446 | ||
|
|
173ac2ddfd | ||
|
|
f0461995e5 | ||
|
|
0c0fc5f888 | ||
|
|
857088ac5a | ||
|
|
2b8ca54165 | ||
|
|
573a86b5c2 | ||
|
|
53d858c363 | ||
|
|
64e4f8c0de | ||
|
|
d9a3c28674 | ||
|
|
e46df4119f | ||
|
|
9dbb8f77da | ||
|
|
6ef78288c3 | ||
|
|
73c5c921d6 | ||
|
|
ef22a5b8b1 | ||
|
|
9e9f528339 | ||
|
|
e863b5d840 | ||
|
|
9e52ca34fc | ||
|
|
2ab4c80c67 | ||
|
|
85f5913cf2 | ||
|
|
4f02a16628 | ||
|
|
1963368c66 | ||
|
|
79e11cf978 | ||
|
|
a9dda20849 | ||
|
|
c021876187 | ||
|
|
965b3e5a20 | ||
|
|
0f0b4d6367 | ||
|
|
5c4b1fc694 | ||
|
|
8b5dfddea9 | ||
|
|
09e97b17c4 | ||
|
|
4358c39336 | ||
|
|
3fe1be68a3 | ||
|
|
8d32f108a0 | ||
|
|
ee425d0d98 | ||
|
|
539d07a12e | ||
|
|
0df4fb30ff | ||
|
|
251e736e76 | ||
|
|
4721e131f2 | ||
|
|
21fca137ef | ||
|
|
70dd6608ec | ||
|
|
a0a4d7c080 | ||
|
|
b74ebda008 | ||
|
|
a8ef2c2904 | ||
|
|
0e6fa61357 | ||
|
|
c91f7dcb2c | ||
|
|
079e7c7d3c | ||
|
|
c13f58ec54 | ||
|
|
c899352582 | ||
|
|
1cd312351e | ||
|
|
cd35e3e106 | ||
|
|
24f31489da | ||
|
|
328f6bea8c | ||
|
|
b0b421d185 | ||
|
|
0d1f53e951 | ||
|
|
9ffceee93b | ||
|
|
00c8b2c24a | ||
|
|
877fe8bf7b | ||
|
|
27649a9399 | ||
|
|
efcdce1375 | ||
|
|
72b8e00459 | ||
|
|
3d943d0884 | ||
|
|
fa5cf4b856 | ||
|
|
a90b49fd46 | ||
|
|
8ec545de44 | ||
|
|
63d5e2b6bc | ||
|
|
adea9a1c8b | ||
|
|
032e96d2c8 | ||
|
|
830de45a8c | ||
|
|
df160e34b3 | ||
|
|
39a40cc260 | ||
|
|
df5c34f10c | ||
|
|
a5546be134 | ||
|
|
23c0e57b76 | ||
|
|
930050eaee | ||
|
|
8db50d647b | ||
|
|
6d1f2c96e8 | ||
|
|
b597942b31 | ||
|
|
6ce90c3690 | ||
|
|
ce0f6c5fd1 | ||
|
|
33ed6fc836 | ||
|
|
61ea758c9d | ||
|
|
e88ba0c873 | ||
|
|
06c63c04fa | ||
|
|
efac440d5e | ||
|
|
5ca556163b | ||
|
|
5a59b7fcfe | ||
|
|
fb67e98807 | ||
|
|
1777a43c6b | ||
|
|
0c036a1b14 | ||
|
|
c2bc395a0c | ||
|
|
e81fb16ddc | ||
|
|
be7794e25a | ||
|
|
d8bb5822cf | ||
|
|
d57fa12b4f | ||
|
|
2db7b69daf | ||
|
|
331918b706 | ||
|
|
84ffeba8a9 | ||
|
|
65847d9ff1 | ||
|
|
2877526ef2 | ||
|
|
13439fde3a | ||
|
|
763db43f91 | ||
|
|
3786a422e5 | ||
|
|
97b89c6754 | ||
|
|
79c820a057 | ||
|
|
369e6376aa | ||
|
|
fec1146c44 | ||
|
|
e21033e3c4 | ||
|
|
58973496f4 | ||
|
|
af78ea4e34 | ||
|
|
e88dbf63bf | ||
|
|
7738cb80a5 | ||
|
|
f1700ddd48 | ||
|
|
71361e9a0b | ||
|
|
645813c95e | ||
|
|
0f10f8f0b5 | ||
|
|
dea097b2d5 | ||
|
|
bdb5c84556 | ||
|
|
b52057cd78 | ||
|
|
92296e74e2 | ||
|
|
52506ce474 | ||
|
|
c40bdd9845 | ||
|
|
73cf070508 | ||
|
|
e9ab102aa4 | ||
|
|
d85e625f23 | ||
|
|
1cf7bc04b8 | ||
|
|
0387ecf4c5 | ||
|
|
18a3907030 | ||
|
|
82465958df | ||
|
|
5560de121d | ||
|
|
539371e4ce | ||
|
|
d079003c31 | ||
|
|
dc4484722f | ||
|
|
2313ca9b84 | ||
|
|
79013acd7d | ||
|
|
34854d1272 | ||
|
|
e3323b8c26 | ||
|
|
754e1a687b | ||
|
|
4834a547b3 | ||
|
|
0f2a5efda4 | ||
|
|
87ec56fa91 | ||
|
|
597b31823e | ||
|
|
7949924917 | ||
|
|
6cf3f832c5 | ||
|
|
6eede096f5 | ||
|
|
63676aff34 | ||
|
|
dd148c282e | ||
|
|
a5434323fc | ||
|
|
f081ad6639 | ||
|
|
d6e3f7ea37 | ||
|
|
ec858cafdc | ||
|
|
e638a28636 | ||
|
|
e5db2fe882 | ||
|
|
1b077a707f | ||
|
|
97bf9482dc | ||
|
|
eaa2c8121e | ||
|
|
8106e246b2 | ||
|
|
cd1c426499 | ||
|
|
3ba7e280fe | ||
|
|
60259db63e | ||
|
|
29ea1b03dc | ||
|
|
b803ef38de | ||
|
|
674f3f6b78 | ||
|
|
82d695fde1 | ||
|
|
ee347873a2 | ||
|
|
6fad83f403 | ||
|
|
c29836f8bc | ||
|
|
540c044797 | ||
|
|
ebd1f60735 | ||
|
|
e966a42ff1 | ||
|
|
fa9f2f5f60 | ||
|
|
cbcd345f18 | ||
|
|
febbf864d0 | ||
|
|
93775b8be6 | ||
|
|
994d0de6a6 | ||
|
|
33202a4e60 | ||
|
|
523b80a332 | ||
|
|
7d56950918 | ||
|
|
4be94edb8f | ||
|
|
cb783928c7 | ||
|
|
7a36b968bd | ||
|
|
3c2297ea1d | ||
|
|
5967390e20 | ||
|
|
b85d50bcaf | ||
|
|
e7a296151e | ||
|
|
47f870da62 | ||
|
|
46df6c9b5b | ||
|
|
7283a4ae33 | ||
|
|
0c73c63a0b | ||
|
|
6ec01981a7 | ||
|
|
c457606836 | ||
|
|
e4c3a2ecff | ||
|
|
1ffbd8f19c | ||
|
|
6036715cd7 | ||
|
|
a1421e68ff | ||
|
|
ddc70978c0 | ||
|
|
30537acb34 | ||
|
|
938d98bb07 | ||
|
|
3c72ded1b6 | ||
|
|
e625f9653f | ||
|
|
2fed7b3a05 | ||
|
|
2d898a14d6 | ||
|
|
9aa623cece | ||
|
|
4f1641163e | ||
|
|
ff020541d0 | ||
|
|
8642afaa72 | ||
|
|
343526f153 | ||
|
|
ed7c15dae9 | ||
|
|
08470f6b73 | ||
|
|
0fd553eb01 | ||
|
|
3977e16170 | ||
|
|
e9291caa76 | ||
|
|
78d7dcb21c | ||
|
|
db00a5e873 | ||
|
|
2a570ee89a | ||
|
|
55580b624b | ||
|
|
cb5a3fc0b9 | ||
|
|
3741f796af | ||
|
|
603b93043b | ||
|
|
738d091ffd | ||
|
|
293cb0dc98 | ||
|
|
19ff8a13f9 | ||
|
|
134ed6bc4b | ||
|
|
a2da0eaf7f | ||
|
|
f79cf77bde | ||
|
|
05e3c04277 | ||
|
|
55b5a260f4 | ||
|
|
c8f8269bbe | ||
|
|
b4becb1155 | ||
|
|
9a1cf5ad17 | ||
|
|
9c028a54c5 | ||
|
|
80999d319a | ||
|
|
37f2ac8410 | ||
|
|
279b2e95ed | ||
|
|
38c1f60e7c | ||
|
|
886a9a4224 | ||
|
|
907f21ac56 | ||
|
|
af69df7832 | ||
|
|
06cbcdcb54 | ||
|
|
16cf1ea190 | ||
|
|
70d0ced1d9 | ||
|
|
a05743fbdb | ||
|
|
ad08b5fc52 | ||
|
|
fd8d4d84fe | ||
|
|
89e8209acc | ||
|
|
5c716fa48f | ||
|
|
7610855e6d | ||
|
|
4fb9226391 | ||
|
|
bc5c011434 | ||
|
|
57e870943a | ||
|
|
9debabbe59 | ||
|
|
6be2ec13df | ||
|
|
5109083548 | ||
|
|
612c767e7f | ||
|
|
79c9bf61aa | ||
|
|
126e31853b | ||
|
|
60b1b77362 | ||
|
|
d0bcfbd069 | ||
|
|
ef4461e92e | ||
|
|
ec4a108471 | ||
|
|
d5964ffccd | ||
|
|
c4c537b394 | ||
|
|
55034c7771 | ||
|
|
9470cf777b | ||
|
|
39570450bf | ||
|
|
42b76425a5 | ||
|
|
78704fc915 | ||
|
|
33440808fa | ||
|
|
ec1228e901 | ||
|
|
a9fb3a3694 | ||
|
|
bd907872fa | ||
|
|
0226be8ff8 | ||
|
|
8ec06ba38f | ||
|
|
8bbe9f4732 | ||
|
|
06765eb611 | ||
|
|
9c424a6e72 | ||
|
|
c0c30f4a60 | ||
|
|
ae9242c609 | ||
|
|
172be4c992 | ||
|
|
729d347dba | ||
|
|
08cdb51577 | ||
|
|
4c4292e7ab | ||
|
|
60ff2232d9 | ||
|
|
e592592b5d | ||
|
|
0bb57aeb22 | ||
|
|
6637ffc911 | ||
|
|
fed40883d0 | ||
|
|
c9b017ca5a | ||
|
|
6a8bea3e9d | ||
|
|
3f01987e70 | ||
|
|
583e1f4bae | ||
|
|
cbcffd215a | ||
|
|
076aa4a44d | ||
|
|
5ba9ef8801 | ||
|
|
a5a71d088a | ||
|
|
c859c26833 | ||
|
|
3e73bbbc89 | ||
|
|
4edef2bbc6 | ||
|
|
4c104a57ab | ||
|
|
a2e8027962 | ||
|
|
d8318eea3d | ||
|
|
c1434fd985 | ||
|
|
bb04d12834 | ||
|
|
e36afa411a | ||
|
|
2dc5ae888b | ||
|
|
586aa4fb09 | ||
|
|
28c5e67460 | ||
|
|
83ae6897f3 | ||
|
|
38b9d6b2ef | ||
|
|
f9e96edba8 | ||
|
|
6c4ace7dd4 | ||
|
|
432e43810b | ||
|
|
29b38aa6ac | ||
|
|
50555a403c | ||
|
|
82275d6281 | ||
|
|
0b1e1ad460 | ||
|
|
f907340c55 | ||
|
|
f192ae5176 | ||
|
|
6ecb379e3e | ||
|
|
9134f7bfd5 | ||
|
|
582243bc1d | ||
|
|
394f8602cc | ||
|
|
8ba0e32346 | ||
|
|
356e71c8b2 | ||
|
|
22134677f5 | ||
|
|
bab6cbf509 | ||
|
|
065a34d0c9 | ||
|
|
76a13d70a5 | ||
|
|
eebb6c767d | ||
|
|
837122cdf4 | ||
|
|
bb5e8c5949 | ||
|
|
d5529e8b27 | ||
|
|
658f7340f2 | ||
|
|
cc93d5d0ee | ||
|
|
d787be2991 | ||
|
|
8b7fd0b7f0 | ||
|
|
132a6cb39a | ||
|
|
4c4c1c8ac8 | ||
|
|
fd7b33eaf8 | ||
|
|
c57cc4be37 | ||
|
|
96fca1c9cd | ||
|
|
95c3f2dea2 | ||
|
|
32bbf34604 | ||
|
|
351590b7b4 |
43
mozilla/LEGAL
Normal file
43
mozilla/LEGAL
Normal file
@@ -0,0 +1,43 @@
|
||||
Please be apprised of the following Legal Notices:
|
||||
|
||||
A) The U.S. District Court for the Eastern District of Virginia has
|
||||
ruled that the Netscape Navigator code does not infringe Wang's U.S.
|
||||
Patent No. 4,751,669 ("the '669 Patent") because: 1) HTML is not
|
||||
Videotex as defined by the '669 patent; 2) web servers are not central
|
||||
suppliers; and 3) Navigator does not "connect," as defined by the '669
|
||||
Patent, to web servers on the Internet. Wang may appeal this decision to
|
||||
the Federal Circuit. Wang contended that its Patent disclosing a
|
||||
"Videotext" system, is infringed by the following functionality in the
|
||||
Netscape Navigator code: 1) the animated logo and status line indicators
|
||||
--See Claims 1,8 and 9; 2) the "File Save As" function --See Claims
|
||||
23-27; 3) Bookmarks and Rename Bookmarks in the Properties window --See
|
||||
Claims 20-22; 4) storing HTML, GIF, and JPEG files and adding filename
|
||||
extensions --See Claim 38
|
||||
|
||||
B) Intermind owns pending U.S. patent applications on communications
|
||||
systems which employ metadata ("channel objects") to define a control
|
||||
structure for information transfer. The Netscape code does not infringe
|
||||
as released; however, modifications which utilize channel objects as
|
||||
described by Intermind should be considered carefully. The following is
|
||||
a statement from Intermind: "Intermind's claims fundamentally involve
|
||||
the use of a control structure to automate communications. ...The
|
||||
essence of Intermind's top claim is that two devices sender and
|
||||
receiver have persistent storage, communicate over a network,
|
||||
and exchange a control structure including metadata which describes: 1)
|
||||
what information is to be updated, 2) when to update this information,
|
||||
and 3) how to transfer the updated information. In addition, at least
|
||||
the receiving device must be able to process the metadata in order to
|
||||
perform the update determination and transfer. Any digital
|
||||
communications system which incorporates all of these elements will be
|
||||
covered by Intermind's patents." See Intermind.com.
|
||||
|
||||
C) Stac, Inc., and its licensing agent Hi/fn, own several patents which
|
||||
disclose data compression methods implementing an LZS compression
|
||||
algorithm, including U.S. Patent Nos. 4,701,745 and 5,016, 009 ("the
|
||||
Stac Patents"). The Netscape Communicator code does not perform
|
||||
compression. If you modify the Netscape source code to perform
|
||||
compression, please take notice of the Stac Patents.
|
||||
|
||||
D) Netscape Communications Corporation ("Netscape") does not guarantee
|
||||
that any source code or executable code available from the mozilla.org
|
||||
domain is Year 2000 compliant.
|
||||
567
mozilla/LICENSE
Normal file
567
mozilla/LICENSE
Normal file
@@ -0,0 +1,567 @@
|
||||
MOZILLA PUBLIC LICENSE
|
||||
Version 1.1
|
||||
|
||||
---------------
|
||||
|
||||
1. Definitions.
|
||||
|
||||
1.0.1. "Commercial Use" means distribution or otherwise making the
|
||||
Covered Code available to a third party.
|
||||
|
||||
1.1. "Contributor" means each entity that creates or contributes to
|
||||
the creation of Modifications.
|
||||
|
||||
1.2. "Contributor Version" means the combination of the Original
|
||||
Code, prior Modifications used by a Contributor, and the Modifications
|
||||
made by that particular Contributor.
|
||||
|
||||
1.3. "Covered Code" means the Original Code or Modifications or the
|
||||
combination of the Original Code and Modifications, in each case
|
||||
including portions thereof.
|
||||
|
||||
1.4. "Electronic Distribution Mechanism" means a mechanism generally
|
||||
accepted in the software development community for the electronic
|
||||
transfer of data.
|
||||
|
||||
1.5. "Executable" means Covered Code in any form other than Source
|
||||
Code.
|
||||
|
||||
1.6. "Initial Developer" means the individual or entity identified
|
||||
as the Initial Developer in the Source Code notice required by Exhibit
|
||||
A.
|
||||
|
||||
1.7. "Larger Work" means a work which combines Covered Code or
|
||||
portions thereof with code not governed by the terms of this License.
|
||||
|
||||
1.8. "License" means this document.
|
||||
|
||||
1.8.1. "Licensable" means having the right to grant, to the maximum
|
||||
extent possible, whether at the time of the initial grant or
|
||||
subsequently acquired, any and all of the rights conveyed herein.
|
||||
|
||||
1.9. "Modifications" means any addition to or deletion from the
|
||||
substance or structure of either the Original Code or any previous
|
||||
Modifications. When Covered Code is released as a series of files, a
|
||||
Modification is:
|
||||
A. Any addition to or deletion from the contents of a file
|
||||
containing Original Code or previous Modifications.
|
||||
|
||||
B. Any new file that contains any part of the Original Code or
|
||||
previous Modifications.
|
||||
|
||||
1.10. "Original Code" means Source Code of computer software code
|
||||
which is described in the Source Code notice required by Exhibit A as
|
||||
Original Code, and which, at the time of its release under this
|
||||
License is not already Covered Code governed by this License.
|
||||
|
||||
1.10.1. "Patent Claims" means any patent claim(s), now owned or
|
||||
hereafter acquired, including without limitation, method, process,
|
||||
and apparatus claims, in any patent Licensable by grantor.
|
||||
|
||||
1.11. "Source Code" means the preferred form of the Covered Code for
|
||||
making modifications to it, including all modules it contains, plus
|
||||
any associated interface definition files, scripts used to control
|
||||
compilation and installation of an Executable, or source code
|
||||
differential comparisons against either the Original Code or another
|
||||
well known, available Covered Code of the Contributor's choice. The
|
||||
Source Code can be in a compressed or archival form, provided the
|
||||
appropriate decompression or de-archiving software is widely available
|
||||
for no charge.
|
||||
|
||||
1.12. "You" (or "Your") means an individual or a legal entity
|
||||
exercising rights under, and complying with all of the terms of, this
|
||||
License or a future version of this License issued under Section 6.1.
|
||||
For legal entities, "You" includes any entity which controls, is
|
||||
controlled by, or is under common control with You. For purposes of
|
||||
this definition, "control" means (a) the power, direct or indirect,
|
||||
to cause the direction or management of such entity, whether by
|
||||
contract or otherwise, or (b) ownership of more than fifty percent
|
||||
(50%) of the outstanding shares or beneficial ownership of such
|
||||
entity.
|
||||
|
||||
2. Source Code License.
|
||||
|
||||
2.1. The Initial Developer Grant.
|
||||
The Initial Developer hereby grants You a world-wide, royalty-free,
|
||||
non-exclusive license, subject to third party intellectual property
|
||||
claims:
|
||||
(a) under intellectual property rights (other than patent or
|
||||
trademark) Licensable by Initial Developer to use, reproduce,
|
||||
modify, display, perform, sublicense and distribute the Original
|
||||
Code (or portions thereof) with or without Modifications, and/or
|
||||
as part of a Larger Work; and
|
||||
|
||||
(b) under Patents Claims infringed by the making, using or
|
||||
selling of Original Code, to make, have made, use, practice,
|
||||
sell, and offer for sale, and/or otherwise dispose of the
|
||||
Original Code (or portions thereof).
|
||||
|
||||
(c) the licenses granted in this Section 2.1(a) and (b) are
|
||||
effective on the date Initial Developer first distributes
|
||||
Original Code under the terms of this License.
|
||||
|
||||
(d) Notwithstanding Section 2.1(b) above, no patent license is
|
||||
granted: 1) for code that You delete from the Original Code; 2)
|
||||
separate from the Original Code; or 3) for infringements caused
|
||||
by: i) the modification of the Original Code or ii) the
|
||||
combination of the Original Code with other software or devices.
|
||||
|
||||
2.2. Contributor Grant.
|
||||
Subject to third party intellectual property claims, each Contributor
|
||||
hereby grants You a world-wide, royalty-free, non-exclusive license
|
||||
|
||||
(a) under intellectual property rights (other than patent or
|
||||
trademark) Licensable by Contributor, to use, reproduce, modify,
|
||||
display, perform, sublicense and distribute the Modifications
|
||||
created by such Contributor (or portions thereof) either on an
|
||||
unmodified basis, with other Modifications, as Covered Code
|
||||
and/or as part of a Larger Work; and
|
||||
|
||||
(b) under Patent Claims infringed by the making, using, or
|
||||
selling of Modifications made by that Contributor either alone
|
||||
and/or in combination with its Contributor Version (or portions
|
||||
of such combination), to make, use, sell, offer for sale, have
|
||||
made, and/or otherwise dispose of: 1) Modifications made by that
|
||||
Contributor (or portions thereof); and 2) the combination of
|
||||
Modifications made by that Contributor with its Contributor
|
||||
Version (or portions of such combination).
|
||||
|
||||
(c) the licenses granted in Sections 2.2(a) and 2.2(b) are
|
||||
effective on the date Contributor first makes Commercial Use of
|
||||
the Covered Code.
|
||||
|
||||
(d) Notwithstanding Section 2.2(b) above, no patent license is
|
||||
granted: 1) for any code that Contributor has deleted from the
|
||||
Contributor Version; 2) separate from the Contributor Version;
|
||||
3) for infringements caused by: i) third party modifications of
|
||||
Contributor Version or ii) the combination of Modifications made
|
||||
by that Contributor with other software (except as part of the
|
||||
Contributor Version) or other devices; or 4) under Patent Claims
|
||||
infringed by Covered Code in the absence of Modifications made by
|
||||
that Contributor.
|
||||
|
||||
3. Distribution Obligations.
|
||||
|
||||
3.1. Application of License.
|
||||
The Modifications which You create or to which You contribute are
|
||||
governed by the terms of this License, including without limitation
|
||||
Section 2.2. The Source Code version of Covered Code may be
|
||||
distributed only under the terms of this License or a future version
|
||||
of this License released under Section 6.1, and You must include a
|
||||
copy of this License with every copy of the Source Code You
|
||||
distribute. You may not offer or impose any terms on any Source Code
|
||||
version that alters or restricts the applicable version of this
|
||||
License or the recipients' rights hereunder. However, You may include
|
||||
an additional document offering the additional rights described in
|
||||
Section 3.5.
|
||||
|
||||
3.2. Availability of Source Code.
|
||||
Any Modification which You create or to which You contribute must be
|
||||
made available in Source Code form under the terms of this License
|
||||
either on the same media as an Executable version or via an accepted
|
||||
Electronic Distribution Mechanism to anyone to whom you made an
|
||||
Executable version available; and if made available via Electronic
|
||||
Distribution Mechanism, must remain available for at least twelve (12)
|
||||
months after the date it initially became available, or at least six
|
||||
(6) months after a subsequent version of that particular Modification
|
||||
has been made available to such recipients. You are responsible for
|
||||
ensuring that the Source Code version remains available even if the
|
||||
Electronic Distribution Mechanism is maintained by a third party.
|
||||
|
||||
3.3. Description of Modifications.
|
||||
You must cause all Covered Code to which You contribute to contain a
|
||||
file documenting the changes You made to create that Covered Code and
|
||||
the date of any change. You must include a prominent statement that
|
||||
the Modification is derived, directly or indirectly, from Original
|
||||
Code provided by the Initial Developer and including the name of the
|
||||
Initial Developer in (a) the Source Code, and (b) in any notice in an
|
||||
Executable version or related documentation in which You describe the
|
||||
origin or ownership of the Covered Code.
|
||||
|
||||
3.4. Intellectual Property Matters
|
||||
(a) Third Party Claims.
|
||||
If Contributor has knowledge that a license under a third party's
|
||||
intellectual property rights is required to exercise the rights
|
||||
granted by such Contributor under Sections 2.1 or 2.2,
|
||||
Contributor must include a text file with the Source Code
|
||||
distribution titled "LEGAL" which describes the claim and the
|
||||
party making the claim in sufficient detail that a recipient will
|
||||
know whom to contact. If Contributor obtains such knowledge after
|
||||
the Modification is made available as described in Section 3.2,
|
||||
Contributor shall promptly modify the LEGAL file in all copies
|
||||
Contributor makes available thereafter and shall take other steps
|
||||
(such as notifying appropriate mailing lists or newsgroups)
|
||||
reasonably calculated to inform those who received the Covered
|
||||
Code that new knowledge has been obtained.
|
||||
|
||||
(b) Contributor APIs.
|
||||
If Contributor's Modifications include an application programming
|
||||
interface and Contributor has knowledge of patent licenses which
|
||||
are reasonably necessary to implement that API, Contributor must
|
||||
also include this information in the LEGAL file.
|
||||
|
||||
(c) Representations.
|
||||
Contributor represents that, except as disclosed pursuant to
|
||||
Section 3.4(a) above, Contributor believes that Contributor's
|
||||
Modifications are Contributor's original creation(s) and/or
|
||||
Contributor has sufficient rights to grant the rights conveyed by
|
||||
this License.
|
||||
|
||||
3.5. Required Notices.
|
||||
You must duplicate the notice in Exhibit A in each file of the Source
|
||||
Code. If it is not possible to put such notice in a particular Source
|
||||
Code file due to its structure, then You must include such notice in a
|
||||
location (such as a relevant directory) where a user would be likely
|
||||
to look for such a notice. If You created one or more Modification(s)
|
||||
You may add your name as a Contributor to the notice described in
|
||||
Exhibit A. You must also duplicate this License in any documentation
|
||||
for the Source Code where You describe recipients' rights or ownership
|
||||
rights relating to Covered Code. You may choose to offer, and to
|
||||
charge a fee for, warranty, support, indemnity or liability
|
||||
obligations to one or more recipients of Covered Code. However, You
|
||||
may do so only on Your own behalf, and not on behalf of the Initial
|
||||
Developer or any Contributor. You must make it absolutely clear than
|
||||
any such warranty, support, indemnity or liability obligation is
|
||||
offered by You alone, and You hereby agree to indemnify the Initial
|
||||
Developer and every Contributor for any liability incurred by the
|
||||
Initial Developer or such Contributor as a result of warranty,
|
||||
support, indemnity or liability terms You offer.
|
||||
|
||||
3.6. Distribution of Executable Versions.
|
||||
You may distribute Covered Code in Executable form only if the
|
||||
requirements of Section 3.1-3.5 have been met for that Covered Code,
|
||||
and if You include a notice stating that the Source Code version of
|
||||
the Covered Code is available under the terms of this License,
|
||||
including a description of how and where You have fulfilled the
|
||||
obligations of Section 3.2. The notice must be conspicuously included
|
||||
in any notice in an Executable version, related documentation or
|
||||
collateral in which You describe recipients' rights relating to the
|
||||
Covered Code. You may distribute the Executable version of Covered
|
||||
Code or ownership rights under a license of Your choice, which may
|
||||
contain terms different from this License, provided that You are in
|
||||
compliance with the terms of this License and that the license for the
|
||||
Executable version does not attempt to limit or alter the recipient's
|
||||
rights in the Source Code version from the rights set forth in this
|
||||
License. If You distribute the Executable version under a different
|
||||
license You must make it absolutely clear that any terms which differ
|
||||
from this License are offered by You alone, not by the Initial
|
||||
Developer or any Contributor. You hereby agree to indemnify the
|
||||
Initial Developer and every Contributor for any liability incurred by
|
||||
the Initial Developer or such Contributor as a result of any such
|
||||
terms You offer.
|
||||
|
||||
3.7. Larger Works.
|
||||
You may create a Larger Work by combining Covered Code with other code
|
||||
not governed by the terms of this License and distribute the Larger
|
||||
Work as a single product. In such a case, You must make sure the
|
||||
requirements of this License are fulfilled for the Covered Code.
|
||||
|
||||
4. Inability to Comply Due to Statute or Regulation.
|
||||
|
||||
If it is impossible for You to comply with any of the terms of this
|
||||
License with respect to some or all of the Covered Code due to
|
||||
statute, judicial order, or regulation then You must: (a) comply with
|
||||
the terms of this License to the maximum extent possible; and (b)
|
||||
describe the limitations and the code they affect. Such description
|
||||
must be included in the LEGAL file described in Section 3.4 and must
|
||||
be included with all distributions of the Source Code. Except to the
|
||||
extent prohibited by statute or regulation, such description must be
|
||||
sufficiently detailed for a recipient of ordinary skill to be able to
|
||||
understand it.
|
||||
|
||||
5. Application of this License.
|
||||
|
||||
This License applies to code to which the Initial Developer has
|
||||
attached the notice in Exhibit A and to related Covered Code.
|
||||
|
||||
6. Versions of the License.
|
||||
|
||||
6.1. New Versions.
|
||||
Netscape Communications Corporation ("Netscape") may publish revised
|
||||
and/or new versions of the License from time to time. Each version
|
||||
will be given a distinguishing version number.
|
||||
|
||||
6.2. Effect of New Versions.
|
||||
Once Covered Code has been published under a particular version of the
|
||||
License, You may always continue to use it under the terms of that
|
||||
version. You may also choose to use such Covered Code under the terms
|
||||
of any subsequent version of the License published by Netscape. No one
|
||||
other than Netscape has the right to modify the terms applicable to
|
||||
Covered Code created under this License.
|
||||
|
||||
6.3. Derivative Works.
|
||||
If You create or use a modified version of this License (which you may
|
||||
only do in order to apply it to code which is not already Covered Code
|
||||
governed by this License), You must (a) rename Your license so that
|
||||
the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
|
||||
"MPL", "NPL" or any confusingly similar phrase do not appear in your
|
||||
license (except to note that your license differs from this License)
|
||||
and (b) otherwise make it clear that Your version of the license
|
||||
contains terms which differ from the Mozilla Public License and
|
||||
Netscape Public License. (Filling in the name of the Initial
|
||||
Developer, Original Code or Contributor in the notice described in
|
||||
Exhibit A shall not of themselves be deemed to be modifications of
|
||||
this License.)
|
||||
|
||||
7. DISCLAIMER OF WARRANTY.
|
||||
|
||||
COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
|
||||
WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
|
||||
DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
|
||||
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
|
||||
IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
|
||||
YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
|
||||
COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
|
||||
OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
|
||||
ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
|
||||
|
||||
8. TERMINATION.
|
||||
|
||||
8.1. This License and the rights granted hereunder will terminate
|
||||
automatically if You fail to comply with terms herein and fail to cure
|
||||
such breach within 30 days of becoming aware of the breach. All
|
||||
sublicenses to the Covered Code which are properly granted shall
|
||||
survive any termination of this License. Provisions which, by their
|
||||
nature, must remain in effect beyond the termination of this License
|
||||
shall survive.
|
||||
|
||||
8.2. If You initiate litigation by asserting a patent infringement
|
||||
claim (excluding declatory judgment actions) against Initial Developer
|
||||
or a Contributor (the Initial Developer or Contributor against whom
|
||||
You file such action is referred to as "Participant") alleging that:
|
||||
|
||||
(a) such Participant's Contributor Version directly or indirectly
|
||||
infringes any patent, then any and all rights granted by such
|
||||
Participant to You under Sections 2.1 and/or 2.2 of this License
|
||||
shall, upon 60 days notice from Participant terminate prospectively,
|
||||
unless if within 60 days after receipt of notice You either: (i)
|
||||
agree in writing to pay Participant a mutually agreeable reasonable
|
||||
royalty for Your past and future use of Modifications made by such
|
||||
Participant, or (ii) withdraw Your litigation claim with respect to
|
||||
the Contributor Version against such Participant. If within 60 days
|
||||
of notice, a reasonable royalty and payment arrangement are not
|
||||
mutually agreed upon in writing by the parties or the litigation claim
|
||||
is not withdrawn, the rights granted by Participant to You under
|
||||
Sections 2.1 and/or 2.2 automatically terminate at the expiration of
|
||||
the 60 day notice period specified above.
|
||||
|
||||
(b) any software, hardware, or device, other than such Participant's
|
||||
Contributor Version, directly or indirectly infringes any patent, then
|
||||
any rights granted to You by such Participant under Sections 2.1(b)
|
||||
and 2.2(b) are revoked effective as of the date You first made, used,
|
||||
sold, distributed, or had made, Modifications made by that
|
||||
Participant.
|
||||
|
||||
8.3. If You assert a patent infringement claim against Participant
|
||||
alleging that such Participant's Contributor Version directly or
|
||||
indirectly infringes any patent where such claim is resolved (such as
|
||||
by license or settlement) prior to the initiation of patent
|
||||
infringement litigation, then the reasonable value of the licenses
|
||||
granted by such Participant under Sections 2.1 or 2.2 shall be taken
|
||||
into account in determining the amount or value of any payment or
|
||||
license.
|
||||
|
||||
8.4. In the event of termination under Sections 8.1 or 8.2 above,
|
||||
all end user license agreements (excluding distributors and resellers)
|
||||
which have been validly granted by You or any distributor hereunder
|
||||
prior to termination shall survive termination.
|
||||
|
||||
9. LIMITATION OF LIABILITY.
|
||||
|
||||
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
|
||||
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
|
||||
DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
|
||||
OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
|
||||
ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
|
||||
CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
|
||||
WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
|
||||
COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
|
||||
INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
|
||||
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
|
||||
RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
|
||||
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
|
||||
EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
|
||||
THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
10. U.S. GOVERNMENT END USERS.
|
||||
|
||||
The Covered Code is a "commercial item," as that term is defined in
|
||||
48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
|
||||
software" and "commercial computer software documentation," as such
|
||||
terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
|
||||
C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
|
||||
all U.S. Government End Users acquire Covered Code with only those
|
||||
rights set forth herein.
|
||||
|
||||
11. MISCELLANEOUS.
|
||||
|
||||
This License represents the complete agreement concerning subject
|
||||
matter hereof. If any provision of this License is held to be
|
||||
unenforceable, such provision shall be reformed only to the extent
|
||||
necessary to make it enforceable. This License shall be governed by
|
||||
California law provisions (except to the extent applicable law, if
|
||||
any, provides otherwise), excluding its conflict-of-law provisions.
|
||||
With respect to disputes in which at least one party is a citizen of,
|
||||
or an entity chartered or registered to do business in the United
|
||||
States of America, any litigation relating to this License shall be
|
||||
subject to the jurisdiction of the Federal Courts of the Northern
|
||||
District of California, with venue lying in Santa Clara County,
|
||||
California, with the losing party responsible for costs, including
|
||||
without limitation, court costs and reasonable attorneys' fees and
|
||||
expenses. The application of the United Nations Convention on
|
||||
Contracts for the International Sale of Goods is expressly excluded.
|
||||
Any law or regulation which provides that the language of a contract
|
||||
shall be construed against the drafter shall not apply to this
|
||||
License.
|
||||
|
||||
12. RESPONSIBILITY FOR CLAIMS.
|
||||
|
||||
As between Initial Developer and the Contributors, each party is
|
||||
responsible for claims and damages arising, directly or indirectly,
|
||||
out of its utilization of rights under this License and You agree to
|
||||
work with Initial Developer and Contributors to distribute such
|
||||
responsibility on an equitable basis. Nothing herein is intended or
|
||||
shall be deemed to constitute any admission of liability.
|
||||
|
||||
13. MULTIPLE-LICENSED CODE.
|
||||
|
||||
Initial Developer may designate portions of the Covered Code as
|
||||
"Multiple-Licensed". "Multiple-Licensed" means that the Initial
|
||||
Developer permits you to utilize portions of the Covered Code under
|
||||
Your choice of the NPL or the alternative licenses, if any, specified
|
||||
by the Initial Developer in the file described in Exhibit A.
|
||||
|
||||
EXHIBIT A -Mozilla Public License.
|
||||
|
||||
``The contents of this file are subject to the Mozilla Public License
|
||||
Version 1.1 (the "License"); you may not use this file except in
|
||||
compliance with the License. You may obtain a copy of the License at
|
||||
http://www.mozilla.org/MPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS"
|
||||
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
||||
License for the specific language governing rights and limitations
|
||||
under the License.
|
||||
|
||||
The Original Code is ______________________________________.
|
||||
|
||||
The Initial Developer of the Original Code is ________________________.
|
||||
Portions created by ______________________ are Copyright (C) ______
|
||||
_______________________. All Rights Reserved.
|
||||
|
||||
Contributor(s): ______________________________________.
|
||||
|
||||
Alternatively, the contents of this file may be used under the terms
|
||||
of the _____ license (the "[___] License"), in which case the
|
||||
provisions of [______] License are applicable instead of those
|
||||
above. If you wish to allow use of your version of this file only
|
||||
under the terms of the [____] License and not to allow others to use
|
||||
your version of this file under the MPL, indicate your decision by
|
||||
deleting the provisions above and replace them with the notice and
|
||||
other provisions required by the [___] License. If you do not delete
|
||||
the provisions above, a recipient may use your version of this file
|
||||
under either the MPL or the [___] License."
|
||||
|
||||
[NOTE: The text of this Exhibit A may differ slightly from the text of
|
||||
the notices in the Source Code files of the Original Code. You should
|
||||
use the text of this Exhibit A rather than the text found in the
|
||||
Original Code Source Code for Your Modifications.]
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
AMENDMENTS
|
||||
|
||||
The Netscape Public License Version 1.1 ("NPL") consists of the
|
||||
Mozilla Public License Version 1.1 with the following Amendments,
|
||||
including Exhibit A-Netscape Public License. Files identified with
|
||||
"Exhibit A-Netscape Public License" are governed by the Netscape
|
||||
Public License Version 1.1.
|
||||
|
||||
Additional Terms applicable to the Netscape Public License.
|
||||
I. Effect.
|
||||
These additional terms described in this Netscape Public
|
||||
License -- Amendments shall apply to the Mozilla Communicator
|
||||
client code and to all Covered Code under this License.
|
||||
|
||||
II. "Netscape's Branded Code" means Covered Code that Netscape
|
||||
distributes and/or permits others to distribute under one or more
|
||||
trademark(s) which are controlled by Netscape but which are not
|
||||
licensed for use under this License.
|
||||
|
||||
III. Netscape and logo.
|
||||
This License does not grant any rights to use the trademarks
|
||||
"Netscape", the "Netscape N and horizon" logo or the "Netscape
|
||||
lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript",
|
||||
"Smart Browsing" even if such marks are included in the Original
|
||||
Code or Modifications.
|
||||
|
||||
IV. Inability to Comply Due to Contractual Obligation.
|
||||
Prior to licensing the Original Code under this License, Netscape
|
||||
has licensed third party code for use in Netscape's Branded Code.
|
||||
To the extent that Netscape is limited contractually from making
|
||||
such third party code available under this License, Netscape may
|
||||
choose to reintegrate such code into Covered Code without being
|
||||
required to distribute such code in Source Code form, even if
|
||||
such code would otherwise be considered "Modifications" under
|
||||
this License.
|
||||
|
||||
V. Use of Modifications and Covered Code by Initial Developer.
|
||||
V.1. In General.
|
||||
The obligations of Section 3 apply to Netscape, except to
|
||||
the extent specified in this Amendment, Section V.2 and V.3.
|
||||
|
||||
V.2. Other Products.
|
||||
Netscape may include Covered Code in products other than the
|
||||
Netscape's Branded Code which are released by Netscape
|
||||
during the two (2) years following the release date of the
|
||||
Original Code, without such additional products becoming
|
||||
subject to the terms of this License, and may license such
|
||||
additional products on different terms from those contained
|
||||
in this License.
|
||||
|
||||
V.3. Alternative Licensing.
|
||||
Netscape may license the Source Code of Netscape's Branded
|
||||
Code, including Modifications incorporated therein, without
|
||||
such Netscape Branded Code becoming subject to the terms of
|
||||
this License, and may license such Netscape Branded Code on
|
||||
different terms from those contained in this License.
|
||||
|
||||
VI. Litigation.
|
||||
Notwithstanding the limitations of Section 11 above, the
|
||||
provisions regarding litigation in Section 11(a), (b) and (c) of
|
||||
the License shall apply to all disputes relating to this License.
|
||||
|
||||
EXHIBIT A-Netscape Public License.
|
||||
|
||||
"The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s): ______________________________________.
|
||||
|
||||
Alternatively, the contents of this file may be used under the
|
||||
terms of the _____ license (the "[___] License"), in which case
|
||||
the provisions of [______] License are applicable instead of
|
||||
those above. If you wish to allow use of your version of this
|
||||
file only under the terms of the [____] License and not to allow
|
||||
others to use your version of this file under the NPL, indicate
|
||||
your decision by deleting the provisions above and replace them
|
||||
with the notice and other provisions required by the [___]
|
||||
License. If you do not delete the provisions above, a recipient
|
||||
may use your version of this file under either the NPL or the
|
||||
[___] License."
|
||||
144
mozilla/Makefile.in
Normal file
144
mozilla/Makefile.in
Normal file
@@ -0,0 +1,144 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
DEPTH = .
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
include $(topsrcdir)/build/unix/modules.mk
|
||||
|
||||
ifneq ($(BUILD_MODULES),all)
|
||||
|
||||
DIRS = $(BUILD_MODULE_DIRS)
|
||||
|
||||
else
|
||||
|
||||
DIRS = config build
|
||||
|
||||
ifdef MOZ_L10N
|
||||
DIRS += l10n
|
||||
endif
|
||||
|
||||
ifdef MOZ_JAVA_SUPPLEMENT
|
||||
DIRS += \
|
||||
java/util \
|
||||
java/webclient \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
DIRS += $(NSPRPUB_DIR)
|
||||
|
||||
# boehm needs to be built before XPCOM
|
||||
ifdef GC_LEAK_DETECTOR
|
||||
DIRS += gc/boehm
|
||||
endif
|
||||
|
||||
DIRS += dbm modules/libreg js xpcom js/src/xpconnect
|
||||
|
||||
ifdef MOZ_OJI
|
||||
DIRS += js/src/liveconnect
|
||||
endif
|
||||
|
||||
ifndef MOZ_NATIVE_ZLIB
|
||||
DIRS += modules/zlib
|
||||
endif
|
||||
|
||||
ifndef MOZ_NATIVE_JPEG
|
||||
DIRS += jpeg
|
||||
endif
|
||||
|
||||
ifdef MOZ_ENABLE_GTK
|
||||
DIRS += widget/src/gtksuperwin widget/src/gtkxtbin
|
||||
endif
|
||||
|
||||
DIRS += \
|
||||
widget/timer \
|
||||
include \
|
||||
modules/libutil \
|
||||
security \
|
||||
netwerk \
|
||||
uriloader \
|
||||
intl \
|
||||
modules/libpref \
|
||||
modules/libimg \
|
||||
modules/oji \
|
||||
modules/plugin \
|
||||
modules/libjar \
|
||||
caps \
|
||||
expat \
|
||||
htmlparser \
|
||||
gfx \
|
||||
dom \
|
||||
view \
|
||||
widget \
|
||||
layout \
|
||||
db \
|
||||
rdf \
|
||||
docshell \
|
||||
webshell \
|
||||
embedding \
|
||||
editor \
|
||||
sun-java \
|
||||
profile \
|
||||
themes \
|
||||
$(NULL)
|
||||
|
||||
# This must preceed xpfe
|
||||
ifdef MOZ_JPROF
|
||||
DIRS += tools/jprof
|
||||
endif
|
||||
|
||||
ifdef MOZ_BUILD_XPFE
|
||||
DIRS += xpfe
|
||||
endif
|
||||
|
||||
DIRS += xpinstall
|
||||
|
||||
ifdef MOZ_EXTENSIONS
|
||||
DIRS += extensions
|
||||
endif
|
||||
|
||||
ifdef MOZ_MAIL_NEWS
|
||||
DIRS += mailnews
|
||||
endif
|
||||
|
||||
ifdef MOZ_LEAKY
|
||||
DIRS += tools/leaky
|
||||
endif
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
DIRS += xpcom/tests
|
||||
endif
|
||||
|
||||
endif # BUILD_MODULES == all
|
||||
|
||||
STATIC_MAKEFILES := $(NSPRPUB_DIR)
|
||||
|
||||
GARBAGE += dist
|
||||
DIST_GARBAGE = config.cache config.log config.status config-defs.h \
|
||||
dependencies.beos config/autoconf.mk \
|
||||
$(shell cd $(topsrcdir); . ./allmakefiles.sh; echo $${MAKEFILES})
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
3
mozilla/README/mozilla/README.build
Normal file
3
mozilla/README/mozilla/README.build
Normal file
@@ -0,0 +1,3 @@
|
||||
For mozilla-the-client build instructions, please read:
|
||||
http://www.mozilla.org/build
|
||||
|
||||
12
mozilla/aclocal.m4
vendored
Normal file
12
mozilla/aclocal.m4
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
dnl
|
||||
dnl Local autoconf macros used with mozilla
|
||||
dnl The contents of this file are under the Public Domain.
|
||||
dnl
|
||||
|
||||
builtin(include, build/autoconf/glib.m4)dnl
|
||||
builtin(include, build/autoconf/gtk.m4)dnl
|
||||
builtin(include, build/autoconf/libIDL.m4)dnl
|
||||
dnl
|
||||
define(MOZ_TOPSRCDIR,.)dnl MOZ_TOPSRCDIR is used in altoptions.m4
|
||||
builtin(include, build/autoconf/altoptions.m4)dnl
|
||||
|
||||
955
mozilla/allmakefiles.sh
Executable file
955
mozilla/allmakefiles.sh
Executable file
@@ -0,0 +1,955 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
# allmakefiles.sh - List of all makefiles.
|
||||
# Appends the list of makefiles to the variable, MAKEFILES.
|
||||
# There is no need to rerun autoconf after adding makefiles.
|
||||
# You only need to run configure.
|
||||
#
|
||||
# Please keep the modules in this file in sync with those in
|
||||
# mozilla/build/unix/modules.mk
|
||||
#
|
||||
|
||||
MAKEFILES=""
|
||||
|
||||
# add_makefiles - Shell function to add makefiles to MAKEFILES
|
||||
add_makefiles() {
|
||||
MAKEFILES="$MAKEFILES $*"
|
||||
}
|
||||
|
||||
if [ "$srcdir" = "" ]; then
|
||||
srcdir=.
|
||||
fi
|
||||
|
||||
#
|
||||
# Common makefiles used by everyone
|
||||
#
|
||||
add_makefiles "
|
||||
Makefile
|
||||
build/Makefile
|
||||
build/unix/Makefile
|
||||
build/unix/mozilla-config
|
||||
build/unix/nspr_my_config.mk
|
||||
build/unix/nspr_my_overrides.mk
|
||||
config/Makefile
|
||||
config/autoconf.mk
|
||||
config/mkdepend/Makefile
|
||||
config/mkdetect/Makefile
|
||||
include/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_db="
|
||||
db/Makefile
|
||||
db/mdb/Makefile
|
||||
db/mdb/public/Makefile
|
||||
db/mork/Makefile
|
||||
db/mork/build/Makefile
|
||||
db/mork/src/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_dbm="
|
||||
dbm/Makefile
|
||||
dbm/include/Makefile
|
||||
dbm/src/Makefile
|
||||
dbm/tests/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_dom="
|
||||
dom/Makefile
|
||||
dom/public/Makefile
|
||||
dom/public/base/Makefile
|
||||
dom/public/coreDom/Makefile
|
||||
dom/public/coreEvents/Makefile
|
||||
dom/public/css/Makefile
|
||||
dom/public/events/Makefile
|
||||
dom/public/range/Makefile
|
||||
dom/public/html/Makefile
|
||||
dom/public/idl/Makefile
|
||||
dom/public/idl/base/Makefile
|
||||
dom/public/idl/coreDom/Makefile
|
||||
dom/public/idl/css/Makefile
|
||||
dom/public/idl/events/Makefile
|
||||
dom/public/idl/html/Makefile
|
||||
dom/public/idl/range/Makefile
|
||||
dom/src/Makefile
|
||||
dom/src/base/Makefile
|
||||
dom/src/build/Makefile
|
||||
dom/src/coreDOM/Makefile
|
||||
dom/src/css/Makefile
|
||||
dom/src/events/Makefile
|
||||
dom/src/range/Makefile
|
||||
dom/src/html/Makefile
|
||||
dom/src/jsurl/Makefile
|
||||
dom/tools/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_editor="
|
||||
editor/Makefile
|
||||
editor/base/Makefile
|
||||
editor/public/Makefile
|
||||
editor/idl/Makefile
|
||||
editor/txmgr/Makefile
|
||||
editor/txmgr/idl/Makefile
|
||||
editor/txmgr/public/Makefile
|
||||
editor/txmgr/src/Makefile
|
||||
editor/txmgr/tests/Makefile
|
||||
editor/txtsvc/Makefile
|
||||
editor/txtsvc/public/Makefile
|
||||
editor/txtsvc/src/Makefile
|
||||
editor/ui/Makefile
|
||||
editor/ui/composer/Makefile
|
||||
editor/ui/composer/content/Makefile
|
||||
editor/ui/composer/content/images/Makefile
|
||||
editor/ui/composer/locale/Makefile
|
||||
editor/ui/composer/locale/en-US/Makefile
|
||||
editor/ui/dialogs/Makefile
|
||||
editor/ui/dialogs/content/Makefile
|
||||
editor/ui/dialogs/locale/Makefile
|
||||
editor/ui/dialogs/locale/en-US/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_expat="
|
||||
expat/Makefile
|
||||
expat/xmlparse/Makefile
|
||||
expat/xmltok/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_extensions="
|
||||
extensions/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_gfx="
|
||||
gfx/Makefile
|
||||
gfx/idl/Makefile
|
||||
gfx/public/Makefile
|
||||
gfx/src/Makefile
|
||||
gfx/src/beos/Makefile
|
||||
gfx/src/gtk/Makefile
|
||||
gfx/src/ps/Makefile
|
||||
gfx/src/motif/Makefile
|
||||
gfx/src/photon/Makefile
|
||||
gfx/src/rhapsody/Makefile
|
||||
gfx/src/mac/Makefile
|
||||
gfx/src/qt/Makefile
|
||||
gfx/src/xlib/Makefile
|
||||
gfx/src/xlibrgb/Makefile
|
||||
gfx/tests/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_htmlparser="
|
||||
htmlparser/Makefile
|
||||
htmlparser/robot/Makefile
|
||||
htmlparser/robot/test/Makefile
|
||||
htmlparser/src/Makefile
|
||||
htmlparser/tests/Makefile
|
||||
htmlparser/tests/grabpage/Makefile
|
||||
htmlparser/tests/logparse/Makefile
|
||||
htmlparser/tests/outsinks/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_intl="
|
||||
intl/Makefile
|
||||
intl/chardet/Makefile
|
||||
intl/chardet/public/Makefile
|
||||
intl/chardet/src/Makefile
|
||||
intl/uconv/Makefile
|
||||
intl/uconv/idl/Makefile
|
||||
intl/uconv/public/Makefile
|
||||
intl/uconv/src/Makefile
|
||||
intl/uconv/tests/Makefile
|
||||
intl/uconv/ucvja/Makefile
|
||||
intl/uconv/ucvlatin/Makefile
|
||||
intl/uconv/ucvcn/Makefile
|
||||
intl/uconv/ucvtw/Makefile
|
||||
intl/uconv/ucvtw2/Makefile
|
||||
intl/uconv/ucvko/Makefile
|
||||
intl/uconv/ucvibm/Makefile
|
||||
intl/locale/Makefile
|
||||
intl/locale/public/Makefile
|
||||
intl/locale/idl/Makefile
|
||||
intl/locale/src/Makefile
|
||||
intl/locale/src/unix/Makefile
|
||||
intl/locale/tests/Makefile
|
||||
intl/lwbrk/Makefile
|
||||
intl/lwbrk/src/Makefile
|
||||
intl/lwbrk/public/Makefile
|
||||
intl/lwbrk/tests/Makefile
|
||||
intl/unicharutil/Makefile
|
||||
intl/unicharutil/idl/Makefile
|
||||
intl/unicharutil/src/Makefile
|
||||
intl/unicharutil/public/Makefile
|
||||
intl/unicharutil/tables/Makefile
|
||||
intl/unicharutil/tests/Makefile
|
||||
intl/unicharutil/tools/Makefile
|
||||
intl/strres/Makefile
|
||||
intl/strres/public/Makefile
|
||||
intl/strres/src/Makefile
|
||||
intl/strres/tests/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_js="
|
||||
js/Makefile
|
||||
js/src/Makefile
|
||||
js/src/fdlibm/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_liveconnect="
|
||||
js/src/liveconnect/Makefile
|
||||
js/src/liveconnect/classes/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_xpconnect="
|
||||
js/src/xpconnect/Makefile
|
||||
js/src/xpconnect/public/Makefile
|
||||
js/src/xpconnect/idl/Makefile
|
||||
js/src/xpconnect/shell/Makefile
|
||||
js/src/xpconnect/src/Makefile
|
||||
js/src/xpconnect/loader/Makefile
|
||||
js/src/xpconnect/tests/Makefile
|
||||
js/src/xpconnect/tests/components/Makefile
|
||||
js/src/xpconnect/tests/idl/Makefile
|
||||
js/src/xpconnect/shell/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_layout="
|
||||
layout/Makefile
|
||||
layout/base/Makefile
|
||||
layout/base/public/Makefile
|
||||
layout/base/src/Makefile
|
||||
layout/base/tests/Makefile
|
||||
layout/build/Makefile
|
||||
layout/events/Makefile
|
||||
layout/events/public/Makefile
|
||||
layout/events/src/Makefile
|
||||
layout/html/Makefile
|
||||
layout/html/base/Makefile
|
||||
layout/html/base/src/Makefile
|
||||
layout/html/content/Makefile
|
||||
layout/html/content/public/Makefile
|
||||
layout/html/content/src/Makefile
|
||||
layout/html/document/Makefile
|
||||
layout/html/document/public/Makefile
|
||||
layout/html/document/src/Makefile
|
||||
layout/html/forms/Makefile
|
||||
layout/html/forms/public/Makefile
|
||||
layout/html/forms/src/Makefile
|
||||
layout/html/style/Makefile
|
||||
layout/html/style/public/Makefile
|
||||
layout/html/style/src/Makefile
|
||||
layout/html/table/Makefile
|
||||
layout/html/table/public/Makefile
|
||||
layout/html/table/src/Makefile
|
||||
layout/html/tests/Makefile
|
||||
layout/tools/Makefile
|
||||
layout/xml/Makefile
|
||||
layout/xml/content/Makefile
|
||||
layout/xml/content/public/Makefile
|
||||
layout/xml/content/src/Makefile
|
||||
layout/xml/document/Makefile
|
||||
layout/xml/document/public/Makefile
|
||||
layout/xml/document/src/Makefile
|
||||
layout/xul/Makefile
|
||||
layout/xul/base/Makefile
|
||||
layout/xul/base/public/Makefile
|
||||
layout/xul/base/src/Makefile
|
||||
layout/xul/content/Makefile
|
||||
layout/xul/content/src/Makefile
|
||||
layout/xbl/Makefile
|
||||
layout/xbl/public/Makefile
|
||||
layout/xbl/src/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_libimg="
|
||||
modules/libimg/Makefile
|
||||
modules/libimg/public/Makefile
|
||||
modules/libimg/public_com/Makefile
|
||||
modules/libimg/src/Makefile
|
||||
modules/libimg/gifcom/Makefile
|
||||
modules/libimg/jpgcom/Makefile
|
||||
modules/libimg/pngcom/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_libjar="
|
||||
modules/libjar/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_libreg="
|
||||
modules/libreg/Makefile
|
||||
modules/libreg/include/Makefile
|
||||
modules/libreg/src/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_libpref="
|
||||
modules/libpref/Makefile
|
||||
modules/libpref/admin/Makefile
|
||||
modules/libpref/l10n/Makefile
|
||||
modules/libpref/public/Makefile
|
||||
modules/libpref/src/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_libutil="
|
||||
modules/libutil/Makefile
|
||||
modules/libutil/public/Makefile
|
||||
modules/libutil/src/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_oji="
|
||||
modules/oji/Makefile
|
||||
modules/oji/public/Makefile
|
||||
modules/oji/src/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_plugin="
|
||||
modules/plugin/Makefile
|
||||
modules/plugin/nglsrc/Makefile
|
||||
modules/plugin/public/Makefile
|
||||
modules/plugin/src/Makefile
|
||||
modules/plugin/test/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_netwerk="
|
||||
netwerk/Makefile
|
||||
netwerk/base/Makefile
|
||||
netwerk/base/public/Makefile
|
||||
netwerk/base/src/Makefile
|
||||
netwerk/build/Makefile
|
||||
netwerk/cache/build/Makefile
|
||||
netwerk/cache/filecache/Makefile
|
||||
netwerk/cache/Makefile
|
||||
netwerk/cache/memcache/Makefile
|
||||
netwerk/cache/mgr/Makefile
|
||||
netwerk/cache/public/Makefile
|
||||
netwerk/dns/Makefile
|
||||
netwerk/dns/public/Makefile
|
||||
netwerk/dns/src/Makefile
|
||||
netwerk/protocol/Makefile
|
||||
netwerk/protocol/about/Makefile
|
||||
netwerk/protocol/about/public/Makefile
|
||||
netwerk/protocol/about/src/Makefile
|
||||
netwerk/protocol/data/Makefile
|
||||
netwerk/protocol/data/public/Makefile
|
||||
netwerk/protocol/data/src/Makefile
|
||||
netwerk/protocol/datetime/src/Makefile
|
||||
netwerk/protocol/datetime/Makefile
|
||||
netwerk/protocol/file/Makefile
|
||||
netwerk/protocol/file/public/Makefile
|
||||
netwerk/protocol/file/src/Makefile
|
||||
netwerk/protocol/finger/Makefile
|
||||
netwerk/protocol/finger/src/Makefile
|
||||
netwerk/protocol/ftp/Makefile
|
||||
netwerk/protocol/ftp/public/Makefile
|
||||
netwerk/protocol/ftp/src/Makefile
|
||||
netwerk/protocol/http/Makefile
|
||||
netwerk/protocol/http/public/Makefile
|
||||
netwerk/protocol/http/src/Makefile
|
||||
netwerk/protocol/jar/Makefile
|
||||
netwerk/protocol/jar/public/Makefile
|
||||
netwerk/protocol/jar/src/Makefile
|
||||
netwerk/protocol/keyword/Makefile
|
||||
netwerk/protocol/keyword/src/Makefile
|
||||
netwerk/protocol/res/Makefile
|
||||
netwerk/protocol/res/public/Makefile
|
||||
netwerk/protocol/res/src/Makefile
|
||||
netwerk/mime/Makefile
|
||||
netwerk/mime/public/Makefile
|
||||
netwerk/mime/src/Makefile
|
||||
netwerk/socket/Makefile
|
||||
netwerk/socket/base/Makefile
|
||||
netwerk/streamconv/Makefile
|
||||
netwerk/streamconv/converters/Makefile
|
||||
netwerk/streamconv/public/Makefile
|
||||
netwerk/streamconv/src/Makefile
|
||||
netwerk/streamconv/test/Makefile
|
||||
netwerk/test/Makefile
|
||||
netwerk/testserver/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_uriloader="
|
||||
uriloader/Makefile
|
||||
uriloader/base/Makefile
|
||||
uriloader/build/Makefile
|
||||
uriloader/extprotocol/Makefile
|
||||
uriloader/extprotocol/base/Makefile
|
||||
uriloader/extprotocol/unix/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_profile="
|
||||
profile/Makefile
|
||||
profile/src/Makefile
|
||||
profile/public/Makefile
|
||||
profile/resources/Makefile
|
||||
profile/resources/content/Makefile
|
||||
profile/resources/locale/Makefile
|
||||
profile/resources/locale/en-US/Makefile
|
||||
profile/pref-migrator/Makefile
|
||||
profile/pref-migrator/public/Makefile
|
||||
profile/pref-migrator/src/Makefile
|
||||
profile/pref-migrator/resources/Makefile
|
||||
profile/pref-migrator/resources/content/Makefile
|
||||
profile/pref-migrator/resources/locale/Makefile
|
||||
profile/pref-migrator/resources/locale/en-US/Makefile
|
||||
profile/defaults/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_rdf="
|
||||
rdf/Makefile
|
||||
rdf/base/Makefile
|
||||
rdf/base/idl/Makefile
|
||||
rdf/base/public/Makefile
|
||||
rdf/base/src/Makefile
|
||||
rdf/chrome/Makefile
|
||||
rdf/chrome/build/Makefile
|
||||
rdf/chrome/public/Makefile
|
||||
rdf/chrome/src/Makefile
|
||||
rdf/util/Makefile
|
||||
rdf/util/public/Makefile
|
||||
rdf/util/src/Makefile
|
||||
rdf/resources/Makefile
|
||||
rdf/build/Makefile
|
||||
rdf/content/Makefile
|
||||
rdf/content/public/Makefile
|
||||
rdf/content/src/Makefile
|
||||
rdf/datasource/Makefile
|
||||
rdf/datasource/public/Makefile
|
||||
rdf/datasource/src/Makefile
|
||||
rdf/tests/Makefile
|
||||
rdf/tests/domds/Makefile
|
||||
rdf/tests/domds/resources/Makefile
|
||||
rdf/tests/localfile/Makefile
|
||||
rdf/tests/rdfsink/Makefile
|
||||
rdf/tests/rdfcat/Makefile
|
||||
rdf/tests/rdfpoll/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_sun_java="
|
||||
sun-java/Makefile
|
||||
sun-java/stubs/Makefile
|
||||
sun-java/stubs/include/Makefile
|
||||
sun-java/stubs/jri/Makefile
|
||||
sun-java/stubs/src/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_caps="
|
||||
caps/Makefile
|
||||
caps/idl/Makefile
|
||||
caps/include/Makefile
|
||||
caps/src/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_view="
|
||||
view/Makefile
|
||||
view/public/Makefile
|
||||
view/src/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_docshell="
|
||||
docshell/Makefile
|
||||
docshell/base/Makefile
|
||||
docshell/build/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_webshell="
|
||||
webshell/Makefile
|
||||
webshell/public/Makefile
|
||||
webshell/src/Makefile
|
||||
webshell/tests/Makefile
|
||||
webshell/tests/viewer/Makefile
|
||||
webshell/tests/viewer/public/Makefile
|
||||
webshell/tests/viewer/unix/Makefile
|
||||
webshell/tests/viewer/unix/gtk/Makefile
|
||||
webshell/tests/viewer/unix/motif/Makefile
|
||||
webshell/tests/viewer/unix/qt/Makefile
|
||||
webshell/tests/viewer/unix/xlib/Makefile
|
||||
webshell/embed/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_widget="
|
||||
widget/Makefile
|
||||
widget/public/Makefile
|
||||
widget/src/Makefile
|
||||
widget/src/beos/Makefile
|
||||
widget/src/build/Makefile
|
||||
widget/src/gtk/Makefile
|
||||
widget/src/gtksuperwin/Makefile
|
||||
widget/src/gtkxtbin/Makefile
|
||||
widget/src/motif/Makefile
|
||||
widget/src/motif/app_context/Makefile
|
||||
widget/src/photon/Makefile
|
||||
widget/src/rhapsody/Makefile
|
||||
widget/src/mac/Makefile
|
||||
widget/src/xlib/Makefile
|
||||
widget/src/qt/Makefile
|
||||
widget/src/xlib/window_service/Makefile
|
||||
widget/src/xpwidgets/Makefile
|
||||
widget/src/support/Makefile
|
||||
widget/tests/Makefile
|
||||
widget/tests/scribble/Makefile
|
||||
widget/tests/widget/Makefile
|
||||
widget/timer/Makefile
|
||||
widget/timer/public/Makefile
|
||||
widget/timer/src/Makefile
|
||||
widget/timer/src/beos/Makefile
|
||||
widget/timer/src/rhapsody/Makefile
|
||||
widget/timer/src/unix/Makefile
|
||||
widget/timer/src/unix/gtk/Makefile
|
||||
widget/timer/src/unix/motif/Makefile
|
||||
widget/timer/src/unix/photon/Makefile
|
||||
widget/timer/src/unix/xlib/Makefile
|
||||
widget/timer/src/unix/qt/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_xpcom="
|
||||
xpcom/Makefile
|
||||
xpcom/base/Makefile
|
||||
xpcom/build/Makefile
|
||||
xpcom/components/Makefile
|
||||
xpcom/ds/Makefile
|
||||
xpcom/io/Makefile
|
||||
xpcom/typelib/Makefile
|
||||
xpcom/reflect/Makefile
|
||||
xpcom/typelib/xpt/Makefile
|
||||
xpcom/typelib/xpt/public/Makefile
|
||||
xpcom/typelib/xpt/src/Makefile
|
||||
xpcom/typelib/xpt/tests/Makefile
|
||||
xpcom/typelib/xpt/tools/Makefile
|
||||
xpcom/typelib/xpidl/Makefile
|
||||
xpcom/reflect/xptcall/Makefile
|
||||
xpcom/reflect/xptcall/public/Makefile
|
||||
xpcom/reflect/xptcall/src/Makefile
|
||||
xpcom/reflect/xptcall/src/md/Makefile
|
||||
xpcom/reflect/xptcall/src/md/test/Makefile
|
||||
xpcom/reflect/xptcall/src/md/unix/Makefile
|
||||
xpcom/reflect/xptcall/tests/Makefile
|
||||
xpcom/reflect/xptinfo/Makefile
|
||||
xpcom/reflect/xptinfo/public/Makefile
|
||||
xpcom/reflect/xptinfo/src/Makefile
|
||||
xpcom/reflect/xptinfo/tests/Makefile
|
||||
xpcom/proxy/Makefile
|
||||
xpcom/proxy/public/Makefile
|
||||
xpcom/proxy/src/Makefile
|
||||
xpcom/proxy/tests/Makefile
|
||||
xpcom/sample/Makefile
|
||||
xpcom/tests/Makefile
|
||||
xpcom/tests/dynamic/Makefile
|
||||
xpcom/tests/services/Makefile
|
||||
xpcom/threads/Makefile
|
||||
xpcom/tools/Makefile
|
||||
xpcom/tools/registry/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_xpinstall="
|
||||
xpinstall/Makefile
|
||||
xpinstall/notifier/Makefile
|
||||
xpinstall/packager/Makefile
|
||||
xpinstall/public/Makefile
|
||||
xpinstall/res/Makefile
|
||||
xpinstall/res/content/Makefile
|
||||
xpinstall/res/locale/Makefile
|
||||
xpinstall/res/locale/en-US/Makefile
|
||||
xpinstall/src/Makefile
|
||||
xpinstall/stub/Makefile
|
||||
xpinstall/wizard/unix/src2/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_xpfe="
|
||||
xpfe/Makefile
|
||||
xpfe/browser/Makefile
|
||||
xpfe/browser/public/Makefile
|
||||
xpfe/browser/src/Makefile
|
||||
xpfe/browser/samples/Makefile
|
||||
xpfe/browser/samples/sampleimages/Makefile
|
||||
xpfe/components/Makefile
|
||||
xpfe/components/public/Makefile
|
||||
xpfe/components/sample/Makefile
|
||||
xpfe/components/sample/public/Makefile
|
||||
xpfe/components/sample/src/Makefile
|
||||
xpfe/components/sample/resources/Makefile
|
||||
xpfe/components/shistory/Makefile
|
||||
xpfe/components/shistory/public/Makefile
|
||||
xpfe/components/shistory/src/Makefile
|
||||
xpfe/components/bookmarks/Makefile
|
||||
xpfe/components/bookmarks/public/Makefile
|
||||
xpfe/components/bookmarks/src/Makefile
|
||||
xpfe/components/bookmarks/resources/Makefile
|
||||
xpfe/components/directory/Makefile
|
||||
xpfe/components/timebomb/Makefile
|
||||
xpfe/components/timebomb/tools/Makefile
|
||||
xpfe/components/timebomb/resources/Makefile
|
||||
xpfe/components/timebomb/resources/content/Makefile
|
||||
xpfe/components/timebomb/resources/locale/Makefile
|
||||
xpfe/components/timebomb/resources/locale/en-US/Makefile
|
||||
xpfe/components/regviewer/Makefile
|
||||
xpfe/components/find/Makefile
|
||||
xpfe/components/find/public/Makefile
|
||||
xpfe/components/find/src/Makefile
|
||||
xpfe/components/find/resources/Makefile
|
||||
xpfe/components/filepicker/src/Makefile
|
||||
xpfe/components/filepicker/res/content/Makefile
|
||||
xpfe/components/filepicker/res/locale/Makefile
|
||||
xpfe/components/filepicker/res/locale/en-US/Makefile
|
||||
xpfe/components/filepicker/res/Makefile
|
||||
xpfe/components/filepicker/Makefile
|
||||
xpfe/components/history/Makefile
|
||||
xpfe/components/history/src/Makefile
|
||||
xpfe/components/history/public/Makefile
|
||||
xpfe/components/history/resources/Makefile
|
||||
xpfe/components/prefwindow/Makefile
|
||||
xpfe/components/prefwindow/resources/Makefile
|
||||
xpfe/components/prefwindow/resources/content/Makefile
|
||||
xpfe/components/prefwindow/resources/locale/Makefile
|
||||
xpfe/components/prefwindow/resources/locale/en-US/Makefile
|
||||
xpfe/components/related/Makefile
|
||||
xpfe/components/related/src/Makefile
|
||||
xpfe/components/related/public/Makefile
|
||||
xpfe/components/related/resources/Makefile
|
||||
xpfe/components/search/Makefile
|
||||
xpfe/components/search/datasets/Makefile
|
||||
xpfe/components/search/resources/Makefile
|
||||
xpfe/components/search/public/Makefile
|
||||
xpfe/components/search/src/Makefile
|
||||
xpfe/components/sidebar/Makefile
|
||||
xpfe/components/sidebar/public/Makefile
|
||||
xpfe/components/sidebar/resources/Makefile
|
||||
xpfe/components/sidebar/src/Makefile
|
||||
xpfe/components/xfer/Makefile
|
||||
xpfe/components/xfer/public/Makefile
|
||||
xpfe/components/xfer/src/Makefile
|
||||
xpfe/components/xfer/resources/Makefile
|
||||
xpfe/components/ucth/Makefile
|
||||
xpfe/components/ucth/public/Makefile
|
||||
xpfe/components/ucth/src/Makefile
|
||||
xpfe/components/ucth/resources/Makefile
|
||||
xpfe/components/remote/Makefile
|
||||
xpfe/components/remote/public/Makefile
|
||||
xpfe/components/remote/src/Makefile
|
||||
xpfe/components/autocomplete/Makefile
|
||||
xpfe/components/autocomplete/public/Makefile
|
||||
xpfe/components/autocomplete/resources/Makefile
|
||||
xpfe/components/autocomplete/resources/skin/Makefile
|
||||
xpfe/components/autocomplete/src/Makefile
|
||||
xpfe/components/console/Makefile
|
||||
xpfe/components/console/resources/Makefile
|
||||
xpfe/components/console/resources/content/Makefile
|
||||
xpfe/components/console/resources/locale/Makefile
|
||||
xpfe/components/console/resources/locale/en-US/Makefile
|
||||
xpfe/appshell/Makefile
|
||||
xpfe/appshell/src/Makefile
|
||||
xpfe/appshell/public/Makefile
|
||||
xpfe/bootstrap/Makefile
|
||||
xpfe/browser/Makefile
|
||||
xpfe/browser/src/Makefile
|
||||
xpfe/browser/resources/Makefile
|
||||
xpfe/browser/resources/content/Makefile
|
||||
xpfe/browser/resources/locale/Makefile
|
||||
xpfe/browser/resources/locale/en-US/Makefile
|
||||
xpfe/global/Makefile
|
||||
xpfe/global/resources/Makefile
|
||||
xpfe/global/resources/skin/unix/Makefile
|
||||
xpfe/global/resources/content/Makefile
|
||||
xpfe/global/resources/content/unix/Makefile
|
||||
xpfe/global/resources/skin/Makefile
|
||||
xpfe/global/resources/locale/Makefile
|
||||
xpfe/global/resources/locale/en-US/Makefile
|
||||
xpfe/global/resources/locale/en-US/unix/Makefile
|
||||
xpfe/communicator/Makefile
|
||||
xpfe/communicator/resources/Makefile
|
||||
xpfe/communicator/resources/locale/Makefile
|
||||
xpfe/communicator/resources/locale/en-US/Makefile
|
||||
xpfe/communicator/resources/content/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_embedding="
|
||||
embedding/Makefile
|
||||
embedding/browser/Makefile
|
||||
embedding/browser/build/Makefile
|
||||
embedding/browser/webBrowser/Makefile
|
||||
embedding/browser/setup/Makefile
|
||||
embedding/browser/gtk/Makefile
|
||||
embedding/browser/gtk/src/Makefile
|
||||
embedding/browser/gtk/tests/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_security="
|
||||
security/Makefile
|
||||
security/psm/Makefile
|
||||
security/psm/lib/Makefile
|
||||
security/psm/lib/client/Makefile
|
||||
security/psm/lib/protocol/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_transformiix="
|
||||
extensions/transformiix/source/base/Makefile
|
||||
extensions/transformiix/source/main/Makefile
|
||||
extensions/transformiix/source/net/Makefile
|
||||
extensions/transformiix/source/xml/dom/standalone/Makefile
|
||||
extensions/transformiix/source/xml/dom/Makefile
|
||||
extensions/transformiix/source/xml/dom/mozImpl/Makefile
|
||||
extensions/transformiix/source/xml/parser/Makefile
|
||||
extensions/transformiix/source/xml/printer/Makefile
|
||||
extensions/transformiix/source/xml/util/Makefile
|
||||
extensions/transformiix/source/xml/Makefile
|
||||
extensions/transformiix/source/xpath/Makefile
|
||||
extensions/transformiix/source/xslt/functions/Makefile
|
||||
extensions/transformiix/source/xslt/util/Makefile
|
||||
extensions/transformiix/source/xslt/Makefile
|
||||
extensions/transformiix/source/Makefile
|
||||
extensions/transformiix/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_themes=`cat ${srcdir}/themes/makefiles`
|
||||
|
||||
if [ "$MOZ_MAIL_NEWS" ]; then
|
||||
MAKEFILES_mailnews=`cat ${srcdir}/mailnews/makefiles`
|
||||
fi
|
||||
|
||||
if [ ! "$SYSTEM_JPEG" ]; then
|
||||
MAKEFILES_jpeg="jpeg/Makefile"
|
||||
fi
|
||||
|
||||
if [ ! "$SYSTEM_ZLIB" ]; then
|
||||
MAKEFILES_zlib="
|
||||
modules/zlib/Makefile
|
||||
modules/zlib/src/Makefile
|
||||
"
|
||||
fi
|
||||
|
||||
if [ ! "$SYSTEM_PNG" ]; then
|
||||
MAKEFILES_libimg="$MAKEFILES_libimg modules/libimg/png/Makefile"
|
||||
fi
|
||||
|
||||
|
||||
#
|
||||
# java/
|
||||
#
|
||||
if [ "$MOZ_JAVA_SUPPLEMENT" ]; then
|
||||
MAKEFILES_java_supplement=`cat ${srcdir}/java/makefiles`
|
||||
fi
|
||||
|
||||
#
|
||||
# l10n/
|
||||
#
|
||||
if [ "$MOZ_L10N" ]; then
|
||||
MAKEFILES_l10n="l10n/Makefile"
|
||||
|
||||
if [ "$MOZ_L10N_LANG" ]; then
|
||||
MAKEFILES_l10n_lang="
|
||||
l10n/lang/Makefile
|
||||
l10n/lang/addressbook/Makefile
|
||||
l10n/lang/bookmarks/Makefile
|
||||
l10n/lang/directory/Makefile
|
||||
l10n/lang/editor/Makefile
|
||||
l10n/lang/global/Makefile
|
||||
l10n/lang/history/Makefile
|
||||
l10n/lang/messenger/Makefile
|
||||
l10n/lang/messengercompose/Makefile
|
||||
l10n/lang/navigator/Makefile
|
||||
l10n/lang/pref/Makefile
|
||||
l10n/lang/related/Makefile
|
||||
l10n/lang/sidebar/Makefile
|
||||
l10n/lang/addressbook/locale/Makefile
|
||||
l10n/lang/bookmarks/locale/Makefile
|
||||
l10n/lang/directory/locale/Makefile
|
||||
l10n/lang/editor/locale/Makefile
|
||||
l10n/lang/global/locale/Makefile
|
||||
l10n/lang/history/locale/Makefile
|
||||
l10n/lang/messenger/locale/Makefile
|
||||
l10n/lang/messengercompose/locale/Makefile
|
||||
l10n/lang/navigator/locale/Makefile
|
||||
l10n/lang/pref/locale/Makefile
|
||||
l10n/lang/related/locale/Makefile
|
||||
l10n/lang/sidebar/locale/Makefile
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
||||
# tools/jprof
|
||||
if [ "$MOZ_JPROF" ]; then
|
||||
MAKEFILES_jprof="tools/jprof/Makefile"
|
||||
fi
|
||||
|
||||
# tools/leaky
|
||||
if [ "$MOZ_LEAKY" ]; then
|
||||
MAKEFILES_leaky="tools/leaky/Makefile"
|
||||
fi
|
||||
|
||||
# layout/mathml
|
||||
if [ "$MOZ_MATHML" ]; then
|
||||
MAKEFILES_layout="$MAKEFILES_layout
|
||||
layout/mathml/Makefile
|
||||
layout/mathml/base/Makefile
|
||||
layout/mathml/base/src/Makefile
|
||||
layout/mathml/content/Makefile
|
||||
layout/mathml/content/src/Makefile
|
||||
"
|
||||
fi
|
||||
|
||||
# layout/svg
|
||||
if [ "$MOZ_SVG" ]; then
|
||||
MAKEFILES_layout="$MAKEFILES_layout
|
||||
layout/svg/Makefile
|
||||
layout/svg/base/Makefile
|
||||
layout/svg/base/public/Makefile
|
||||
layout/svg/base/src/Makefile
|
||||
layout/svg/content/Makefile
|
||||
layout/svg/content/src/Makefile
|
||||
"
|
||||
fi
|
||||
|
||||
# directory/xpcom
|
||||
if [ "$MOZ_LDAP_XPCOM" ]; then
|
||||
MAKEFILES_ldap="
|
||||
directory/xpcom/Makefile
|
||||
directory/xpcom/base/Makefile
|
||||
directory/xpcom/base/public/Makefile
|
||||
directory/xpcom/base/src/Makefile
|
||||
"
|
||||
fi
|
||||
|
||||
|
||||
for extension in $MOZ_EXTENSIONS; do
|
||||
case "$extension" in
|
||||
cookie ) MAKEFILES_extensions="$MAKEFILES_extensions
|
||||
extensions/cookie/Makefile
|
||||
extensions/cookie/tests/Makefile
|
||||
" ;;
|
||||
psm-glue ) MAKEFILES_extensions="$MAKEFILES_extensions
|
||||
extensions/psm-glue/public/Makefile
|
||||
extensions/psm-glue/Makefile
|
||||
extensions/psm-glue/res/content/Makefile
|
||||
extensions/psm-glue/res/Makefile
|
||||
extensions/psm-glue/res/locale/Makefile
|
||||
extensions/psm-glue/res/locale/en-US/Makefile
|
||||
extensions/psm-glue/src/Makefile
|
||||
" ;;
|
||||
irc ) MAKEFILES_extensions="$MAKEFILES_extensions
|
||||
extensions/irc/Makefile
|
||||
extensions/irc/xul/Makefile
|
||||
extensions/irc/xul/content/Makefile
|
||||
extensions/irc/xul/locale/Makefile
|
||||
extensions/irc/xul/locale/en-US/Makefile
|
||||
" ;;
|
||||
transformiix ) MAKEFILES_extensions="$MAKEFILES_extensions
|
||||
$MAKEFILES_transformiix"
|
||||
;;
|
||||
wallet ) MAKEFILES_extensions="$MAKEFILES_extensions
|
||||
extensions/wallet/Makefile
|
||||
extensions/wallet/public/Makefile
|
||||
extensions/wallet/src/Makefile
|
||||
extensions/wallet/editor/Makefile
|
||||
extensions/wallet/cookieviewer/Makefile
|
||||
extensions/wallet/signonviewer/Makefile
|
||||
extensions/wallet/walletpreview/Makefile
|
||||
extensions/wallet/build/Makefile
|
||||
" ;;
|
||||
xmlterm ) MAKEFILES_extensions="$MAKEFILES_extensions
|
||||
extensions/xmlterm/Makefile
|
||||
extensions/xmlterm/base/Makefile
|
||||
extensions/xmlterm/geckoterm/Makefile
|
||||
extensions/xmlterm/linetest/Makefile
|
||||
extensions/xmlterm/scripts/Makefile
|
||||
extensions/xmlterm/tests/Makefile
|
||||
extensions/xmlterm/ui/Makefile
|
||||
" ;;
|
||||
xml-rpc ) MAKEFILES_extensions="$MAKEFILES_extensions
|
||||
extensions/xml-rpc/Makefile
|
||||
extensions/xml-rpc/idl/Makefile
|
||||
extensions/xml-rpc/src/Makefile
|
||||
" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
#
|
||||
# Translate from BUILD_MODULES into the proper makefiles list
|
||||
#
|
||||
if [ "$BUILD_MODULES" = "all" ]; then
|
||||
add_makefiles "
|
||||
$MAKEFILES_caps
|
||||
$MAKEFILES_db
|
||||
$MAKEFILES_dbm
|
||||
$MAKEFILES_docshell
|
||||
$MAKEFILES_dom
|
||||
$MAKEFILES_editor
|
||||
$MAKEFILES_embedding
|
||||
$MAKEFILES_expat
|
||||
$MAKEFILES_extensions
|
||||
$MAKEFILES_gfx
|
||||
$MAKEFILES_htmlparser
|
||||
$MAKEFILES_intl
|
||||
$MAKEFILES_java_supplement
|
||||
$MAKEFILES_ldap
|
||||
$MAKEFILES_leaky
|
||||
$MAKEFILES_jpeg
|
||||
$MAKEFILES_jprof
|
||||
$MAKEFILES_js
|
||||
$MAKEFILES_l10n
|
||||
$MAKEFILES_l10n_lang
|
||||
$MAKEFILES_layout
|
||||
$MAKEFILES_libreg
|
||||
$MAKEFILES_libimg
|
||||
$MAKEFILES_libjar
|
||||
$MAKEFILES_libpref
|
||||
$MAKEFILES_libutil
|
||||
$MAKEFILES_liveconnect
|
||||
$MAKEFILES_mailnews
|
||||
$MAKEFILES_oji
|
||||
$MAKEFILES_plugin
|
||||
$MAKEFILES_netwerk
|
||||
$MAKEFILES_profile
|
||||
$MAKEFILES_rdf
|
||||
$MAKEFILES_security
|
||||
$MAKEFILES_sun_java
|
||||
$MAKEFILES_themes
|
||||
$MAKEFILES_uriloader
|
||||
$MAKEFILES_view
|
||||
$MAKEFILES_webshell
|
||||
$MAKEFILES_widget
|
||||
$MAKEFILES_xpcom
|
||||
$MAKEFILES_xpconnect
|
||||
$MAKEFILES_xpinstall
|
||||
$MAKEFILES_xpfe
|
||||
$MAKEFILES_zlib
|
||||
"
|
||||
|
||||
else
|
||||
|
||||
# Standalone modules go here
|
||||
for mod in $BUILD_MODULES; do
|
||||
case $mod in
|
||||
dbm) add_makefiles "$MAKEFILES_dbm"
|
||||
;;
|
||||
js) add_makefiles "$MAKEFILES_js"
|
||||
;;
|
||||
necko) add_makefiles "
|
||||
$MAKEFILES_netwerk $MAKEFILES_xpcom $MAKEFILES_libreg"
|
||||
;;
|
||||
transformiix) add_makefiles "$MAKEFILES_transformiix"
|
||||
;;
|
||||
xpcom) add_makefiles "$MAKEFILES_xpcom $MAKEFILES_libreg"
|
||||
;;
|
||||
xpconnect) add_makefiles "
|
||||
$MAKEFILES_xpconnect $MAKEFILES_js $MAKEFILES_xpcom
|
||||
$MAKEFILES_libreg"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
36
mozilla/build/Makefile.in
Normal file
36
mozilla/build/Makefile.in
Normal file
@@ -0,0 +1,36 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is Mozilla Communicator client code,
|
||||
# released March 31, 1998.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape Communications
|
||||
# Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
DEPTH = ..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS = unix
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
# Install bloaturls.txt file for tinderbox Bloaty test.
|
||||
install:: $(srcdir)/bloaturls.txt
|
||||
$(INSTALL) $< $(DIST)/bin
|
||||
179
mozilla/build/autoconf/acoutput-fast.pl
Executable file
179
mozilla/build/autoconf/acoutput-fast.pl
Executable file
@@ -0,0 +1,179 @@
|
||||
#! /usr/bin/env perl
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
# acoutput-fast.pl - Quickly create makefiles that are in a common format.
|
||||
#
|
||||
# Most of the makefiles in mozilla only refer to two configure variables:
|
||||
# @srcdir@
|
||||
# @top_srcdir@
|
||||
# However, configure does not know any better and it runs sed on each file
|
||||
# with over 150 replacement rules (slow as molasses).
|
||||
#
|
||||
# This script takes a list of makefiles as input. For example,
|
||||
#
|
||||
# echo $MAKEFILES | acoutput-fast.pl
|
||||
#
|
||||
# The script creates each Makefile that only references @srcdir@ and
|
||||
# @top_srcdir@. For other files, it lists them in a shell command that is
|
||||
# printed to stdout:
|
||||
#
|
||||
# CONFIG_FILES="unhandled_files..."; export CONFIG_FILES
|
||||
#
|
||||
# This command can be used to have config.status create the unhandled
|
||||
# files. For example,
|
||||
#
|
||||
# eval "echo $MAKEFILES | acoutput-fast.pl"
|
||||
# AC_OUTPUT($MAKEFILES)
|
||||
#
|
||||
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
|
||||
|
||||
#use File::Basename;
|
||||
sub dirname {
|
||||
my $dir = $_[0];
|
||||
return '.' if not $dir =~ m%/%;
|
||||
$dir =~ s%/[^/][^/]*$%%;
|
||||
return $dir;
|
||||
}
|
||||
|
||||
# Create one directory. Assumes it doesn't already exist.
|
||||
# Will create parent(s) if needed.
|
||||
sub create_directory {
|
||||
my $dir = $_[0];
|
||||
my $parent = dirname($dir);
|
||||
create_directory($parent) if not -d $parent;
|
||||
mkdir "$dir",0777;
|
||||
}
|
||||
|
||||
# Create all the directories at once.
|
||||
# This can be much faster than calling mkdir() for each one.
|
||||
sub create_directories {
|
||||
my @makefiles = @_;
|
||||
my @dirs = ();
|
||||
my $ac_file;
|
||||
foreach $ac_file (@makefiles) {
|
||||
push @dirs, dirname($ac_file);
|
||||
}
|
||||
# Call mkdir with the directories sorted by subdir count (how many /'s)
|
||||
if (@dirs) {
|
||||
my $mkdir_command = "mkdir -p ". join(' ', @dirs);
|
||||
if (system($mkdir_command) != 0) {
|
||||
print STDERR "Creating dirs all at once failed; trying one at atime\n";
|
||||
foreach $dir (@dirs) {
|
||||
if (not -d $dir) {
|
||||
print STDERR "Creating directory $dir\n";
|
||||
create_directory($dir);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($ARGV[0] =~ /^--srcdir=/) {
|
||||
$ac_given_srcdir = (split /=/, shift @ARGV)[1];
|
||||
} else {
|
||||
$ac_given_srcdir = $0;
|
||||
$ac_given_srcdir =~ s|/?build/autoconf/.*$||;
|
||||
$ac_given_srcdir = '.' if $ac_given_srcdir eq '';
|
||||
}
|
||||
|
||||
# Read list of makefiles from the stdin or,
|
||||
# from files listed on the command-line.
|
||||
#
|
||||
@makefiles=();
|
||||
push @makefiles, split while (<>);
|
||||
|
||||
# Create all the directories at once.
|
||||
# This can be much faster than calling mkdir() for each one.
|
||||
create_directories(@makefiles);
|
||||
|
||||
# Output the makefiles.
|
||||
#
|
||||
@unhandled=();
|
||||
foreach $ac_file (@makefiles) {
|
||||
if (not $ac_file =~ /Makefile$/ or $ac_file =~ /:/) {
|
||||
push @unhandled, $ac_file;
|
||||
next;
|
||||
}
|
||||
$ac_file_in = "$ac_given_srcdir/$ac_file.in";
|
||||
$ac_dir = dirname($ac_file);
|
||||
if ($ac_dir eq '.') {
|
||||
$ac_dir_suffix = '';
|
||||
$ac_dots = '';
|
||||
} else {
|
||||
$ac_dir_suffix = "/$ac_dir";
|
||||
$ac_dir_suffix =~ s%^/\./%/%;
|
||||
$ac_dots = $ac_dir_suffix;
|
||||
$ac_dots =~ s%/[^/]*%../%g;
|
||||
}
|
||||
if ($ac_given_srcdir eq '.') {
|
||||
$srcdir = '.';
|
||||
if ($ac_dots eq '') {
|
||||
$top_srcdir = '.'
|
||||
} else {
|
||||
$top_srcdir = $ac_dots;
|
||||
$top_srcdir =~ s%/$%%;
|
||||
}
|
||||
} elsif ($ac_given_srcdir =~ m%^/%) {
|
||||
$srcdir = "$ac_given_srcdir$ac_dir_suffix";
|
||||
$top_srcdir = "$ac_given_srcdir";
|
||||
} else {
|
||||
$srcdir = "$ac_dots$ac_given_srcdir$ac_dir_suffix";
|
||||
$top_srcdir = "$ac_dots$ac_given_srcdir";
|
||||
}
|
||||
|
||||
if (-e $ac_file) {
|
||||
next if -M _ < -M $ac_file_in;
|
||||
print STDERR "updating $ac_file\n";
|
||||
} else {
|
||||
print STDERR "creating $ac_file\n";
|
||||
}
|
||||
|
||||
open (INFILE, "<$ac_file_in")
|
||||
or ( warn "can't read $ac_file_in: No such file or directory\n" and next);
|
||||
open (OUTFILE, ">$ac_file")
|
||||
or ( warn "Unable to create $ac_file\n" and next);
|
||||
|
||||
while (<INFILE>) {
|
||||
if (/\@[_a-zA-Z]*\@.*\@[_a-zA-Z]*\@/) {
|
||||
#warn "Two defines on a line:$ac_file:$.:$_";
|
||||
push @unhandled, $ac_file;
|
||||
last;
|
||||
}
|
||||
|
||||
s/\@srcdir\@/$srcdir/;
|
||||
s/\@top_srcdir\@/$top_srcdir/;
|
||||
|
||||
if (/\@[_a-zA-Z]*\@/) {
|
||||
#warn "Unknown variable:$ac_file:$.:$_";
|
||||
push @unhandled, $ac_file;
|
||||
last;
|
||||
}
|
||||
print OUTFILE;
|
||||
}
|
||||
close INFILE;
|
||||
close OUTFILE;
|
||||
}
|
||||
|
||||
# Print the shell command to be evaluated by configure.
|
||||
#
|
||||
print "CONFIG_FILES=\"".join(' ', @unhandled)."\"; export CONFIG_FILES\n";
|
||||
|
||||
107
mozilla/build/autoconf/altoptions.m4
Normal file
107
mozilla/build/autoconf/altoptions.m4
Normal file
@@ -0,0 +1,107 @@
|
||||
dnl The contents of this file are subject to the Netscape Public
|
||||
dnl License Version 1.1 (the "License"); you may not use this file
|
||||
dnl except in compliance with the License. You may obtain a copy of
|
||||
dnl the License at http://www.mozilla.org/NPL/
|
||||
dnl
|
||||
dnl Software distributed under the License is distributed on an "AS
|
||||
dnl IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
dnl implied. See the License for the specific language governing
|
||||
dnl rights and limitations under the License.
|
||||
dnl
|
||||
dnl The Original Code is mozilla.org code.
|
||||
dnl
|
||||
dnl The Initial Developer of the Original Code is Netscape
|
||||
dnl Communications Corporation. Portions created by Netscape are
|
||||
dnl Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
dnl Rights Reserved.
|
||||
dnl
|
||||
dnl Contributor(s):
|
||||
dnl
|
||||
|
||||
dnl altoptions.m4 - An alternative way of specifying command-line options.
|
||||
dnl These macros are needed to support a menu-based configurator.
|
||||
dnl This file also includes the macro, AM_READ_MYCONFIG, for reading
|
||||
dnl the 'myconfig.m4' file.
|
||||
|
||||
dnl Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
|
||||
|
||||
|
||||
dnl MOZ_ARG_ENABLE_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE]])
|
||||
dnl MOZ_ARG_DISABLE_BOOL( NAME, HELP, IF-NO [, IF-YES [, ELSE]])
|
||||
dnl MOZ_ARG_ENABLE_STRING( NAME, HELP, IF-SET [, ELSE])
|
||||
dnl MOZ_ARG_ENABLE_BOOL_OR_STRING( NAME, HELP, IF-YES, IF-NO, IF-SET[, ELSE]]])
|
||||
dnl MOZ_ARG_WITH_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE])
|
||||
dnl MOZ_ARG_WITHOUT_BOOL( NAME, HELP, IF-NO [, IF-YES [, ELSE])
|
||||
dnl MOZ_ARG_WITH_STRING( NAME, HELP, IF-SET [, ELSE])
|
||||
dnl MOZ_ARG_HEADER(Comment)
|
||||
dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
|
||||
|
||||
|
||||
dnl MOZ_TWO_STRING_TEST(NAME, STR1, IF-STR1, STR2, IF-STR2 [, ELSE])
|
||||
AC_DEFUN(MOZ_TWO_STRING_TEST,
|
||||
[if test "$enableval" = "[$2]"; then
|
||||
ifelse([$3], , :, [$3])
|
||||
elif test "$enableval" = "[$4]"; then
|
||||
ifelse([$5], , :, [$5])
|
||||
else
|
||||
ifelse([$6], ,
|
||||
[AC_MSG_ERROR([Option, [$1], does not take an argument ($enableval).])],
|
||||
[$6])
|
||||
fi])
|
||||
|
||||
dnl MOZ_ARG_ENABLE_BOOL(NAME, HELP, IF-YES [, IF-NO [, ELSE]])
|
||||
AC_DEFUN(MOZ_ARG_ENABLE_BOOL,
|
||||
[AC_ARG_ENABLE([$1], [$2],
|
||||
[MOZ_TWO_STRING_TEST([$1], yes, [$3], no, [$4])],
|
||||
[$5])])
|
||||
|
||||
dnl MOZ_ARG_DISABLE_BOOL(NAME, HELP, IF-NO [, IF-YES [, ELSE]])
|
||||
AC_DEFUN(MOZ_ARG_DISABLE_BOOL,
|
||||
[AC_ARG_ENABLE([$1], [$2],
|
||||
[MOZ_TWO_STRING_TEST([$1], no, [$3], yes, [$4])],
|
||||
[$5])])
|
||||
|
||||
dnl MOZ_ARG_ENABLE_STRING(NAME, HELP, IF-SET [, ELSE])
|
||||
AC_DEFUN(MOZ_ARG_ENABLE_STRING,
|
||||
[AC_ARG_ENABLE([$1], [$2], [$3], [$4])])
|
||||
|
||||
dnl MOZ_ARG_ENABLE_BOOL_OR_STRING(NAME, HELP, IF-YES, IF-NO, IF-SET[, ELSE]]])
|
||||
AC_DEFUN(MOZ_ARG_ENABLE_BOOL_OR_STRING,
|
||||
[ifelse([$5], ,
|
||||
[errprint([Option, $1, needs an "IF-SET" argument.
|
||||
])
|
||||
m4exit(1)],
|
||||
[AC_ARG_ENABLE([$1], [$2],
|
||||
[MOZ_TWO_STRING_TEST([$1], yes, [$3], no, [$4], [$5])],
|
||||
[$6])])])
|
||||
|
||||
dnl MOZ_ARG_WITH_BOOL(NAME, HELP, IF-YES [, IF-NO [, ELSE])
|
||||
AC_DEFUN(MOZ_ARG_WITH_BOOL,
|
||||
[AC_ARG_WITH([$1], [$2],
|
||||
[MOZ_TWO_STRING_TEST([$1], yes, [$3], no, [$4])],
|
||||
[$5])])
|
||||
|
||||
dnl MOZ_ARG_WITHOUT_BOOL(NAME, HELP, IF-NO [, IF-YES [, ELSE])
|
||||
AC_DEFUN(MOZ_ARG_WITHOUT_BOOL,
|
||||
[AC_ARG_WITH([$1], [$2],
|
||||
[MOZ_TWO_STRING_TEST([$1], no, [$3], yes, [$4])],
|
||||
[$5])])
|
||||
|
||||
dnl MOZ_ARG_WITH_STRING(NAME, HELP, IF-SET [, ELSE])
|
||||
AC_DEFUN(MOZ_ARG_WITH_STRING,
|
||||
[AC_ARG_WITH([$1], [$2], [$3], [$4])])
|
||||
|
||||
dnl MOZ_ARG_HEADER(Comment)
|
||||
dnl This is used by webconfig to group options
|
||||
define(MOZ_ARG_HEADER, [# $1])
|
||||
|
||||
dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
|
||||
AC_DEFUN(MOZ_READ_MOZCONFIG,
|
||||
[AC_REQUIRE([AC_INIT_BINSH])dnl
|
||||
# Read in '.mozconfig' script to set the initial options.
|
||||
# See the mozconfig2configure script for more details.
|
||||
_AUTOCONF_TOOLS_DIR=`dirname [$]0`/[$1]/build/autoconf
|
||||
. $_AUTOCONF_TOOLS_DIR/mozconfig2configure])
|
||||
|
||||
dnl This gets inserted at the top of the configure script
|
||||
MOZ_READ_MOZCONFIG(MOZ_TOPSRCDIR)
|
||||
54
mozilla/build/autoconf/clean-config.sh
Executable file
54
mozilla/build/autoconf/clean-config.sh
Executable file
@@ -0,0 +1,54 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
# clean-config.sh - Removes all files generated by mozilla configure.
|
||||
# Only removes files from the topsrcdir. To clean up an objdir,
|
||||
# simply remove the directory and start over.
|
||||
#
|
||||
# Usage:
|
||||
# 1. cd <topsrcdir>
|
||||
# 2. build/autoconf/clean-config.sh
|
||||
#
|
||||
# Send comments, improvements, bugs to slamm@netscape.com
|
||||
|
||||
topsrcdir=`cd \`dirname $0\`/../..; pwd`
|
||||
|
||||
if [ ! -f configure.in ]; then
|
||||
echo "clean-config.sh only cleans the source tree. To run," 2>&1
|
||||
echo " cd $topsrcdir; build/autoconf/clean-config.sh" 2>&1
|
||||
echo " (To clean a separate objdir, simple remove the directory.)" 2>&1
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -f mailnews/makefiles ]; then
|
||||
MOZ_MAIL_NEWS=1
|
||||
export MOZ_MAIL_NEWS
|
||||
fi
|
||||
|
||||
. allmakefiles.sh
|
||||
|
||||
rm -fr $MAKEFILES \
|
||||
config-defs.h \
|
||||
config.cache \
|
||||
config.log \
|
||||
config.status \
|
||||
$NULL
|
||||
1188
mozilla/build/autoconf/config.guess
vendored
Executable file
1188
mozilla/build/autoconf/config.guess
vendored
Executable file
File diff suppressed because it is too large
Load Diff
1264
mozilla/build/autoconf/config.sub
vendored
Executable file
1264
mozilla/build/autoconf/config.sub
vendored
Executable file
File diff suppressed because it is too large
Load Diff
200
mozilla/build/autoconf/glib.m4
Normal file
200
mozilla/build/autoconf/glib.m4
Normal file
@@ -0,0 +1,200 @@
|
||||
# Configure paths for GLIB
|
||||
# Owen Taylor 97-11-3
|
||||
|
||||
dnl AM_PATH_GLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||
dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or
|
||||
dnl gthread is specified in MODULES, pass to glib-config
|
||||
dnl
|
||||
AC_DEFUN(AM_PATH_GLIB,
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from the glib-config script
|
||||
dnl
|
||||
AC_ARG_WITH(glib-prefix,[ --with-glib-prefix=PFX Prefix where GLIB is installed (optional)],
|
||||
glib_config_prefix="$withval", glib_config_prefix="")
|
||||
AC_ARG_WITH(glib-exec-prefix,[ --with-glib-exec-prefix=PFX
|
||||
Exec prefix where GLIB is installed (optional)],
|
||||
glib_config_exec_prefix="$withval", glib_config_exec_prefix="")
|
||||
AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and run a test GLIB program],
|
||||
, enable_glibtest=yes)
|
||||
|
||||
if test x$glib_config_exec_prefix != x ; then
|
||||
glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
|
||||
if test x${GLIB_CONFIG+set} != xset ; then
|
||||
GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
|
||||
fi
|
||||
fi
|
||||
if test x$glib_config_prefix != x ; then
|
||||
glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
|
||||
if test x${GLIB_CONFIG+set} != xset ; then
|
||||
GLIB_CONFIG=$glib_config_prefix/bin/glib-config
|
||||
fi
|
||||
fi
|
||||
|
||||
for module in . $4
|
||||
do
|
||||
case "$module" in
|
||||
gmodule)
|
||||
glib_config_args="$glib_config_args gmodule"
|
||||
;;
|
||||
gthread)
|
||||
glib_config_args="$glib_config_args gthread"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
dnl Force a version check to keep upgraded versions from being overridden by the cached value.
|
||||
unset ac_cv_path_GLIB_CONFIG
|
||||
|
||||
AC_PATH_PROG(GLIB_CONFIG, glib-config, no)
|
||||
min_glib_version=ifelse([$1], ,0.99.7,$1)
|
||||
AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
|
||||
no_glib=""
|
||||
if test "$GLIB_CONFIG" = "no" ; then
|
||||
no_glib=yes
|
||||
else
|
||||
GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
|
||||
GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
|
||||
glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
if test "x$enable_glibtest" = "xyes" ; then
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $GLIB_CFLAGS"
|
||||
LIBS="$GLIB_LIBS $LIBS"
|
||||
dnl
|
||||
dnl Now check if the installed GLIB is sufficiently new. (Also sanity
|
||||
dnl checks the results of glib-config to some extent
|
||||
dnl
|
||||
rm -f conf.glibtest
|
||||
AC_TRY_RUN([
|
||||
#include <glib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int major, minor, micro;
|
||||
char *tmp_version;
|
||||
|
||||
system ("touch conf.glibtest");
|
||||
|
||||
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||
tmp_version = g_strdup("$min_glib_version");
|
||||
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
printf("%s, bad version string\n", "$min_glib_version");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if ((glib_major_version != $glib_config_major_version) ||
|
||||
(glib_minor_version != $glib_config_minor_version) ||
|
||||
(glib_micro_version != $glib_config_micro_version))
|
||||
{
|
||||
printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
|
||||
$glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
|
||||
glib_major_version, glib_minor_version, glib_micro_version);
|
||||
printf ("*** was found! If glib-config was correct, then it is best\n");
|
||||
printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
|
||||
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
printf("*** required on your system.\n");
|
||||
printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
|
||||
printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
|
||||
printf("*** before re-running configure\n");
|
||||
}
|
||||
else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
|
||||
(glib_minor_version != GLIB_MINOR_VERSION) ||
|
||||
(glib_micro_version != GLIB_MICRO_VERSION))
|
||||
{
|
||||
printf("*** GLIB header files (version %d.%d.%d) do not match\n",
|
||||
GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
|
||||
printf("*** library (version %d.%d.%d)\n",
|
||||
glib_major_version, glib_minor_version, glib_micro_version);
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((glib_major_version > major) ||
|
||||
((glib_major_version == major) && (glib_minor_version > minor)) ||
|
||||
((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
|
||||
glib_major_version, glib_minor_version, glib_micro_version);
|
||||
printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
|
||||
major, minor, micro);
|
||||
printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
|
||||
printf("***\n");
|
||||
printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||
printf("*** probably means that the wrong copy of the glib-config shell script is\n");
|
||||
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
|
||||
printf("*** correct copy of glib-config. (In this case, you will have to\n");
|
||||
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
printf("*** so that the correct libraries are found at run-time))\n");
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
if test "x$no_glib" = x ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
if test "$GLIB_CONFIG" = "no" ; then
|
||||
echo "*** The glib-config script installed by GLIB could not be found"
|
||||
echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
|
||||
echo "*** your path, or set the GLIB_CONFIG environment variable to the"
|
||||
echo "*** full path to glib-config."
|
||||
else
|
||||
if test -f conf.glibtest ; then
|
||||
:
|
||||
else
|
||||
echo "*** Could not run GLIB test program, checking why..."
|
||||
CFLAGS="$CFLAGS $GLIB_CFLAGS"
|
||||
LIBS="$LIBS $GLIB_LIBS"
|
||||
AC_TRY_LINK([
|
||||
#include <glib.h>
|
||||
#include <stdio.h>
|
||||
], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
|
||||
[ echo "*** The test program compiled, but did not run. This usually means"
|
||||
echo "*** that the run-time linker is not finding GLIB or finding the wrong"
|
||||
echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
|
||||
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||
echo "*** is required on your system"
|
||||
echo "***"
|
||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
||||
echo "***"
|
||||
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
|
||||
echo "*** came with the system with the command"
|
||||
echo "***"
|
||||
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
|
||||
echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
|
||||
echo "*** may want to edit the glib-config script: $GLIB_CONFIG" ])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
GLIB_CFLAGS=""
|
||||
GLIB_LIBS=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
AC_SUBST(GLIB_CFLAGS)
|
||||
AC_SUBST(GLIB_LIBS)
|
||||
rm -f conf.glibtest
|
||||
])
|
||||
191
mozilla/build/autoconf/gtk.m4
Normal file
191
mozilla/build/autoconf/gtk.m4
Normal file
@@ -0,0 +1,191 @@
|
||||
# Configure paths for GTK+
|
||||
# Owen Taylor 97-11-3
|
||||
# (copy of gtk.m4 (public domain))
|
||||
|
||||
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
||||
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
|
||||
dnl
|
||||
AC_DEFUN(AM_PATH_GTK,
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from the gtk-config script
|
||||
dnl
|
||||
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
|
||||
gtk_config_prefix="$withval", gtk_config_prefix="")
|
||||
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX
|
||||
Exec prefix where GTK is installed (optional)],
|
||||
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
|
||||
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
|
||||
, enable_gtktest=yes)
|
||||
|
||||
if test x$gtk_config_exec_prefix != x ; then
|
||||
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
|
||||
if test x${GTK_CONFIG+set} != xset ; then
|
||||
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
|
||||
fi
|
||||
fi
|
||||
if test x$gtk_config_prefix != x ; then
|
||||
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
|
||||
if test x${GTK_CONFIG+set} != xset ; then
|
||||
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl Force a version check to keep upgraded versions from being overridden by the cached value.
|
||||
unset ac_cv_path_GTK_CONFIG
|
||||
|
||||
AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
|
||||
min_gtk_version=ifelse([$1], ,0.99.7,$1)
|
||||
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
|
||||
no_gtk=""
|
||||
if test "$GTK_CONFIG" = "no" ; then
|
||||
no_gtk=yes
|
||||
else
|
||||
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
|
||||
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
|
||||
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
if test "x$enable_gtktest" = "xyes" ; then
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$LIBS $GTK_LIBS"
|
||||
dnl
|
||||
dnl Now check if the installed GTK is sufficiently new. (Also sanity
|
||||
dnl checks the results of gtk-config to some extent
|
||||
dnl
|
||||
rm -f conf.gtktest
|
||||
AC_TRY_RUN([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int major, minor, micro;
|
||||
char *tmp_version;
|
||||
|
||||
system ("touch conf.gtktest");
|
||||
|
||||
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||
tmp_version = g_strdup("$min_gtk_version");
|
||||
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
printf("%s, bad version string\n", "$min_gtk_version");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if ((gtk_major_version != $gtk_config_major_version) ||
|
||||
(gtk_minor_version != $gtk_config_minor_version) ||
|
||||
(gtk_micro_version != $gtk_config_micro_version))
|
||||
{
|
||||
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
||||
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
printf ("*** was found! If gtk-config was correct, then it is best\n");
|
||||
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
||||
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
printf("*** required on your system.\n");
|
||||
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
|
||||
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
|
||||
printf("*** before re-running configure\n");
|
||||
}
|
||||
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
|
||||
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
|
||||
(gtk_minor_version != GTK_MINOR_VERSION) ||
|
||||
(gtk_micro_version != GTK_MICRO_VERSION))
|
||||
{
|
||||
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
|
||||
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
|
||||
printf("*** library (version %d.%d.%d)\n",
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
}
|
||||
#endif /* defined (GTK_MAJOR_VERSION) ... */
|
||||
else
|
||||
{
|
||||
if ((gtk_major_version > major) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
|
||||
major, minor, micro);
|
||||
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
||||
printf("***\n");
|
||||
printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
|
||||
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
|
||||
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
|
||||
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
printf("*** so that the correct libraries are found at run-time))\n");
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
if test "x$no_gtk" = x ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
if test "$GTK_CONFIG" = "no" ; then
|
||||
echo "*** The gtk-config script installed by GTK could not be found."
|
||||
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
|
||||
echo "*** your path, or set the GTK_CONFIG environment variable to the"
|
||||
echo "*** full path to gtk-config."
|
||||
echo "*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk"
|
||||
else
|
||||
if test -f conf.gtktest ; then
|
||||
:
|
||||
else
|
||||
echo "*** Could not run GTK test program, checking why..."
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$LIBS $GTK_LIBS"
|
||||
AC_TRY_LINK([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
|
||||
[ echo "*** The test program compiled, but did not run. This usually means"
|
||||
echo "*** that the run-time linker is not finding GTK or finding the wrong"
|
||||
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
|
||||
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||
echo "*** is required on your system"
|
||||
echo "***"
|
||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
||||
echo "***"
|
||||
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
|
||||
echo "*** came with the system with the command"
|
||||
echo "***"
|
||||
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
|
||||
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
|
||||
echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
GTK_CFLAGS=""
|
||||
GTK_LIBS=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
AC_SUBST(GTK_CFLAGS)
|
||||
AC_SUBST(GTK_LIBS)
|
||||
rm -f conf.gtktest
|
||||
])
|
||||
119
mozilla/build/autoconf/install-sh
Executable file
119
mozilla/build/autoconf/install-sh
Executable file
@@ -0,0 +1,119 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# install - install a program, script, or datafile
|
||||
# This comes from X11R5; it is not part of GNU.
|
||||
#
|
||||
# $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch.
|
||||
#
|
||||
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit="${DOITPROG-}"
|
||||
|
||||
|
||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
||||
|
||||
mvprog="${MVPROG-mv}"
|
||||
cpprog="${CPPROG-cp}"
|
||||
chmodprog="${CHMODPROG-chmod}"
|
||||
chownprog="${CHOWNPROG-chown}"
|
||||
chgrpprog="${CHGRPPROG-chgrp}"
|
||||
stripprog="${STRIPPROG-strip}"
|
||||
rmprog="${RMPROG-rm}"
|
||||
|
||||
instcmd="$mvprog"
|
||||
chmodcmd=""
|
||||
chowncmd=""
|
||||
chgrpcmd=""
|
||||
stripcmd=""
|
||||
rmcmd="$rmprog -f"
|
||||
mvcmd="$mvprog"
|
||||
src=""
|
||||
dst=""
|
||||
|
||||
while [ x"$1" != x ]; do
|
||||
case $1 in
|
||||
-c) instcmd="$cpprog"
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-m) chmodcmd="$chmodprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-s) stripcmd="$stripprog"
|
||||
shift
|
||||
continue;;
|
||||
|
||||
*) if [ x"$src" = x ]
|
||||
then
|
||||
src=$1
|
||||
else
|
||||
dst=$1
|
||||
fi
|
||||
shift
|
||||
continue;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ x"$src" = x ]
|
||||
then
|
||||
echo "install: no input file specified"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ x"$dst" = x ]
|
||||
then
|
||||
echo "install: no destination specified"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
# If destination is a directory, append the input filename; if your system
|
||||
# does not like double slashes in filenames, you may need to add some logic
|
||||
|
||||
if [ -d $dst ]
|
||||
then
|
||||
dst="$dst"/`basename $src`
|
||||
fi
|
||||
|
||||
# Make a temp file name in the proper directory.
|
||||
|
||||
dstdir=`dirname $dst`
|
||||
dsttmp=$dstdir/#inst.$$#
|
||||
|
||||
# Move or copy the file name to the temp name
|
||||
|
||||
$doit $instcmd $src $dsttmp
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits
|
||||
|
||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; fi
|
||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; fi
|
||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; fi
|
||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; fi
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
|
||||
$doit $rmcmd $dst
|
||||
$doit $mvcmd $dsttmp $dst
|
||||
|
||||
|
||||
exit 0
|
||||
198
mozilla/build/autoconf/libIDL.m4
Normal file
198
mozilla/build/autoconf/libIDL.m4
Normal file
@@ -0,0 +1,198 @@
|
||||
# Configure paths for LIBIDL
|
||||
|
||||
dnl AM_PATH_LIBIDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||
dnl Test for LIBIDL, and define LIBIDL_CFLAGS and LIBIDL_LIBS
|
||||
dnl
|
||||
AC_DEFUN(AM_PATH_LIBIDL,
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from the libIDL-config script
|
||||
dnl
|
||||
AC_ARG_WITH(libIDL-prefix,[ --with-libIDL-prefix=PFX
|
||||
Prefix where libIDL is installed (optional)],
|
||||
libIDL_config_prefix="$withval", libIDL_config_prefix="")
|
||||
AC_ARG_WITH(libIDL-exec-prefix,[ --with-libIDL-exec-prefix=PFX
|
||||
Exec prefix where libIDL is installed (optional)],
|
||||
libIDL_config_exec_prefix="$withval", libIDL_config_exec_prefix="")
|
||||
AC_ARG_ENABLE(libIDLtest, [ --disable-libIDLtest Do not try to compile and run a test libIDL program],
|
||||
, enable_libIDLtest=yes)
|
||||
|
||||
if test x$libIDL_config_exec_prefix != x ; then
|
||||
libIDL_config_args="$libIDL_config_args --exec-prefix=$libIDL_config_exec_prefix"
|
||||
if test x${LIBIDL_CONFIG+set} != xset ; then
|
||||
LIBIDL_CONFIG=$libIDL_config_exec_prefix/bin/libIDL-config
|
||||
fi
|
||||
fi
|
||||
if test x$libIDL_config_prefix != x ; then
|
||||
libIDL_config_args="$libIDL_config_args --prefix=$libIDL_config_prefix"
|
||||
if test x${LIBIDL_CONFIG+set} != xset ; then
|
||||
LIBIDL_CONFIG=$libIDL_config_prefix/bin/libIDL-config
|
||||
fi
|
||||
fi
|
||||
|
||||
AM_PATH_GLIB(1.2.0)
|
||||
|
||||
dnl Force a version check to keep upgraded versions from being overridden by the cached value.
|
||||
unset ac_cv_path_LIBIDL_CONFIG
|
||||
|
||||
AC_PATH_PROG(LIBIDL_CONFIG, libIDL-config, no)
|
||||
min_libIDL_version=ifelse([$1], ,0.6.0,$1)
|
||||
AC_MSG_CHECKING(for libIDL - version >= $min_libIDL_version)
|
||||
no_libIDL=""
|
||||
if test "$LIBIDL_CONFIG" = "no" ; then
|
||||
no_libIDL=yes
|
||||
else
|
||||
LIBIDL_CFLAGS=`$LIBIDL_CONFIG $libIDL_config_args --cflags`
|
||||
LIBIDL_LIBS=`$LIBIDL_CONFIG $libIDL_config_args --libs`
|
||||
# hack to allow us to keep using libIDL 0.6.3-0.6.7. Anyone may remove
|
||||
# this after we start requiring libIDL 0.6.8 or anything higher
|
||||
LIBIDL_CFLAGS="$GLIB_CFLAGS $LIBIDL_CFLAGS"
|
||||
LIBIDL_LIBS="$GLIB_LIBS $LIBIDL_LIBS"
|
||||
libIDL_config_major_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
libIDL_config_minor_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
libIDL_config_micro_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
if test "x$enable_libIDLtest" = "xyes" ; then
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $LIBIDL_CFLAGS"
|
||||
LIBS="$LIBIDL_LIBS $LIBS"
|
||||
dnl
|
||||
dnl Now check if the installed LIBIDL is sufficiently new.
|
||||
dnl
|
||||
rm -f conf.libIDLtest
|
||||
AC_TRY_RUN([
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <libIDL/IDL.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int major, minor, micro;
|
||||
int libIDL_major_version;
|
||||
int libIDL_minor_version;
|
||||
int libIDL_micro_version;
|
||||
char *tmp_version;
|
||||
|
||||
system ("touch conf.libIDLtest");
|
||||
|
||||
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||
tmp_version = g_strdup ("$min_libIDL_version");
|
||||
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
printf("%s, bad version string\n", "$min_libIDL_version");
|
||||
exit(1);
|
||||
}
|
||||
tmp_version = g_strdup (IDL_get_libver_string ());
|
||||
if (sscanf(tmp_version, "%d.%d.%d",
|
||||
&libIDL_major_version,
|
||||
&libIDL_minor_version,
|
||||
&libIDL_micro_version) != 3) {
|
||||
printf("%s, bad version string\n", tmp_version);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if ((libIDL_major_version != $libIDL_config_major_version) ||
|
||||
(libIDL_minor_version != $libIDL_config_minor_version) ||
|
||||
(libIDL_micro_version != $libIDL_config_micro_version))
|
||||
{
|
||||
printf("\n*** 'libIDL-config --version' returned %d.%d.%d, but libIDL (%d.%d.%d)\n",
|
||||
$libIDL_config_major_version, $libIDL_config_minor_version, $libIDL_config_micro_version,
|
||||
libIDL_major_version, libIDL_minor_version, libIDL_micro_version);
|
||||
printf ("*** was found! If libIDL-config was correct, then it is best\n");
|
||||
printf ("*** to remove the old version of LIBIDL. You may also be able to fix the error\n");
|
||||
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
printf("*** required on your system.\n");
|
||||
printf("*** If libIDL-config was wrong, set the environment variable LIBIDL_CONFIG\n");
|
||||
printf("*** to point to the correct copy of libIDL-config, and remove the file config.cache\n");
|
||||
printf("*** before re-running configure\n");
|
||||
}
|
||||
else if ((libIDL_major_version != LIBIDL_MAJOR_VERSION) ||
|
||||
(libIDL_minor_version != LIBIDL_MINOR_VERSION) ||
|
||||
(libIDL_micro_version != LIBIDL_MICRO_VERSION))
|
||||
{
|
||||
printf("\n*** libIDL header files (version %d.%d.%d) do not match\n",
|
||||
LIBIDL_MAJOR_VERSION, LIBIDL_MINOR_VERSION, LIBIDL_MICRO_VERSION);
|
||||
printf("*** library (version %d.%d.%d)\n",
|
||||
libIDL_major_version, libIDL_minor_version, libIDL_micro_version);
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((libIDL_major_version > major) ||
|
||||
((libIDL_major_version == major) && (libIDL_minor_version > minor)) ||
|
||||
((libIDL_major_version == major) && (libIDL_minor_version == minor) && (libIDL_micro_version >= micro)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("\n*** An old version of libIDL (%d.%d.%d) was found.\n",
|
||||
libIDL_major_version, libIDL_minor_version, libIDL_micro_version);
|
||||
printf("*** You need at least libIDL version %d.%d.%d.\n",
|
||||
major, minor, micro);
|
||||
printf("***\n");
|
||||
printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||
printf("*** probably means that the wrong copy of the libIDL-config shell script is\n");
|
||||
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
printf("*** of libIDL, but you can also set the LIBIDL_CONFIG environment to point to the\n");
|
||||
printf("*** correct copy of libIDL-config. (In this case, you will have to\n");
|
||||
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
printf("*** so that the correct libraries are found at run-time))\n");
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
],, no_libIDL=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
if test "x$no_libIDL" = x ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
if test "$LIBIDL_CONFIG" = "no" ; then
|
||||
echo "*** The libIDL-config script installed by libIDL could not be found"
|
||||
echo "*** If libIDL was installed in PREFIX, make sure PREFIX/bin is in"
|
||||
echo "*** your path, or set the LIBIDL_CONFIG environment variable to the"
|
||||
echo "*** full path to libIDL-config."
|
||||
else
|
||||
if test -f conf.libIDLtest ; then
|
||||
:
|
||||
else
|
||||
echo "*** Could not run libIDL test program, checking why..."
|
||||
CFLAGS="$CFLAGS $LIBIDL_CFLAGS"
|
||||
LIBS="$LIBS $LIBIDL_LIBS"
|
||||
AC_TRY_LINK([
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <libIDL/IDL.h>
|
||||
], [ return IDL_get_libver_string ? 1 : 0; ],
|
||||
[ echo "*** The test program compiled, but did not run. This usually means"
|
||||
echo "*** that the run-time linker is not finding libIDL or finding the wrong"
|
||||
echo "*** version of LIBIDL. If it is not finding libIDL, you'll need to set your"
|
||||
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||
echo "*** is required on your system"
|
||||
echo "***"
|
||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means libIDL was incorrectly installed"
|
||||
echo "*** or that you have moved libIDL since it was installed. In the latter case, you"
|
||||
echo "*** may want to edit the libIDL-config script: $LIBIDL_CONFIG" ])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
LIBIDL_CFLAGS=""
|
||||
LIBIDL_LIBS=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
AC_SUBST(LIBIDL_CFLAGS)
|
||||
AC_SUBST(LIBIDL_LIBS)
|
||||
rm -f conf.libIDLtest
|
||||
])
|
||||
279
mozilla/build/autoconf/make-makefile
Executable file
279
mozilla/build/autoconf/make-makefile
Executable file
@@ -0,0 +1,279 @@
|
||||
#! /usr/bin/env perl
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
# make-makefiles - Quickly create Makefiles for subdirectories.
|
||||
# Also, creates any needed subdirectories.
|
||||
#
|
||||
# usage: make-makefiles [ -t <topsrcdir> -d <depth> ] [ <subdir> | <subdir>/Makefile ] ...
|
||||
|
||||
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
|
||||
|
||||
#$debug = 1;
|
||||
|
||||
# Determine various tree path variables
|
||||
#
|
||||
($topsrcdir, $depth, @makefiles) = parse_arguments(@ARGV);
|
||||
|
||||
$object_fullpath = `pwd`;
|
||||
chdir $depth;
|
||||
$object_root = `pwd`;
|
||||
chomp $object_fullpath;
|
||||
chomp $object_root;
|
||||
|
||||
# $source_subdir is the path from the object root to where
|
||||
# 'make-makefile' was called. For example, if make-makefile was
|
||||
# called from "mozilla/gfx/src", then $source_subdir would be
|
||||
# "gfx/src/".
|
||||
$source_subdir = "$object_fullpath/";
|
||||
$source_subdir =~ s|^$object_root/||;
|
||||
|
||||
# Prefix makefiles with $source_subdir so that paths
|
||||
# will be relative to the top of the object tree.
|
||||
#
|
||||
for $makefile (@makefiles) {
|
||||
$makefile = "$source_subdir$makefile";
|
||||
}
|
||||
|
||||
create_directories(@makefiles);
|
||||
|
||||
# Find the path to the source directory based on how 'make-makefile'
|
||||
# was invoked. The path is either relative to the object directory
|
||||
# or an absolute path.
|
||||
$given_srcdir = find_srcdir($topsrcdir, $depth);
|
||||
|
||||
if ($debug) {
|
||||
warn "object_fullpath = $object_fullpath\n";
|
||||
warn "object_root = $object_root\n";
|
||||
warn "source_subdir = $source_subdir\n";
|
||||
warn "makefiles = @makefiles\n";
|
||||
warn "given_srcdir = $given_srcdir\n";
|
||||
}
|
||||
|
||||
@unhandled = update_makefiles($given_srcdir, @makefiles);
|
||||
|
||||
run_config_status(@unhandled);
|
||||
|
||||
# end of Main
|
||||
############################################################
|
||||
|
||||
sub dirname {
|
||||
return $_[0] =~ /(.*)\/.*/ ? "$1" : '.';
|
||||
}
|
||||
|
||||
# find_depth: Pull the value of DEPTH out of a Makefile (or Makefile.in)
|
||||
sub find_depth {
|
||||
my $depth = '';
|
||||
open(MAKEFILE, "<$_[0]") || die "Unable to open $_[0]: $!\n";
|
||||
while (<MAKEFILE>) {
|
||||
next unless /^DEPTH\s*=\s*(\..*)/;
|
||||
$depth = $1;
|
||||
last;
|
||||
}
|
||||
close MAKEFILE;
|
||||
return $depth;
|
||||
}
|
||||
|
||||
sub parse_arguments {
|
||||
my @args = @_;
|
||||
my $depth = '';
|
||||
my $topsrcdir = '';
|
||||
my @makefiles = ();
|
||||
|
||||
while (1) {
|
||||
if ($args[0] eq '-d') {
|
||||
$depth = $args[1];
|
||||
shift @args;
|
||||
shift @args;
|
||||
} elsif ($args[0] eq '-t') {
|
||||
$topsrcdir = $args[1];
|
||||
shift @args;
|
||||
shift @args;
|
||||
} else {
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
if ($topsrcdir eq '') {
|
||||
$topsrcdir = $0; # Figure out topsrcdir based on program name.
|
||||
$topsrcdir =~ s|/?build/autoconf/.*$||;
|
||||
}
|
||||
if ($depth eq '') {
|
||||
# Use $(DEPTH) in the Makefile or Makefile.in to determine the depth
|
||||
if (-e "Makefile.in") {
|
||||
$depth = find_depth("Makefile.in");
|
||||
} elsif (-e "Makefile") {
|
||||
$depth = find_depth("Makefile");
|
||||
} elsif (-e "../Makefile") {
|
||||
$depth = "../".find_depth("../Makefile");
|
||||
$depth =~ s/\/\.$//;
|
||||
} else {
|
||||
warn "Unable to determine depth (e.g. ../..) to root of objdir tree.\n";
|
||||
die "No Makefile(.in) present. Try running with '-d <depth>'\n";
|
||||
}
|
||||
}
|
||||
|
||||
# Build the list of makefiles to generate
|
||||
#
|
||||
@makefiles = ();
|
||||
my $makefile;
|
||||
foreach $makefile (@args) {
|
||||
$makefile =~ s/\.in$//;
|
||||
$makefile =~ s/\/$//;
|
||||
$makefile =~ /Makefile$/ or $makefile .= "/Makefile";
|
||||
push @makefiles, "$makefile";
|
||||
}
|
||||
@makefiles = "Makefile" unless @args;
|
||||
|
||||
return ($topsrcdir, $depth, @makefiles);
|
||||
}
|
||||
|
||||
|
||||
# Create all the directories at once.
|
||||
# This can be much faster than calling mkdir() for each one.
|
||||
sub create_directories {
|
||||
my @makefiles = @_;
|
||||
my @dirs = ();
|
||||
my $ac_file;
|
||||
foreach $ac_file (@makefiles) {
|
||||
push @dirs, dirname($ac_file);
|
||||
}
|
||||
# Call mkdir with the directories sorted by subdir count (how many /'s)
|
||||
system "mkdir -p ". join(' ', @dirs) if @dirs;
|
||||
}
|
||||
|
||||
# Find the top of the source directory
|
||||
# (Assuming that the executable is in $top_srcdir/build/autoconf)
|
||||
sub find_srcdir {
|
||||
my ($ac_given_srcdir, $depth) = @_;
|
||||
|
||||
if ($debug) {
|
||||
print "ac_given_srcdir = $ac_given_srcdir\n";
|
||||
print "depth = $depth\n";
|
||||
}
|
||||
if ($ac_given_srcdir =~ /^\./ and $depth ne '.') {
|
||||
my $quoted_depth = quotemeta($depth);
|
||||
$ac_given_srcdir =~ s|^$quoted_depth/?||;
|
||||
}
|
||||
if ($debug) {
|
||||
print "ac_given_srcdir = $ac_given_srcdir\n";
|
||||
}
|
||||
$ac_given_srcdir = '.' if $ac_given_srcdir eq '';
|
||||
return $ac_given_srcdir;
|
||||
}
|
||||
|
||||
# Output the makefiles.
|
||||
#
|
||||
sub update_makefiles {
|
||||
my ($ac_given_srcdir, @makefiles) = @_;
|
||||
my @unhandled=();
|
||||
|
||||
my $ac_file;
|
||||
foreach $ac_file (@makefiles) {
|
||||
my $ac_file_in = "$ac_given_srcdir/${ac_file}.in";
|
||||
my $ac_dir = dirname($ac_file);
|
||||
my $ac_dots = '';
|
||||
my $ac_dir_suffix = '';
|
||||
my $srcdir = '.';
|
||||
my $top_srcdir = '.';
|
||||
|
||||
# Determine $srcdir and $top_srcdir
|
||||
#
|
||||
if ($ac_dir ne '.') {
|
||||
$ac_dir_suffix = "/$ac_dir";
|
||||
$ac_dir_suffix =~ s%^/\./%/%;
|
||||
$ac_dots = $ac_dir_suffix;
|
||||
$ac_dots =~ s%/[^/]*%../%g;
|
||||
}
|
||||
if ($ac_given_srcdir eq '.') {
|
||||
if ($ac_dots ne '') {
|
||||
$top_srcdir = $ac_dots;
|
||||
$top_srcdir =~ s%/$%%;
|
||||
}
|
||||
} elsif ($ac_given_srcdir =~ m%^/%) {
|
||||
$srcdir = "$ac_given_srcdir$ac_dir_suffix";
|
||||
$top_srcdir = "$ac_given_srcdir";
|
||||
} else {
|
||||
$srcdir = "$ac_dots$ac_given_srcdir$ac_dir_suffix";
|
||||
$top_srcdir = "$ac_dots$ac_given_srcdir";
|
||||
}
|
||||
|
||||
if ($debug) {
|
||||
print "ac_dir = $ac_dir\n";
|
||||
print "ac_file = $ac_file\n";
|
||||
print "ac_file_in = $ac_file_in\n";
|
||||
print "srcdir = $srcdir\n";
|
||||
print "top_srcdir = $top_srcdir\n";
|
||||
print "cwd = " . `pwd` . "\n";
|
||||
}
|
||||
|
||||
# Copy the file and make substitutions.
|
||||
# @srcdir@ -> value of $srcdir
|
||||
# @top_srcdir@ -> value of $top_srcdir
|
||||
#
|
||||
if (-e $ac_file) {
|
||||
next if -M _ < -M $ac_file_in; # Next if Makefile is up-to-date.
|
||||
warn "updating $ac_file\n";
|
||||
} else {
|
||||
warn "creating $ac_file\n";
|
||||
}
|
||||
|
||||
open INFILE, "<$ac_file_in" or do {
|
||||
warn "$0: Cannot read $ac_file_in: No such file or directory\n";
|
||||
next;
|
||||
};
|
||||
open OUTFILE, ">$ac_file" or do {
|
||||
warn "$0: Unable to create $ac_file\n";
|
||||
next;
|
||||
};
|
||||
|
||||
while (<INFILE>) {
|
||||
if (/\@[_a-zA-Z]*\@.*\@[_a-zA-Z]*\@/) {
|
||||
#warn "Two defines on a line:$ac_file:$.:$_";
|
||||
push @unhandled, $ac_file;
|
||||
last;
|
||||
}
|
||||
|
||||
s/\@srcdir\@/$srcdir/;
|
||||
s/\@top_srcdir\@/$top_srcdir/;
|
||||
|
||||
if (/\@[_a-zA-Z]*\@/) {
|
||||
#warn "Unknown variable:$ac_file:$.:$_";
|
||||
push @unhandled, $ac_file;
|
||||
last;
|
||||
}
|
||||
print OUTFILE;
|
||||
}
|
||||
close INFILE;
|
||||
close OUTFILE;
|
||||
}
|
||||
return @unhandled;
|
||||
}
|
||||
|
||||
sub run_config_status {
|
||||
my @unhandled = @_;
|
||||
|
||||
# Run config.status with any unhandled files.
|
||||
#
|
||||
if (@unhandled) {
|
||||
$ENV{CONFIG_FILES}= join ' ', @unhandled;
|
||||
system "./config.status";
|
||||
}
|
||||
}
|
||||
85
mozilla/build/autoconf/match-dir.sh
Executable file
85
mozilla/build/autoconf/match-dir.sh
Executable file
@@ -0,0 +1,85 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
#
|
||||
# This script will match a dir with a set of dirs.
|
||||
#
|
||||
# Usage: match-dir.sh match [dir1 dir2 ... dirn]
|
||||
#
|
||||
# Send comments, improvements, bugs to ramiro@netscape.com
|
||||
#
|
||||
|
||||
if [ -f Makefile ]; then
|
||||
MAKEFILE="Makefile"
|
||||
else
|
||||
if [ -f Makefile.in ]; then
|
||||
MAKEFILE="Makefile.in"
|
||||
else
|
||||
echo
|
||||
echo "There ain't no 'Makefile' or 'Makefile.in' over here: $pwd, dude."
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Use DEPTH in the Makefile.in to determine the depth
|
||||
depth=`grep -w DEPTH ${MAKEFILE} | grep "\.\." | awk -F"=" '{ print $2; }'`
|
||||
cwd=`pwd`
|
||||
|
||||
# Determine the depth count
|
||||
n=`echo $depth | tr '/' ' ' | wc -w`
|
||||
|
||||
cd $depth
|
||||
objdir=`pwd`
|
||||
|
||||
path=`echo $cwd | sed "s|^${objdir}/||"`
|
||||
|
||||
match=$path
|
||||
|
||||
for i in $*
|
||||
do
|
||||
# echo "Looking for $match in $i"
|
||||
|
||||
echo $i | grep -q -x $match
|
||||
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
echo "1"
|
||||
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# echo "Looking for $i in $match"
|
||||
|
||||
echo $match | grep -q $i
|
||||
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
echo "1"
|
||||
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
||||
echo "0"
|
||||
|
||||
exit 0
|
||||
46
mozilla/build/autoconf/mozconfig-find
Executable file
46
mozilla/build/autoconf/mozconfig-find
Executable file
@@ -0,0 +1,46 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s): Stephen Lamm <slamm@netscape.com>
|
||||
#
|
||||
|
||||
# mozconfigfind - Loads options from .mozconfig onto configure's
|
||||
# command-line. The .mozconfig file is searched for in the
|
||||
# order:
|
||||
# if $MOZCONFIG is set, use that.
|
||||
# Otherwise, use $TOPSRCDIR/.mozconfig
|
||||
# Otherwise, use $HOME/.mozconfig
|
||||
#
|
||||
topsrcdir=$1
|
||||
|
||||
for _config in $MOZCONFIG \
|
||||
$MOZ_MYCONFIG \
|
||||
$topsrcdir/.mozconfig \
|
||||
$topsrcdir/mozconfig \
|
||||
$topsrcdir/mozconfig.sh \
|
||||
$topsrcdir/myconfig.sh \
|
||||
$HOME/.mozconfig \
|
||||
$HOME/.mozconfig.sh \
|
||||
$HOME/.mozmyconfig.sh
|
||||
do
|
||||
if test -f $_config; then
|
||||
echo $_config;
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
94
mozilla/build/autoconf/mozconfig2client-mk
Executable file
94
mozilla/build/autoconf/mozconfig2client-mk
Executable file
@@ -0,0 +1,94 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s): Stephen Lamm <slamm@netscape.com>
|
||||
#
|
||||
|
||||
# mozconfig2client-mk - Translates .mozconfig into options for client.mk.
|
||||
# Prints defines to stdout.
|
||||
#
|
||||
# See mozconfig2configure for more details
|
||||
|
||||
print_header() {
|
||||
_mozconfig=${MOZCONFIG:-$HOME/.mozconfig}
|
||||
cat >> $tmp_file <<EOF
|
||||
# gmake
|
||||
# This file is automatically generated for client.mk.
|
||||
# Do not edit. Edit $_mozconfig instead.
|
||||
# To create a new .mozconfig file, you can visit,
|
||||
# http://webtools.mozilla.org/build/config.cgi
|
||||
|
||||
EOF
|
||||
}
|
||||
|
||||
ac_add_options() {
|
||||
echo "# $* is used by configure (not client.mk)" >> $tmp_file
|
||||
}
|
||||
|
||||
mk_add_options() {
|
||||
for _opt
|
||||
do
|
||||
# Escape shell characters, space, tab, dollar, quote, backslash,
|
||||
# and substitute '@<word>@' with '$(<word>)'.
|
||||
_opt=`echo "$_opt" | sed -e 's/\([\"\\]\)/\\\1/g; s/@\([^@]*\)@/\$(\1)/g;'`
|
||||
echo $_opt;
|
||||
opts="${opts:+$opts^}$_opt";
|
||||
done >> $tmp_file
|
||||
}
|
||||
|
||||
mk_echo_options() {
|
||||
echo "Adding client.mk options from $MOZCONFIG:"
|
||||
IFS=^
|
||||
for _opt in $opts; do
|
||||
echo " $_opt"
|
||||
done
|
||||
}
|
||||
|
||||
# Main
|
||||
#--------------------------------------------------
|
||||
|
||||
scriptdir=`dirname $0`
|
||||
topsrcdir=$1
|
||||
out_file=$2
|
||||
tmp_file="$out_file-tmp$$"
|
||||
opts=""
|
||||
|
||||
trap "rm -f $tmp_file; exit 1" 1 2 15
|
||||
|
||||
MOZCONFIG=`$scriptdir/mozconfig-find $topsrcdir`
|
||||
|
||||
print_header > $tmp_file
|
||||
|
||||
# If the path changes, configure should be rerun
|
||||
echo "# PATH=$PATH" >> $tmp_file
|
||||
|
||||
if [ "$MOZCONFIG" ]
|
||||
then
|
||||
. $MOZCONFIG
|
||||
fi
|
||||
|
||||
if [ "$opts" ]; then
|
||||
mk_echo_options
|
||||
fi
|
||||
|
||||
if test -f $out_file && cmp -s $tmp_file $out_file; then
|
||||
rm $tmp_file
|
||||
else
|
||||
mv -f $tmp_file $out_file
|
||||
fi
|
||||
70
mozilla/build/autoconf/mozconfig2configurator
Executable file
70
mozilla/build/autoconf/mozconfig2configurator
Executable file
@@ -0,0 +1,70 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s): Stephen Lamm (slamm@netscape.com)
|
||||
#
|
||||
|
||||
# mozconfig2configurator - Translates .mozconfig into options for
|
||||
# the online configurator,
|
||||
#
|
||||
# http://webtools.mozilla.org/build/config.cgi
|
||||
#
|
||||
# This is called by the 'webconfig' target of mozilla/client.mk
|
||||
#
|
||||
|
||||
ac_add_options() {
|
||||
for _opt
|
||||
do
|
||||
# Escape special url characters
|
||||
_opt=`echo $_opt | sed -e 's/%/%25/g;s/ /%20/g;s/&/%26/g;'`
|
||||
case "$_opt" in
|
||||
--*-*= ) url="$url$_opt&" ;;
|
||||
--*-* ) url="$url$_opt=yes&" ;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
mk_add_options() {
|
||||
for _opt
|
||||
do
|
||||
# Escape special url characters
|
||||
# Escape special url characters
|
||||
_opt=`echo $_opt | sed -e 's/%/%25/g;s/ /%20/g;s/&/%26/g;'`
|
||||
url="$url$_opt&"
|
||||
done
|
||||
}
|
||||
|
||||
#
|
||||
# main
|
||||
#
|
||||
|
||||
# find-mozconfig.sh
|
||||
# In params: $MOZCONFIG $HOME ($MOZ_MYCONFIG)
|
||||
scriptdir=`dirname $0`
|
||||
MOZCONFIG=`$scriptdir/mozconfig-find $topsrcdir`
|
||||
|
||||
if [ "$MOZCONFIG" ]
|
||||
then
|
||||
url="http://webtools.mozilla.org/build/config.cgi?"
|
||||
. $MOZCONFIG
|
||||
|
||||
# Drop the last character of $url
|
||||
echo `expr "$url" : "\(.*\)."`
|
||||
fi
|
||||
|
||||
99
mozilla/build/autoconf/mozconfig2configure
Executable file
99
mozilla/build/autoconf/mozconfig2configure
Executable file
@@ -0,0 +1,99 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s): Stephen Lamm <slamm@netscape.com>
|
||||
#
|
||||
|
||||
# mozconfig2configure - Loads options from .mozconfig onto configure's
|
||||
# command-line. See find-mozconfig.sh for how the config file is
|
||||
# found
|
||||
#
|
||||
# The options from .mozconfig are inserted into the command-line
|
||||
# before the real command-line options. This way the real options
|
||||
# will override any .mozconfig options.
|
||||
#
|
||||
# .mozconfig is a shell script. To add an option to configure's
|
||||
# command-line use the pre-defined function, ac_add_options,
|
||||
#
|
||||
# ac_add_options <configure-option> [<configure-option> ... ]
|
||||
#
|
||||
# For example,
|
||||
#
|
||||
# ac_add_options --with-pthreads --enable-debug
|
||||
#
|
||||
# ac_add_options can be called multiple times in .mozconfig.
|
||||
# Each call adds more options to configure's command-line.
|
||||
|
||||
# Note: $_AUTOCONF_TOOLS_DIR must be defined in the script that includes this.
|
||||
|
||||
ac_add_options() {
|
||||
for _opt
|
||||
do
|
||||
# Escape shell characters, space, tab, dollar, quote, backslash.
|
||||
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g;s/@\([^@]*\)@/\$\1/g;'`
|
||||
_opt=`echo $_opt | sed -e 's/@\([^@]*\)@/\$(\1)/g'`
|
||||
|
||||
# Avoid adding duplicates
|
||||
case "$ac_options" in
|
||||
*"$_opt"* ) ;;
|
||||
* ) mozconfig_ac_options="$mozconfig_ac_options $_opt" ;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
mk_add_options() {
|
||||
# These options are for client.mk
|
||||
# configure can safely ignore them.
|
||||
:
|
||||
}
|
||||
|
||||
ac_echo_options() {
|
||||
echo "Adding configure options from $MOZCONFIG:"
|
||||
eval "set -- $mozconfig_ac_options"
|
||||
for _opt
|
||||
do
|
||||
echo " $_opt"
|
||||
done
|
||||
}
|
||||
|
||||
# Main
|
||||
#--------------------------------------------------
|
||||
_topsrcdir=`dirname $0`
|
||||
ac_options=
|
||||
mozconfig_ac_options=
|
||||
|
||||
# Save the real command-line options
|
||||
for _opt
|
||||
do
|
||||
# Escape shell characters, space, tab, dollar, quote, backslash.
|
||||
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g;'`
|
||||
ac_options="$ac_options \"$_opt\""
|
||||
done
|
||||
|
||||
MOZCONFIG=`$_AUTOCONF_TOOLS_DIR/mozconfig-find $_topsrcdir`
|
||||
if [ "$MOZCONFIG" ]; then
|
||||
. $MOZCONFIG
|
||||
fi
|
||||
|
||||
if [ "$mozconfig_ac_options" ]; then
|
||||
ac_echo_options 1>&2
|
||||
fi
|
||||
|
||||
eval "set -- $mozconfig_ac_options $ac_options"
|
||||
|
||||
102
mozilla/build/autoconf/update-makefile.sh
Executable file
102
mozilla/build/autoconf/update-makefile.sh
Executable file
@@ -0,0 +1,102 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
#
|
||||
# This script will generate a single Makefile from a Makefile.in using
|
||||
# the config.status script.
|
||||
#
|
||||
# The config.status script is generated the first time you run
|
||||
# ./configure.
|
||||
#
|
||||
#
|
||||
# Usage: update-makefile.sh
|
||||
#
|
||||
# Send comments, improvements, bugs to ramiro@netscape.com
|
||||
#
|
||||
|
||||
update_makefile_usage() {
|
||||
_progname=`expr //$0 : '.*/\(.*\)'`
|
||||
cat <<END_USAGE 2>&1
|
||||
|
||||
Usage: $_progname [-h -u] [<keyword>]
|
||||
-d <dir> Subdir to update
|
||||
-h Print usage
|
||||
END_USAGE
|
||||
}
|
||||
|
||||
# Parse the command-line options
|
||||
#
|
||||
subdir=
|
||||
while getopts d:h OPT; do
|
||||
case $OPT in
|
||||
d) # Make sure "subdir" has exactly one ending slash
|
||||
subdir=`echo $OPTARG | sed 's/\/$//;'`"/" ;;
|
||||
\?|h) update_makefile_usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
# find_depth: Pull the value of DEPTH out of Makefile (or Makefile.in)
|
||||
find_depth() {
|
||||
egrep '^DEPTH[ ]*=[ ]*\.' $1 | awk -F= '{ print $2; }'
|
||||
}
|
||||
|
||||
# The Makefile to create
|
||||
target_makefile=`pwd`"/${subdir}Makefile"
|
||||
|
||||
# Use $(DEPTH) in the Makefile or Makefile.in to determine the depth
|
||||
if [ -f Makefile.in ]
|
||||
then
|
||||
depth=`find_depth Makefile.in`
|
||||
elif [ -f Makefile ]
|
||||
then
|
||||
depth=`find_depth Makefile`
|
||||
elif [ -f ../Makefile ]
|
||||
then
|
||||
depth="../"`find_depth Makefile`
|
||||
else
|
||||
echo
|
||||
echo "There ain't no 'Makefile' or 'Makefile.in' over here: $pwd"
|
||||
echo
|
||||
exit
|
||||
fi
|
||||
|
||||
# 'cd' to the root of the tree to run "config.status" there
|
||||
cd $depth
|
||||
|
||||
# Strip the tree root off the Makefile's path
|
||||
#
|
||||
root_path=`pwd`
|
||||
target_makefile=`expr $target_makefile : $root_path'/\(.*\)'`
|
||||
|
||||
# Make sure config.status exists
|
||||
#
|
||||
if [ -f config.status ]
|
||||
then
|
||||
CONFIG_FILES=$target_makefile ./config.status
|
||||
else
|
||||
echo
|
||||
echo "There ain't no 'config.status' over here: $pwd"
|
||||
echo
|
||||
fi
|
||||
4
mozilla/build/bloaturls.txt
Normal file
4
mozilla/build/bloaturls.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
http://www.mozilla.org
|
||||
ftp://ftp.mozilla.org
|
||||
resource:///res/samples/test2.html
|
||||
resource:///res/samples/test8.html
|
||||
1
mozilla/build/build_number
Normal file
1
mozilla/build/build_number
Normal file
@@ -0,0 +1 @@
|
||||
0000000000
|
||||
29
mozilla/build/genrc.sh
Executable file
29
mozilla/build/genrc.sh
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
DATATYPE="$1"
|
||||
INFILE="$2"
|
||||
|
||||
echo "${DATATYPE} RCDATA"
|
||||
sed 's/"/""/g' ${INFILE} | awk 'BEGIN { printf("BEGIN\n") } { printf("\"%s\\r\\n\",\n", $0) } END { printf("\"\\0\"\nEND\n") }'
|
||||
|
||||
exit 0
|
||||
95
mozilla/build/hcc
Executable file
95
mozilla/build/hcc
Executable file
@@ -0,0 +1,95 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
#
|
||||
# Fix brain-damaged compilers that don't understand -o and -c together
|
||||
#
|
||||
CC=`echo $1 | sed -e "s|'||g" -e 's|"||g'`
|
||||
shift
|
||||
DASH_C=0
|
||||
DASH_O=0
|
||||
DUMMY="XxxXxxX"
|
||||
GET_OBJECT=0
|
||||
OBJ="${DUMMY}"
|
||||
OBJECT="${DUMMY}"
|
||||
|
||||
for i in $*
|
||||
do
|
||||
[ "${CHECK_O}" = yes ] && {
|
||||
case $i in
|
||||
./*/*.o) OBJECT="$i"
|
||||
OPTS="${OPTS} -o"
|
||||
DASH_O=1
|
||||
;;
|
||||
./*.o) OBJECT="`basename $i`"
|
||||
i=""
|
||||
DASH_O=1
|
||||
;;
|
||||
*.o) if [ $i = `basename $i` ]
|
||||
then
|
||||
OBJECT="$i"
|
||||
i=""
|
||||
else
|
||||
OPTS="${OPTS} -o"
|
||||
fi
|
||||
DASH_O=1
|
||||
;;
|
||||
*) OPTS="${OPTS} -o $i"
|
||||
DASH_O=1
|
||||
i=""
|
||||
;;
|
||||
esac
|
||||
CHECK_O=no
|
||||
}
|
||||
case $i in
|
||||
-c) DASH_C=1
|
||||
OPTS="${OPTS} -c"
|
||||
;;
|
||||
-o) CHECK_O=yes
|
||||
;;
|
||||
*.c) C_SRC=$i
|
||||
OPTS="${OPTS} $i"
|
||||
# cc always creates the .o from the .c name
|
||||
OBJ=`basename $C_SRC .c`.o
|
||||
;;
|
||||
*.s) S_SRC=$i
|
||||
OPTS="${OPTS} $i"
|
||||
# or the .o from the .s name
|
||||
OBJ=`basename $S_SRC .s`.o
|
||||
;;
|
||||
*.o) OBJECT=$i
|
||||
OPTS="${OPTS} $i"
|
||||
;;
|
||||
*) OPTS="${OPTS} $i"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
${CC} ${OPTS} || exit $?
|
||||
|
||||
# if there was no -c and -o we're done
|
||||
[ $DASH_C = 1 -a $DASH_O = 1 ] || exit 0
|
||||
|
||||
# if $OBJ and $OBJECT are the same we're done
|
||||
[ $OBJ = $OBJECT ] && exit 0
|
||||
|
||||
[ -f $OBJ ] && mv -f $OBJ $OBJECT
|
||||
139
mozilla/build/hcpp
Executable file
139
mozilla/build/hcpp
Executable file
@@ -0,0 +1,139 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
#
|
||||
# Wrapper for brain-damaged compilers that don't understand -o and -c together.
|
||||
#
|
||||
CXX=`echo $1 | sed -e "s|'||g" -e 's|"||g'`
|
||||
shift
|
||||
DUMMY="XxxXxxX"
|
||||
DASH_C=0
|
||||
DASH_O=0
|
||||
GET_OBJECT=0
|
||||
C_SRC="${DUMMY}"
|
||||
CC_SRC="${DUMMY}"
|
||||
CPP_SRC="${DUMMY}"
|
||||
S_SRC="${DUMMY}"
|
||||
OBJECT="${DUMMY}"
|
||||
NEW_i="${DUMMY}"
|
||||
PLATFORM=`uname -s`
|
||||
|
||||
for i in $*
|
||||
do
|
||||
[ ${GET_OBJECT} -eq 1 ] && {
|
||||
case $i in
|
||||
./*/*.o) OBJECT="$i"
|
||||
OPTS="${OPTS} -o"
|
||||
DASH_O=1
|
||||
;;
|
||||
./*.o) OBJECT="`basename $i`"
|
||||
i=""
|
||||
DASH_O=1
|
||||
;;
|
||||
*.o) if [ $i = `basename $i` ]
|
||||
then
|
||||
i=""
|
||||
else
|
||||
OPTS="${OPTS} -o"
|
||||
DASH_O=1
|
||||
fi
|
||||
;;
|
||||
*) OPTS="${OPTS} -o $i"
|
||||
DASH_O=1
|
||||
i=""
|
||||
;;
|
||||
esac
|
||||
GET_OBJECT=0
|
||||
}
|
||||
case $i in
|
||||
-c)
|
||||
DASH_C=1
|
||||
OPTS="${OPTS} -c"
|
||||
;;
|
||||
-o)
|
||||
GET_OBJECT=1
|
||||
;;
|
||||
*.c)
|
||||
C_SRC="$i"
|
||||
OPTS="${OPTS} $i"
|
||||
# cc always creates the .o from the .c name
|
||||
OBJ=`basename ${C_SRC} .c`.o
|
||||
;;
|
||||
+.*)
|
||||
OPTS="${OPTS} $i"
|
||||
;;
|
||||
*.cpp)
|
||||
CPP_SRC="$i"
|
||||
if [ "${PLATFORM}" = "SCO_SV" ]; then
|
||||
OPTS="${OPTS} +.cpp $i"
|
||||
elif [ "${PLATFORM}" = "IRIX" ]; then
|
||||
NEW_i=`basename ${CPP_SRC} .cpp`.C
|
||||
rm -f ${NEW_i}
|
||||
cp $i ${NEW_i}
|
||||
OPTS="${OPTS} ${NEW_i}"
|
||||
else
|
||||
OPTS="${OPTS} $i"
|
||||
fi
|
||||
# cc always creates the .o from the .cpp name
|
||||
OBJ=`basename ${CPP_SRC} .cpp`.o
|
||||
;;
|
||||
*.cc)
|
||||
CC_SRC="$i"
|
||||
OPTS="${OPTS} $i"
|
||||
# cc always creates the .o from the .cc name
|
||||
OBJ=`basename ${CC_SRC} .cc`.o
|
||||
;;
|
||||
*.s)
|
||||
S_SRC="$i"
|
||||
OPTS="${OPTS} $i"
|
||||
# cc always creates the .o from the .s name
|
||||
OBJ=`basename ${S_SRC} .s`.o
|
||||
;;
|
||||
*.o) OBJECT=$i
|
||||
OPTS="${OPTS} $i"
|
||||
;;
|
||||
*) OPTS="${OPTS} $i"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
${CXX} ${OPTS} || exit $?
|
||||
rm -f ${NEW_i}
|
||||
|
||||
# Really only needed for NSPR now.
|
||||
if [ "${PLATFORM}" = "IRIX" -a "$OBJ" != "$OBJECT" ]; then
|
||||
OBJ=$OBJECT
|
||||
fi
|
||||
|
||||
# LAME!!!
|
||||
if [ -f -O ]; then
|
||||
mv -f -- -O ${OBJECT}
|
||||
fi
|
||||
|
||||
# if there was no -c and -o we're done
|
||||
[ ${DASH_C} -eq 1 -a ${DASH_O} -eq 1 ] || exit 0
|
||||
|
||||
# if $OBJ and $OBJECT are the same we're done
|
||||
[ $OBJ = $OBJECT ] && exit 0
|
||||
|
||||
[ -f $OBJ ] && mv -f $OBJ $OBJECT
|
||||
|
||||
171
mozilla/build/mac/BuildNGLayout.pl
Normal file
171
mozilla/build/mac/BuildNGLayout.pl
Normal file
@@ -0,0 +1,171 @@
|
||||
#!perl
|
||||
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
#
|
||||
# build script (optimized)
|
||||
#
|
||||
use Mac::Processes;
|
||||
use NGLayoutBuildList;
|
||||
use Cwd;
|
||||
use Moz;
|
||||
|
||||
#-----------------------------------------------
|
||||
# configuration variables that globally affect what is built
|
||||
#-----------------------------------------------
|
||||
$DEBUG = 0;
|
||||
$CARBON = 0; # turn on to build with TARGET_CARBON
|
||||
$PROFILE = 0;
|
||||
$GC_LEAK_DETECTOR = 0; # turn on to use GC leak detection
|
||||
|
||||
$pull{all} = 0;
|
||||
$pull{moz} = 0;
|
||||
$pull{runtime} = 0;
|
||||
|
||||
$build{all} = 1; # turn off to do individual builds, or to do "most"
|
||||
$build{most} = 0; # turn off to do individual builds
|
||||
$build{dist} = 0;
|
||||
$build{dist_runtime} = 0; # implied by $build{dist}
|
||||
$build{xpidl} = 0;
|
||||
$build{idl} = 0;
|
||||
$build{stubs} = 0;
|
||||
$build{runtime} = 0;
|
||||
$build{common} = 0;
|
||||
$build{imglib} = 0;
|
||||
$build{necko} = 0;
|
||||
$build{browserutils} = 0;
|
||||
$build{intl} = 0;
|
||||
$build{nglayout} = 0;
|
||||
$build{editor} = 0;
|
||||
$build{viewer} = 0;
|
||||
$build{xpapp} = 0;
|
||||
$build{extensions} = 0;
|
||||
$build{mailnews} = 0;
|
||||
$build{apprunner} = 0;
|
||||
$build{resources} = 0;
|
||||
|
||||
#-----------------------------------------------
|
||||
# configuration variables that affect the manner
|
||||
# of building, but possibly affecting
|
||||
# the outcome.
|
||||
#-----------------------------------------------
|
||||
$ALIAS_SYM_FILES = $DEBUG;
|
||||
$CLOBBER_LIBS = 1; # turn on to clobber existing libs and .xSYM files before
|
||||
# building each project
|
||||
# The following two options will delete all dist files (if you have $build{dist} turned on),
|
||||
# but leave the directory structure intact.
|
||||
$CLOBBER_DIST_ALL = 1; # turn on to clobber all aliases/files inside dist (headers/xsym/libs)
|
||||
$CLOBBER_DIST_LIBS = 0; # turn on to clobber only aliases/files for libraries/sym files in dist
|
||||
$CLOBBER_IDL_PROJECTS = 0; # turn on to clobber all IDL projects.
|
||||
|
||||
#-----------------------------------------------
|
||||
# configuration variables that are preferences for the build style,
|
||||
# and do not affect what is built.
|
||||
#-----------------------------------------------
|
||||
$CodeWarriorLib::CLOSE_PROJECTS_FIRST
|
||||
= 0;
|
||||
# 1 = close then make (for development),
|
||||
# 0 = make then close (for tinderbox).
|
||||
$USE_TIMESTAMPED_LOGS = 0;
|
||||
#-----------------------------------------------
|
||||
# END OF CONFIG SWITCHES
|
||||
#-----------------------------------------------
|
||||
|
||||
if ($pull{all})
|
||||
{
|
||||
foreach $k (keys(%pull))
|
||||
{
|
||||
$pull{$k} = 1;
|
||||
}
|
||||
}
|
||||
if ($build{all})
|
||||
{
|
||||
foreach $k (keys(%build))
|
||||
{
|
||||
$build{$k} = 1;
|
||||
}
|
||||
}
|
||||
if ($build{most})
|
||||
{
|
||||
### Just uncomment/comment to get the ones you want (if "most" is selected).
|
||||
# $build{dist} = 0;
|
||||
# $build{dist_runtime} = 0; # Implied by $build{dist}
|
||||
# $build{xpidl} = 0;
|
||||
# $build{idl} = 0;
|
||||
# $build{stubs} = 0;
|
||||
# $build{runtime} = 1;
|
||||
# $build{common} = 1;
|
||||
# $build{imglib} = 1;
|
||||
# $build{necko} = 1;
|
||||
# $build{browserutils} = 1;
|
||||
# $build{intl} = 1;
|
||||
# $build{nglayout} = 1;
|
||||
# $build{editor} = 1;
|
||||
# $build{viewer} = 1;
|
||||
# $build{xpapp} = 1;
|
||||
# $build{extensions} = 1;
|
||||
# $build{mailnews} = 1;
|
||||
# $build{apprunner} = 1;
|
||||
# $build{resources} = 0;
|
||||
}
|
||||
|
||||
# do the work
|
||||
# you should not have to edit anything below
|
||||
|
||||
chdir("::::");
|
||||
$MOZ_SRC = cwd();
|
||||
|
||||
if ($USE_TIMESTAMPED_LOGS)
|
||||
{
|
||||
#Use time-stamped names so that you don't clobber your previous log file!
|
||||
my $now = localtime();
|
||||
while ($now =~ s@:@.@) {} # replace all colons by periods
|
||||
my $logdir = ":Build Logs:";
|
||||
if (!stat($logdir))
|
||||
{
|
||||
print "Creating directory $logdir\n";
|
||||
mkdir $logdir, 0777 || die "Couldn't create directory $logdir";
|
||||
}
|
||||
OpenErrorLog("$logdir$now");
|
||||
}
|
||||
else
|
||||
{
|
||||
OpenErrorLog("NGLayoutBuildLog"); # Release build requires that name
|
||||
#OpenErrorLog("Mozilla.BuildLog"); # Tinderbox requires that name
|
||||
}
|
||||
|
||||
Moz::StopForErrors();
|
||||
#Moz::DontStopForErrors();
|
||||
|
||||
ConfigureBuildSystem();
|
||||
|
||||
Checkout();
|
||||
|
||||
SetBuildNumber();
|
||||
|
||||
chdir($MOZ_SRC);
|
||||
BuildDist();
|
||||
|
||||
chdir($MOZ_SRC);
|
||||
BuildProjects();
|
||||
|
||||
print "Build complete\n";
|
||||
202
mozilla/build/mac/BuildNGLayoutDebug.pl
Normal file
202
mozilla/build/mac/BuildNGLayoutDebug.pl
Normal file
@@ -0,0 +1,202 @@
|
||||
#!perl
|
||||
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
#
|
||||
# build script (debug)
|
||||
#
|
||||
use Mac::Processes;
|
||||
use NGLayoutBuildList;
|
||||
use Cwd;
|
||||
use Moz;
|
||||
|
||||
#-----------------------------------------------
|
||||
# configuration variables that globally affect what is built
|
||||
#-----------------------------------------------
|
||||
$BUILD_ROOT = ":";
|
||||
# $BUILD_ROOT = ":", the default, with $build{all}
|
||||
# builds the whole tree. Leaving $BUILD_ROOT undefined
|
||||
# will also have this effect.
|
||||
#
|
||||
# $BUILD_ROOT = ":mozilla:mailnews:" with $build{all}
|
||||
# will "make everything in the mailnews directory".
|
||||
#
|
||||
# This is equivalent to the unix commands:
|
||||
# cd mozilla/mailnews
|
||||
# gmake
|
||||
# or the windows commands:
|
||||
# cd mozilla\mailnews
|
||||
# nmake -f makefile.win
|
||||
#
|
||||
# In conjunction with build{all}, this will carry out
|
||||
# all build phases (export, build, install...), but only
|
||||
# using files inside $BUILD_ROOT. Replace $build{all}
|
||||
# with specific component flags to build stuff from
|
||||
# those components that happens to live inside
|
||||
# $BUILD_ROOT.
|
||||
#
|
||||
# ":", and ":mozilla:" both have the same effect, because
|
||||
# this works by checking that path strings begin with
|
||||
# $BUILD_ROOT.
|
||||
#
|
||||
# $BUILD_ROOT affects only the build phase, not the pull
|
||||
# phase. There is still no scriptable way to update-and-build
|
||||
# a specific directory. In particular, $pull{all} will
|
||||
# still pull the whole tree, irrespective of the
|
||||
# setting of $BUILD_ROOT. To update and build a particular
|
||||
# directory, use MacCVS Pro to update the directory,
|
||||
# then turn off all $pull variables, and set $BUILD_ROOT.
|
||||
$DEBUG = 1;
|
||||
$CARBON = 0; # Turn on to build with TARGET_CARBON
|
||||
$PROFILE = 0;
|
||||
$GC_LEAK_DETECTOR = 0; # turn on to use GC leak detection
|
||||
|
||||
$pull{all} = 0;
|
||||
$pull{moz} = 0;
|
||||
$pull{runtime} = 0;
|
||||
|
||||
$build{all} = 1; # Turn off to do individual builds, or to do "most"
|
||||
$build{most} = 0; # Turn off to do individual builds
|
||||
$build{dist} = 0;
|
||||
$build{dist_runtime} = 0; # Implied by $build{dist}
|
||||
$build{xpidl} = 0;
|
||||
$build{idl} = 0;
|
||||
$build{stubs} = 0;
|
||||
$build{runtime} = 0;
|
||||
$build{common} = 0;
|
||||
$build{imglib} = 0;
|
||||
$build{necko} = 0;
|
||||
$build{browserutils} = 0;
|
||||
$build{intl} = 0;
|
||||
$build{nglayout} = 0;
|
||||
$build{editor} = 0;
|
||||
$build{viewer} = 0;
|
||||
$build{xpapp} = 0;
|
||||
$build{extensions} = 0;
|
||||
$build{mailnews} = 0;
|
||||
$build{apprunner} = 0;
|
||||
$build{resources} = 0;
|
||||
|
||||
#-----------------------------------------------
|
||||
# configuration variables that affect the manner
|
||||
# of building, but possibly affecting
|
||||
# the outcome.
|
||||
#-----------------------------------------------
|
||||
$ALIAS_SYM_FILES = $DEBUG;
|
||||
$CLOBBER_LIBS = 1; # turn on to clobber existing libs and .xSYM files before
|
||||
# building each project
|
||||
# The following two options will delete all dist files (if you have $build{dist} turned on),
|
||||
# but leave the directory structure intact.
|
||||
$CLOBBER_DIST_ALL = 1; # turn on to clobber all aliases/files inside dist (headers/xsym/libs)
|
||||
$CLOBBER_DIST_LIBS = 0; # turn on to clobber only aliases/files for libraries/sym files in dist
|
||||
$CLOBBER_IDL_PROJECTS = 0; # turn on to clobber all IDL projects.
|
||||
|
||||
#-----------------------------------------------
|
||||
# configuration variables that are preferences for the build style,
|
||||
# and do not affect what is built.
|
||||
#-----------------------------------------------
|
||||
$CodeWarriorLib::CLOSE_PROJECTS_FIRST
|
||||
= 1;
|
||||
# 1 = close then make (for development),
|
||||
# 0 = make then close (for tinderbox).
|
||||
$USE_TIMESTAMPED_LOGS = 1;
|
||||
#-----------------------------------------------
|
||||
# END OF CONFIG SWITCHES
|
||||
#-----------------------------------------------
|
||||
|
||||
if ($pull{all})
|
||||
{
|
||||
foreach $k (keys(%pull))
|
||||
{
|
||||
$pull{$k} = 1;
|
||||
}
|
||||
}
|
||||
if ($build{all})
|
||||
{
|
||||
foreach $k (keys(%build))
|
||||
{
|
||||
$build{$k} = 1;
|
||||
}
|
||||
}
|
||||
if ($build{most})
|
||||
{
|
||||
### Just uncomment/comment to get the ones you want (if "most" is selected).
|
||||
# $build{dist} = 1;
|
||||
# $build{dist_runtime}= 1;
|
||||
$build{xpidl} = 1; # build idl compiler
|
||||
$build{idl} = 1;
|
||||
$build{stubs} = 1;
|
||||
$build{runtime} = 1;
|
||||
$build{common} = 1;
|
||||
$build{imglib} = 1;
|
||||
$build{necko} = 1;
|
||||
$build{browserutils} = 1;
|
||||
$build{intl} = 1;
|
||||
$build{nglayout} = 1;
|
||||
$build{editor} = 1;
|
||||
$build{viewer} = 1;
|
||||
$build{xpapp} = 1;
|
||||
$build{extensions} = 1;
|
||||
$build{mailnews} = 1;
|
||||
$build{apprunner} = 1;
|
||||
$build{resources} = 1;
|
||||
}
|
||||
|
||||
# do the work
|
||||
# you should not have to edit anything below
|
||||
|
||||
chdir("::::");
|
||||
$MOZ_SRC = cwd();
|
||||
|
||||
if ($USE_TIMESTAMPED_LOGS)
|
||||
{
|
||||
#Use time-stamped names so that you don't clobber your previous log file!
|
||||
my $now = localtime();
|
||||
while ($now =~ s@:@.@) {} # replace all colons by periods
|
||||
my $logdir = ":Build Logs:";
|
||||
if (!stat($logdir))
|
||||
{
|
||||
print "Creating directory $logdir\n";
|
||||
mkdir $logdir, 0777 || die "Couldn't create directory $logdir";
|
||||
}
|
||||
OpenErrorLog("$logdir$now");
|
||||
}
|
||||
else
|
||||
{
|
||||
OpenErrorLog("NGLayoutBuildLog"); # Release build
|
||||
#OpenErrorLog("Mozilla.BuildLog"); # Tinderbox requires that name
|
||||
}
|
||||
|
||||
Moz::StopForErrors();
|
||||
#Moz::DontStopForErrors();
|
||||
|
||||
ConfigureBuildSystem();
|
||||
|
||||
Checkout();
|
||||
|
||||
chdir($MOZ_SRC);
|
||||
BuildDist();
|
||||
|
||||
chdir($MOZ_SRC);
|
||||
BuildProjects();
|
||||
|
||||
print "Build complete\n";
|
||||
470
mozilla/build/mac/CodeWarriorLib.pm
Normal file
470
mozilla/build/mac/CodeWarriorLib.pm
Normal file
@@ -0,0 +1,470 @@
|
||||
#!perl
|
||||
package CodeWarriorLib;
|
||||
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
||||
CodeWarriorLib - supply interface to CodeWarrior
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
#!perl
|
||||
use CodeWarriorLib;
|
||||
CodeWarriorLib::activate();
|
||||
$had_errors = CodeWarriorLib::build_project(
|
||||
$project_path, $target_name, $recent_errors_file, $clean_build
|
||||
);
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Replaces the AppleScript library I<CodeWarriorLib>.
|
||||
|
||||
=over 4
|
||||
|
||||
=cut
|
||||
|
||||
use strict;
|
||||
use Cwd;
|
||||
use Mac::Types;
|
||||
use Mac::AppleEvents;
|
||||
use Mac::AppleEvents::Simple;
|
||||
use Mac::Processes;
|
||||
use Mac::MoreFiles;
|
||||
use Mac::StandardFile;
|
||||
use File::Basename;
|
||||
|
||||
use vars qw($VERSION);
|
||||
$VERSION = '1.02';
|
||||
|
||||
my($app) = 'CWIE';
|
||||
my($scriptDir) = cwd();
|
||||
|
||||
# 0 == don't switch CWIE to front app in do_event(), 1 == do switch
|
||||
# note: activate() still switches when called
|
||||
$Mac::AppleEvents::Simple::SWITCH = 0;
|
||||
|
||||
# supply your own path to the source here
|
||||
#_test('PowerPudgeIV:mozilla:mozilla:');
|
||||
|
||||
|
||||
=pod
|
||||
|
||||
=item _get_project($full_path)
|
||||
|
||||
A private routine returning a reference to the open project with the given name,
|
||||
or else the empty string (when that project is not open)
|
||||
|
||||
full_path is a string identifying the project to be built and is of the form,
|
||||
e.g., "HD:ProjectFolder:MyProject.mcp". It must be supplied.
|
||||
|
||||
=cut
|
||||
|
||||
sub _get_project ($) {
|
||||
my(
|
||||
$full_path, $candidate_projects
|
||||
) = @_;
|
||||
$candidate_projects = _doc_named(basename($full_path, '*'));
|
||||
if ($candidate_projects) {
|
||||
my($cps) = _get_dobj($candidate_projects);
|
||||
my($num) = AECountItems($cps);
|
||||
if ($num) { # is a list
|
||||
foreach (1 .. AECountItems($cps)) {
|
||||
my($cp) = AEGetNthDesc($cps, $_);
|
||||
if (lc $full_path eq lc _full_path($cp)) {
|
||||
return($cp);
|
||||
}
|
||||
}
|
||||
} else { # is only one, not a list
|
||||
if (lc $full_path eq lc _full_path($cps)) {
|
||||
return($cps);
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
=pod
|
||||
|
||||
=item build_project
|
||||
|
||||
Build a selected target of a project, saving any errors to a file, if supplied.
|
||||
|
||||
full_path is a string identifying the project to be built and is of the form,
|
||||
e.g., "HD:ProjectFolder:MyProject.mcp". It must be supplied.
|
||||
|
||||
If target_name is the empty string, the current target of the selected project
|
||||
will be built, else, target_name should be a string matching a target name in
|
||||
the selected project.
|
||||
|
||||
If error_path is the empty string, errors will not be saved to a file,
|
||||
else, error_path should be the full path of a file to save error messages into.
|
||||
|
||||
=cut
|
||||
|
||||
$CodeWarriorLib::CLOSE_PROJECTS_FIRST = 0; # If true we close then make. If false, make then close.
|
||||
my $last_project_built = "";
|
||||
my $last_project_was_closed = 0;
|
||||
|
||||
sub build_project ($;$$$) {
|
||||
my(
|
||||
$full_path, $target_name, $error_path,
|
||||
$remove_object, $p, $project_was_closed, $had_errors
|
||||
) = @_;
|
||||
_close_errors_window();
|
||||
|
||||
if ($CodeWarriorLib::CLOSE_PROJECTS_FIRST && ($last_project_built ne $full_path))
|
||||
{
|
||||
# If we're in "close first" mode, we don't close if the current project
|
||||
# is the same as the previous one.
|
||||
if ($last_project_was_closed) {
|
||||
$p = _get_project($last_project_built);
|
||||
_close($p);
|
||||
}
|
||||
$last_project_built = $full_path;
|
||||
$last_project_was_closed = 0; # now refers to the new project
|
||||
}
|
||||
$project_was_closed = 0;
|
||||
while (1) {
|
||||
$p = _get_project($full_path);
|
||||
if (!$p) {
|
||||
if ($project_was_closed) {
|
||||
print "### Error - request for project document failed after opening\n";
|
||||
die "### possibly CW Pro 4 bug: be sure to close your Find window\n";
|
||||
}
|
||||
$project_was_closed = 1;
|
||||
$last_project_was_closed = 1;
|
||||
_open_file($full_path);
|
||||
} else {
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
$had_errors = 0;
|
||||
if ($target_name eq '') {
|
||||
if ($remove_object) {_remove_object($p)}
|
||||
_build($p);
|
||||
} else {
|
||||
if ($remove_object) {_remove_object($p, $target_name)}
|
||||
_build($p, $target_name);
|
||||
}
|
||||
|
||||
if ($error_path ne '') {
|
||||
_save_errors_window($error_path);
|
||||
}
|
||||
$had_errors = _close_errors_window();
|
||||
|
||||
if (!$CodeWarriorLib::CLOSE_PROJECTS_FIRST)
|
||||
{
|
||||
if ($project_was_closed) {
|
||||
$p = _get_project($full_path);
|
||||
_close($p);
|
||||
}
|
||||
}
|
||||
|
||||
return($had_errors);
|
||||
}
|
||||
|
||||
=pod
|
||||
|
||||
=item activate()
|
||||
|
||||
Launches CodeWarrior and brings it to the front.
|
||||
|
||||
Once found, path will be saved in ':idepath.txt' for future reference.
|
||||
Edit or delete this file to change the location of the IDE. If app is
|
||||
moved, C<activate()> will prompt for a new location.
|
||||
|
||||
First looks for an open CodeWarrior app. Second, tries to open previously
|
||||
saved location in ':idepath.txt'. Third, tries to find it and allow user
|
||||
to choose it with Navigation Services (if present). Fourth, uses good old
|
||||
GUSI routines built-in to MacPerl for a Choose Directory dialog box.
|
||||
|
||||
=cut
|
||||
|
||||
sub activate () {
|
||||
local(*F);
|
||||
my($filepath, $appath, $psi) = (':idepath.txt');
|
||||
|
||||
foreach $psi (values(%Process)) {
|
||||
if ($psi->processSignature() eq $app) {
|
||||
$appath = $psi->processAppSpec();
|
||||
_save_appath($filepath, $appath);
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$appath || !-x $appath) {
|
||||
$appath = _read_appath($filepath);
|
||||
}
|
||||
|
||||
if (!$appath || ! -x $appath)
|
||||
{
|
||||
# make sure that MacPerl is a front process
|
||||
#ActivateApplication('McPL');
|
||||
MacPerl::Answer("Please locate the CodeWarrior application.", "OK");
|
||||
|
||||
# prompt user for the file name, and store it
|
||||
my $macFile = StandardGetFile( 0, "APPL");
|
||||
if ( $macFile->sfGood() )
|
||||
{
|
||||
$appath = $macFile->sfFile();
|
||||
}
|
||||
else
|
||||
{
|
||||
die "Operation canceled\n";
|
||||
}
|
||||
|
||||
# if (eval {require Mac::Navigation}) {
|
||||
# my($options, $nav);
|
||||
# Mac::Navigation->import();
|
||||
# $options = NavGetDefaultDialogOptions();
|
||||
# $options->message('Where is CodeWarrior IDE?');
|
||||
# $options->windowTitle('Find CodeWarrior IDE');
|
||||
# $nav = NavChooseObject($Application{$app}, $options);
|
||||
# die "CodeWarrior IDE not found.\n" if (!$nav || !$nav->file(1));
|
||||
# $appath = $nav->file(1);
|
||||
# } else {
|
||||
# local(*D);
|
||||
# my $cwd = `pwd`;
|
||||
# $appath = _get_folder(
|
||||
# 'Where is the CW IDE folder?',
|
||||
# dirname($Application{$app})
|
||||
# );
|
||||
# die "CodeWarrior IDE not found.\n" if !$appath;
|
||||
# opendir(D, $appath) or die $!;
|
||||
# chdir($appath);
|
||||
# foreach my $file (sort readdir (D)) {
|
||||
# my(@app) = MacPerl::GetFileInfo($file);
|
||||
# if ($app[0] && $app[1] &&
|
||||
# $app[1] eq 'APPL' && $app[0] eq $app
|
||||
# ) {
|
||||
# $appath .= $file;
|
||||
# last;
|
||||
# }
|
||||
# }
|
||||
# chomp($cwd);
|
||||
# chdir($cwd);
|
||||
# }
|
||||
_save_appath($filepath, $appath);
|
||||
}
|
||||
|
||||
my($lp) = LaunchParam->new(
|
||||
launchAppSpec => $appath,
|
||||
launchControlFlags => launchContinue() + launchNoFileFlags()
|
||||
);
|
||||
unless (LaunchApplication($lp)) {
|
||||
unlink($filepath);
|
||||
die $^E;
|
||||
}
|
||||
}
|
||||
|
||||
=pod
|
||||
|
||||
=item quit()
|
||||
|
||||
Quits CodeWarrior.
|
||||
|
||||
=cut
|
||||
|
||||
sub quit() {
|
||||
|
||||
$last_project_built = "";
|
||||
$last_project_was_closed = 0;
|
||||
|
||||
my($evt) = do_event(qw/aevt quit/, $app);
|
||||
}
|
||||
|
||||
|
||||
sub _build ($;$) {
|
||||
my($evt);
|
||||
if ($_[1]) {
|
||||
my($prm) =
|
||||
q"'----':obj {form:name, want:type(TRGT), seld:TEXT(@), from:" .
|
||||
AEPrint($_[0]) . '}';
|
||||
$evt = do_event(qw/CWIE MAKE/, $app, $prm, $_[1]);
|
||||
} else {
|
||||
my($prm) = q"'----':" . AEPrint($_[0]);
|
||||
$evt = do_event(qw/CWIE MAKE/, $app, $prm);
|
||||
}
|
||||
}
|
||||
|
||||
sub _remove_object ($;$) {
|
||||
my($evt);
|
||||
if ($_[1]) {
|
||||
my($prm) =
|
||||
q"'----':obj {form:name, want:type(TRGT), seld:TEXT(@), from:" .
|
||||
AEPrint($_[0]) . '}';
|
||||
$evt = do_event(qw/CWIE RMOB/, $app, $prm, $_[1]);
|
||||
} else {
|
||||
my($prm) = q"'----':" . AEPrint($_[0]);
|
||||
$evt = do_event(qw/CWIE RMOB/, $app, $prm);
|
||||
}
|
||||
}
|
||||
|
||||
sub _open_file ($) {
|
||||
my($prm) =
|
||||
q"'----':obj {form:name, want:type(alis), " .
|
||||
q"seld:TEXT(@), from:'null'()}";
|
||||
|
||||
do_event(qw/aevt odoc/, $app, $prm, $_[0]);
|
||||
}
|
||||
|
||||
sub _doc_named ($) {
|
||||
my($prm) =
|
||||
q"'----':obj {form:test, want:type(docu), from:'null'(), " .
|
||||
q"seld:cmpd{relo:'= ', 'obj1':obj {form:prop, want:type" .
|
||||
q"(prop), seld:type(pnam), from:'exmn'()}, 'obj2':TEXT(@)}}";
|
||||
|
||||
my($evt) = do_event(qw/core getd/, $app, $prm, $_[0]);
|
||||
return($evt->{REPLY} eq 'aevt\ansr{}' ? undef : $evt);
|
||||
}
|
||||
|
||||
sub _full_path ($) {
|
||||
my($obj) = $_[0];
|
||||
my($prm) =
|
||||
q"'----':obj {form:prop, want:type(prop), seld:type(FILE), " .
|
||||
q"from:" . AEPrint($_[0]) . q"}, rtyp:type(TEXT)";
|
||||
my($evt) = do_event(qw/core getd/, $app, $prm);
|
||||
|
||||
return MacPerl::MakePath(
|
||||
MacUnpack('fss ', (
|
||||
AEGetParamDesc($evt->{REP}, keyDirectObject()))->data()->get()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
sub _save_errors_window ($) {
|
||||
my($prm) =
|
||||
q"'----':obj {form:name, want:type(alis), seld:TEXT(@), from:'null'()}";
|
||||
do_event(qw/MMPR SvMs/, $app, $prm, $_[0]);
|
||||
}
|
||||
|
||||
|
||||
sub _close_errors_window () {
|
||||
my($prm) =
|
||||
q"'----':obj {form:name, want:type(cwin), " .
|
||||
q"seld:TEXT(@), from:'null'()}";
|
||||
|
||||
my($evt) = do_event(qw/core clos/, $app, $prm, 'Errors & Warnings');
|
||||
return($evt->{REPLY} eq 'aevt\ansr{}' ? 1 : 0);
|
||||
}
|
||||
|
||||
sub _close () {
|
||||
my($prm) = q"'----':" . AEPrint($_[0]);
|
||||
do_event(qw/core clos/, $app, $prm);
|
||||
}
|
||||
|
||||
sub _get_dobj ($) {
|
||||
return(AEGetParamDesc($_[0]->{REP}, keyDirectObject()));
|
||||
}
|
||||
|
||||
sub _get_folder ($$) {
|
||||
require 'GUSI.ph';
|
||||
my($prompt, $default) = @_;
|
||||
MacPerl::Choose(
|
||||
GUSI::AF_FILE(), 0, $prompt, '',
|
||||
GUSI::CHOOSE_DIR() + ($default ? &GUSI::CHOOSE_DEFAULT : 0),
|
||||
$default
|
||||
);
|
||||
}
|
||||
|
||||
sub _save_appath ($$) {
|
||||
|
||||
my($cwd) = cwd(); # remember the current working dir
|
||||
chdir($scriptDir); # change dir to the script dir
|
||||
|
||||
open(F, '>' . $_[0]) or die $!;
|
||||
print F $_[1];
|
||||
close(F);
|
||||
|
||||
chdir($cwd); # restore the cwd
|
||||
}
|
||||
|
||||
sub _read_appath ($) {
|
||||
|
||||
my($filepath) = @_;
|
||||
|
||||
my($cwd) = cwd(); # remember the current working dir
|
||||
chdir($scriptDir); # change dir to the script dir
|
||||
|
||||
if (! -e $filepath) {
|
||||
return "";
|
||||
}
|
||||
open(F, $filepath);
|
||||
my($appath) = <F>;
|
||||
close(F);
|
||||
|
||||
chdir($cwd); # restore the cwd
|
||||
return($appath);
|
||||
}
|
||||
|
||||
|
||||
sub _test ($) {
|
||||
activate();
|
||||
my($path) = $_[0];
|
||||
build_project(
|
||||
"${path}modules:xml:macbuild:XML.mcp", '',
|
||||
"${path}build:mac:Mozilla.BuildLog.part"
|
||||
);
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
=pod
|
||||
|
||||
=back
|
||||
|
||||
=head1 HISTORY
|
||||
|
||||
=over 4
|
||||
|
||||
=item v1.02, September 23, 1998
|
||||
|
||||
Made fixes in finding and saving location of CodeWarrior IDE.
|
||||
|
||||
=item v1.01, June 1, 1998
|
||||
|
||||
Made fixes to C<chdir()> in C<activate()>, made C<activate()> more robust
|
||||
in finding CodeWarrior IDE, added global variable to NOT switch to IDE
|
||||
for each sent event, a few other fixes.
|
||||
|
||||
=item v1.00, May 30, 1998
|
||||
|
||||
First shot
|
||||
|
||||
=back
|
||||
|
||||
|
||||
=head1 AUTHORS
|
||||
|
||||
Chris Nandor F<E<lt>pudge@pobox.comE<gt>>, and the author of the
|
||||
original I<CodeWarriorLib>, Scott Collins F<E<lt>scc@netscape.comE<gt>>.
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
BuildProject L<Moz>.
|
||||
|
||||
=head1 COPYRIGHT
|
||||
|
||||
The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
||||
=cut
|
||||
4
mozilla/build/mac/CustomLib/CustomLib.c
Normal file
4
mozilla/build/mac/CustomLib/CustomLib.c
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
/* This library only exists to provide a dummy library for the final project */
|
||||
|
||||
/* There is nothing to do here. */
|
||||
BIN
mozilla/build/mac/CustomLib/CustomLib.mcp
Normal file
BIN
mozilla/build/mac/CustomLib/CustomLib.mcp
Normal file
Binary file not shown.
BIN
mozilla/build/mac/GenToc
Normal file
BIN
mozilla/build/mac/GenToc
Normal file
Binary file not shown.
264
mozilla/build/mac/GenToc.script
Normal file
264
mozilla/build/mac/GenToc.script
Normal file
@@ -0,0 +1,264 @@
|
||||
(*
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*)
|
||||
|
||||
(*
|
||||
GenToc - Generates a .toc file from the current contents of a project.
|
||||
|
||||
by Patrick C. Beard <beard@netscape.com>
|
||||
*)
|
||||
|
||||
on swapDelimiters(newDelimiters)
|
||||
set oldDelimiters to get AppleScript's text item delimiters
|
||||
set AppleScript's text item delimiters to newDelimiters
|
||||
return oldDelimiters
|
||||
end swapDelimiters
|
||||
|
||||
on setDelimiters(newDelimiters)
|
||||
set AppleScript's text item delimiters to newDelimiters
|
||||
end setDelimiters
|
||||
|
||||
on setExtension(fileName, newExtension)
|
||||
set oldDelimiters to swapDelimiters(".")
|
||||
set newFileName to (text item 1 of fileName) & newExtension
|
||||
setDelimiters(oldDelimiters)
|
||||
return newFileName
|
||||
end setExtension
|
||||
|
||||
on folderFromPath(filePath)
|
||||
set folderPath to ((filePath's text items 1 thru ((count of filePath's text items) - 1)) as string) & ":"
|
||||
return folderPath
|
||||
end folderFromPath
|
||||
|
||||
on fileFromPath(filePath)
|
||||
return last text item of filePath
|
||||
end fileFromPath
|
||||
|
||||
on openProject(aProjectFile)
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
open aProjectFile
|
||||
end tell
|
||||
end openProject
|
||||
|
||||
on selectProject(aProjectFile)
|
||||
set projectName to fileFromPath(aProjectFile as text)
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
if (name of window 1 is not projectName) then
|
||||
select window projectName
|
||||
end if
|
||||
end tell
|
||||
end selectProject
|
||||
|
||||
on getTargets()
|
||||
set targetList to {}
|
||||
set nameList to {}
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
set currentProject to project document 1
|
||||
repeat with targetIndex from 1 to (count of targets of currentProject)
|
||||
set currentTarget to (target targetIndex of currentProject)
|
||||
set targetList to targetList & {currentTarget}
|
||||
set nameList to nameList & {name of currentTarget}
|
||||
end repeat
|
||||
return {target:targetList, names:nameList}
|
||||
end tell
|
||||
end getTargets
|
||||
|
||||
(* uses "sort" scripting addition to sort a list of strings. *)
|
||||
on sortList(aList)
|
||||
if (aList {}) then
|
||||
return sort aList
|
||||
else
|
||||
return {}
|
||||
end if
|
||||
end sortList
|
||||
|
||||
(* uses "info for" scripting addition, to return the file type of a path. *)
|
||||
on getFileType(aFilePath)
|
||||
return file type of (info for alias aFilePath)
|
||||
end getFileType
|
||||
|
||||
(* returns all "TEXT" files of the named target. *)
|
||||
on getTargetFiles(targetKey)
|
||||
set targetFiles to {}
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
set currentProject to project document 1
|
||||
set currentTarget to (target targetKey of currentProject)
|
||||
try
|
||||
-- workaround for CW IDE 3.X bug, loop until error encountered.
|
||||
set fileIndex to 1
|
||||
repeat until false
|
||||
set targetFile to (target file fileIndex of currentTarget)
|
||||
-- only consider text files, since other platforms won't be managing binaries.
|
||||
-- also, only consider if target file is directly linked.
|
||||
if (linked of targetFile) then
|
||||
set targetFilePath to (Access Paths of targetFile)
|
||||
tell me
|
||||
if (getFileType(targetFilePath) = "TEXT") then
|
||||
set targetFiles to targetFiles & {targetFilePath}
|
||||
end if
|
||||
end tell
|
||||
end if
|
||||
set fileIndex to (fileIndex + 1)
|
||||
end repeat
|
||||
on error msg
|
||||
-- display dialog msg & " file count = " & fileIndex
|
||||
end try
|
||||
end tell
|
||||
return sortList(targetFiles)
|
||||
end getTargetFiles
|
||||
|
||||
on addTargetFile(targetFile, targetName)
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
add (project document 1) new target file with data {targetFile} to targets {targetName}
|
||||
end tell
|
||||
end addTargetFile
|
||||
|
||||
on setCurrentTarget(currentTargetName)
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
Set Current Target currentTargetName
|
||||
end tell
|
||||
end setCurrentTarget
|
||||
|
||||
on removeTargetFile(targetFile)
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
Remove Files {targetFile}
|
||||
end tell
|
||||
end removeTargetFile
|
||||
|
||||
on quote(aString)
|
||||
return "'" & aString & "'"
|
||||
end quote
|
||||
|
||||
on listContains(aList, anItem)
|
||||
repeat with listItem in aList
|
||||
if (listItem contains anItem) then
|
||||
return true
|
||||
end if
|
||||
end repeat
|
||||
return false
|
||||
end listContains
|
||||
|
||||
on showList(listToShow)
|
||||
choose from list listToShow with prompt "List:" with empty selection allowed
|
||||
end showList
|
||||
|
||||
on replace(aString, oldChar, newChar)
|
||||
set newString to ""
|
||||
repeat with aChar in (every character of aString)
|
||||
if (contents of aChar = oldChar) then
|
||||
set newString to newString & newChar
|
||||
else
|
||||
set newString to newString & aChar
|
||||
end if
|
||||
end repeat
|
||||
return newString
|
||||
end replace
|
||||
|
||||
on substring(aString, anOffset)
|
||||
set aSubString to ""
|
||||
repeat with charIndex from anOffset to (count aString)
|
||||
set aSubString to aSubString & (character charIndex of aString)
|
||||
end repeat
|
||||
return aSubString
|
||||
end substring
|
||||
|
||||
on setFileInfo(aFile, aCreator, aType)
|
||||
tell application "Finder"
|
||||
set creator type of aFile to aCreator
|
||||
set file type of aFile to aType
|
||||
end tell
|
||||
end setFileInfo
|
||||
|
||||
on closeFile(fileRef)
|
||||
try
|
||||
-- make sure it's not currently open.
|
||||
close access fileRef
|
||||
on error
|
||||
-- ignore error closing.
|
||||
end try
|
||||
end closeFile
|
||||
|
||||
on mroFile(aFile)
|
||||
try
|
||||
-- make sure it's modifiable.
|
||||
mro aFile
|
||||
on error
|
||||
-- ignore error MROing.
|
||||
end try
|
||||
end mroFile
|
||||
|
||||
on run
|
||||
-- so we can easily strip off file names from paths.
|
||||
set oldDelimiters to swapDelimiters(":")
|
||||
|
||||
set theProjectFile to (choose file with prompt "Choose a CW Project file." of type {"MMPr"})
|
||||
set theManifestFile to (new file with prompt "Create MANIFEST where?" default name setExtension(fileFromPath(theProjectFile as text), ".toc"))
|
||||
|
||||
set manifestRef to false
|
||||
|
||||
try
|
||||
-- make sure the file is closed & is modifiable.
|
||||
closeFile(theManifestFile)
|
||||
mroFile(theManifestFile)
|
||||
|
||||
-- open the new MANIFEST file.
|
||||
set manifestRef to (open for access theManifestFile with write permission)
|
||||
set eof manifestRef to 0
|
||||
|
||||
-- give it CodeWarrior look and feel.
|
||||
setFileInfo(theManifestFile, "CWIE", "TEXT")
|
||||
|
||||
openProject(theProjectFile)
|
||||
selectProject(theProjectFile)
|
||||
|
||||
set targetsList to getTargets()
|
||||
set targetNames to names of targetsList
|
||||
set targetCount to count items of targetNames
|
||||
|
||||
set mozillaTreePathOffset to (offset of "mozilla" in (theManifestFile as text))
|
||||
|
||||
-- dump all targets into the new MANIFEST file.
|
||||
repeat with targetName in targetNames
|
||||
write ("# target: " & targetName & return) to manifestRef
|
||||
setCurrentTarget(targetName)
|
||||
set targetFiles to getTargetFiles(contents of targetName)
|
||||
repeat with targetFile in targetFiles
|
||||
-- only store the path name relative to the source tree itself.
|
||||
set targetFilePath to substring(contents of targetFile, mozillaTreePathOffset)
|
||||
write (replace(targetFilePath, ":", "/") & return) to manifestRef
|
||||
end repeat
|
||||
end repeat
|
||||
on error msg
|
||||
display dialog msg
|
||||
end try
|
||||
if (manifestRef is not false) then
|
||||
closeFile(manifestRef)
|
||||
end if
|
||||
|
||||
-- shut the project down, and display the result.
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
activate
|
||||
Close Project
|
||||
open theManifestFile
|
||||
end tell
|
||||
|
||||
setDelimiters(oldDelimiters)
|
||||
end run
|
||||
109
mozilla/build/mac/IDE_Options.h
Normal file
109
mozilla/build/mac/IDE_Options.h
Normal file
@@ -0,0 +1,109 @@
|
||||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
/*
|
||||
|
||||
This file overrides all option settings in the IDE. It is an attempt to allow all builds
|
||||
to have the same options.
|
||||
|
||||
Note: We can't use ConditionalMacros.h in this file because it will conflict with
|
||||
the PowerPlant precompiled headers.
|
||||
|
||||
*/
|
||||
|
||||
/* warning pragmas */
|
||||
#pragma warn_hidevirtual on
|
||||
#pragma warn_emptydecl on
|
||||
#pragma warn_unusedvar on
|
||||
#pragma warn_extracomma on
|
||||
#pragma warn_illpragma on
|
||||
#pragma warn_possunwant on
|
||||
#pragma warn_unusedarg off /* turned off to reduce warnings */
|
||||
|
||||
#pragma check_header_flags on
|
||||
|
||||
/* Language features that must be the same across libraries... */
|
||||
#pragma enumsalwaysint on
|
||||
#pragma unsigned_char off
|
||||
#pragma exceptions on
|
||||
#pragma bool on
|
||||
#pragma RTTI on
|
||||
|
||||
|
||||
/* Save as much space as possible with strings... */
|
||||
#pragma pool_strings on
|
||||
#pragma dont_reuse_strings off
|
||||
|
||||
#pragma options align=native
|
||||
#pragma sym on /* Takes no memory. OK in non-debug. */
|
||||
|
||||
|
||||
|
||||
#ifdef powerc /* ...generating PowerPC */
|
||||
#pragma toc_data on
|
||||
#pragma fp_contract on
|
||||
#pragma readonly_strings on
|
||||
|
||||
#ifdef DEBUG
|
||||
#pragma profile off /* Turn this on to profile the application. */
|
||||
/* Look for more details about profiling in nsMacMessagePump.cpp. */
|
||||
#pragma traceback on
|
||||
#pragma global_optimizer off
|
||||
#pragma scheduling off
|
||||
#pragma peephole off
|
||||
#pragma optimize_for_size off
|
||||
#else
|
||||
#pragma traceback on /* leave on until the final release, so MacsBug logs are interpretable */
|
||||
#pragma global_optimizer on
|
||||
#pragma optimization_level 4
|
||||
#pragma scheduling 603
|
||||
#pragma peephole on
|
||||
#pragma optimize_for_size on
|
||||
|
||||
#pragma opt_strength_reduction on
|
||||
#pragma opt_propagation on
|
||||
#pragma opt_loop_invariants on
|
||||
#pragma opt_lifetimes on
|
||||
#pragma opt_dead_code on
|
||||
#pragma opt_dead_assignments on
|
||||
#pragma opt_common_subs on
|
||||
#endif
|
||||
|
||||
#else /* ...generating 68k */
|
||||
#pragma code68020 on
|
||||
#pragma code68881 off
|
||||
|
||||
/* Far everything... */
|
||||
#pragma far_code
|
||||
#pragma far_data on
|
||||
#pragma far_strings on
|
||||
#pragma far_vtables on
|
||||
|
||||
#pragma fourbyteints on /* 4-byte ints */
|
||||
#pragma IEEEdoubles on /* 8-byte doubles (as required by Java and NSPR) */
|
||||
|
||||
#ifdef DEBUG
|
||||
#pragma macsbug on
|
||||
#pragma oldstyle_symbols off
|
||||
#else
|
||||
#pragma macsbug off
|
||||
#endif
|
||||
#endif
|
||||
5
mozilla/build/mac/MANIFEST
Normal file
5
mozilla/build/mac/MANIFEST
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# This is a list of local files which get copied to the mozilla:dist directory
|
||||
#
|
||||
|
||||
IDE_Options.h
|
||||
222
mozilla/build/mac/MANIFESTO.pm
Normal file
222
mozilla/build/mac/MANIFESTO.pm
Normal file
@@ -0,0 +1,222 @@
|
||||
#!perl -w
|
||||
package MANIFESTO;
|
||||
|
||||
require 5.004;
|
||||
require Exporter;
|
||||
|
||||
#use strict;
|
||||
|
||||
use vars qw($VERSION @ISA @EXPORT $MANIFESTOLib);
|
||||
use Mac::StandardFile;
|
||||
use Moz;
|
||||
use Cwd;
|
||||
use Exporter;
|
||||
use File::Basename;
|
||||
|
||||
@ISA = qw(Exporter);
|
||||
@EXPORT = qw(ReconcileProject);
|
||||
$VERSION = "1.00";
|
||||
|
||||
=head1 NAME
|
||||
|
||||
MANIFESTO - drives the Mac Project Reconciliation tool.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
You want to use this script. It will make your life easier.
|
||||
|
||||
=head1 COPYRIGHT
|
||||
|
||||
The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
||||
=cut
|
||||
|
||||
#
|
||||
# globals
|
||||
# $MANIFESTOLib - location of MANIFESTO applescript library
|
||||
#
|
||||
|
||||
#
|
||||
# utility routines
|
||||
#
|
||||
|
||||
sub current_directory()
|
||||
{
|
||||
my $current_directory = cwd();
|
||||
chop($current_directory) if ( $current_directory =~ m/:$/ );
|
||||
return $current_directory;
|
||||
}
|
||||
|
||||
# Uses the "compile script" extension to compile a script.
|
||||
sub compile_script($;$) {
|
||||
my($scriptPath, $outputPath) = @_;
|
||||
|
||||
#// generate a script to compile a script file.
|
||||
my $script = <<END_OF_APPLESCRIPT;
|
||||
store script (compile script (alias "$scriptPath")) in (file "$outputPath") replacing yes
|
||||
END_OF_APPLESCRIPT
|
||||
|
||||
#// run the script.
|
||||
MacPerl::DoAppleScript($script);
|
||||
}
|
||||
|
||||
# _useMANIFESTOLib()
|
||||
# returns 1 on success
|
||||
# Search the include path for the file called MANIFESTOLib
|
||||
sub _useMANIFESTOLib()
|
||||
{
|
||||
unless ( defined($MANIFESTOLib) )
|
||||
{
|
||||
my($scriptName) = "MANIFESTOLib.script";
|
||||
my($libName) = "MANIFESTOLib";
|
||||
# try the directory we were run from
|
||||
my($scriptPath) = dirname($0) . ":" . $scriptName;
|
||||
my($libPath) = dirname($0) . ":" . $libName;
|
||||
# make sure that the compiled script is up to date with the textual script.
|
||||
unless (-e $libPath && getModificationDate($libPath) >= getModificationDate($scriptPath)) {
|
||||
print "# Recompiling MANIFESTOLib.script.\n";
|
||||
compile_script($scriptPath, $libPath);
|
||||
}
|
||||
if ( -e $libPath) {
|
||||
$MANIFESTOLib = $libPath;
|
||||
} else {
|
||||
# now search the include directories
|
||||
foreach (@INC)
|
||||
{
|
||||
unless ( m/^Dev:Pseudo/ ) # This is some bizarre MacPerl special-case directory
|
||||
{
|
||||
$libPath = $_ . $libName;
|
||||
if (-e $libPath)
|
||||
{
|
||||
$MANIFESTOLib = $libPath;
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (! (-e $MANIFESTOLib)) {
|
||||
print STDERR "MANIFESTOLib lib could not be found! $MANIFESTOLib";
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
sub getModificationDate($) {
|
||||
my($filePath)=@_;
|
||||
my($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
|
||||
$atime,$mtime,$ctime,$blksize,$blocks) = stat($filePath);
|
||||
return $mtime;
|
||||
}
|
||||
|
||||
sub setExtension($;$;$) {
|
||||
my($filePath, $oldExtension, $newExtension)=@_;
|
||||
my($name, $dir, $type) = fileparse($filePath, $oldExtension);
|
||||
return "$dir$name$newExtension";
|
||||
}
|
||||
|
||||
#
|
||||
# ReconcileProject(projectPath, manifestoPath)
|
||||
#
|
||||
# Uses MANIFESTOLib AppleScript to reconcile the contents (toc?) of a
|
||||
# CodeWarrior project with an external MANIFEST file.
|
||||
#
|
||||
|
||||
sub ReconcileProject($;$) {
|
||||
#// turn this feature on by removing the following line.
|
||||
return 1;
|
||||
|
||||
my($projectPath, $manifestoPath) = @_;
|
||||
my($sourceTree) = current_directory();
|
||||
my($logPath) = setExtension($manifestoPath, ".toc", ".log");
|
||||
|
||||
print STDERR "# Reconciling Project: $projectPath with $manifestoPath\n";
|
||||
|
||||
#// compare the modification dates of the .toc and .log files. If .log is newer, do nothing.
|
||||
if (-e $logPath && getModificationDate($logPath) >= getModificationDate($manifestoPath)) {
|
||||
print "# Project is up to date.\n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
_useMANIFESTOLib() || die "Could not load MANIFESTOLib\n";
|
||||
|
||||
my $script = <<END_OF_APPLESCRIPT;
|
||||
tell (load script file "$MANIFESTOLib") to ReconcileProject("$sourceTree:", "$sourceTree$projectPath", "$sourceTree$manifestoPath")
|
||||
END_OF_APPLESCRIPT
|
||||
|
||||
#// run the script, and store the results in a file called "$manifestoPath.log"
|
||||
my $asresult = substr(MacPerl::DoAppleScript($script), 1, -1); #// chops off leading, trailing quotes.
|
||||
|
||||
#// print out to STDOUT to show progress.
|
||||
print $asresult;
|
||||
|
||||
#// store the results in "$manifestoPath.log", which will act as a cache for later checks.
|
||||
open(OUTPUT, ">$logPath") || die "can't open log file $logPath.";
|
||||
print OUTPUT $asresult;
|
||||
close(OUTPUT);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
1;
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
||||
MANIFESTO - Scripts to process source .toc files.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
use MANIFESTO;
|
||||
ReconcileProject(<path to Mac project file>, <path to table of contents file>) || die "cannot reconcile project";
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
This is a PERL interface for talking to MANIFESTOLib AppleScripts.
|
||||
|
||||
=item ReconcileProject
|
||||
ReconcileProject(<path to Mac project file>, <path to table of contents file>);
|
||||
|
||||
Reconciles the contents of a project with an external .toc file.
|
||||
|
||||
=cut
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
=over
|
||||
|
||||
=item MacCVS Home Page
|
||||
|
||||
http://www.maccvs.org/
|
||||
|
||||
=back
|
||||
|
||||
=head1 AUTHORS
|
||||
|
||||
Patrick Beard beard@netscape.com
|
||||
|
||||
based on work by
|
||||
|
||||
Aleks Totic atotic@netscape.com
|
||||
|
||||
=cut
|
||||
|
||||
__END__
|
||||
BIN
mozilla/build/mac/MANIFESTOLib
Normal file
BIN
mozilla/build/mac/MANIFESTOLib
Normal file
Binary file not shown.
376
mozilla/build/mac/MANIFESTOLib.script
Normal file
376
mozilla/build/mac/MANIFESTOLib.script
Normal file
@@ -0,0 +1,376 @@
|
||||
(*
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*)
|
||||
|
||||
(*
|
||||
MANIFESTOLib - Reconciles a CW Project file with an external table of contents file.
|
||||
|
||||
Uses merge sort, one pass per target.
|
||||
|
||||
by Patrick C. Beard <beard@netscape.com>
|
||||
*)
|
||||
|
||||
(* Global Configuration Properties *)
|
||||
|
||||
property pShowReport : true
|
||||
-- property pSourceTree : "Homeward:Work:Raptor:src:"
|
||||
property pSourceTree : "Morbeus:Projects:Raptor:src:"
|
||||
|
||||
on swapDelimiters(newDelimiters)
|
||||
set oldDelimiters to get AppleScript's text item delimiters
|
||||
set AppleScript's text item delimiters to newDelimiters
|
||||
return oldDelimiters
|
||||
end swapDelimiters
|
||||
|
||||
on setDelimiters(newDelimiters)
|
||||
set AppleScript's text item delimiters to newDelimiters
|
||||
end setDelimiters
|
||||
|
||||
-- replaces oldChar with newChar in a string.
|
||||
on replace(aString, oldChar, newChar)
|
||||
set newString to ""
|
||||
repeat with aChar in (every character of aString)
|
||||
if (contents of aChar = oldChar) then
|
||||
set newString to newString & newChar
|
||||
else
|
||||
set newString to newString & aChar
|
||||
end if
|
||||
end repeat
|
||||
return newString
|
||||
end replace
|
||||
|
||||
(* uses "sort" scripting addition to sort a list of strings. *)
|
||||
on sortList(aList)
|
||||
if (aList {}) then
|
||||
return sort aList
|
||||
else
|
||||
return {}
|
||||
end if
|
||||
end sortList
|
||||
|
||||
-- reads .toc file into a list.
|
||||
on readManifestFile(sourceTree, manifestFile)
|
||||
set oldDelimiters to swapDelimiters(return)
|
||||
set fileRef to false
|
||||
set fileLines to {}
|
||||
try
|
||||
set fileRef to (open for access manifestFile without write permission)
|
||||
-- read entire file into memory, use text items to delimit lines.
|
||||
set fileContents to (read fileRef)
|
||||
repeat with lineRef in (every text item of fileContents)
|
||||
-- ignore lines that start with "#" or are empty.
|
||||
set fileLine to (contents of lineRef)
|
||||
if (fileLine "") and not (fileLine starts with "#") then
|
||||
set fileLines to fileLines & (sourceTree & replace(fileLine, "/", ":"))
|
||||
end if
|
||||
end repeat
|
||||
on error
|
||||
-- ignore errors.
|
||||
end try
|
||||
if (fileRef is not false) then close access fileRef
|
||||
setDelimiters(oldDelimiters)
|
||||
return sortList(fileLines)
|
||||
end readManifestFile
|
||||
|
||||
(* both of the following depend on ":" as the delimiter character. *)
|
||||
|
||||
on folderFromPath(filePath)
|
||||
return ((filePath's text items 1 thru ((count of filePath's text items) - 1)) as string) & ":"
|
||||
end folderFromPath
|
||||
|
||||
on fileFromPath(filePath)
|
||||
return last text item of filePath
|
||||
end fileFromPath
|
||||
|
||||
(* CW Pro IDE Interface Handlers. *)
|
||||
|
||||
on openProject(aProjectFile)
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
-- activate
|
||||
open aProjectFile
|
||||
end tell
|
||||
end openProject
|
||||
|
||||
(* forces the named project file to be the front window. *)
|
||||
on selectProject(aProjectFile)
|
||||
set projectName to fileFromPath(aProjectFile as text)
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
if (name of window 1 is not projectName) then
|
||||
select window projectName
|
||||
end if
|
||||
end tell
|
||||
end selectProject
|
||||
|
||||
on closeProject(aProjectFile)
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
Close Project
|
||||
end tell
|
||||
end closeProject
|
||||
|
||||
on getTargets()
|
||||
set targetList to {}
|
||||
set nameList to {}
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
set currentProject to project document 1
|
||||
repeat with targetIndex from 1 to (count of targets of currentProject)
|
||||
set currentTarget to (target targetIndex of currentProject)
|
||||
set targetList to targetList & {currentTarget}
|
||||
set nameList to nameList & {name of currentTarget}
|
||||
end repeat
|
||||
return {target:targetList, names:nameList}
|
||||
end tell
|
||||
end getTargets
|
||||
|
||||
(* uses "info for" scripting addition, to return the file type of a path. *)
|
||||
on getFileType(aFilePath)
|
||||
return file type of (info for alias aFilePath)
|
||||
end getFileType
|
||||
|
||||
(* returns all "TEXT" files of the named target. *)
|
||||
on getTargetFiles(targetKey)
|
||||
set targetFiles to {}
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
set currentProject to project document 1
|
||||
set currentTarget to (target targetKey of currentProject)
|
||||
try
|
||||
-- workaround for CW IDE 3.X bug, loop until error encountered.
|
||||
set fileIndex to 1
|
||||
repeat until false
|
||||
set targetFile to (target file fileIndex of currentTarget)
|
||||
-- only consider text files, since other platforms won't be managing binaries.
|
||||
-- also, only consider if target file is directly linked.
|
||||
if (linked of targetFile) then
|
||||
set targetFilePath to (Access Paths of targetFile)
|
||||
tell me
|
||||
if (getFileType(targetFilePath) = "TEXT") then
|
||||
set targetFiles to targetFiles & {targetFilePath}
|
||||
end if
|
||||
end tell
|
||||
end if
|
||||
set fileIndex to (fileIndex + 1)
|
||||
end repeat
|
||||
on error msg
|
||||
-- display dialog msg & " file count = " & fileIndex
|
||||
end try
|
||||
end tell
|
||||
return sortList(targetFiles)
|
||||
end getTargetFiles
|
||||
|
||||
on addTargetFile(targetFile, targetList)
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
add (project document 1) new target file with data {targetFile} to targets targetList
|
||||
end tell
|
||||
end addTargetFile
|
||||
|
||||
global gCurrentTarget
|
||||
|
||||
on setCurrentTarget(currentTargetName)
|
||||
if (gCurrentTarget currentTargetName) then
|
||||
set gCurrentTarget to currentTargetName
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
Set Current Target currentTargetName
|
||||
end tell
|
||||
end if
|
||||
end setCurrentTarget
|
||||
|
||||
on removeTargetFile(targetFile)
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
Remove Files {targetFile}
|
||||
end tell
|
||||
end removeTargetFile
|
||||
|
||||
on quote(aString)
|
||||
return "'" & aString & "'"
|
||||
end quote
|
||||
|
||||
on listContains(aList, anItem)
|
||||
repeat with listItem in aList
|
||||
if (contents of listItem = anItem) then
|
||||
return true
|
||||
end if
|
||||
end repeat
|
||||
return false
|
||||
end listContains
|
||||
|
||||
on showList(aList)
|
||||
choose from list aList with prompt "List:" with empty selection allowed
|
||||
end showList
|
||||
|
||||
global gProjectModified
|
||||
|
||||
on ModifyReadOnly(aProjectFile)
|
||||
if (not gProjectModified) then
|
||||
set gProjectModified to true
|
||||
-- so CodeWarrior will notice, must close the file before MROing it.
|
||||
closeProject(aProjectFile)
|
||||
mro aProjectFile
|
||||
openProject(aProjectFile)
|
||||
selectProject(aProjectFile)
|
||||
end if
|
||||
end ModifyReadOnly
|
||||
|
||||
on makeStream(itemList)
|
||||
return {streamList:itemList, streamCount:count itemList, streamIndex:0}
|
||||
end makeStream
|
||||
|
||||
(* true is used as the end of stream value. *)
|
||||
property pEOS : true
|
||||
|
||||
on advanceStream(stream)
|
||||
set itemCount to (streamCount of stream)
|
||||
set itemIndex to (streamIndex of stream)
|
||||
if (itemIndex < itemCount) then
|
||||
set itemIndex to (itemIndex + 1)
|
||||
set (streamIndex of stream) to itemIndex
|
||||
return (item itemIndex of streamList of stream)
|
||||
else
|
||||
return pEOS
|
||||
end if
|
||||
end advanceStream
|
||||
|
||||
-- returns true if str2 is INFINITELY great, or str1 is less than str2.
|
||||
on precedes(str1, str2)
|
||||
return (str2 = pEOS) or ((str1 pEOS) and (str1 < str2))
|
||||
end precedes
|
||||
|
||||
on get_current_application()
|
||||
return last text item of ((path to current application) as text)
|
||||
end get_current_application
|
||||
|
||||
on get_frontmost_application()
|
||||
return last text item of ((path to frontmost application) as text)
|
||||
end get_frontmost_application
|
||||
|
||||
on activate_application(applicationName)
|
||||
tell application "Finder"
|
||||
set applicationProcess to (application process applicationName)
|
||||
set frontmost of applicationProcess to true
|
||||
end tell
|
||||
end activate_application
|
||||
|
||||
on ReconcileProject(sourceTree, projectPath, manifestoPath)
|
||||
-- so we can easily strip off file names from paths.
|
||||
set oldDelimiters to swapDelimiters(":")
|
||||
|
||||
-- initialize globals.
|
||||
set gCurrentTarget to ""
|
||||
set gProjectModified to false
|
||||
|
||||
-- convert paths to aliases.
|
||||
set projectFile to alias projectPath
|
||||
set manifestFile to alias manifestoPath
|
||||
|
||||
-- read the MANIFESTO file into a list of paths.
|
||||
set manifestContents to readManifestFile(sourceTree, manifestFile)
|
||||
-- return manifestContents
|
||||
|
||||
-- now, start processing the file items, ensuring that the project contains all items.
|
||||
openProject(projectFile)
|
||||
selectProject(projectFile)
|
||||
set targetsList to getTargets()
|
||||
set targetNames to names of targetsList
|
||||
|
||||
if (pShowReport) then
|
||||
set theReport to ""
|
||||
set addedFiles to ""
|
||||
set removedFiles to ""
|
||||
end if
|
||||
|
||||
-- push current application to front for speed.
|
||||
-- set frontmostApplication to get_frontmost_application()
|
||||
-- set currentApplication to get_current_application()
|
||||
-- activate_application(currentApplication)
|
||||
|
||||
-- reconcile all targets with the MANIFEST file.
|
||||
-- this loop should be recoded in PERL for speed.
|
||||
-- IDEA: with sorted lists, can scan both lists, like a merge sort, and make one pass per target.
|
||||
repeat with targetNameRef in targetNames
|
||||
-- switch targets because getTargetFiles now checks to see if file is linked in current target.
|
||||
set targetName to (contents of targetNameRef)
|
||||
set targetFiles to getTargetFiles(targetName)
|
||||
-- hopefully, this list test is fast.
|
||||
if (targetFiles manifestContents) then
|
||||
-- return {count targetFiles, count manifestContents, targetFiles, manifestContents}
|
||||
-- make sure the project file is modifiable.
|
||||
ModifyReadOnly(projectFile)
|
||||
setCurrentTarget(targetName)
|
||||
set targetStream to makeStream(targetFiles)
|
||||
set targetItem to advanceStream(targetStream)
|
||||
set manifestStream to makeStream(manifestContents)
|
||||
set manifestItem to advanceStream(manifestStream)
|
||||
repeat until (manifestItem is pEOS) and (targetItem is pEOS)
|
||||
-- display dialog "m: " & manifestItem & ", t: " & targetFileItem
|
||||
if (manifestItem = targetItem) then
|
||||
-- items match, advance both.
|
||||
set manifestItem to advanceStream(manifestStream)
|
||||
set targetItem to advanceStream(targetStream)
|
||||
else
|
||||
-- return {manifestItem, targetItem}
|
||||
if (precedes(manifestItem, targetItem)) then
|
||||
-- we have an item in manifest, not in project, so we have to add it to the targets.
|
||||
-- display dialog "adding " & manifestItem
|
||||
addTargetFile(manifestItem, targetNames)
|
||||
if pShowReport then
|
||||
set addedFiles to addedFiles & ("# " & (last text item of manifestItem) & return)
|
||||
end if
|
||||
set manifestItem to advanceStream(manifestStream)
|
||||
else
|
||||
-- we have an item not in manifest, but in project, so it must be removed from this target.
|
||||
-- display dialog "removing " & targetItem
|
||||
removeTargetFile(targetItem)
|
||||
if pShowReport then
|
||||
set removedFiles to removedFiles & ("# " & targetName & " - " & (last text item of targetItem) & return)
|
||||
end if
|
||||
set targetItem to advanceStream(targetStream)
|
||||
end if
|
||||
end if
|
||||
end repeat
|
||||
end if
|
||||
end repeat
|
||||
|
||||
-- activate_application(frontmostApplication)
|
||||
|
||||
-- commit the project changes, and optionally display a report.
|
||||
tell application "CodeWarrior IDE 3.3"
|
||||
-- leave project open for compilation phase?
|
||||
Close Project
|
||||
if pShowReport then
|
||||
if addedFiles is not "" then set theReport to ("# Added files: " & return & addedFiles)
|
||||
if removedFiles is not "" then set theReport to theReport & ("# Removed files: " & return & removedFiles)
|
||||
if (theReport is "") then set theReport to (" # Project is up to date." & return)
|
||||
-- display dialog theReport buttons {"OK"} default button "OK"
|
||||
end if
|
||||
end tell
|
||||
|
||||
-- restore AppleScript's delimiters.
|
||||
setDelimiters(oldDelimiters)
|
||||
|
||||
-- return 0 to indicate no error.
|
||||
return theReport
|
||||
end ReconcileProject
|
||||
|
||||
on run
|
||||
-- when run interactively,
|
||||
-- ask user which project/MANIFEST files to use.
|
||||
set projectPath to (choose file with prompt "Choose a CW Project file." of type {"MMPr"}) as text
|
||||
set manifestPath to (choose file with prompt "Choose a TOC file to process." of type {"TEXT"}) as text
|
||||
ReconcileProject(pSourceTree, projectPath, manifestPath)
|
||||
end run
|
||||
204
mozilla/build/mac/MacCVS.pm
Normal file
204
mozilla/build/mac/MacCVS.pm
Normal file
@@ -0,0 +1,204 @@
|
||||
#!perl -w
|
||||
package MacCVS;
|
||||
|
||||
# package Mac::Apps::MacCVS; this should really be the name of the package
|
||||
# but due to our directory hierarchy in mozilla, I am not doing it
|
||||
|
||||
require 5.004;
|
||||
require Exporter;
|
||||
|
||||
use strict;
|
||||
|
||||
use vars qw($VERSION @ISA @EXPORT $MacCVSLib);
|
||||
use Mac::StandardFile;
|
||||
use Moz;
|
||||
use Cwd;
|
||||
use Exporter;
|
||||
use File::Basename;
|
||||
|
||||
@ISA = qw(Exporter);
|
||||
@EXPORT = qw( new print checkout);
|
||||
$VERSION = "1.00";
|
||||
|
||||
# Architecture:
|
||||
# cvs session object:
|
||||
# name - session name
|
||||
# session_file - session file
|
||||
#
|
||||
# globals
|
||||
# $MacCVSLib - location of MacCVS applescript library
|
||||
#
|
||||
#
|
||||
|
||||
#
|
||||
# utility routines
|
||||
#
|
||||
|
||||
# just like Mac::DoAppleScript, 1 is success, 0 is failure
|
||||
sub _myDoAppleScript($)
|
||||
{
|
||||
my($script) = @_;
|
||||
my $asresult = MacPerl::DoAppleScript($script);
|
||||
if ($asresult eq "0")
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
print STDERR "AppleScript error: $asresult\n";
|
||||
print STDERR "AppleScript was: \n $script \n";
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
# _useMacCVSLib
|
||||
# returns 1 on success
|
||||
# Search the include path for the file called MacCVSLib
|
||||
sub _useMacCVSLib()
|
||||
{
|
||||
unless ( defined($MacCVSLib) )
|
||||
{
|
||||
my($libname) = "MacCVSLib";
|
||||
# try the directory we were run from
|
||||
my($c) = dirname($0) . ":" . $libname;
|
||||
if ( -e $c)
|
||||
{
|
||||
$MacCVSLib = $c;
|
||||
}
|
||||
else
|
||||
{
|
||||
# now search the include directories
|
||||
foreach (@INC)
|
||||
{
|
||||
unless ( m/^Dev:Pseudo/ ) # This is some bizarre MacPerl special-case directory
|
||||
{
|
||||
$c = $_ . $libname;
|
||||
if (-e $c)
|
||||
{
|
||||
$MacCVSLib = $c;
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (! (-e $MacCVSLib))
|
||||
{
|
||||
print STDERR "MacCVS lib could not be found! $MacCVSLib";
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Session object methods
|
||||
#
|
||||
|
||||
sub new {
|
||||
my ( $proto, $session_file) = @_;
|
||||
my $class = ref($proto) || $proto;
|
||||
my $self = {};
|
||||
|
||||
if ( defined($session_file) && ( -e $session_file) )
|
||||
{
|
||||
$self->{"name"} = basename( $session_file );
|
||||
$self->{"session_file"} = $session_file;
|
||||
bless $self, $class;
|
||||
return $self;
|
||||
}
|
||||
else
|
||||
{
|
||||
print STDERR "MacCVS->new cvs file < $session_file > does not exist\n";
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
# makes sure that the session is open
|
||||
# assertSessionOpen()
|
||||
# returns 1 on failure
|
||||
sub assertSessionOpen() {
|
||||
my ($self) = shift;
|
||||
_useMacCVSLib() || die "Could not load MacCVSLib\n";
|
||||
my $script = <<END_OF_APPLESCRIPT;
|
||||
tell (load script file "$MacCVSLib") to OpenSession("$self->{session_file}")
|
||||
END_OF_APPLESCRIPT
|
||||
return _myDoAppleScript($script);
|
||||
}
|
||||
|
||||
# prints the cvs object, used mostly for debugging
|
||||
sub print {
|
||||
my($self) = shift;
|
||||
print "MacCVS:: name: ", $self->{name}, " session file: ", $self->{session_file}, "\n";
|
||||
}
|
||||
|
||||
# checkout( self, module, revision, date)
|
||||
# MacCVS checkout command
|
||||
# returns 1 on failure
|
||||
sub checkout
|
||||
{
|
||||
my($self, $module, $revision, $date ) = @_;
|
||||
unless( defined ($module) ) { $module = ""; } # get rid of the pesky undefined warnings
|
||||
unless( defined ($revision) ) { $revision = ""; }
|
||||
unless( defined ($date) ) { $date = ""; }
|
||||
|
||||
$self->assertSessionOpen() || return 1;
|
||||
|
||||
my($revstring) = ($revision ne "") ? $revision : "(none)";
|
||||
my($datestring) = ($date ne "") ? $date : "(none)";
|
||||
|
||||
print "Checking out $module with revision $revstring, date $datestring\n";
|
||||
|
||||
my $script = <<END_OF_APPLESCRIPT;
|
||||
tell (load script file "$MacCVSLib") to Checkout given sessionName:"$self->{name}", module:"$module", revision:"$revision", date:"$date"
|
||||
END_OF_APPLESCRIPT
|
||||
return _myDoAppleScript($script);
|
||||
}
|
||||
|
||||
1;
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
||||
MacCVS - Interface to MacCVS
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
use MacCVS;
|
||||
$session = MacCVS->new( <session_file_path>) || die "cannot create session";
|
||||
$session->checkout([module] [revision] [date]) || die "Could not check out";
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
This is a MacCVS interface for talking to MacCVS Pro client.
|
||||
MacCVSSession is the class used to manipulate the session
|
||||
|
||||
=item new
|
||||
MacCVS->new( <cvs session file path>);
|
||||
|
||||
Creates a new session. Returns undef on failure.
|
||||
|
||||
=item checkout( <module> [revision] [date] )
|
||||
|
||||
cvs checkout command. Revision and date are optional
|
||||
returns 0 on failure
|
||||
|
||||
=cut
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
=over
|
||||
|
||||
=item MacCVS Home Page
|
||||
|
||||
http://www.maccvs.org/
|
||||
|
||||
=back
|
||||
|
||||
=head1 AUTHORS
|
||||
|
||||
Aleks Totic atotic@netscape.com
|
||||
|
||||
=cut
|
||||
|
||||
__END__
|
||||
BIN
mozilla/build/mac/MacCVSLib
Normal file
BIN
mozilla/build/mac/MacCVSLib
Normal file
Binary file not shown.
561
mozilla/build/mac/Moz.pm
Normal file
561
mozilla/build/mac/Moz.pm
Normal file
@@ -0,0 +1,561 @@
|
||||
=head1 NAME
|
||||
|
||||
B<Moz> - routines for automating CodeWarrior builds, and some extra-curricular activities related to building Mozilla
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
use Moz;
|
||||
|
||||
OpenErrorLog(":::BuildLog");
|
||||
StopForErrors();
|
||||
|
||||
$Moz::QUIET = 1;
|
||||
InstallFromManifest(":projects:MANIFEST", $dist_dir);
|
||||
|
||||
BuildProjectClean(":projects:SomeProject.mcp", "SomeTarget");
|
||||
MakeAlias(":projects:SomeProject.shlb", $dist_dir);
|
||||
|
||||
DontStopForErrors();
|
||||
|
||||
BuildProject(":projects:SomeOtherProject.mcp", "SomeTarget");
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
B<Moz> comprises the routines needed to slap CodeWarrior around, force it to build a sequence of projects, report the results, and a few other things.
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
|
||||
|
||||
package Moz;
|
||||
require Exporter;
|
||||
|
||||
use Mac::Types;
|
||||
use Mac::Events;
|
||||
use Mac::Processes;
|
||||
use File::Copy;
|
||||
|
||||
@ISA = qw(Exporter);
|
||||
@EXPORT = qw(BuildProject BuildProjectClean OpenErrorLog MakeAlias StopForErrors DontStopForErrors InstallFromManifest InstallResources SetBuildNumber SetAgentString SetTimeBomb Delay ActivateApplication);
|
||||
@EXPORT_OK = qw(CloseErrorLog UseCodeWarriorLib QUIET);
|
||||
|
||||
use Cwd;
|
||||
use File::Path;
|
||||
use ExtUtils::Manifest 'maniread';
|
||||
|
||||
use CodeWarriorLib;
|
||||
|
||||
sub current_directory()
|
||||
{
|
||||
my $current_directory = cwd();
|
||||
chop($current_directory) if ( $current_directory =~ m/:$/ );
|
||||
return $current_directory;
|
||||
}
|
||||
|
||||
sub full_path_to($)
|
||||
{
|
||||
my ($path) = @_;
|
||||
if ( $path =~ m/^[^:]+$/ )
|
||||
{
|
||||
$path = ":" . $path;
|
||||
}
|
||||
|
||||
if ( $path =~ m/^:/ )
|
||||
{
|
||||
$path = current_directory() . $path;
|
||||
}
|
||||
|
||||
return $path;
|
||||
}
|
||||
|
||||
=head2 Setup
|
||||
|
||||
Pretty much, everything is taken care of for you.
|
||||
However, B<Moz> does use a little compiled AppleScript library (the file CodeWarriorLib) for some of its communcication with CodeWarrior.
|
||||
If this library isn't in the same directory as "Moz.pm", then you need to tell B<Moz> where to find it.
|
||||
Call C<UseCodeWarriorLib($path_to_CodeWarriorLib)>.
|
||||
This routine is not exported by default, nor are you likely to need it.
|
||||
|
||||
=cut
|
||||
|
||||
sub UseCodeWarriorLib($)
|
||||
{
|
||||
# ($CodeWarriorLib) = @_;
|
||||
# $CodeWarriorLib = full_path_to($CodeWarriorLib);
|
||||
}
|
||||
|
||||
sub activate_CodeWarrior()
|
||||
{
|
||||
#MacPerl::DoAppleScript(<<END_OF_APPLESCRIPT);
|
||||
# tell (load script file "$CodeWarriorLib") to ActivateCodeWarrior()
|
||||
#END_OF_APPLESCRIPT
|
||||
}
|
||||
|
||||
BEGIN
|
||||
{
|
||||
# UseCodeWarriorLib(":CodeWarriorLib");
|
||||
# activate_CodeWarrior();
|
||||
CodeWarriorLib::activate();
|
||||
}
|
||||
|
||||
$logging = 0;
|
||||
$recent_errors_file = "";
|
||||
$stop_on_1st_error = 1;
|
||||
$QUIET = 0;
|
||||
|
||||
|
||||
|
||||
=head2 Logging all the errors and warnings - C<OpenErrorLog($log_file)>, C<CloseErrorLog()>
|
||||
|
||||
The warnings and errors generated in the course of building projects can be logged to a file.
|
||||
Tinderbox uses this facility to show why a remote build failed.
|
||||
|
||||
Logging is off by default.
|
||||
Start logging at any point in your build process with C<OpenErrorLog($log_file)>.
|
||||
Stop with C<CloseErrorLog()>.
|
||||
You never need to close the log explicitly, unless you want to just log a couple of projects in the middle of a big list.
|
||||
C<CloseErrorLog()> is not exported by default.
|
||||
|
||||
=cut
|
||||
|
||||
sub CloseErrorLog()
|
||||
{
|
||||
if ( $logging )
|
||||
{
|
||||
close(ERROR_LOG);
|
||||
$logging = 0;
|
||||
StopForErrors() if $stop_on_1st_error;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
sub OpenErrorLog($)
|
||||
{
|
||||
my ($log_file) = @_;
|
||||
|
||||
CloseErrorLog();
|
||||
if ( $log_file )
|
||||
{
|
||||
$log_file = full_path_to($log_file);
|
||||
|
||||
open(ERROR_LOG, ">$log_file") || die "Can't open logfile, check the file path.\n";
|
||||
MacPerl::SetFileInfo("CWIE", "TEXT", $log_file);
|
||||
|
||||
$log_file =~ m/.+:(.+)/;
|
||||
$recent_errors_file = full_path_to("$1.part");
|
||||
$logging = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
=head2 Stopping before it's too late - C<StopForErrors()>, C<DontStopForErrors()>
|
||||
|
||||
When building a long list of projects, you decide whether to continue building subsequent projects when one fails.
|
||||
By default, your build script will C<die> after the first project that generates an error while building.
|
||||
Change this behavior with C<DontStopForErrors()>.
|
||||
Re-enable it with C<StopForErrors()>.
|
||||
|
||||
=cut
|
||||
|
||||
sub StopForErrors()
|
||||
{
|
||||
$stop_on_1st_error = 1;
|
||||
|
||||
# Can't stop for errors unless we notice them.
|
||||
# Can't notice them unless we are logging.
|
||||
# If the user didn't explicitly request logging, log to a temporary file.
|
||||
|
||||
if ( ! $recent_errors_file )
|
||||
{
|
||||
OpenErrorLog("${TMPDIR}BuildResults");
|
||||
}
|
||||
}
|
||||
|
||||
sub DontStopForErrors()
|
||||
{
|
||||
$stop_on_1st_error = 0;
|
||||
}
|
||||
|
||||
sub log_message($)
|
||||
{
|
||||
if ( $logging )
|
||||
{
|
||||
my ($message) = @_;
|
||||
print ERROR_LOG $message;
|
||||
}
|
||||
}
|
||||
|
||||
sub log_message_with_time($)
|
||||
{
|
||||
if ( $logging )
|
||||
{
|
||||
my ($message) = @_;
|
||||
my $time_stamp = localtime();
|
||||
log_message("$message ($time_stamp)\n");
|
||||
}
|
||||
}
|
||||
|
||||
sub log_recent_errors($)
|
||||
{
|
||||
my ($project_name) = @_;
|
||||
my $found_errors = 0;
|
||||
|
||||
if ( $logging )
|
||||
{
|
||||
open(RECENT_ERRORS, "<$recent_errors_file");
|
||||
|
||||
while( <RECENT_ERRORS> )
|
||||
{
|
||||
if ( /^Error/ || /^CouldnÕt find project file/ || /^Link Error/ )
|
||||
{
|
||||
# if (!$found_errors)
|
||||
# print $_;
|
||||
$found_errors = 1;
|
||||
}
|
||||
print ERROR_LOG $_;
|
||||
}
|
||||
|
||||
close(RECENT_ERRORS);
|
||||
unlink("$recent_errors_file");
|
||||
}
|
||||
|
||||
if ( $stop_on_1st_error && $found_errors )
|
||||
{
|
||||
print ERROR_LOG "### Build failed.\n";
|
||||
die "### Errors encountered building \"$project_name\".\n";
|
||||
}
|
||||
}
|
||||
|
||||
sub build_project($$$)
|
||||
{
|
||||
my ($project_path, $target_name, $clean_build) = @_;
|
||||
$project_path = full_path_to($project_path);
|
||||
|
||||
# $project_path =~ m/.+:(.+)/;
|
||||
# my $project_name = $1;
|
||||
|
||||
log_message_with_time("### Building \"$project_path\"");
|
||||
|
||||
# Check that the given project exists
|
||||
if (! -e $project_path)
|
||||
{
|
||||
print ERROR_LOG "### Build failed.\n";
|
||||
die "### Can't find project file \"$project_path\".\n";
|
||||
}
|
||||
|
||||
print "Building \"$project_path\[$target_name\]\"\n";
|
||||
|
||||
$had_errors = CodeWarriorLib::build_project(
|
||||
$project_path, $target_name, $recent_errors_file, $clean_build
|
||||
);
|
||||
WaitNextEvent();
|
||||
|
||||
# $had_errors =
|
||||
#MacPerl::DoAppleScript(<<END_OF_APPLESCRIPT);
|
||||
# tell (load script file "$CodeWarriorLib") to BuildProject("$project_path", "$project_name", "$target_name", "$recent_errors_file", $clean_build)
|
||||
#END_OF_APPLESCRIPT
|
||||
|
||||
# Append any errors to the globally accumulated log file
|
||||
# if ( $had_errors ) # Removed this test, because we want warnings, too. -- jrm
|
||||
{
|
||||
log_recent_errors($project_path);
|
||||
}
|
||||
}
|
||||
|
||||
=head2 Getting CodeWarrior to build projects - C<BuildProject($project, $opt_target)>, C<BuildProjectClean($project, $opt_target)>
|
||||
|
||||
C<BuildProject()> and C<BuildProjectClean()> are identical, except that the latter first removes object code.
|
||||
In both, CodeWarrior opens the project if it wasn't already open; builds the given (or else current) target; and finally closes
|
||||
the project, if it wasn't already open.
|
||||
|
||||
=cut
|
||||
|
||||
sub BuildProject($;$)
|
||||
{
|
||||
my ($project_path, $target_name) = @_;
|
||||
build_project($project_path, $target_name, 0);
|
||||
}
|
||||
|
||||
sub BuildProjectClean($;$)
|
||||
{
|
||||
my ($project_path, $target_name) = @_;
|
||||
build_project($project_path, $target_name, 1);
|
||||
}
|
||||
|
||||
|
||||
=head2 Miscellaneous
|
||||
|
||||
C<MakeAlias($old_file, $new_file)> functions like C<symlink()>, except with better argument defaulting and more explicit error messages.
|
||||
|
||||
=cut
|
||||
|
||||
sub MakeAlias($$)
|
||||
{
|
||||
my ($old_file, $new_file) = @_;
|
||||
|
||||
# if the directory to hold $new_file doesn't exist, create it
|
||||
if ( ($new_file =~ m/(.+:)/) && !-d $1 )
|
||||
{
|
||||
mkpath($1);
|
||||
}
|
||||
|
||||
# if a leaf name wasn't specified for $new_file, use the leaf from $old_file
|
||||
if ( ($new_file =~ m/:$/) && ($old_file =~ m/.+:(.+)/) )
|
||||
{
|
||||
$new_file .= $1;
|
||||
}
|
||||
|
||||
my $message = "Can't create a Finder alias (at \"$new_file\")\n for \"$old_file\"; because ";
|
||||
|
||||
die "$message \"$old_file\" doesn't exist.\n" unless -e $old_file;
|
||||
die "$message I won't replace an existing (non-alias) file with an alias.\n" if ( -e $new_file && ! -l $new_file );
|
||||
|
||||
# now: $old_file exists; $new_file doesn't (or else, is an alias already)
|
||||
|
||||
if ( -l $new_file )
|
||||
{
|
||||
# ...then see if it already points to $old_file
|
||||
my $current_target = full_path_to(readlink($new_file));
|
||||
my $new_target = full_path_to($old_file);
|
||||
|
||||
return if ( $current_target eq $new_target );
|
||||
# if the desired alias already exists and points to the right thing, then we're done
|
||||
|
||||
unlink $new_file;
|
||||
}
|
||||
|
||||
symlink($old_file, $new_file) || die "$message symlink returned an unexpected error.\n";
|
||||
}
|
||||
|
||||
|
||||
=pod
|
||||
|
||||
C<InstallFromManifest()>
|
||||
|
||||
=cut
|
||||
|
||||
sub InstallFromManifest($;$$)
|
||||
{
|
||||
my ($manifest_file, $dest_dir, $flat) = @_;
|
||||
|
||||
$flat = 0 unless defined($flat); # if $flat, all rel. paths in MANIFEST get aliased to the root of $dest_dir
|
||||
|
||||
$dest_dir ||= ":";
|
||||
|
||||
$manifest_file =~ m/(.+):/;
|
||||
my $source_dir = $1;
|
||||
|
||||
chop($dest_dir) if $dest_dir =~ m/:$/;
|
||||
|
||||
#Mac::Events->import();
|
||||
WaitNextEvent();
|
||||
if ($flat)
|
||||
{
|
||||
print "Doing manifest on \"$manifest_file\" FLAT\n" unless $QUIET;
|
||||
}
|
||||
else
|
||||
{
|
||||
print "Doing manifest on \"$manifest_file\"\n" unless $QUIET;
|
||||
}
|
||||
|
||||
my $read = maniread(full_path_to($manifest_file));
|
||||
foreach $file (keys %$read)
|
||||
{
|
||||
next unless $file;
|
||||
|
||||
$subdir = ":";
|
||||
if (!$flat && ($file =~ /:.+:/ ))
|
||||
{
|
||||
$subdir = $&;
|
||||
}
|
||||
|
||||
$file = ":$file" unless $file =~ m/^:/;
|
||||
MakeAlias("$source_dir$file", "$dest_dir$subdir");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
=pod
|
||||
|
||||
C<InstallResources()>
|
||||
|
||||
=cut
|
||||
|
||||
# parameters are path to MANIFEST file, destination dir, true (to make copies) or false (to make aliases)
|
||||
sub InstallResources($;$;$)
|
||||
{
|
||||
my ($manifest_file, $dest_dir, $copy_files) = @_;
|
||||
|
||||
$dest_dir ||= ":";
|
||||
mkpath($dest_dir) if !-d $dest_dir;
|
||||
|
||||
$manifest_file =~ m/(.+):/;
|
||||
my $source_dir = $1;
|
||||
|
||||
chop($dest_dir) if $dest_dir =~ m/:$/;
|
||||
|
||||
WaitNextEvent();
|
||||
print "Installing resources from \"$manifest_file\"\n" unless $QUIET;
|
||||
|
||||
my $read = maniread(full_path_to($manifest_file));
|
||||
foreach $file (keys %$read)
|
||||
{
|
||||
next unless $file;
|
||||
|
||||
if ($copy_files)
|
||||
{
|
||||
copy("$source_dir:$file", "$dest_dir:$file");
|
||||
}
|
||||
else
|
||||
{
|
||||
MakeAlias("$source_dir:$file", "$dest_dir:$file");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
sub SetBuildNumber
|
||||
{
|
||||
|
||||
open (OUTPUT, ">:mozilla:config:build_number") || die "could not open buildnumber";
|
||||
|
||||
open (BDATE, "perl :mozilla:config:bdate.pl|");
|
||||
|
||||
while (<BDATE>) {
|
||||
print OUTPUT $_;
|
||||
}
|
||||
|
||||
close (BDATE);
|
||||
close (OUTPUT);
|
||||
|
||||
|
||||
|
||||
system ("perl :mozilla:config:aboutime.pl :mozilla:xpfe:appshell:public:nsBuildID.h :mozilla:config:build_number");
|
||||
system ("perl :mozilla:config:aboutime.pl :mozilla:xpfe:browser:resources:locale:en-US:navigator.dtd :mozilla:config:build_number");
|
||||
system ("perl :mozilla:config:aboutime.pl :mozilla:xpfe:browser:resources:content:viewSource.xul :mozilla:config:build_number");
|
||||
}
|
||||
|
||||
sub SetAgentString
|
||||
{
|
||||
|
||||
open (BDATE, ":mozilla:config:build_number") || die "could not open buildnumber";
|
||||
|
||||
while (<BDATE>) {
|
||||
$build_number = $_;
|
||||
}
|
||||
|
||||
close (BDATE);
|
||||
|
||||
open (ORIGFILE, ":mozilla:cmd:macfe:restext:custom.r") || die "no original file";
|
||||
open (OUTPUT, ">:mozilla:cmd:macfe:restext:agent.r") || die "no output file";
|
||||
|
||||
chop($build_number);
|
||||
|
||||
while (<ORIGFILE>) {
|
||||
|
||||
$tempstring = $_;
|
||||
if ($tempstring =~ "\#define VERSION_MAJOR_STR") {
|
||||
$tempstring = "\#define VERSION_MAJOR_STR \"5.0a1-" . $build_number . " Development\"\n";
|
||||
}
|
||||
print OUTPUT $tempstring;
|
||||
}
|
||||
|
||||
close (ORIGFILE);
|
||||
close (OUTPUT);
|
||||
|
||||
unlink (":mozilla:cmd:macfe:restext:custom.r");
|
||||
rename (":mozilla:cmd:macfe:restext:agent.r", ":mozilla:cmd:macfe:restext:custom.r");
|
||||
}
|
||||
|
||||
sub SetTimeBomb($$)
|
||||
|
||||
{
|
||||
my ($warn_days, $bomb_days) = @_;
|
||||
|
||||
system("perl :mozilla:config:mac-set-timebomb.pl $warn_days $bomb_days");
|
||||
|
||||
}
|
||||
|
||||
sub Delay($)
|
||||
|
||||
{
|
||||
my ($delay_seconds) = @_;
|
||||
|
||||
$now = time;
|
||||
|
||||
$exit_time = $now + $delay_seconds;
|
||||
|
||||
while ($exit_time > $now) {
|
||||
$now = time;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
sub ActivateApplication($)
|
||||
{
|
||||
my ($appSignature) = @_;
|
||||
my ($psi, $found);
|
||||
my ($appPSN);
|
||||
|
||||
$found = 0;
|
||||
|
||||
foreach $psi (values(%Process))
|
||||
{
|
||||
if ($psi->processSignature() eq $appSignature)
|
||||
{
|
||||
$appPSN = $psi->processNumber();
|
||||
$found = 1;
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
if ($found == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
SetFrontProcess($appPSN);
|
||||
|
||||
while (GetFrontProcess() != $appPSN)
|
||||
{
|
||||
WaitNextEvent();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
=head1 AUTHORS
|
||||
|
||||
Scott Collins <scc@netscape.com>, Simon Fraser <sfraser@netscape.com>, Chris Yeh <cyeh@netscape.com>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
BuildMozillaDebug.pl (et al), BuildList.pm, CodeWarriorLib (an AppleScript library)
|
||||
|
||||
=head1 COPYRIGHT
|
||||
|
||||
The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
||||
=cut
|
||||
104
mozilla/build/mac/MozJar.pm
Normal file
104
mozilla/build/mac/MozJar.pm
Normal file
@@ -0,0 +1,104 @@
|
||||
#!perl -w
|
||||
package MozJar;
|
||||
|
||||
require 5.004;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
B<MozJar> - Routines for creating and managing jar files in MacPerl.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
use MozJar;
|
||||
|
||||
CreateJarFile("$chrome_dir:communicator", "$chrome_dir:communicator.jar");
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
B<MozJar> is a utility module that uses Archive::Zip (which in turn requires
|
||||
Compress::Zlib) to create jar files.
|
||||
|
||||
=cut
|
||||
use strict;
|
||||
use Archive::Zip;
|
||||
|
||||
use vars qw( @ISA @EXPORT );
|
||||
|
||||
@ISA = qw(Exporter);
|
||||
@EXPORT = qw(CreateJarFile);
|
||||
|
||||
|
||||
sub _addDirToJar($$$$)
|
||||
{
|
||||
my($dir, $jar_root, $zip, $compress) = @_;
|
||||
|
||||
opendir(DIR, $dir) or die "Cannot open dir $dir\n";
|
||||
my @files = readdir(DIR);
|
||||
closedir DIR;
|
||||
|
||||
my $unix_jar_root = $jar_root;
|
||||
$unix_jar_root =~ s|:|/|g; # colon to slash conversion
|
||||
|
||||
my $file;
|
||||
|
||||
foreach $file (@files)
|
||||
{
|
||||
my $filepath = $dir.":".$file;
|
||||
|
||||
if (-d $filepath)
|
||||
{
|
||||
print "Adding files to jar from $filepath\n";
|
||||
_addDirToJar($filepath, $jar_root, $zip, $compress);
|
||||
}
|
||||
else
|
||||
{
|
||||
my $member = Archive::Zip::Member->newFromFile($filepath);
|
||||
die "Failed to create zip file member $filepath\n" unless $member;
|
||||
|
||||
my $unixName = $filepath;
|
||||
$unixName =~ s|:|/|g; # colon to slash conversion
|
||||
$unixName =~ s|^$unix_jar_root||; # relativise
|
||||
|
||||
$member->fileName($unixName);
|
||||
|
||||
# print "Adding $file as $unixName\n";
|
||||
|
||||
if ($compress) {
|
||||
$member->desiredCompressionMethod(Archive::Zip::COMPRESSION_DEFLATED);
|
||||
} else {
|
||||
$member->desiredCompressionMethod(Archive::Zip::COMPRESSION_STORED);
|
||||
}
|
||||
|
||||
$zip->addMember($member);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
=head2 Creating jar files - C<CreateJarFile($srcdir, $jarpath, $compress)>
|
||||
|
||||
Call C<CreateJarFile()> to make a new jar file at the location specified by
|
||||
C<$jarpath>, into which will be stored the files and directories under C<$srcdir>.
|
||||
|
||||
The file and directory paths inside the jar file are created relative to C<$srcdir>.
|
||||
|
||||
=cut
|
||||
|
||||
sub CreateJarFile($$)
|
||||
{
|
||||
my($srcdir, $jarpath, $compress) = @_;
|
||||
|
||||
my $zip = Archive::Zip->new();
|
||||
|
||||
_addDirToJar($srcdir, $srcdir, $zip, $compress);
|
||||
|
||||
print "Saving zip file...\n";
|
||||
my $status = $zip->writeToFileNamed($jarpath);
|
||||
if ($status == 0) {
|
||||
print "Zipping completed successfully\n";
|
||||
} else {
|
||||
print "Error saving zip file\n";
|
||||
}
|
||||
|
||||
# set the file type/creator to something reasonable
|
||||
MacPerl::SetFileInfo("ZIP ", "ZIP ", $jarpath);
|
||||
}
|
||||
2172
mozilla/build/mac/NGLayoutBuildList.pm
Normal file
2172
mozilla/build/mac/NGLayoutBuildList.pm
Normal file
File diff suppressed because it is too large
Load Diff
43
mozilla/build/mac/NSCrossProductDefines.h
Normal file
43
mozilla/build/mac/NSCrossProductDefines.h
Normal file
@@ -0,0 +1,43 @@
|
||||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
|
||||
#error "DonÕt use me!"
|
||||
|
||||
#define OLDROUTINELOCATIONS 0
|
||||
#define XP_MAC 1
|
||||
#define NSPR20 1
|
||||
#define _NO_FAST_STRING_INLINES_ 1
|
||||
#define HAVE_BOOLEAN 1
|
||||
#define NETSCAPE 1
|
||||
#define OTUNIXERRORS 1 /* We want OpenTransport error codes */
|
||||
|
||||
#define OJI 1
|
||||
|
||||
/*
|
||||
This compiles in heap dumping utilities and other good stuff
|
||||
for developers -- maybe we only want it in for a special SDK
|
||||
nspr/java runtime(?):
|
||||
*/
|
||||
#define DEVELOPER_DEBUG 1
|
||||
|
||||
#define MAX(_a,_b) ((_a) < (_b) ? (_b) : (_a))
|
||||
#define MIN(_a,_b) ((_a) < (_b) ? (_a) : (_b))
|
||||
54
mozilla/build/mac/PullNGlayout.pl
Normal file
54
mozilla/build/mac/PullNGlayout.pl
Normal file
@@ -0,0 +1,54 @@
|
||||
#!perl
|
||||
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
#
|
||||
# nglayout pull script
|
||||
#
|
||||
use Mac::Processes;
|
||||
use NGLayoutBuildList;
|
||||
use Cwd;
|
||||
use Moz;
|
||||
|
||||
# configuration variables
|
||||
$pull{all} = 1;
|
||||
$pull{moz} = 0;
|
||||
$pull{runtime} = 0;
|
||||
|
||||
if ($pull{all})
|
||||
{
|
||||
foreach $k (keys(%pull))
|
||||
{
|
||||
$pull{$k} = 1;
|
||||
}
|
||||
}
|
||||
|
||||
# you should not have to edit anything bellow
|
||||
|
||||
chdir("::::");
|
||||
|
||||
Moz::StopForErrors();
|
||||
#Moz::DontStopForErrors();
|
||||
|
||||
OpenErrorLog("NGLayoutPullLog");
|
||||
|
||||
Checkout();
|
||||
BIN
mozilla/build/mac/RunTSScript
Normal file
BIN
mozilla/build/mac/RunTSScript
Normal file
Binary file not shown.
4
mozilla/build/mac/test/README
Normal file
4
mozilla/build/mac/test/README
Normal file
@@ -0,0 +1,4 @@
|
||||
This directory is merely here to test the project editor server. It will go away after
|
||||
it is validated. For more information, see http://camelot.
|
||||
|
||||
Testing watchers.
|
||||
BIN
mozilla/build/mac/test/test.mcp
Normal file
BIN
mozilla/build/mac/test/test.mcp
Normal file
Binary file not shown.
1
mozilla/build/mac/test/test1.cpp
Normal file
1
mozilla/build/mac/test/test1.cpp
Normal file
@@ -0,0 +1 @@
|
||||
// test1.cpp
|
||||
1
mozilla/build/mac/test/test2.cpp
Normal file
1
mozilla/build/mac/test/test2.cpp
Normal file
@@ -0,0 +1 @@
|
||||
// test2.cpp
|
||||
BIN
mozilla/build/mac/test/test2.mcp
Normal file
BIN
mozilla/build/mac/test/test2.mcp
Normal file
Binary file not shown.
1
mozilla/build/mac/test/test3.cpp
Normal file
1
mozilla/build/mac/test/test3.cpp
Normal file
@@ -0,0 +1 @@
|
||||
// test2.cpp
|
||||
BIN
mozilla/build/mac/test/test3.mcp
Normal file
BIN
mozilla/build/mac/test/test3.mcp
Normal file
Binary file not shown.
BIN
mozilla/build/mac/test/test4.mcp
Normal file
BIN
mozilla/build/mac/test/test4.mcp
Normal file
Binary file not shown.
12
mozilla/build/mac/tools/BuildSystemInfo/BuildSystemInfo.cpp
Normal file
12
mozilla/build/mac/tools/BuildSystemInfo/BuildSystemInfo.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include <ConditionalMacros.h>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
FILE* file = fopen("BuildSystemInfo.pm", "w");
|
||||
if (file != NULL) {
|
||||
fprintf(file, "$UNIVERSAL_INTERFACES_VERSION=0x%04X;\n", UNIVERSAL_INTERFACES_VERSION);
|
||||
fclose(file);
|
||||
}
|
||||
}
|
||||
BIN
mozilla/build/mac/tools/BuildSystemInfo/BuildSystemInfo.mcp
Normal file
BIN
mozilla/build/mac/tools/BuildSystemInfo/BuildSystemInfo.mcp
Normal file
Binary file not shown.
156
mozilla/build/mac/tools/InstrumentationHelpers.h
Normal file
156
mozilla/build/mac/tools/InstrumentationHelpers.h
Normal file
@@ -0,0 +1,156 @@
|
||||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
||||
About this file
|
||||
---------------
|
||||
|
||||
This file contains some handy macros, and a stack-based class that makes
|
||||
instrumenting functions with Apple's Instrumentation SDK easier.
|
||||
|
||||
Instrumentation SDK
|
||||
-------------------
|
||||
|
||||
The Instrumentation SDK allows you to do code performance analysis,
|
||||
collecting time-based data, and other data by putting instrumentation
|
||||
points in your code, and running.
|
||||
|
||||
You can get the instrumentation SDK from:
|
||||
|
||||
ftp://ftp.apple.com/developer/Development_Kits/Instrumentation_SDK.hqx
|
||||
|
||||
To find out how to use the Instrumentation Toolkit, read the documentation
|
||||
that comes with the SDK. I'm not going to explain all that here.
|
||||
|
||||
Setting up your tree
|
||||
--------------------
|
||||
|
||||
After a clean build, make aliases to the following files from the SDK
|
||||
somewhere in dist (I usually throw them into dist:mac):
|
||||
|
||||
Instrumentation.h
|
||||
InstrumentationMacros.h
|
||||
InstrumentationLib
|
||||
|
||||
Make an alias to this file in the same place in dist:
|
||||
|
||||
InstrumentationHelpers.h
|
||||
|
||||
How to use
|
||||
----------
|
||||
|
||||
In C++ code, the following macros can be used thusly:
|
||||
|
||||
NS_IMETHODIMP nsBigThing::SlowFunction()
|
||||
{
|
||||
INST_TRACE("SomeLocationDescription"); // Descriptive label. Don't use :: here.
|
||||
|
||||
// code that might return anywhere.
|
||||
...
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Because the INST_TRACE macro makes a stack-based StInstrumentationLog,
|
||||
exit from the function will be traced wherever it occurs.
|
||||
|
||||
You will also need to add the "InstrumentationLib" stub library to the
|
||||
project.
|
||||
|
||||
Such instrumentation points will give you data for the
|
||||
'Trace Time Line Viewer' in the viewer. There are many other types
|
||||
of instrumentation data you can collect; see the docs in the SDK
|
||||
for more information.
|
||||
|
||||
Stalking the wild time sink
|
||||
---------------------------
|
||||
|
||||
Your general strategy when using the Instrumentation tools to
|
||||
track down performance problems should be to start at the high
|
||||
level, then drill down into subroutines. You want to avoid
|
||||
instrumenting routines that are called hundreds of thousands
|
||||
of times, because you'll end up with massive data files. Rather,
|
||||
instrument their calling routines to get a good sense of where
|
||||
the time goes.
|
||||
|
||||
This kind of performance analysis does not replace the more
|
||||
traditional profiling tools. Rather, it allows you to analyse
|
||||
performance problems in terms of behaviour and timing, rather
|
||||
than a simply overview of % of time spent in different routines.
|
||||
|
||||
*/
|
||||
|
||||
#include "InstrumentationMacros.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
/* Stack-based class to do logging */
|
||||
|
||||
class StInstrumentationLog
|
||||
{
|
||||
public:
|
||||
StInstrumentationLog(const char* traceName, InstTraceClassRef &ioTraceClassRef)
|
||||
{
|
||||
if (ioTraceClassRef == 0)
|
||||
{
|
||||
if (InstCreateTraceClass( kInstRootClassRef, traceName, 0, kInstEnableClassMask, &ioTraceClassRef) != noErr)
|
||||
{
|
||||
DebugStr("\pFailed to make instrumentation trace class");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
mTraceClassRef = ioTraceClassRef;
|
||||
mEventTag = InstCreateEventTag();
|
||||
InstLogTraceEvent(mTraceClassRef, mEventTag, kInstStartEvent);
|
||||
}
|
||||
|
||||
~StInstrumentationLog()
|
||||
{
|
||||
InstLogTraceEvent(mTraceClassRef, mEventTag, kInstEndEvent);
|
||||
}
|
||||
|
||||
void LogMiddleEvent()
|
||||
{
|
||||
InstLogTraceEvent(mTraceClassRef, mEventTag, kInstMiddleEvent);
|
||||
}
|
||||
|
||||
void LogMiddleEventWithData(const char* inFormatString, void* inEventData)
|
||||
{
|
||||
InstDataDescriptorRef dataDesc;
|
||||
InstCreateDataDescriptor(inFormatString, &dataDesc);
|
||||
InstLogTraceEventWithData(mTraceClassRef, mEventTag, kInstMiddleEvent, dataDesc, inEventData);
|
||||
InstDisposeDataDescriptor(dataDesc);
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
InstTraceClassRef mTraceClassRef;
|
||||
InstEventTag mEventTag;
|
||||
};
|
||||
|
||||
#define INST_TRACE(n) static InstTraceClassRef __sTrace = 0; StInstrumentationLog traceLog((n), __sTrace)
|
||||
#define INST_TRACE_MIDDLE do { traceLog.LogMiddleEvent(); } while(0)
|
||||
#define INST_TRACE_DATA(s, d) do { traceLog.LogMiddleEventWithData((s), (d)); } while (0)
|
||||
|
||||
#endif /* __cplusplus */
|
||||
5
mozilla/build/package/debian/TODO
Normal file
5
mozilla/build/package/debian/TODO
Normal file
@@ -0,0 +1,5 @@
|
||||
- Currently, we do a fairly conservative (--disable a lot) build; find
|
||||
out what works already.
|
||||
|
||||
- More libraries could be put in separate packages, like mailnews and
|
||||
editor are.
|
||||
279
mozilla/build/package/debian/changelog
Normal file
279
mozilla/build/package/debian/changelog
Normal file
@@ -0,0 +1,279 @@
|
||||
mozilla (19990716.M8-3) unstable; urgency=low
|
||||
|
||||
* Updated with build rules for the new mozilla-provided CVS directory.
|
||||
* Register as MIME-handler (Close Bug# 42206)
|
||||
|
||||
-- Brent A. Fulgham <bfulgham@debian.org> Tue, 3 Aug 1999 09:15:17 -0700
|
||||
|
||||
mozilla (19990716.M8-2) unstable; urgency=low
|
||||
|
||||
* Added fix for m68k in hashtable function (Res. Bug# 41267)
|
||||
* More robust /usr/bin/mozilla (Res. Bug# 41912)
|
||||
* Remove suggestion for obsolete x11amp (Res. Bug# 41181)
|
||||
|
||||
-- Brent A. Fulgham <bfulgham@debian.org> Tue, 27 Jul 1999 09:15:17 -0700
|
||||
|
||||
mozilla (19990716.M8-1) unstable; urgency=low
|
||||
|
||||
* This is SeaMonkey Milestone 8.
|
||||
|
||||
-- Brent A. Fulgham <bfulgham@debian.org> Thu, 22 Jul 1999 21:20:10 -0700
|
||||
|
||||
mozilla (19990624.M7-1) unstable; urgency=low
|
||||
|
||||
* This is SeaMonkey Milestone 7 !
|
||||
* Removed the so-called upstream changelog (fixes #39307 #39496 #40368).
|
||||
|
||||
* Retried building without the static libraries. It actually worked,
|
||||
after two Makefile.ins backports from M8 :)
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Sat, 3 Jul 1999 14:09:18 +0200
|
||||
|
||||
mozilla (19990529.M6-1) unstable; urgency=low
|
||||
|
||||
* This is SeaMonkey Milestone 6 !
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Mon, 31 May 1999 20:46:16 +0200
|
||||
|
||||
mozilla (19990527-1) unstable; urgency=low
|
||||
|
||||
* Another try, the previous one didn't build, stopped in xpidl/build/
|
||||
* Fresh tarball from the FTP site.
|
||||
* I'll give up with NO_STATIC_LIB for now, let's just make something.
|
||||
* First attempt on the editor exclusion (in mozilla-editor package).
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Fri, 28 May 1999 16:08:56 +0200
|
||||
|
||||
mozilla (19990526-1) unstable; urgency=low
|
||||
|
||||
* New one, this time with .orig.tar.gz cleaned up.
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Thu, 27 May 1999 19:31:13 +0200
|
||||
|
||||
mozilla (19990524-1) unstable; urgency=low
|
||||
|
||||
* Another new tree, probably the last before M6 releases. Maybe it'll
|
||||
even build, who knows? ;)
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Tue, 25 May 1999 16:11:57 +0200
|
||||
|
||||
mozilla (19990521-1) unstable; urgency=low
|
||||
|
||||
* Another try, more testing of --disable-static and some changes to
|
||||
the rules file. Applied some more recent patches from CVS.
|
||||
* Build NSPR with pthreads support.
|
||||
* Building on pandora (fast!), but it'll depend on glibc2.1 :(
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Sun, 23 May 1999 14:10:53 +0200
|
||||
|
||||
mozilla (19990518-1) unstable; urgency=low
|
||||
|
||||
* Bypassed the dangling symlinks with a "-" :(
|
||||
* Added some Conflicts/Replaces to libnspr to prevent clashes with the
|
||||
previous (unreleased) versions of it, 20 and 21.
|
||||
* Brent decided to split out mailnews from the main package, so it's
|
||||
now in mozilla-mailnews package. Quite a lot of changes to the rules
|
||||
and control file. Added appropriate Provides: because of that, so
|
||||
that's one less TODO item.
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Wed, 19 May 1999 04:10:07 -0700
|
||||
|
||||
mozilla (19990515-1) unstable; urgency=low
|
||||
|
||||
* Another try. Incorporated some changes as seen in M4's spec file
|
||||
that was used to build the RPM.
|
||||
* Fixed debian/control NSPR entries.
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Sun, 16 May 1999 05:30:39 -0700
|
||||
|
||||
mozilla (19990513-1) unstable; urgency=low
|
||||
|
||||
* Try, try again.
|
||||
|
||||
-- Brent A. Fulgham <bfulgham@debian.org> Thu, 13 May 1999 09:50:20 -0700
|
||||
|
||||
mozilla (19990510-1) unstable; urgency=low
|
||||
|
||||
* A possibly working build from the FTP site, since M5 didn't manage
|
||||
to build :(
|
||||
* NSPR renamed to libnspr3{-dev}, as one of the upstream people advised.
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Thu, 13 May 1999 05:08:24 -0700
|
||||
|
||||
mozilla (19990505.M5-1) unstable; urgency=low
|
||||
|
||||
* This is SeaMonkey Milestone 5 !
|
||||
* The previous M4 builds didn't work out. This was released on my
|
||||
birthday, so it could even work ;)
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Mon, 10 May 1999 00:27:47 -0700
|
||||
|
||||
mozilla (19990415.M4-2) unstable; urgency=low
|
||||
|
||||
* Let's try once again - the previous build was kinda fscked up...
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Sun, 9 May 1999 15:08:39 -0700
|
||||
|
||||
mozilla (19990415.M4-1) unstable; urgency=low
|
||||
|
||||
* This is SeaMonkey Milestone 4 !
|
||||
* Massive changes to debian/rules, now it actually works :o)
|
||||
+ builds in a subdirectory (yipee!)
|
||||
+ removes unneeded Makefiles
|
||||
+ installs a proper copyright file
|
||||
* NSPR renamed to libnspr21{-dev}, thought I'm not sure it is the
|
||||
real version... we still have to hardcode the dependency :(
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Tue, 4 May 1999 01:41:22 -0700
|
||||
|
||||
mozilla (19990410-1) unstable; urgency=low
|
||||
|
||||
* Let's try this snapshot from FTP... I modified the debian/rules file
|
||||
a bit.
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Sat, 10 Apr 1999 19:17:59 -0700
|
||||
|
||||
mozilla (19990402-1) unstable; urgency=low
|
||||
|
||||
* New CVS pull. First attempt at mail and editor support.
|
||||
|
||||
-- Brent A. Fulgham <bfulgham@debian.org> Fri, 2 Apr 1999 09:15:22 -0800
|
||||
|
||||
mozilla (19990331-1) unstable; urgency=low
|
||||
|
||||
* New build, using automated script to grab the latest stable
|
||||
branch from CVS.
|
||||
|
||||
-- Brent A. Fulgham <bfulgham@debian.org> Wed, 31 Mar 1999 14:58:40 -0800
|
||||
|
||||
mozilla (19990326-1) unstable; urgency=low
|
||||
|
||||
* Updated to fix library so-name and shlibdepends problem.
|
||||
* Current CVS pull
|
||||
* Double-double check that debugging is turned off.
|
||||
|
||||
-- Brent A. Fulgham <bfulgham@debian.org> Fri, 26 Mar 1999 09:31:45 -0800
|
||||
|
||||
mozilla (19990325-1) unstable; urgency=low
|
||||
|
||||
* Updated for fix to (hopefully) stop segfault problem.
|
||||
|
||||
-- Brent A. Fulgham <bfulgham@debian.org> Thu, 25 Mar 1999 12:58:18 -0800
|
||||
|
||||
mozilla (19990323-1) unstable; urgency=low
|
||||
|
||||
* This is a test release using CVS snapshots
|
||||
* Continuing to use Ray's debian/ dir (thanks again!).
|
||||
* Change moz-wrapper to use "apprunner" instead of the viewer (viewer is just
|
||||
a test application.
|
||||
* Whoo-hoo -- it's running!
|
||||
|
||||
-- Brent A. Fulgham <bfulgham@debian.org> Tue, 23 Mar 1999 14:25:07 -0800
|
||||
|
||||
mozilla (19990317-1) unstable; urgency=low
|
||||
|
||||
* This is a test release done just to get things moving.
|
||||
* Built on va from a snapshot, using Ray's debian/ dir (thanks!).
|
||||
|
||||
-- Josip Rodin <jrodin@jagor.srce.hr> Sun, 21 Mar 1999 15:37:16 -0800
|
||||
|
||||
mozilla (19981211-0.1) unstable; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* UNFINISHED. TODO:
|
||||
* Check we're not compiling -DDEVELOPER_DEBUG.
|
||||
* Ensure nsprpub/config/UNIX.mk doesn't get a hardwired x86 reference.
|
||||
* Remove the ?widgets/src/gdk/depend.mk? as part of clean.
|
||||
* Remove the autogenerated files of htmlparser/src.
|
||||
* ~/.mozilla -> ~/.netscape fixes bug #?????.
|
||||
* Non-maintainer upload.
|
||||
* New upstream tarball:
|
||||
* Includes glibc2.1 patches.
|
||||
* Configuration dir is now ~/.mozilla rather than ~/.netscape.
|
||||
* Default widget set has switched from Motif to Gtk. The Gtk version
|
||||
needed is newer than the one in frozen, so this for unstable only.
|
||||
* Moved libnspr into packages of its own (as non-mozilla software like
|
||||
Japhar uses it) and made mozilla depend on the runtime library package.
|
||||
* Removed YAFHintel (thanks to John Goerzen for reminding me).
|
||||
* [nsprpub/config/rules.mk] Use standard naming of shared library files
|
||||
and SONAMEs.
|
||||
* Make sure mozilla gets linked against the system libjpeg, libpng,
|
||||
libz and libxmltok1 (Fixes #30306).
|
||||
|
||||
-- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Sun, 10 Jan 1999 20:02:19 +0100
|
||||
|
||||
mozilla (19981008-0.1) frozen unstable; urgency=low
|
||||
|
||||
* Non-maintainer upload.
|
||||
* New upstream tarball.
|
||||
* Adapted build process to it (nspr doesn't use autoconf and needs to be
|
||||
built before the regular autoconf build).
|
||||
* Built with fixed libc6 (and other fixed libs), so it works again.
|
||||
* Updated Standards-Version.
|
||||
* [config/Linux.mk] Added EXTRA_DSO_LDOPTS = -lc to add dependency
|
||||
information to the shared libraries generated.
|
||||
* [nsprlib/config/Linux.mk] Added OS_LIBS = -lc to add dependency
|
||||
information to the shared libraries generated.
|
||||
|
||||
-- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Sat, 28 Nov 1998 18:29:06 +0100
|
||||
|
||||
mozilla (19980904-1) unstable; urgency=low
|
||||
|
||||
* Non-maintainer upload: this package has been orphaned.
|
||||
* Used latest snapshot tarball; as no real mozilla releases have been made
|
||||
so far, we use the snapshot date for the version number.
|
||||
* Previous versions were accidentally built as "Debian only" source.
|
||||
* Updated Standards-Version.
|
||||
* Adapted to current mozilla source organisation and build process.
|
||||
* LessTif version, so mozilla can go in main.
|
||||
* Improved package relationships:
|
||||
* Added Provides: www-browser .
|
||||
* Added Recommends: mime-support .
|
||||
* Added Suggest dependency for postscript-viewer, pdf-viewer, images
|
||||
formats viewers, video formats viewers and audio formats players.
|
||||
* Added mozilla(1) -> unknown(7) manpage symlink.
|
||||
|
||||
-- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Thu, 10 Sep 1998 21:58:26 +0200
|
||||
|
||||
mozilla (5.0b1-2) unstable; urgency=low
|
||||
|
||||
* Made mozilla-smotif and mozilla-dmotif conflict with and replace each
|
||||
other; both now provide mozilla, so that we can cope with a lesstif
|
||||
version when there is one.
|
||||
* Put packages in contrib and added a README.contrib-only file to explain
|
||||
why.
|
||||
* Tweaked ns/cmd/xfe/Makefile to force a build of the dynamic Motif version.
|
||||
My previous change to this had made both versions dynamically linked to
|
||||
Motif. With no change at all, both versions were statically linked.
|
||||
|
||||
-- Oliver Elphick <Oliver.Elphick@lfix.co.uk> Wed, 8 Apr 1998 13:17:10 +0100
|
||||
|
||||
mozilla (5.0b1-1) unstable; urgency=low
|
||||
|
||||
* Linked with Motif 2.1 and libc6
|
||||
* Modified ns/cmd/xfe/Makefile to force it to build a version dynamically
|
||||
linked to Motif.
|
||||
* Created -smotif and -dmotif packages.
|
||||
* New Maintainer
|
||||
|
||||
-- Oliver Elphick <Oliver.Elphick@lfix.co.uk> Tue, 7 Apr 1998 11:25:16 +0100
|
||||
|
||||
mozilla (5.0b1-0.0) unstable; urgency=low
|
||||
|
||||
* First release.
|
||||
* I don't intend to maintain this package becuase:
|
||||
1. I don't have a libc6 motif (this is built with a libc5 motif, though
|
||||
the package only depends on libc6 and it works ok). Ideally, the
|
||||
maintainer should have libc6 motif.
|
||||
2. I don't have enough disk space, cpu time, bandwidth, or free time to
|
||||
maintain it.
|
||||
So this is just a quickie to get the package out. Somebody else should
|
||||
take it from here.
|
||||
* Applied some minor fixes to make it work. In particular, cmd/xfe/foo.c
|
||||
is a nasty hack to define a symbol that my motif libs needed.
|
||||
|
||||
-- Joey Hess <joeyh@master.debian.org> Tue, 31 Mar 1998 16:43:55 -0800
|
||||
|
||||
Local variables:
|
||||
mode: debian-changelog
|
||||
End:
|
||||
101
mozilla/build/package/debian/control
Normal file
101
mozilla/build/package/debian/control
Normal file
@@ -0,0 +1,101 @@
|
||||
Source: mozilla
|
||||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Debian Mozilla maintainers <mozilla@packages.debian.org>
|
||||
Standards-Version: 2.5.1
|
||||
|
||||
Package: mozilla
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, libnspr3
|
||||
Recommends: mime-support
|
||||
Suggests: postscript-viewer, pdf-viewer, eeyes | imagemagick | netpbm | xli | xloadimage | xv, xanim | ucbmpeg-play, freeamp | amp | splay | maplay | mpg123 | xmms
|
||||
Conflicts: mozilla-dmotif, mozilla-smotif
|
||||
Replaces: mozilla-dmotif, mozilla-smotif
|
||||
Provides: www-browser
|
||||
Description: An Open Source WWW browser for X and GTK+
|
||||
Mozilla is a sophisticated graphical World-Wide-Web browser, with large
|
||||
number of various browser features like support for HTML 4.0, CSS 2,
|
||||
JavaScript and Java. Of course, besides the network option, it can also
|
||||
be used as a standalone HTML viewer.
|
||||
.
|
||||
Mozilla is based on part of the codebase of the well known "netscape"
|
||||
("communicator" or "navigator") browser. It was opened up to the Open
|
||||
Source (TM) community by Netscape Communications under a new NPL licence.
|
||||
.
|
||||
See the website http://www.mozilla.org/ for more information on the
|
||||
development of mozilla.
|
||||
|
||||
Package: mozilla-mailnews
|
||||
Architecture: any
|
||||
Depends: mozilla (= ${Source-Version}), libnspr3
|
||||
Recommends: mime-support
|
||||
Suggests: mail-transport-agent
|
||||
Provides: mail-reader, imap-client, news-reader
|
||||
Description: An Open Source WWW browser for X and GTK+, mail and news files
|
||||
Mozilla is a sophisticated graphical World-Wide-Web browser, with large
|
||||
number of various browser features like support for HTML 4.0, CSS 2,
|
||||
JavaScript and Java. Of course, besides the network option, it can also
|
||||
be used as a standalone HTML viewer.
|
||||
.
|
||||
Mozilla is based on part of the codebase of the well known "netscape"
|
||||
("communicator" or "navigator") browser. It was opened up to the Open
|
||||
Source (TM) community by Netscape Communications under a new NPL licence.
|
||||
.
|
||||
See the website http://www.mozilla.org/ for more information on the
|
||||
development of mozilla.
|
||||
|
||||
Package: mozilla-editor
|
||||
Architecture: any
|
||||
Depends: mozilla (= ${Source-Version}), libnspr3
|
||||
Suggests: httpd
|
||||
Description: An Open Source WWW browser for X and GTK+, editor files
|
||||
Mozilla is a sophisticated graphical World-Wide-Web browser, with large
|
||||
number of various browser features like support for HTML 4.0, CSS 2,
|
||||
JavaScript and Java. Of course, besides the network option, it can also
|
||||
be used as a standalone HTML viewer.
|
||||
.
|
||||
Mozilla is based on part of the codebase of the well known "netscape"
|
||||
("communicator" or "navigator") browser. It was opened up to the Open
|
||||
Source (TM) community by Netscape Communications under a new NPL licence.
|
||||
.
|
||||
See the website http://www.mozilla.org/ for more information on the
|
||||
development of mozilla.
|
||||
|
||||
Package: libnspr3
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Conflicts: libnspr20, libnspr21
|
||||
Replaces: libnspr20, libnspr21
|
||||
Description: Netscape Portable Runtime library
|
||||
This library provides platform independent non-GUI operating system
|
||||
facilities including:
|
||||
* threads,
|
||||
* thread synchronisation,
|
||||
* normal file I/O and network I/O,
|
||||
* interval timing and calender time,
|
||||
* basic memory management (malloc and free),
|
||||
* shared library linking.
|
||||
.
|
||||
See http://www.mozilla.org/docs/refList/refNSPR/ for more information.
|
||||
|
||||
Package: libnspr3-dev
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Depends: libc6-dev, xlib6g-dev, libnspr3 (= ${Source-Version})
|
||||
Conflicts: libnspr20-dev, libnspr21-dev
|
||||
Replaces: libnspr20-dev, libnspr21-dev
|
||||
Description: Netscape Portable Runtime library - development files
|
||||
NSPR provides platform independence for non-GUI operating system
|
||||
facilities including:
|
||||
* threads,
|
||||
* thread synchronisation,
|
||||
* normal file I/O and network I/O,
|
||||
* interval timing and calender time,
|
||||
* basic memory management (malloc and free),
|
||||
* shared library linking.
|
||||
.
|
||||
See http://www.mozilla.org/docs/refList/refNSPR/ for more information.
|
||||
.
|
||||
You need this package to get includes and static libraries for building
|
||||
programs linked to NSPR.
|
||||
13
mozilla/build/package/debian/copyright.short
Normal file
13
mozilla/build/package/debian/copyright.short
Normal file
@@ -0,0 +1,13 @@
|
||||
This package was originally put together by Joey Hess <joeyh@debian.org>.
|
||||
People who contributed were: Oliver Elphick, J.H.M. Dassen (Ray),
|
||||
Josip Rodin, Brent Fulgham.
|
||||
|
||||
Today, package is maintained by the maintenance team which consists
|
||||
of Josip Rodin and Brent Fulgham, at <mozilla@packages.debian.org>.
|
||||
|
||||
Original source can be found at:
|
||||
ftp://ftp.mozilla.org/pub/mozilla/releases/
|
||||
ftp://ftp.mozilla.org/pub/mozilla/nightly/
|
||||
|
||||
The following copyright (from ../LICENCE) applies to this package:
|
||||
|
||||
5
mozilla/build/package/debian/files
Normal file
5
mozilla/build/package/debian/files
Normal file
@@ -0,0 +1,5 @@
|
||||
mozilla_19990716.M8-3_i386.deb net optional
|
||||
mozilla-mailnews_19990716.M8-3_i386.deb net optional
|
||||
mozilla-editor_19990716.M8-3_i386.deb net optional
|
||||
libnspr3_19990716.M8-3_i386.deb libs optional
|
||||
libnspr3-dev_19990716.M8-3_i386.deb libs optional
|
||||
4
mozilla/build/package/debian/libnspr3-dev.dirs
Normal file
4
mozilla/build/package/debian/libnspr3-dev.dirs
Normal file
@@ -0,0 +1,4 @@
|
||||
usr/lib
|
||||
usr/include/nspr
|
||||
usr/doc
|
||||
|
||||
2
mozilla/build/package/debian/libnspr3.dirs
Normal file
2
mozilla/build/package/debian/libnspr3.dirs
Normal file
@@ -0,0 +1,2 @@
|
||||
usr/lib
|
||||
usr/doc
|
||||
6
mozilla/build/package/debian/libnspr3.postinst
Normal file
6
mozilla/build/package/debian/libnspr3.postinst
Normal file
@@ -0,0 +1,6 @@
|
||||
#! /bin/sh
|
||||
set -e
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
ldconfig
|
||||
fi
|
||||
3
mozilla/build/package/debian/libnspr3.shlibs
Normal file
3
mozilla/build/package/debian/libnspr3.shlibs
Normal file
@@ -0,0 +1,3 @@
|
||||
libnspr3 libnspr3
|
||||
libplc3 libnspr3
|
||||
libplds3 libnspr3
|
||||
1
mozilla/build/package/debian/libnspr3.substvars
Normal file
1
mozilla/build/package/debian/libnspr3.substvars
Normal file
@@ -0,0 +1 @@
|
||||
shlibs:Depends=libc6 (>= 2.1)
|
||||
2
mozilla/build/package/debian/menu
Normal file
2
mozilla/build/package/debian/menu
Normal file
@@ -0,0 +1,2 @@
|
||||
?package(mozilla):needs="x11" section="Apps/Net" \
|
||||
title="Mozilla Navigator" command="mozilla"
|
||||
4
mozilla/build/package/debian/mozilla-editor.dirs
Normal file
4
mozilla/build/package/debian/mozilla-editor.dirs
Normal file
@@ -0,0 +1,4 @@
|
||||
usr/lib/mozilla
|
||||
usr/lib/mozilla/components
|
||||
usr/lib/mozilla/chrome/editor
|
||||
usr/doc
|
||||
2
mozilla/build/package/debian/mozilla-editor.files
Normal file
2
mozilla/build/package/debian/mozilla-editor.files
Normal file
@@ -0,0 +1,2 @@
|
||||
usr/lib/mozilla/components/libeditor.so
|
||||
usr/lib/mozilla/chrome/editor
|
||||
1
mozilla/build/package/debian/mozilla-editor.substvars
Normal file
1
mozilla/build/package/debian/mozilla-editor.substvars
Normal file
@@ -0,0 +1 @@
|
||||
shlibs:Depends=libc6 (>= 2.1), libstdc++2.9-glibc2.1
|
||||
9
mozilla/build/package/debian/mozilla-mailnews.dirs
Normal file
9
mozilla/build/package/debian/mozilla-mailnews.dirs
Normal file
@@ -0,0 +1,9 @@
|
||||
usr/lib/mozilla
|
||||
usr/lib/mozilla/chrome
|
||||
usr/lib/mozilla/chrome/addressbook
|
||||
usr/lib/mozilla/chrome/messenger
|
||||
usr/lib/mozilla/chrome/messengercompose
|
||||
usr/lib/mozilla/components
|
||||
usr/lib/mozilla/res
|
||||
usr/lib/mozilla/res/mailnews
|
||||
usr/doc
|
||||
15
mozilla/build/package/debian/mozilla-mailnews.files
Normal file
15
mozilla/build/package/debian/mozilla-mailnews.files
Normal file
@@ -0,0 +1,15 @@
|
||||
usr/lib/mozilla/libmsgbaseutil.so
|
||||
usr/lib/mozilla/chrome/addressbook
|
||||
usr/lib/mozilla/chrome/messenger
|
||||
usr/lib/mozilla/chrome/messengercompose
|
||||
usr/lib/mozilla/components/addrbook.xpt
|
||||
usr/lib/mozilla/components/libaddrbook.so
|
||||
usr/lib/mozilla/components/liblocalmail.so
|
||||
usr/lib/mozilla/components/libmailnews.so
|
||||
usr/lib/mozilla/components/libmime*.so
|
||||
usr/lib/mozilla/components/libmork.so
|
||||
usr/lib/mozilla/components/libmsg*.so
|
||||
usr/lib/mozilla/components/libvcard.so
|
||||
usr/lib/mozilla/components/mailnews.xpt
|
||||
usr/lib/mozilla/components/msg*.xpt
|
||||
usr/lib/mozilla/res/mailnews
|
||||
1
mozilla/build/package/debian/mozilla-mailnews.substvars
Normal file
1
mozilla/build/package/debian/mozilla-mailnews.substvars
Normal file
@@ -0,0 +1 @@
|
||||
shlibs:Depends=libc6 (>= 2.1), libstdc++2.9-glibc2.1
|
||||
6
mozilla/build/package/debian/mozilla.dirs
Normal file
6
mozilla/build/package/debian/mozilla.dirs
Normal file
@@ -0,0 +1,6 @@
|
||||
usr/bin
|
||||
usr/lib/mozilla
|
||||
usr/lib/mozilla/chrome
|
||||
usr/lib/mozilla/components
|
||||
usr/lib/mozilla/res
|
||||
usr/doc/mozilla
|
||||
2
mozilla/build/package/debian/mozilla.mime
Normal file
2
mozilla/build/package/debian/mozilla.mime
Normal file
@@ -0,0 +1,2 @@
|
||||
text/html; /usr/bin/mozilla %s; description=HTML Text; nametemplate=%s.html; priority=3
|
||||
|
||||
6
mozilla/build/package/debian/postinst.debhelper
Normal file
6
mozilla/build/package/debian/postinst.debhelper
Normal file
@@ -0,0 +1,6 @@
|
||||
# Automatically added by dh_installmime
|
||||
if [ -x /usr/sbin/update-mime ]; then update-mime; fi
|
||||
# End automatically added section
|
||||
# Automatically added by dh_installmenu
|
||||
if test -x /usr/bin/update-menus ; then update-menus ; fi
|
||||
# End automatically added section
|
||||
6
mozilla/build/package/debian/postrm.debhelper
Normal file
6
mozilla/build/package/debian/postrm.debhelper
Normal file
@@ -0,0 +1,6 @@
|
||||
# Automatically added by dh_installmime
|
||||
if [ -x /usr/sbin/update-mime ]; then update-mime; fi
|
||||
# End automatically added section
|
||||
# Automatically added by dh_installmenu
|
||||
if test -x /usr/bin/update-menus ; then update-menus ; fi
|
||||
# End automatically added section
|
||||
117
mozilla/build/package/debian/rules
Executable file
117
mozilla/build/package/debian/rules
Executable file
@@ -0,0 +1,117 @@
|
||||
#!/usr/bin/make -f
|
||||
# Derived from debhelper/dh_make example.
|
||||
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# Set by configure (plus USE_AUTOCONF=1), but useful for NSPR
|
||||
export MOZILLA_CLIENT=1
|
||||
export BUILD_OPT=1
|
||||
export NO_STATIC_LIB=1
|
||||
# untested upstream - export USE_IPV6=$(shell cpp debian/testipv6 | sh -)
|
||||
export USE_PTHREADS=1
|
||||
|
||||
nspr = libnspr3
|
||||
nsprdev = libnspr3-dev
|
||||
mailnews = mozilla-mailnews
|
||||
editor = mozilla-editor
|
||||
TOP=..
|
||||
|
||||
build: build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
|
||||
test -d build-nspr || mkdir build-nspr
|
||||
test -s build-nspr/lib/$(nspr).so || $(MAKE) -C nsprpub DIST=`pwd`/build-nspr
|
||||
|
||||
test -d obj-`./build/autoconf/config.guess` || mkdir obj-`./build/autoconf/config.guess`
|
||||
cd obj-`./build/autoconf/config.guess` && \
|
||||
LD_LIBRARY_PATH=`cd ..;pwd`/build-nspr/lib \
|
||||
$(TOP)/configure --verbose --prefix=/usr \
|
||||
--disable-debug --disable-profile --disable-crypto \
|
||||
--disable-netcast --disable-java --disable-oji --disable-static \
|
||||
--disable-tests --disable-smart-mail --enable-mailnews \
|
||||
--enable-editor --enable-ldap --enable-optimize --with-pthreads \
|
||||
--with-jpeg=/usr/include --with-png=/usr/include \
|
||||
--with-zlib=/usr/include --with-nspr=`cd $(TOP);pwd`/build-nspr
|
||||
cd obj-`./build/autoconf/config.guess` && LD_LIBRARY_PATH=`cd $(TOP);pwd`/build-nspr/lib $(MAKE)
|
||||
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp install-stamp
|
||||
|
||||
-cd nsprpub ; $(MAKE) realclean
|
||||
rm -rf build-nspr obj-`./build/autoconf/config.guess`
|
||||
# find . -type f -name Makefile ! -path '*nsprpub*' | xargs -r rm
|
||||
|
||||
dh_clean
|
||||
|
||||
install: install-stamp
|
||||
install-stamp: build-stamp
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs -a
|
||||
|
||||
cp -pR build-nspr/lib/*.so* `pwd`/debian/$(nspr)/usr/lib
|
||||
cd `pwd`/debian/$(nspr)/usr/lib ; /sbin/ldconfig -n .
|
||||
# cd `pwd`/debian/$(nspr)/usr/lib ; for i in * ; do ln -s $$i $$i.0 ; done
|
||||
|
||||
cp -pR build-nspr/include/* `pwd`/debian/$(nsprdev)/usr/include/nspr
|
||||
cp -pR build-nspr/lib/*.a `pwd`/debian/$(nsprdev)/usr/lib
|
||||
|
||||
# this may fail, but who cares
|
||||
-cp -pR obj-`./build/autoconf/config.guess`/dist/bin/* `pwd`/debian/tmp/usr/lib/mozilla
|
||||
install -m 755 `pwd`/debian/runner `pwd`/debian/tmp/usr/bin/mozilla
|
||||
|
||||
# # Okay, lets move a bunch of mail-news stuff to its own place
|
||||
# Note: We have to cd and set sourcedir because the debian directory
|
||||
# now lives in mozilla/build/package and dh_movefiles won't work
|
||||
# across the symlink.
|
||||
cd `pwd`/build/package; \
|
||||
dh_movefiles --sourcedir=debian/tmp -a
|
||||
|
||||
touch install-stamp
|
||||
|
||||
binary-indep: build
|
||||
# We have nothing to do by default, no architecture-independent files here.
|
||||
|
||||
binary-arch: build install
|
||||
dh_testdir -a
|
||||
dh_testroot -a
|
||||
cd debian/ ; cat copyright.short > copyright
|
||||
cat LICENSE >> debian/copyright
|
||||
dh_installdocs -pmozilla LEGAL
|
||||
dh_installdocs -p$(nspr)
|
||||
dh_installmime -pmozilla
|
||||
rm debian/copyright
|
||||
# dh_installexamples `find -name '*.ad'`
|
||||
dh_installmenu -pmozilla
|
||||
# Running this is a baaad idea.
|
||||
# dh_installmanpages
|
||||
dh_undocumented -pmozilla mozilla.1
|
||||
dh_installchangelogs -pmozilla
|
||||
dh_installchangelogs -p$(nspr)
|
||||
cd `pwd`/debian/$(nsprdev)/usr/doc ; ln -s /usr/doc/$(nspr) ./$(nsprdev)
|
||||
cd `pwd`/debian/$(mailnews)/usr/doc ; ln -s /usr/doc/mozilla ./$(mailnews)
|
||||
cd `pwd`/debian/$(editor)/usr/doc ; ln -s /usr/doc/mozilla ./$(editor)
|
||||
dh_strip -a
|
||||
dh_compress -a
|
||||
dh_fixperms -a
|
||||
dh_installdeb -a
|
||||
cd debian ; cat $(nspr).shlibs > shlibs.local
|
||||
env LD_LIBRARY_PATH=`pwd`/debian/$(nspr)/usr/lib:`pwd`/debian/tmp/usr/lib/mozilla \
|
||||
dh_shlibdeps -pmozilla -plibnspr3 -p$(mailnews) -p$(editor)
|
||||
rm -f debian/shlibs.local
|
||||
dh_gencontrol -a
|
||||
dh_md5sums -a
|
||||
dh_builddeb -a
|
||||
|
||||
source diff:
|
||||
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
|
||||
.PHONY: build clean binary-indep binary-arch binary # quicktest make
|
||||
20
mozilla/build/package/debian/runner
Normal file
20
mozilla/build/package/debian/runner
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
# A simple script to start mozilla.
|
||||
|
||||
MOZILLA_DIR=/usr/lib/mozilla
|
||||
|
||||
# Check for a $HOME/.mozilla directory. If it doesn't exist, create a GOOD one
|
||||
if [ ! -d $HOME/.mozilla ]
|
||||
then
|
||||
cd $HOME
|
||||
mkdir .mozilla
|
||||
for file in $MOZILLA_DIR/*; do
|
||||
if [ `basename $file` != component.reg ]; then
|
||||
ln -s $file $HOME/.mozilla
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
export LD_LIBRARY_PATH=$MOZILLA_DIR MOZILLA_FIVE_HOME=$HOME/.mozilla
|
||||
|
||||
exec $MOZILLA_DIR/apprunner "$@"
|
||||
1
mozilla/build/package/debian/substvars
Normal file
1
mozilla/build/package/debian/substvars
Normal file
@@ -0,0 +1 @@
|
||||
shlibs:Depends=libc6 (>= 2.1), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.3-2), libjpeg62, libpng2, libstdc++2.9-glibc2.1, orbit (>= 0.4.3-1), xlib6g (>= 3.3.3.1-1), zlib1g (>= 1:1.1.3)
|
||||
8
mozilla/build/package/debian/testipv6
Normal file
8
mozilla/build/package/debian/testipv6
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <features.h>
|
||||
#if defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC__ + __GLIBC_MINOR__ >= 3)
|
||||
/* For IPv6 support, glibc2.1 or newer is required */
|
||||
echo 1
|
||||
#else
|
||||
/* Sorry, no IPv6 support */
|
||||
echo 0
|
||||
#endif
|
||||
252
mozilla/build/package/rpm/generate-package-info.sh
Executable file
252
mozilla/build/package/rpm/generate-package-info.sh
Executable file
@@ -0,0 +1,252 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
#
|
||||
|
||||
# The way this thing works:
|
||||
#
|
||||
# + A packages file is parsed. This file contains something
|
||||
# that looks like this (note that spaces are illegal):
|
||||
#
|
||||
# +----------------------------------------------
|
||||
# |nspr:nsprpub
|
||||
# |core:build,db,xpcom,intl,js,modules/libutil,modules/security/freenav,modules/libpref,modules/libimg,modules/libjar,caps
|
||||
# |network:netwerk
|
||||
# |layout:htmlparser,gfx,dom,view,widget/timer,widget,layout,webshell,editor,modules/plugin
|
||||
# |xpinstall:xpinstall
|
||||
# |profile:profile
|
||||
# |xptoolkit:xpfe,rdf
|
||||
# |cookie:extensions/cookie
|
||||
# |wallet:extensions/wallet
|
||||
# |mailnews:mailnews
|
||||
# +----------------------------------------------
|
||||
#
|
||||
# + For each package, a list of modules corresponding to that
|
||||
# package is parsed. Each modules corresponds to a
|
||||
# directory somewhere in a mozilla build tree - usually
|
||||
# the toplevel ones (ie, layout, nsprpub, xpcom) but not
|
||||
# always (ie, extensions/wallet)
|
||||
#
|
||||
# + For each module, print-module-filelist.sh is invoked.
|
||||
# The output of that is parsed and converted from the
|
||||
# crazy mozilla install hierarchy to something that
|
||||
# makes sense on a linux box.
|
||||
#
|
||||
# For example:
|
||||
#
|
||||
# bin/components/libraptorhtml.so
|
||||
#
|
||||
# becomes
|
||||
#
|
||||
# %{prefix}/lib/mozilla/components/libraptorhtml.so
|
||||
#
|
||||
# + Also, this script determines which files belong in
|
||||
# a devel package. For example, "include/*" and "idl/*"
|
||||
|
||||
name=generate-package-info.sh
|
||||
|
||||
if [ $# -lt 4 ]
|
||||
then
|
||||
echo
|
||||
echo "Usage: $name package-list module-list-dir outdir mozdir"
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
package_list=$1
|
||||
module_list_dir=$2
|
||||
outdir=$3
|
||||
mozdir=$4
|
||||
|
||||
if [ ! -f $package_list ]
|
||||
then
|
||||
echo
|
||||
echo "$name: Cant access package file $package_list."
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d $module_list_dir ]
|
||||
then
|
||||
echo
|
||||
echo "$name: Cant access module list dir $package_list."
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d $outdir ]
|
||||
then
|
||||
echo
|
||||
echo "$name: Cant access outdir $outdir."
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d $mozdir ]
|
||||
then
|
||||
echo
|
||||
echo "$name: Cant access mozdir $mozdir."
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -rf $outdir/*
|
||||
|
||||
packages=`cat $package_list | grep -v -e "^#.*$" | grep -v -e "^[ \t]*$"`
|
||||
|
||||
for p in $packages
|
||||
do
|
||||
package=`echo $p | awk -F":" '{ print $1; }'`
|
||||
|
||||
modules=`echo $p | awk -F":" '{ print $2; }' | tr "," " "`
|
||||
|
||||
file_list=$outdir/mozilla-$package-file-list.txt
|
||||
file_list_devel=$outdir/mozilla-$package-devel-file-list.txt
|
||||
|
||||
tmp_raw=/tmp/raw-list.$$.tmp
|
||||
|
||||
tmp_file_list=/tmp/file-list.$$.tmp
|
||||
tmp_file_list_devel=/tmp/file-list-devel.$$.tmp
|
||||
|
||||
tmp_dir_list=/tmp/dir-list.$$.tmp
|
||||
tmp_dir_list_devel=/tmp/dir-list-devel.$$.tmp
|
||||
|
||||
# echo "package=$package"
|
||||
# echo "modules=$modules"
|
||||
# echo "file_list=$file_list"
|
||||
# echo "file_list_devel=$file_list_devel"
|
||||
# echo "#################"
|
||||
|
||||
rm -f $tmp_raw $file_list $file_list_devel
|
||||
rm -f $tmp_file_list $tmp_file_list_devel
|
||||
rm -f $tmp_dir_list $tmp_dir_list_devel
|
||||
|
||||
touch $tmp_raw $file_list $file_list_devel
|
||||
touch $tmp_file_list $tmp_file_list_devel
|
||||
touch $tmp_dir_list $tmp_dir_list_devel
|
||||
|
||||
print_cmd=$mozdir/build/package/rpm/print-module-filelist.sh
|
||||
|
||||
here=`pwd`
|
||||
|
||||
# Write the raw file list
|
||||
for m in $modules
|
||||
do
|
||||
cd $mozdir/$m
|
||||
$print_cmd >> $tmp_raw
|
||||
done
|
||||
|
||||
cd $here
|
||||
|
||||
# Munge the raw list into the file list
|
||||
for i in `cat $tmp_raw`
|
||||
do
|
||||
prefix=`echo $i | awk -F"/" '{ print $1; }'`
|
||||
|
||||
case "$prefix"
|
||||
in
|
||||
# dirs
|
||||
DIR:*)
|
||||
dir=`echo $i | cut -b5-`
|
||||
|
||||
case "$dir"
|
||||
in
|
||||
include*)
|
||||
echo $dir >> $tmp_dir_list_devel
|
||||
;;
|
||||
|
||||
*)
|
||||
prefix2=`echo $dir | awk -F"/" '{ print $2; }'`
|
||||
|
||||
case "$prefix2"
|
||||
in
|
||||
# Cut out the "bin/" from these
|
||||
res|chrome|defaults)
|
||||
echo $dir | cut -b5- >> $tmp_dir_list
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
||||
##
|
||||
## XXX: This one needs to be smarter and catch more devel only
|
||||
## stuff. For example, the gecko viewer and all its resources
|
||||
## should go in the devel package. This would in turn make the
|
||||
## regular package smaller.
|
||||
##
|
||||
|
||||
# include, idl, lib
|
||||
include|idl|lib)
|
||||
echo $i >> $tmp_file_list_devel
|
||||
;;
|
||||
|
||||
# bin the evil
|
||||
bin)
|
||||
prefix2=`echo $i | awk -F"/" '{ print $2; }'`
|
||||
|
||||
case "$prefix2"
|
||||
in
|
||||
# Cut out the "bin/" from these
|
||||
components|res|chrome|defaults|netscape.cfg)
|
||||
echo $i | cut -b5- >> $tmp_file_list
|
||||
;;
|
||||
|
||||
# whatever else in "bin/"
|
||||
*)
|
||||
# Move special files in "bin/" around
|
||||
base=`basename $i`
|
||||
|
||||
case "$base"
|
||||
in
|
||||
# Mozilla brillantly puts .so files in "bin/" bleh
|
||||
*.so)
|
||||
echo "lib/$base" >> $tmp_file_list
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $i >> $tmp_file_list
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
||||
# whatever else
|
||||
*)
|
||||
echo $i >> $tmp_file_list
|
||||
;;
|
||||
esac
|
||||
|
||||
done
|
||||
|
||||
# Spit out sorted file lists
|
||||
cat $tmp_dir_list | sort | uniq | awk '{ printf("%%dir %%{prefix}/lib/mozilla/%s\n" , $0); }' >> $file_list
|
||||
|
||||
cat $tmp_file_list | sort | uniq | awk '{ printf("%%{prefix}/lib/mozilla/%s\n" , $0); }' >> $file_list
|
||||
|
||||
cat $tmp_dir_list_devel | sort | uniq | awk '{ printf("%%dir %%{prefix}/lib/mozilla/%s\n" , $0); }' >> $file_list_devel
|
||||
|
||||
cat $tmp_file_list_devel | sort | uniq | awk '{ printf("%%{prefix}/lib/mozilla/%s\n" , $0); }' >> $file_list_devel
|
||||
|
||||
# Cleanup
|
||||
rm -f $tmp_raw $tmp_file_list $tmp_file_list_devel $tmp_dir_list $tmp_dir_list_devel
|
||||
done
|
||||
125
mozilla/build/package/rpm/make-rpm.sh
Executable file
125
mozilla/build/package/rpm/make-rpm.sh
Executable file
@@ -0,0 +1,125 @@
|
||||
#!/bin/sh
|
||||
|
||||
# A hack to make mozilla rpms in place.
|
||||
here=`pwd`
|
||||
|
||||
if [ ! -d ./mozilla ]
|
||||
then
|
||||
printf "\n\nDude, you have to be on the root of the mozilla cvs tree.\n\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rpm_place=$here/rpm_on_demand_dir
|
||||
|
||||
rm -rf $rpm_place
|
||||
|
||||
mkdir -p $rpm_place
|
||||
|
||||
mkdir -p $rpm_place/tarball
|
||||
mkdir -p $rpm_place/home
|
||||
mkdir -p $rpm_place/topdir
|
||||
mkdir -p $rpm_place/topdir/BUILD
|
||||
mkdir -p $rpm_place/topdir/RPMS
|
||||
mkdir -p $rpm_place/topdir/RPMS/i386
|
||||
mkdir -p $rpm_place/topdir/RPMS/noarch
|
||||
mkdir -p $rpm_place/topdir/SOURCES
|
||||
mkdir -p $rpm_place/topdir/SPECS
|
||||
mkdir -p $rpm_place/topdir/SRPMS
|
||||
|
||||
_top_dir=$rpm_place/topdir
|
||||
|
||||
_spec_dir=$_top_dir/SPECS
|
||||
|
||||
_sources_dir=$_top_dir/SOURCES
|
||||
|
||||
_rpms_dir=$_top_dir/RPMS
|
||||
|
||||
_home=$rpm_place/home
|
||||
|
||||
_rpm_macros=$_home/.rpmmacros
|
||||
|
||||
_tarball_dir=$rpm_place/tarball
|
||||
|
||||
#_spec_file=$here/build/package/rpm/mozilla.spec
|
||||
|
||||
##
|
||||
## Setup a phony topdir for the phony rpm macros file
|
||||
##
|
||||
echo "%_topdir $_top_dir" >> $_rpm_macros
|
||||
|
||||
##
|
||||
## Make a tarball of the beast
|
||||
##
|
||||
cd $_tarball_dir
|
||||
cvs co mozilla/client.mk
|
||||
make -f mozilla/client.mk pull_all
|
||||
|
||||
tar vzcf mozilla-source.tar.gz mozilla
|
||||
|
||||
#XXXX YANK
|
||||
#cp /tmp/mozilla-source.tar.gz .
|
||||
#XXXX YANK
|
||||
|
||||
tarball=`/bin/ls -1 mozilla*.tar.gz | head -1`
|
||||
|
||||
if [ ! -f $tarball ]
|
||||
then
|
||||
printf "\n\nDude, failed to make mozilla tarball.\n\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Put the tarball in the SOURCES dir
|
||||
mv -f $tarball $_sources_dir
|
||||
|
||||
printf "\n\nMozilla tarball = %s\n\n" $_sources_dir/$tarball
|
||||
|
||||
# Find the spec file from the rpm
|
||||
spec_in_rpm=`tar tzvf $_sources_dir/$tarball |grep -w "mozilla\.spec$" | awk '{ print $6; }'`
|
||||
|
||||
printf "\n\nspec_in_rpm=%s\n\n" $spec_in_rpm
|
||||
|
||||
# Extract the spec file from the tarball
|
||||
spec_in_rpm_dir=`echo $spec_in_rpm | awk -F"/" '{ print $1; }'`
|
||||
|
||||
printf "\n\nspec_in_rpm_dir=%s\n\n" $spec_in_rpm_dir
|
||||
|
||||
tar zvxf $_sources_dir/$tarball $spec_in_rpm
|
||||
|
||||
#_spec_file=`/bin/ls -1 $spec_in_rpm_dir | grep "\.spec$" | head -1`
|
||||
|
||||
#printf "\n\n_spec_file=%s\n\n" $_spec_file
|
||||
|
||||
if [ ! -f $spec_in_rpm ]
|
||||
then
|
||||
printf "\n\nFailed to extract spec file from tarball.\n\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Put the spec file in SPECS
|
||||
#cp $spec_in_rpm $_spec_dir
|
||||
|
||||
#XXXX YANK
|
||||
cp /tmp/mozilla.spec $_spec_dir
|
||||
#XXXX YANK
|
||||
|
||||
HOME=$_home rpm -ba $_spec_dir/mozilla.spec # > /dev/null 2>&1
|
||||
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
mkdir -p $rpm_place/RPMS
|
||||
|
||||
cp $_rpms_dir/i386/*.rpm $rpm_place/RPMS/
|
||||
|
||||
last=`/bin/ls -lt1 $rpm_place/RPMS|head -1`
|
||||
|
||||
echo "New RPM written to RPMS/$last"
|
||||
else
|
||||
echo "Failed to build the rpm. Check the spec file."
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
cd $rpm_place
|
||||
|
||||
# Cleanup
|
||||
rm -rf $rpm_place/topdir $rpm_place/home
|
||||
133
mozilla/build/package/rpm/mozilla
Normal file
133
mozilla/build/package/rpm/mozilla
Normal file
@@ -0,0 +1,133 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
##
|
||||
## Usage:
|
||||
##
|
||||
## $ mozilla
|
||||
##
|
||||
## This script is meant to run a mozilla program from the mozilla
|
||||
## rpm installation.
|
||||
##
|
||||
## The script will setup all the environment voodoo needed to make
|
||||
## mozilla work.
|
||||
|
||||
##
|
||||
## Standard shell script disclaimer blurb thing:
|
||||
##
|
||||
## This script is a hcak. Its brute force. Its horrible.
|
||||
## It doesnt use Artificial Intelligence. It doesnt use Virtual Reality.
|
||||
## Its not perl. Its not python. It probably wont work unchanged on
|
||||
## the "other" thousands of unices. But it worksforme.
|
||||
##
|
||||
## If you have an improvement, patch, idea, whatever, on how to make this
|
||||
## script better, post it here:
|
||||
##
|
||||
## news://news.mozilla.org/netscape.public.mozilla.patches
|
||||
## news://news.mozilla.org/netscape.public.mozilla.unix
|
||||
##
|
||||
##
|
||||
|
||||
##
|
||||
## Potential improvements:
|
||||
##
|
||||
## + Run ldd on the program and report missing dlls
|
||||
## + All the "other" unices/packages
|
||||
##
|
||||
|
||||
cmdname=`basename $0`
|
||||
|
||||
##
|
||||
## location of the apprunner binary.
|
||||
##
|
||||
MOZ_APPRUNNER_NAME="/usr/lib/mozilla/bin/apprunner"
|
||||
|
||||
##
|
||||
## Variables
|
||||
##
|
||||
MOZ_DIST_BIN=""
|
||||
MOZ_PROGRAM=""
|
||||
|
||||
##
|
||||
## Functions
|
||||
##
|
||||
moz_bail()
|
||||
{
|
||||
message=$1
|
||||
|
||||
echo
|
||||
echo "$cmdname: $message"
|
||||
echo
|
||||
|
||||
exit 1
|
||||
}
|
||||
|
||||
moz_test_binary()
|
||||
{
|
||||
binary=$1
|
||||
|
||||
if [ -f "$binary" ]
|
||||
then
|
||||
if [ -x "$binary" ]
|
||||
then
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
moz_test_binary $MOZ_APPRUNNER_NAME
|
||||
|
||||
if [ $? -eq 1 ]
|
||||
then
|
||||
MOZ_PROGRAM=$MOZ_APPRUNNER_NAME
|
||||
fi
|
||||
|
||||
##
|
||||
## Make sure the program is executable
|
||||
##
|
||||
if [ ! -x $MOZ_PROGRAM ]
|
||||
then
|
||||
moz_bail "Cannot execute $MOZ_PROGRAM."
|
||||
fi
|
||||
|
||||
##
|
||||
## Set MOZILLA_FIVE_HOME
|
||||
##
|
||||
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
|
||||
|
||||
export MOZILLA_FIVE_HOME
|
||||
|
||||
##
|
||||
## Set LD_LIBRARY_PATH
|
||||
##
|
||||
if [ "$LD_LIBRARY_PATH" ]
|
||||
then
|
||||
LD_LIBRARY_PATH=/usr/lib/mozilla/lib:$LD_LIBRARY_PATH
|
||||
else
|
||||
LD_LIBRARY_PATH=/usr/lib/mozilla/lib
|
||||
fi
|
||||
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
exec $MOZ_PROGRAM ${1+"$@"}
|
||||
10
mozilla/build/package/rpm/mozilla-package-list.txt
Normal file
10
mozilla/build/package/rpm/mozilla-package-list.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
nspr:nsprpub
|
||||
core:build,db,xpcom,intl,js,modules/libutil,modules/security/freenav,modules/libpref,modules/libimg,modules/libjar,caps
|
||||
network:netwerk
|
||||
layout:htmlparser,gfx,dom,view,widget/timer,widget,layout,webshell,editor,modules/plugin
|
||||
xpinstall:xpinstall
|
||||
profile:profile
|
||||
xptoolkit:xpfe,rdf
|
||||
cookie:extensions/cookie
|
||||
wallet:extensions/wallet
|
||||
mailnews:mailnews
|
||||
115
mozilla/build/package/rpm/mozilla-viewer
Normal file
115
mozilla/build/package/rpm/mozilla-viewer
Normal file
@@ -0,0 +1,115 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
##
|
||||
## Usage:
|
||||
##
|
||||
## $ mozilla
|
||||
##
|
||||
## This script is meant to run a mozilla program from the mozilla
|
||||
## rpm installation.
|
||||
##
|
||||
## The script will setup all the environment voodoo needed to make
|
||||
## mozilla work.
|
||||
|
||||
##
|
||||
## Standard shell script disclaimer blurb thing:
|
||||
##
|
||||
## This script is a hcak. Its brute force. Its horrible.
|
||||
## It doesnt use Artificial Intelligence. It doesnt use Virtual Reality.
|
||||
## Its not perl. Its not python. It probably wont work unchanged on
|
||||
## the "other" thousands of unices. But it worksforme.
|
||||
##
|
||||
## If you have an improvement, patch, idea, whatever, on how to make this
|
||||
## script better, post it here:
|
||||
##
|
||||
## news://news.mozilla.org/netscape.public.mozilla.patches
|
||||
## news://news.mozilla.org/netscape.public.mozilla.unix
|
||||
##
|
||||
##
|
||||
|
||||
##
|
||||
## Potential improvements:
|
||||
##
|
||||
## + Run ldd on the program and report missing dlls
|
||||
## + All the "other" unices/packages
|
||||
##
|
||||
|
||||
cmdname=`basename $0`
|
||||
|
||||
##
|
||||
## location of the viewer binary.
|
||||
##
|
||||
MOZ_VIEWER_NAME="/usr/lib/mozilla/bin/viewer"
|
||||
|
||||
##
|
||||
## Variables
|
||||
##
|
||||
MOZ_PROGRAM=""
|
||||
|
||||
##
|
||||
## Functions
|
||||
##
|
||||
moz_bail()
|
||||
{
|
||||
message=$1
|
||||
|
||||
echo
|
||||
echo "$cmdname: $message"
|
||||
echo
|
||||
|
||||
exit 1
|
||||
}
|
||||
|
||||
moz_test_binary()
|
||||
{
|
||||
binary=$1
|
||||
|
||||
if [ -f "$binary" ]
|
||||
then
|
||||
if [ -x "$binary" ]
|
||||
then
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
MOZ_PROGRAM=$MOZ_APPRUNNER_NAME
|
||||
|
||||
moz_test_binary $MOZ_PROGRAM
|
||||
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
moz_bail "Cannot execute $MOZ_PROGRAM."
|
||||
fi
|
||||
|
||||
##
|
||||
## Set MOZILLA_FIVE_HOME
|
||||
##
|
||||
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
|
||||
|
||||
export MOZILLA_FIVE_HOME
|
||||
|
||||
exec $MOZ_PROGRAM ${1+"$@"}
|
||||
410
mozilla/build/package/rpm/mozilla.spec
Normal file
410
mozilla/build/package/rpm/mozilla.spec
Normal file
@@ -0,0 +1,410 @@
|
||||
Summary: Mozilla and stuff
|
||||
Name: mozilla
|
||||
Version: 666
|
||||
Release: 0
|
||||
Serial: 0
|
||||
Copyright: NPL/MPL
|
||||
Group: Mozilla
|
||||
Source0: ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-source.tar.gz
|
||||
#Source0: ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-binary.tar.gz
|
||||
Buildroot: /var/tmp/mozilla-root
|
||||
Prefix: /usr
|
||||
Requires: gtk+ >= 1.2.4
|
||||
|
||||
#
|
||||
# TODO: lots of stuff
|
||||
#
|
||||
# + Add nice summary and description entries
|
||||
#
|
||||
# + Make sure the requires entries make sense
|
||||
#
|
||||
# + Add more packages for other mozilla extensions (for instance: irc)
|
||||
#
|
||||
# + Remove and/or combine the current packages that make more sense
|
||||
#
|
||||
# + mozilla-xpcom package ?
|
||||
#
|
||||
# + should nspr be its own package ?
|
||||
#
|
||||
# + it is probably a good idea to have a mozilla-browser package
|
||||
# instead of mozilla-xptoolkit
|
||||
#
|
||||
# + the mozilla-xpinstall package obviously doesnt make sense -
|
||||
# its there for show
|
||||
#
|
||||
# + a lot of stuff is dumped into the default package that
|
||||
# should really be in the devel package. For example the
|
||||
# gecko viewer and all its tests.
|
||||
#
|
||||
# For the code that determines what goes where, see:
|
||||
#
|
||||
# mozilla/build/package/rpm/print-module-filelist.sh
|
||||
# mozilla/build/package/rpm/generate-package-info.sh
|
||||
#
|
||||
|
||||
#Exclusivearch: i386
|
||||
|
||||
%description
|
||||
Mozilla is the king of all beasts - big badass Beasts.
|
||||
|
||||
%package nspr
|
||||
Summary: mozilla-nspr
|
||||
Group: Mozilla
|
||||
|
||||
%description nspr
|
||||
mozilla-nspr
|
||||
|
||||
%package nspr-devel
|
||||
Requires: mozilla-nspr
|
||||
Summary: mozilla-nspr-devel
|
||||
Group: Mozilla
|
||||
|
||||
%description nspr-devel
|
||||
mozilla-nspr devel
|
||||
|
||||
%package core
|
||||
Summary: mozilla-core
|
||||
Group: Mozilla
|
||||
Requires: mozilla-nspr
|
||||
|
||||
%description core
|
||||
mozilla-core
|
||||
|
||||
%package core-devel
|
||||
Requires: mozilla-core
|
||||
Summary: mozilla-core-devel
|
||||
Group: Mozilla
|
||||
Requires: mozilla-nspr-devel
|
||||
|
||||
%description core-devel
|
||||
mozilla-core devel
|
||||
|
||||
%package network
|
||||
Summary: mozilla-network
|
||||
Group: Mozilla
|
||||
Requires: mozilla-core
|
||||
|
||||
%description network
|
||||
mozilla-network
|
||||
|
||||
%package network-devel
|
||||
Requires: mozilla-network
|
||||
Summary: mozilla-network-devel
|
||||
Group: Mozilla
|
||||
Requires: mozilla-core-devel
|
||||
|
||||
%description network-devel
|
||||
mozilla-network devel
|
||||
|
||||
%package layout
|
||||
Summary: mozilla-layout
|
||||
Group: Mozilla
|
||||
Requires: mozilla-network
|
||||
|
||||
%description layout
|
||||
mozilla-layout
|
||||
|
||||
%package layout-devel
|
||||
Requires: mozilla-layout
|
||||
Summary: mozilla-layout-devel
|
||||
Group: Mozilla
|
||||
Requires: mozilla-network-devel
|
||||
|
||||
%description layout-devel
|
||||
mozilla-layout devel
|
||||
|
||||
%package xpinstall
|
||||
Summary: mozilla-xpinstall
|
||||
Group: Mozilla
|
||||
Requires: mozilla-layout
|
||||
|
||||
%description xpinstall
|
||||
mozilla-xpinstall
|
||||
|
||||
%package xpinstall-devel
|
||||
Requires: mozilla-xpinstall
|
||||
Summary: mozilla-xpinstall-devel
|
||||
Group: Mozilla
|
||||
Requires: mozilla-layout-devel
|
||||
|
||||
%description xpinstall-devel
|
||||
mozilla-xpinstall devel
|
||||
|
||||
%package profile
|
||||
Summary: mozilla-profile
|
||||
Group: Mozilla
|
||||
Requires: mozilla-layout
|
||||
|
||||
%description profile
|
||||
mozilla-profile
|
||||
|
||||
%package profile-devel
|
||||
Requires: mozilla-profile
|
||||
Summary: mozilla-profile-devel
|
||||
Group: Mozilla
|
||||
Requires: mozilla-layout-devel
|
||||
|
||||
%description profile-devel
|
||||
mozilla-profile devel
|
||||
|
||||
%package xptoolkit
|
||||
Summary: mozilla-xptoolkit
|
||||
Group: Mozilla
|
||||
Requires: mozilla-layout
|
||||
|
||||
%description xptoolkit
|
||||
mozilla-xptoolkit
|
||||
|
||||
%package xptoolkit-devel
|
||||
Requires: mozilla-xptoolkit
|
||||
Summary: mozilla-xptoolkit-devel
|
||||
Group: Mozilla
|
||||
Requires: mozilla-layout-devel
|
||||
|
||||
%description xptoolkit-devel
|
||||
mozilla-xptoolkit devel
|
||||
|
||||
%package cookie
|
||||
Summary: mozilla-cookie
|
||||
Group: Mozilla
|
||||
Requires: mozilla-layout
|
||||
|
||||
%description cookie
|
||||
mozilla-cookie
|
||||
|
||||
%package cookie-devel
|
||||
Requires: mozilla-cookie
|
||||
Summary: mozilla-cookie-devel
|
||||
Group: Mozilla
|
||||
Requires: mozilla-layout-devel
|
||||
|
||||
%description cookie-devel
|
||||
mozilla-cookie devel
|
||||
|
||||
%package wallet
|
||||
Summary: mozilla-wallet
|
||||
Group: Mozilla
|
||||
Requires: mozilla-layout
|
||||
|
||||
%description wallet
|
||||
mozilla-wallet
|
||||
|
||||
%package wallet-devel
|
||||
Requires: mozilla-wallet
|
||||
Summary: mozilla-wallet-devel
|
||||
Group: Mozilla
|
||||
Requires: mozilla-layout-devel
|
||||
|
||||
%description wallet-devel
|
||||
mozilla-wallet devel
|
||||
|
||||
%package mailnews
|
||||
Summary: mozilla-mailnews
|
||||
Group: Mozilla
|
||||
Requires: mozilla-layout
|
||||
|
||||
%description mailnews
|
||||
mozilla-mailnews
|
||||
|
||||
%package mailnews-devel
|
||||
Requires: mozilla-mailnews
|
||||
Summary: mozilla-mailnews-devel
|
||||
Group: Mozilla
|
||||
Requires: mozilla-layout-devel
|
||||
|
||||
%description mailnews-devel
|
||||
mozilla-mailnews devel
|
||||
|
||||
|
||||
%prep
|
||||
%setup -n mozilla
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
################################
|
||||
#
|
||||
# Remember where we are
|
||||
#
|
||||
################################
|
||||
here=`pwd`
|
||||
|
||||
################################
|
||||
#
|
||||
# configure
|
||||
#
|
||||
################################
|
||||
|
||||
if [ 1 ]
|
||||
then
|
||||
###
|
||||
###
|
||||
###
|
||||
rm -f $here/blank
|
||||
|
||||
touch $here/blank
|
||||
|
||||
MOZCONFIG=blank
|
||||
|
||||
export MOZCONFIG
|
||||
|
||||
./configure --disable-tests --with-xlib=no --with-motif=no --enable-strip-libs --disable-debug --enable-optimize --disable-gtk-mozilla
|
||||
|
||||
make
|
||||
|
||||
fi
|
||||
################################
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/%{prefix}/lib/mozilla
|
||||
mkdir -p $RPM_BUILD_ROOT/%{prefix}/lib/mozilla/plugins
|
||||
|
||||
################################
|
||||
#
|
||||
# Generate the package lists
|
||||
#
|
||||
################################
|
||||
here=`pwd`
|
||||
|
||||
mkdir -p $here/file-lists
|
||||
|
||||
cd build/package/rpm
|
||||
|
||||
./generate-package-info.sh mozilla-package-list.txt . $here/file-lists $here
|
||||
|
||||
cd $here
|
||||
################################
|
||||
|
||||
################################
|
||||
#
|
||||
# Copy the stuff in dist/* to the rpm stage place
|
||||
#
|
||||
################################
|
||||
cp -r dist/* $RPM_BUILD_ROOT/%{prefix}/lib/mozilla/
|
||||
|
||||
cd $RPM_BUILD_ROOT/%{prefix}/lib/mozilla/
|
||||
|
||||
/bin/mv -f bin/*.so lib
|
||||
/bin/mv -f bin/chrome .
|
||||
/bin/mv -f bin/components .
|
||||
/bin/mv -f bin/defaults .
|
||||
/bin/mv -f bin/netscape.cfg .
|
||||
/bin/mv -f bin/res .
|
||||
|
||||
strip lib/*.so
|
||||
strip components/*.so
|
||||
|
||||
cd $here
|
||||
|
||||
install -m 755 build/package/rpm/mozilla $RPM_BUILD_ROOT/%{prefix}/lib/mozilla/bin
|
||||
################################
|
||||
|
||||
##
|
||||
## This function gets called on the %post stage to make sure any
|
||||
## new components that are installed in the system get
|
||||
## registered to component.reg
|
||||
##
|
||||
%define call_regxpcom here=`pwd` ; cd %{prefix}/lib/mozilla ; LD_LIBRARY_PATH=`pwd`/lib ./bin/regxpcom ; cd $here
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f file-lists/mozilla-nspr-file-list.txt nspr
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -f file-lists/mozilla-nspr-devel-file-list.txt nspr-devel
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -f file-lists/mozilla-core-file-list.txt core
|
||||
%defattr(-,root,root)
|
||||
%dir %{prefix}/lib/mozilla
|
||||
%dir %{prefix}/lib/mozilla/bin
|
||||
%dir %{prefix}/lib/mozilla/chrome
|
||||
%dir %{prefix}/lib/mozilla/components
|
||||
%dir %{prefix}/lib/mozilla/defaults
|
||||
%dir %{prefix}/lib/mozilla/defaults/pref
|
||||
%dir %{prefix}/lib/mozilla/lib
|
||||
%dir %{prefix}/lib/mozilla/plugins
|
||||
%dir %{prefix}/lib/mozilla/res
|
||||
|
||||
%files -f file-lists/mozilla-core-devel-file-list.txt core-devel
|
||||
%defattr(-,root,root)
|
||||
|
||||
%post core
|
||||
%{call_regxpcom}
|
||||
|
||||
%files -f file-lists/mozilla-network-file-list.txt network
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -f file-lists/mozilla-network-devel-file-list.txt network-devel
|
||||
%defattr(-,root,root)
|
||||
|
||||
%post network
|
||||
%{call_regxpcom}
|
||||
|
||||
%files -f file-lists/mozilla-layout-file-list.txt layout
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -f file-lists/mozilla-layout-devel-file-list.txt layout-devel
|
||||
%defattr(-,root,root)
|
||||
|
||||
%post layout
|
||||
%{call_regxpcom}
|
||||
|
||||
%files -f file-lists/mozilla-xpinstall-file-list.txt xpinstall
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -f file-lists/mozilla-xpinstall-devel-file-list.txt xpinstall-devel
|
||||
%defattr(-,root,root)
|
||||
|
||||
%post xpinstall
|
||||
%{call_regxpcom}
|
||||
|
||||
%files -f file-lists/mozilla-profile-file-list.txt profile
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -f file-lists/mozilla-profile-devel-file-list.txt profile-devel
|
||||
%defattr(-,root,root)
|
||||
|
||||
%post profile
|
||||
%{call_regxpcom}
|
||||
|
||||
%files -f file-lists/mozilla-xptoolkit-file-list.txt xptoolkit
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -f file-lists/mozilla-xptoolkit-devel-file-list.txt xptoolkit-devel
|
||||
%defattr(-,root,root)
|
||||
|
||||
%post xptoolkit
|
||||
%{call_regxpcom}
|
||||
|
||||
%files -f file-lists/mozilla-cookie-file-list.txt cookie
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -f file-lists/mozilla-cookie-devel-file-list.txt cookie-devel
|
||||
%defattr(-,root,root)
|
||||
|
||||
%post cookie
|
||||
%{call_regxpcom}
|
||||
|
||||
%files -f file-lists/mozilla-wallet-file-list.txt wallet
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -f file-lists/mozilla-wallet-devel-file-list.txt wallet-devel
|
||||
%defattr(-,root,root)
|
||||
|
||||
%post wallet
|
||||
%{call_regxpcom}
|
||||
|
||||
%files -f file-lists/mozilla-mailnews-file-list.txt mailnews
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -f file-lists/mozilla-mailnews-devel-file-list.txt mailnews-devel
|
||||
%defattr(-,root,root)
|
||||
|
||||
%post mailnews
|
||||
%{call_regxpcom}
|
||||
|
||||
%changelog
|
||||
* Wed Oct 20 1999 Ramiro Estrugo <ramiro@fateware.com>
|
||||
- First rev.
|
||||
|
||||
156
mozilla/build/package/rpm/print-module-filelist.sh
Executable file
156
mozilla/build/package/rpm/print-module-filelist.sh
Executable file
@@ -0,0 +1,156 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
#
|
||||
|
||||
|
||||
# The way this thing works:
|
||||
#
|
||||
# + a phony $(DIST) is created: /tmp/foo
|
||||
#
|
||||
# + The module is instaled there so that it can be isolated and
|
||||
# catalogued.
|
||||
#
|
||||
# + A bunch of case statements determine what gets ignored
|
||||
# and what is otherwise echoed as a file or dir member for
|
||||
# the module
|
||||
#
|
||||
# + Most of this hacks are a result of the totally messed
|
||||
# way in which mozilla pretentsto do "make install"
|
||||
|
||||
here=`pwd`
|
||||
|
||||
dist=/tmp/dist-$$.tmp
|
||||
|
||||
raw_file_list=/tmp/raw-file-list-$$.txt
|
||||
file_list=/tmp/file-list-$$.txt
|
||||
|
||||
raw_dir_list=/tmp/raw-dir-list-$$.txt
|
||||
dir_list=/tmp/dir-list-$$.txt
|
||||
|
||||
rm -rf $dist $raw_file_list $file_list $raw_dir_list $dir_list
|
||||
|
||||
# Need to mkdir include or else "make export" in mozilla gets confused
|
||||
mkdir -p $dist
|
||||
mkdir -p $dist/include
|
||||
|
||||
make -s DIST=$dist XPDIST=$dist PUBLIC=$dist/include EXTRA_DEPS= >/dev/null 2>&1
|
||||
|
||||
cd $dist
|
||||
|
||||
find -type l | cut -b3- > $raw_file_list
|
||||
find -type d | cut -b3- | grep -v -e "^[ \t]*$" > $raw_dir_list
|
||||
|
||||
touch $file_list
|
||||
|
||||
for i in `cat $raw_file_list`
|
||||
do
|
||||
skip="false"
|
||||
|
||||
dir=`echo $i | awk -F"/" '{ print $1; }'`
|
||||
|
||||
# "lib" voodoo
|
||||
if [ "$dir" = "lib" ]
|
||||
then
|
||||
rest=`echo $i | cut -b5-`
|
||||
|
||||
bin_dup="bin/$rest"
|
||||
|
||||
# Dont output files in "lib/" that are duplicated in "bin/"
|
||||
if [ -f "$bin_dup" ]
|
||||
then
|
||||
skip="true"
|
||||
fi
|
||||
|
||||
# Test for files that need to be skipped
|
||||
file=`basename $i`
|
||||
|
||||
case "$file"
|
||||
in
|
||||
# Dont skip util .a files
|
||||
*util_s.a)
|
||||
:
|
||||
;;
|
||||
|
||||
# Dont skip nspr .a files
|
||||
libnspr*.a|libplc*|libplds*)
|
||||
:
|
||||
;;
|
||||
|
||||
# Skip all .a files
|
||||
*.a)
|
||||
skip="true"
|
||||
;;
|
||||
|
||||
# Skip .so files
|
||||
*.so)
|
||||
skip="true"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if [ "$skip" != "true" ]
|
||||
then
|
||||
echo $i >> $file_list
|
||||
# else
|
||||
# echo "skipping $i"
|
||||
fi
|
||||
done
|
||||
|
||||
touch $dir_list
|
||||
|
||||
for i in `cat $raw_dir_list`
|
||||
do
|
||||
skip="false"
|
||||
|
||||
# Skip directories that are shared across all of mozilla's components
|
||||
case $i in
|
||||
# level 1
|
||||
include|idl|lib|bin)
|
||||
skip="true"
|
||||
;;
|
||||
|
||||
# level 2
|
||||
lib/components|bin/components|bin/chrome|bin/res|bin/defaults|bin/plugins)
|
||||
skip="true"
|
||||
;;
|
||||
|
||||
# level 3
|
||||
bin/defaults/pref)
|
||||
skip="true"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$skip" != "true" ]
|
||||
then
|
||||
echo DIR:$i >> $dir_list
|
||||
# else
|
||||
# echo "skipping $i"
|
||||
fi
|
||||
done
|
||||
|
||||
cat $file_list
|
||||
cat $dir_list
|
||||
|
||||
rm -rf $dist $raw_file_list $file_list $raw_dir_list $dir_list
|
||||
|
||||
cd $here
|
||||
|
||||
26
mozilla/build/package/rpm/print-module-name.sh
Executable file
26
mozilla/build/package/rpm/print-module-name.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
#
|
||||
|
||||
module=`make -s echo-depth-path | cut -b9-`
|
||||
|
||||
echo $module
|
||||
37
mozilla/build/unix/Makefile.in
Normal file
37
mozilla/build/unix/Makefile.in
Normal file
@@ -0,0 +1,37 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is Mozilla Communicator client code,
|
||||
# released March 31, 1998.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape Communications
|
||||
# Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
DEPTH = ../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
export::
|
||||
chmod 755 mozilla-config
|
||||
$(INSTALL) -m 755 mozilla-config $(DIST)/bin
|
||||
|
||||
install:: $(srcdir)/run-mozilla.sh
|
||||
$(INSTALL) $< $(DIST)/bin
|
||||
@@ -0,0 +1,8 @@
|
||||
EXPORTED {
|
||||
global:
|
||||
NSGetFactory;
|
||||
NSGetModule;
|
||||
NSRegisterSelf;
|
||||
NSUnregisterSelf;
|
||||
local: *;
|
||||
};
|
||||
115
mozilla/build/unix/mddepend.pl
Executable file
115
mozilla/build/unix/mddepend.pl
Executable file
@@ -0,0 +1,115 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is this file as it was released upon March 8, 1999.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape Communications
|
||||
# Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
# mddepend.pl - Reads in dependencies generated my -MD flag. Prints list
|
||||
# of objects that need to be rebuilt. These can then be added to the
|
||||
# PHONY target. Using this script copes with the problem of header
|
||||
# files that have been removed from the build.
|
||||
#
|
||||
# Usage:
|
||||
# mddepend.pl <output_file> <dependency_files...>
|
||||
#
|
||||
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
|
||||
|
||||
#$debug = 1;
|
||||
|
||||
$outfile = shift @ARGV;
|
||||
|
||||
@alldeps=();
|
||||
# Parse dependency files
|
||||
while ($line = <>) {
|
||||
chomp $line;
|
||||
($obj,$rest) = split /\s*:\s+/, $line, 2;
|
||||
next if $obj eq '';
|
||||
|
||||
if ($line =~ /\\$/) {
|
||||
chop $rest;
|
||||
$hasSlash = 1;
|
||||
} else {
|
||||
$hasSlash = 0;
|
||||
}
|
||||
$deps = [ $obj, split /\s+/, $rest ];
|
||||
|
||||
while ($hasSlash and $line = <>) {
|
||||
chomp $line;
|
||||
if ($line =~ /\\$/) {
|
||||
chop $line;
|
||||
} else {
|
||||
$hasSlash = 0;
|
||||
}
|
||||
$line =~ s/^\s+//;
|
||||
push @{$deps}, split /\s+/, $line;
|
||||
}
|
||||
warn "add @{$deps}\n" if $debug;
|
||||
push @alldeps, $deps;
|
||||
}
|
||||
|
||||
# Test dependencies
|
||||
foreach $deps (@alldeps) {
|
||||
$obj = shift @{$deps};
|
||||
|
||||
$mtime = (stat $obj)[9] or next;
|
||||
|
||||
foreach $dep_file (@{$deps}) {
|
||||
if (not defined($dep_mtime = $modtimes{$dep_file})) {
|
||||
$dep_mtime = (stat $dep_file)[9];
|
||||
$modtimes{$dep_file} = $dep_mtime;
|
||||
}
|
||||
if ($dep_mtime ne '' and $dep_mtime > $mtime) {
|
||||
print "$obj($mtime) older than $dep_file($dep_mtime)\n" if $debug;
|
||||
push @objs, $obj;
|
||||
# Object will be marked for rebuild. No need to check other dependencies.
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Output objects to rebuild (if needed).
|
||||
if (@objs) {
|
||||
$new_output = "@objs: FORCE\n";
|
||||
|
||||
# Read in the current dependencies file.
|
||||
open(OLD, "<$outfile")
|
||||
and $old_output = <OLD>;
|
||||
close(OLD);
|
||||
|
||||
# Only write out the dependencies if they are different.
|
||||
if ($new_output ne $old_output) {
|
||||
open(OUT, ">$outfile") and print OUT "$new_output";
|
||||
print "Updating dependencies file, $outfile\n";
|
||||
if ($debug) {
|
||||
print "new: $new_output\n";
|
||||
print "was: $old_output\n" if $old_output ne '';
|
||||
}
|
||||
}
|
||||
} elsif (-s $outfile) {
|
||||
# Remove the old dependencies because all objects are up to date.
|
||||
print "Removing old dependencies file, $outfile\n";
|
||||
|
||||
if ($debug) {
|
||||
open(OLD, "<$outfile")
|
||||
and $old_output = <OLD>;
|
||||
close(OLD);
|
||||
print "was: $old_output\n";
|
||||
}
|
||||
|
||||
unlink $outfile;
|
||||
}
|
||||
69
mozilla/build/unix/modules.mk
Normal file
69
mozilla/build/unix/modules.mk
Normal file
@@ -0,0 +1,69 @@
|
||||
#
|
||||
# The contents of this file are subject to the Mozilla Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/MPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is build/unix/modules.mk from the Mozilla source tree.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Christopher
|
||||
# Seawood. Portions created by Christopher Seawood are
|
||||
# Copyright (C) 2000 Christopher Seawood. All Rights Reserved.
|
||||
#
|
||||
#
|
||||
|
||||
BUILD_MODULE_DIRS := config build include
|
||||
_BUILD_MODS =
|
||||
NSPRPUB_DIR =
|
||||
|
||||
# client.mk does not have topsrcdir set
|
||||
ifndef topsrcdir
|
||||
topsrcdir=$(TOPSRCDIR)
|
||||
endif
|
||||
|
||||
ifndef MOZ_NATIVE_NSPR
|
||||
# Do not regenerate Makefile for NSPR
|
||||
ifdef USE_NSPR_AUTOCONF
|
||||
NSPRPUB_DIR = nsprpub
|
||||
else
|
||||
NSPRPUB_DIR = $(topsrcdir)/nsprpub
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(BUILD_MODULES),all)
|
||||
|
||||
ifdef CROSS_COMPILE
|
||||
BUILD_MODULE_DIRS_js = $(NSPRPUB_DIR)
|
||||
endif
|
||||
|
||||
BUILD_MODULE_DIRS_dbm = $(NSPRPUB_DIR) dbm
|
||||
BUILD_MODULE_DIRS_js += js
|
||||
BUILD_MODULE_DIRS_necko = $(BUILD_MODULE_DIRS_xpcom) netwerk
|
||||
BUILD_MODULE_DIRS_transformiix = extensions/transformiix
|
||||
BUILD_MODULE_DIRS_xpcom = $(NSPRPUB_DIR) modules/libreg xpcom
|
||||
BUILD_MODULE_DIRS_xpconnect = $(BUILD_MODULE_DIRS_xpcom) $(BUILD_MODULE_DIRS_js) js/src/xpconnect
|
||||
|
||||
|
||||
BUILD_MODULE_DIRS += $(foreach mod,$(BUILD_MODULES), $(BUILD_MODULE_DIRS_$(mod)))
|
||||
|
||||
# Remove dups from the list to speed up the build
|
||||
#
|
||||
ifdef PERL
|
||||
BUILD_MODULE_DIRS := $(shell $(PERL) -e 'undef @out; \
|
||||
foreach $$d (@ARGV) { \
|
||||
push @out, $$d if (!grep(/$$d/, @out)); \
|
||||
}; \
|
||||
print "@out\n"; ' $(BUILD_MODULE_DIRS))
|
||||
else
|
||||
# Since PERL isn't defined, client.mk must've called us so order doesn't matter
|
||||
BUILD_MODULE_DIRS := $(sort $(BUILD_MODULE_DIRS))
|
||||
endif
|
||||
|
||||
endif # BUILD_MODULES
|
||||
|
||||
|
||||
80
mozilla/build/unix/mozilla-config.in
Executable file
80
mozilla/build/unix/mozilla-config.in
Executable file
@@ -0,0 +1,80 @@
|
||||
#!/bin/sh
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
exec_prefix_set=no
|
||||
|
||||
usage()
|
||||
{
|
||||
cat <<EOF
|
||||
Usage: mozilla-config [OPTIONS] [LIBRARIES]
|
||||
Options:
|
||||
[--prefix[=DIR]]
|
||||
[--exec-prefix[=DIR]]
|
||||
[--version]
|
||||
[--libs]
|
||||
[--cflags]
|
||||
EOF
|
||||
exit $1
|
||||
}
|
||||
|
||||
if test $# -eq 0; then
|
||||
usage 1 1>&2
|
||||
fi
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) optarg= ;;
|
||||
esac
|
||||
|
||||
case $1 in
|
||||
--prefix=*)
|
||||
prefix=$optarg
|
||||
if test $exec_prefix_set = no ; then
|
||||
exec_prefix=$optarg
|
||||
fi
|
||||
;;
|
||||
--prefix)
|
||||
echo_prefix=yes
|
||||
;;
|
||||
--exec-prefix=*)
|
||||
exec_prefix=$optarg
|
||||
exec_prefix_set=yes
|
||||
;;
|
||||
--exec-prefix)
|
||||
echo_exec_prefix=yes
|
||||
;;
|
||||
--version)
|
||||
echo -1
|
||||
exit 0
|
||||
;;
|
||||
--cflags)
|
||||
if test "@includedir@" != /usr/include ; then
|
||||
includes="-I@includedir@"
|
||||
fi
|
||||
echo_cflags=yes
|
||||
;;
|
||||
--libs)
|
||||
echo_libs=yes
|
||||
;;
|
||||
*)
|
||||
usage 1 1>&2
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if test "$echo_prefix" = "yes"; then
|
||||
echo $prefix
|
||||
fi
|
||||
if test "$echo_exec_prefix" = "yes"; then
|
||||
echo $exec_prefix
|
||||
fi
|
||||
if test "$echo_cflags" = "yes"; then
|
||||
cflags="@DEFS@"
|
||||
echo $includes $cflags
|
||||
fi
|
||||
if test "$echo_libs" = "yes"; then
|
||||
echo -L@libdir@ -lxpcom
|
||||
fi
|
||||
7
mozilla/build/unix/nspr_my_config.mk.in
Normal file
7
mozilla/build/unix/nspr_my_config.mk.in
Normal file
@@ -0,0 +1,7 @@
|
||||
USE_PTHREADS=@MOZ_NSPRENV_USE_PTHREADS@
|
||||
BUILD_OPT=@MOZ_NSPRENV_BUILD_OPT@
|
||||
NS_USE_GCC=@MOZ_NSPRENV_NS_USE_GCC@
|
||||
NO_MDUPDATE=@MOZ_NSPRENV_NO_MDUPDATE@
|
||||
NS_USE_NATIVE=@MOZ_NSPRENV_NS_USE_NATIVE@
|
||||
MOZILLA_CLIENT=@MOZ_NSPRENV_MOZILLA_CLIENT@
|
||||
CLASSIC_NSPR=@MOZ_NSPRENV_CLASSIC_NSPR@
|
||||
7
mozilla/build/unix/nspr_my_overrides.mk.in
Normal file
7
mozilla/build/unix/nspr_my_overrides.mk.in
Normal file
@@ -0,0 +1,7 @@
|
||||
DIST=@MOZ_NSPRENV_DIST@
|
||||
MOZ_NSPRENV_OVERRIDE_MAKE=@MOZ_NSPRENV_OVERRIDE_MAKE@
|
||||
|
||||
ifdef MOZ_NSPRENV_OVERRIDE_MAKE
|
||||
MAKE=$(MOZ_NSPRENV_OVERRIDE_MAKE)
|
||||
endif
|
||||
|
||||
73
mozilla/build/unix/print-depth-path.sh
Executable file
73
mozilla/build/unix/print-depth-path.sh
Executable file
@@ -0,0 +1,73 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# jim_nance@yahoo.com
|
||||
#
|
||||
|
||||
#
|
||||
# This script will print the depth path for a mozilla directory based
|
||||
# on the info in Makefile
|
||||
#
|
||||
# Its a hack. Its brute force. Its horrible.
|
||||
# It dont use Artificial Intelligence. It dont use Virtual Reality.
|
||||
# Its not perl. Its not python. But it works.
|
||||
#
|
||||
# Usage: print-depth-path.sh
|
||||
#
|
||||
# Send comments, improvements, bugs to jim_nance@yahoo.com
|
||||
#
|
||||
|
||||
# Make sure a Makefile exists
|
||||
if [ ! -f Makefile ]
|
||||
then
|
||||
echo
|
||||
echo "There ain't no 'Makefile' over here: $pwd, dude."
|
||||
echo
|
||||
|
||||
exit
|
||||
fi
|
||||
|
||||
# awk can be quite primitave. Try enhanced versions first
|
||||
for AWK in gawk nawk awk; do
|
||||
if type $AWK 2>/dev/null 1>/dev/null; then
|
||||
break;
|
||||
fi
|
||||
done
|
||||
|
||||
$AWK -v PWD=`pwd` '
|
||||
{
|
||||
if($1 == "DEPTH") {
|
||||
DEPTH=$0
|
||||
}
|
||||
}
|
||||
|
||||
END {
|
||||
sub("^.*DEPTH.*=[ \t]*", "", DEPTH)
|
||||
dlen = split(DEPTH, darray, "/")
|
||||
plen = split(PWD, parray, "/")
|
||||
|
||||
fsep=""
|
||||
for(i=plen-dlen; i<=plen; i++) {
|
||||
printf("%s%s", fsep, parray[i])
|
||||
fsep="/"
|
||||
}
|
||||
printf("\n")
|
||||
}' Makefile
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user