[Pidgin] BuildingWinNSS modified

Pidgin trac at pidgin.im
Fri Jun 17 21:37:47 EDT 2016


Page "BuildingWinNSS" was changed by datallah
Diff URL: <https://developer.pidgin.im/wiki/BuildingWinNSS?action=diff&version=52>
Revision 52
Comment: Update for NSS 3.24 / NSPR 4.12
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: BuildingWinNSS
=========================================================================
--- BuildingWinNSS (version: 51)
+++ BuildingWinNSS (version: 52)
@@ -11,9 +11,9 @@
  1. '''GNU Patch:'''[[BR]]Download [http://gnuwin32.sourceforge.net/packages/patch.htm Patch] from the !GnuWin32 project. Note that Windows thinks that "patch.exe" is a patch for a program and will prompt you to UAC elevate it whenever you use it (see [http://math.nist.gov/oommf/software-patchsets/patch_on_Windows7.html this page]).
  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.
  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.
- 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`.
+ 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`.
  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`.
- 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`.
+ 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`.
  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`.
 
 == Prepare the build tree ==
@@ -33,6 +33,8 @@
  * Disable legacy DBM database (`NSS_DISABLE_DBM`)
  * Build for Windows NT (`OS_TARGET=WINNT`)
  * Disable LDAP URI Support (`NSS_PKIX_NO_LDAP`)
+ * Disable external tests (`NSS_DISABLE_GTESTS`)
+  * These don't build with WDK
 
 The first two options select the build type according to the matrix below:
 
@@ -42,7 +44,7 @@
 
 The version after WINNT is the target OS version - WINNT5.1 assumes you're building for Windows XP.
 
-The second two options control which features are enabled. Normally, both `NSS_ENABLE_ECC` and `NSS_DISABLE_DBM` should be selected.
+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.
 
 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.
 
@@ -72,7 +74,7 @@
 cp -R nss-$NSS_VERSION/dist/WINNT5.1_OPT.OBJ/ $PIDGIN_WIN32_DEV_TOP/nss-$NSS_VERSION-nspr-$NSPR_VERSION/
 cp -R nss-$NSS_VERSION/dist/public/nss/* $PIDGIN_WIN32_DEV_TOP/nss-$NSS_VERSION-nspr-$NSPR_VERSION/include/
 mkdir $PIDGIN_WIN32_DEV_TOP/nss-$NSS_VERSION-nspr-$NSPR_VERSION/src
-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/
+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/
 cd $PIDGIN_WIN32_DEV_TOP
 tar czf nss-$NSS_VERSION-nspr-$NSPR_VERSION.tar.gz nss-$NSS_VERSION-nspr-$NSPR_VERSION
 gpg -ab nss-$NSS_VERSION-nspr-$NSPR_VERSION.tar.gz
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://developer.pidgin.im/wiki/BuildingWinNSS>
Pidgin <https://pidgin.im>
Pidgin

This is an automated message. Someone added your email address to be
notified of changes on 'BuildingWinNSS' page.
If it was not you, please report to datallah at pidgin.im.


More information about the Wikiedit mailing list