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:
-
Jun 18, 2016, 1:37:30 AM (8 years ago)
- Author:
-
datallah
- Comment:
-
Update for NSS 3.24 / NSPR 4.12
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v51
|
v52
|
|
12 | 12 | 1. '''Windows SDK:'''[[BR]]Download the [https://www.microsoft.com/download/en/details.aspx?id=8279 Windows SDK for Windows 7 SP1] and install it to the default location. If you have Visual Studio 2010 Pro or Ultimate installed, this step can be ignored.[[BR]]''NOTE:'' The build script below is written for Visual Studio 2010 and its included SDK - it might be necessary to tweak the script for any other configuration. |
13 | 13 | 1. '''Windows Driver Kit (WDK):'''[[BR]]Download the [https://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11800 WDK for Windows 7 SP1] and install it to the default location. |
14 | | 1. '''Network Security Services (NSS) source :'''[[BR]]Download the latest version of [https://developer.mozilla.org/en-US/docs/NSS/NSS_Releases NSS with NSPR] (currently 3.20.1) and extract it to `c:\devel\pidgin-devel\win32-dev\nss`. |
| 14 | 1. '''Network Security Services (NSS) source :'''[[BR]]Download the latest version of [https://developer.mozilla.org/en-US/docs/NSS/NSS_Releases NSS with NSPR] (currently 3.24) and extract it to `c:\devel\pidgin-devel\win32-dev\nss`. |
15 | 15 | 1. '''MozillaBuild:'''[[BR]]Download the latest version of [ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe MozillaBuild] and install it to `c:\devel\mozilla-build`. |
16 | | 1. '''WDK build patch:'''[[BR]]Download the [http://www.hexchat.org/ HexChat project]'s [raw-attachment:nss-wdk-3.20.1.patch WDK build patch] to `c:\devel\pidgin-devel\win32-dev\nss\nss-wdk.patch`. |
| 16 | 1. '''WDK build patch:'''[[BR]]Download the [http://www.hexchat.org/ HexChat project]'s [raw-attachment:nss-wdk-3.24.patch WDK build patch] to `c:\devel\pidgin-devel\win32-dev\nss\nss-wdk.patch`. |
17 | 17 | 1. '''WDK build script:'''[[BR]]Download [raw-attachment:build-x86.bat this build script] to `c:\devel\pidgin-devel\win32-dev\nss\build-x86.bat`. |
18 | 18 | |
… |
… |
|
34 | 34 | * Build for Windows NT (`OS_TARGET=WINNT`) |
35 | 35 | * Disable LDAP URI Support (`NSS_PKIX_NO_LDAP`) |
| 36 | * Disable external tests (`NSS_DISABLE_GTESTS`) |
| 37 | * These don't build with WDK |
36 | 38 | |
37 | 39 | The first two options select the build type according to the matrix below: |
… |
… |
|
43 | 45 | The version after WINNT is the target OS version - WINNT5.1 assumes you're building for Windows XP. |
44 | 46 | |
45 | | The second two options control which features are enabled. Normally, both `NSS_ENABLE_ECC` and `NSS_DISABLE_DBM` should be selected. |
| 47 | The second two options control which features are enabled. Normally, `NSS_ENABLE_ECC` `NSS_DISABLE_DBM`, and `NSS_DISABLE_GTESTS` should be set to 1. |
46 | 48 | |
47 | 49 | When using the build script below, the default build is `WINNT5.1_OPT.OBJ` with ECC enabled and DBM disabled. In order to override these settings, set the corresponding environment variables to 0 or 1 before performing the build. Note that this behavior is different than when using the Mozilla makefiles directly. More info about the build variables can be found on the [https://developer.mozilla.org/en/NSS_reference/Building_and_installing_NSS/Build_instructions build instructions] page of Mozilla Developer Central. |
… |
… |
|
73 | 75 | cp -R nss-$NSS_VERSION/dist/public/nss/* $PIDGIN_WIN32_DEV_TOP/nss-$NSS_VERSION-nspr-$NSPR_VERSION/include/ |
74 | 76 | mkdir $PIDGIN_WIN32_DEV_TOP/nss-$NSS_VERSION-nspr-$NSPR_VERSION/src |
75 | | cp -R nss-$NSS_VERSION-with-nspr-$NSPR_VERSION.tar.gz nss-wdk-3.20.1.patch $PIDGIN_WIN32_DEV_TOP/nss-$NSS_VERSION-nspr-$NSPR_VERSION/src/ |
| 77 | cp -R nss-$NSS_VERSION-with-nspr-$NSPR_VERSION.tar.gz nss-wdk-$NSS_VERSION.patch $PIDGIN_WIN32_DEV_TOP/nss-$NSS_VERSION-nspr-$NSPR_VERSION/src/ |
76 | 78 | cd $PIDGIN_WIN32_DEV_TOP |
77 | 79 | tar czf nss-$NSS_VERSION-nspr-$NSPR_VERSION.tar.gz nss-$NSS_VERSION-nspr-$NSPR_VERSION |
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!