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
|
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
* Logout
* Download the file www.fossil-scm.org:/home/www/usr/bin/fossil
* `strip fossil`
* `tar czf fossil-linux-x64-$VERSION.tar.gz fossil`
* `fossil uv add fossil-linux-x64-$VERSION.tar.gz`
* `fossil uv sync`
## Mac
* `./configure`
* 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
* `CFLAGS="-Os" make -e clean fossil`
* Verify no shared library dependencies using: `otool -L ./fossil`
* `strip fossil`
* `codesign -s drh@sqlite.org fossil`
* Verify the signature using: `codesign -d -v fossil`
* `tar czf fossil-macosx-$VERSION.tar.gz fossil`
* `fossil uv add fossil-macosx-$VERSION.tar.gz`
* `fossil uv sync`
## Raspberry Pi
* `./configure`
* Edit Makefile so that instead of -lssl and -lcrypto
there are complete paths to the libssl.a and
libcrypto.a files: <ul>
<li> /usr/lib/arm-linux-gnueabihf/libssl.a
<li> /usr/lib/arm-linux-gnueabihf/libcrypto.a</ul>
* `CFLAGS="-Os" make -e clean fossil && strip fossil`
* `tar czf fossil-pi-$VERSION.tar.gz fossil`
* `fossil uv add fossil-pi-$VERSION.tar.gz`
* `fossil uv sync`
## Source Tarball
* `fossil tarball --name fossil-$VERSION version-$VERSION fossil-src-$VERSION.tar.gz`
* `fossil uv add fossil-src-$VERSION.tar.gz`
* `fossil uv sync`
## Windows 32-bit using MINGW
* On the Windows 10 laptop in a MinGW shell in ~/fossil/m1
* `fossil clean`
* `make -f win/makefile.mingw FOSSIL_ENABLE_SSL=1 OPENSSLDIR=../../openssl-1.0.1t`
* **OR:** `tclsh ../mkfossil.tcl`
|
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
98
99
100
101
102
103
104
|
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|
</ul>
* `cd` into the `win/` subfolder of the Fossil source tree.
* `nmake /f Makefile.msc FOSSIL_ENABLE_SSL=1 clean fossil.exe`
* Verify dependences: `dumpbin /dependents fossil.exe`
* `zip fossil-w64-$VERSION.zip fossil.exe`
* `fossil uv add fossil-w64-$VERSION.zip`
* `fossil uv sync`
## Mac
* `./configure`
* 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
* `CFLAGS="-Os" make -e clean fossil`
* Verify no shared library dependencies using: `otool -L ./fossil`
* `strip fossil`
* `codesign -s drh@sqlite.org fossil`
* Verify the signature using: `codesign -d -v fossil`
* `tar czf fossil-macosx-$VERSION.tar.gz fossil`
* `fossil uv add fossil-macosx-$VERSION.tar.gz`
* `fossil uv sync`
## Source Tarball
* `fossil tarball --name fossil-$VERSION version-$VERSION fossil-src-$VERSION.tar.gz`
|