9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
|
</ul>
<h2>Linux</h2>
<ul>
<li>On the machine named "bella", cd to ~/fossil/static</li>
<li>rm -rf *</li>
<li>../m1/configure --static --disable-fusefs</li>
<li># Edit the Makefile to move -ldl to the end
<li>make</li>
<li>strip fossil</li>
<li>tar czf fossil-linux-x64-$VERSION.tar.gz fossil
<p><b>OR:</b>
<li>Log into www.fossil-scm.org
<li>cd to /home/www/fossil/b1
<li>Run the script ./rebuild.sh
<li>Logout
<li>Download the file www.fossil-scm.org:/home/www/usr/local/fossil
<li>tar czf fossil-linux-x64-$VERSION.tar.gz fossil
</ul>
<h2>OpenBSD</h2>
<ul>
<li>On the devio.us machine in the ~/fossil/m1 directory</li>
<li>fossil clean -x</li>
<li>./configure</li>
<li>make</li>
<li>strip fossil</li>
<li>tar czf fossil-openbsd-x86-$VERSION.tar.gz fossil
</ul>
<h2>Windows</h2>
<ul>
<li>Use MinGW instead of MSVC for windows builds since the resulting binary has
fewer kernel.dll dependencies and works with older versions of windows such as
XP.</li>
<li>On the Lenovo Yoga (Windows10) in a MinGW shell in ~/fossil/m1</li>
<li>fossil clean -x</li>
<li>make -f win/makefile.mingw FOSSIL_ENABLE_SSL=1
OPENSSLDIR=../../openssl-1.0.0l</li>
<li><b>OR:</b> tclsh ../mkfossil.tcl
<li>zip fossil-w32-$VERSION.zip fossil
<li>Visit [https://submit.symantec.com/whitelist/isv/] to submit the new
binary for whitelisting.
</ul>
<h2>Mac</h2>
<ul>
<li>On 2015 MacPro in the ~/fossil/m1 directory</li>
<li>fossil clean -f</li>
<li>./configure</li>
<li># Edit the Makefile to specify libcrypto.a and libssl.a instead of
-lcrypto and -lssl, and to add -liconv
<li># Edit the Makefile to specify /usr/local/opt/openssl/lib/libcrypto.a
and /usr/local/opt/openssl/lib/libssl.a in place of
-lcrypto and -lssl, and to add -liconv at the end
<li>make</li>
<li># Verify dependencies using: otool -L ./fossil
<li>strip fossil</li>
<li>tar czf fossil-macosx-$VERSION.tar.gz fossil
</ul>
<h2>Source Tarball</h2>
|