Changes between Version 51 and Version 52 of BuildingWinNSS


Ignore:
Timestamp:
06/17/16 20:37:30 (19 months ago)
Author:
datallah
Comment:

Update for NSS 3.24 / NSPR 4.12

Legend:

Unmodified
Added
Removed
Modified
  • BuildingWinNSS

    v51 v52  
    1212 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.
    1313 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`.
    1515 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`.
    1717 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`.
    1818
     
    3434 * Build for Windows NT (`OS_TARGET=WINNT`)
    3535 * Disable LDAP URI Support (`NSS_PKIX_NO_LDAP`)
     36 * Disable external tests (`NSS_DISABLE_GTESTS`)
     37  * These don't build with WDK
    3638
    3739The first two options select the build type according to the matrix below:
     
    4345The version after WINNT is the target OS version - WINNT5.1 assumes you're building for Windows XP.
    4446
    45 The second two options control which features are enabled. Normally, both `NSS_ENABLE_ECC` and `NSS_DISABLE_DBM` should be selected.
     47The second two options control which features are enabled. Normally, `NSS_ENABLE_ECC` `NSS_DISABLE_DBM`, and `NSS_DISABLE_GTESTS` should be set to 1.
    4648
    4749When 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.
     
    7375cp -R nss-$NSS_VERSION/dist/public/nss/* $PIDGIN_WIN32_DEV_TOP/nss-$NSS_VERSION-nspr-$NSPR_VERSION/include/
    7476mkdir $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/
     77cp -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/
    7678cd $PIDGIN_WIN32_DEV_TOP
    7779tar 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!