Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
Mar 1, 2010, 3:07:22 AM (14 years ago)
- Author:
-
bviktor
- Comment:
-
some cosmetics
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v11
|
v12
|
|
11 | 11 | 1. Get NSS |
12 | 12 | |
13 | | Download [ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_5_RTM/src/nss-3.12.5-with-nspr-4.8.2.tar.gz NSS with NSPR 3.12.5]. Extract it so somewhere (you'll get an `nss-3.12.5-with-nspr-4.8.2` directory). |
| 13 | Download [ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_5_RTM/src/nss-3.12.5-with-nspr-4.8.2.tar.gz NSS with NSPR 3.12.5]. Extract it to `c:\devel\nss-devel`. |
14 | 14 | |
15 | 15 | 2. Get !MozillaBuild |
… |
… |
|
19 | 19 | 3. Get MinGW |
20 | 20 | |
21 | | This assumes that you have MinGW working as described in the [wiki:BuildingWinPidgin#Themanualway Pidgin Building Instructions]. |
22 | | |
23 | | 4. Get w32api sources |
24 | | |
25 | | Download [https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/w32api-3.14/w32api-3.14-mingw32-src.tar.gz/download MinGW API for MS-Windows 3.14]. Extract it to somewhere (you'll get a `w32api-3.14-mingw32` directory). |
26 | | |
27 | | == Build shell32 library == |
28 | | |
29 | | 1. Enter `w32api-3.14-mingw32`. |
30 | | |
31 | | 2. Build libraries: |
32 | | |
33 | | {{{ |
34 | | sh configure |
35 | | make |
36 | | }}} |
37 | | |
38 | | 3. Copy `w32api-3.14-mingw32/lib/shell32.o` to `win32-dev/mingw/lib`. |
| 21 | This assumes that you have MinGW working as described in the [wiki:BuildingWinPidgin#Themanualway Pidgin Building Instructions] (in short, you need [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/ MinGW] installed with at least gcc). |
39 | 22 | |
40 | 23 | == Choose build flavour == |
… |
… |
|
112 | 95 | == Patch NSS == |
113 | 96 | |
114 | | There's an error which prevents NSS from building with GCC. Apply the following patch to `nss-3.12.5-with-nspr-4.8.2\mozilla\security\nss\lib\freebl\config.mk`: |
| 97 | There's an error which prevents NSS from building with GCC. Apply the following patch to `c:\devel\nss-devel\nss-3.12.5-with-nspr-4.8.2\mozilla\security\nss\lib\freebl\config.mk`: |
115 | 98 | |
116 | 99 | {{{ |
… |
… |
|
164 | 147 | }}} |
165 | 148 | |
166 | | Launch a MSYS shell using `c:\mozilla-build\msys\msys.bat` and run the above script. |
| 149 | Launch an MSYS shell using `c:\mozilla-build\msys\msys.bat` and run the above script. |
167 | 150 | |
168 | 151 | The build will likely not complete successfully (it will bail out building `.../cmd/bltest`). If it gets that far, it has built the various libraries successfully. |
169 | 152 | |
170 | | The resulting binaries will be placed in `nss-3.12.5-with-nspr-4.8.2\mozilla\dist`. The contents of `private` and `public` are the same across all flavours so they can be distributed separately. |
| 153 | The resulting binaries will be placed in `c:\devel\nss-devel\nss-3.12.5-with-nspr-4.8.2\mozilla\dist`. The contents of `private` and `public` are the same across all flavours so they can be distributed separately. |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!