summaryrefslogtreecommitdiff
path: root/nss
AgeCommit message (Collapse)AuthorFilesLines
2013-10-01nss: apparently libcrmf.a is unusedMichael Stahl1-2/+0
Change-Id: I098f6824b39b72652d650171fa3021d777628af9
2013-09-13nss: nmedit is apparently also affected by xcrun...Michael Stahl2-1/+12
...but it's the only use of that tool apparently (hoping that libtool merely checks for it for decorative purposes) so perhaps we can do without another config_host.mk variable... Change-Id: I2a0dec4c01dc8ad3327b34a99c807705fedcdd00
2013-07-08-Werror,-Wheader-guard (Clang trunk towards 3.4)Stephan Bergmann2-0/+12
...in external nss header; an alternative could be to use -isystem instead of -I in gb_LinkTarget__use_nss3. Change-Id: I399e6990dd0110e0e16baea0d20a16050acfdeb1
2013-06-26Make sure the nss build uses the ar and ranlib we wantTor Lillqvist2-1/+20
The interaction of environment variables and make variables is fun. For some reason, the workdir/.../UnpackedTarball/nss/mozilla/nsprpub/configure script is run twice: Once directly from nss/ExternalProject_nss.mk, once from the sub-make run from nss/ExternalProject_nss.mk. In the first case, the AR and RANLIB exported by the gbuild make process propagate just fine to the configure script. In the latter case, not. So add AR and RANLIB assignments on the sub-make command line (to override values set in some of the nss makefiles), *and* make sure the sub-make exports AR and RANLIB. Change-Id: Ibd55bc8a7e001106e12b2207500e74c7bd01c73a
2013-06-14defuzz patch to apply againCaolán McNamara1-50/+50
Change-Id: I0b2253d3e23f6f2ec77c8aca88897144c59507a3
2013-05-27Bump maximum fuzz factor down to zeroTor Lillqvist2-2/+2
Change-Id: I97d30afe3a24aab1123352da05b066095e5c86bb
2013-05-27Use a maximum fuzz factor of 1 for our patches to 3rd-party codeTor Lillqvist1-3/+3
Change-Id: Id4639f1b0eefe5d433c84f48b7a1093fa17a3ba4
2013-05-22Fix nss library paths for Mac OS XStephan Bergmann2-1/+68
nss uses hard-coded @executable_path (which is wrong, consider e.g. the case of the URE uno executable), so patch it to use @_..._OOO instead (and no need to set --prefix), and pass the resulting libs through macosx-change-install-names (which requires the generated libs to be writable). Change-Id: I0f04533f0f0581ee7b9dfd8929b8629c0842cc1b
2013-05-10soltools: remove Package_inc and empty unistd.h nonsenseMichael Stahl2-5/+3
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
2013-05-07gbuild: ExternalProject: remove second parameter again...Michael Stahl1-1/+1
... now that everything is consistent. Change-Id: I96c15159648815554280202eb1b6d274ead4e7b8
2013-05-07gbuild: remove gb_ExternalProject_use_unpackedMichael Stahl1-3/+1
It must always be used exactly once, so replace it with constructor parameter. Change-Id: Ifbe87065c19a5185a5705dc461656179002ece5d
2013-05-05libnsssysinit.so's presumably not needed in instdirDavid Tardon1-1/+1
... because it's not installed either. Change-Id: I282090e68ff2455b9593bbaba9ec1e16445f2b9d
2013-05-01use gb_ExternalPackage_add_runtime_library for adding libsDavid Tardon1-2/+4
Change-Id: I7be80bbef306db8f7ad585e95bfa4b6da0b30067
2013-04-15adapt all externals to build against MSVC debug runtimeMichael Stahl2-3/+7
Add patches and/or tweaks to the following modules: curl, cppunit, icu, lcms2, libxml2, libxslt, libxmlsec, lpsolve, nss, openssl, python3 lcms2 has an inconsistency where the .lib and the .dll don't agree on the .dll name. openssl gets a honorable mention because apparently it's undocumented custom build system can build with /MDd if one picks the right configuration but i couldn't figure out how to do that in an hour of trying, and just patched the release config instead. Change-Id: I7854a0fc85247e398d561b4f513d09fe2d1ebb3c
2013-04-09add external for unistd.hDavid Tardon1-2/+3
Change-Id: I728b162e21a7a2c02cb76af110cc0a01a762fdbd
2013-04-07Drop workarounds for Mac OS X SDKs 10.4 and 10.5Tor Lillqvist1-1/+1
Change-Id: Ifa07f9b5613b4a75c5b72178cb276b9c0b495a62
2013-04-03Remove Mac OS X for PowerPC supportTor Lillqvist1-1/+0
Change-Id: I10b15141e6a5f93365e1cfa6fbc0c7cc3ea49b15
2013-03-27Try to fix python problemsJulien Nabet1-3/+3
"Octal literals are no longer of the form 0720; use 0o720 instead." See http://docs.python.org/3.0/whatsnew/3.0.html Seems ok with Python < 3 Change-Id: I588a9dcc4f4b447d5cb88eb6bb03ab2d598dc9f0
2013-03-27fix mingw build of nssDavid Tardon1-7/+11
Change-Id: I61ae51ef53321ed507dfc2974dc5bbfb72d3505e
2013-03-27file modes are octalDavid Tardon1-4/+4
Change-Id: I5aa118db8100be8945425ad195bfb72819953c73
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-03-12use system python for building if possibleMatúš Kukan1-4/+4
Also simplifies configure, hopefully without any mistake;) Change-Id: I5c6c53fbee06cd1ecccf878a5c080274bfd950c1 Reviewed-on: https://gerrit.libreoffice.org/2563 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-05fix access is denied error in nss on windowsPeter Foley1-0/+1
Change-Id: I3b0ebab5e87897a9c29da4b3f97f7fb71cdd1751
2013-03-01nss on windows needs soltool's unistd.hFridrich Štrba1-0/+3
Change-Id: I8c23fadc550091c834a873b53dbd3eae2ba8286e
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-22quiet external module build log unless failureNorbert Thiebaud1-41/+41
ExternalProject usually involve a configure and a make step that produce a bunch of output usually irrelevant including a large number of warning and other mess. now that everything is pretty much in tail_build these output get interleaved with useful output from the build of the product and actually drown them in a logorrhea of messy noise. This store the output of external modules in a log file and only print them as a whole if the module failed do build. on a non-verbose build. Change-Id: I3abfcccd6d16821a9e061a71e031b427cc283647 Reviewed-on: https://gerrit.libreoffice.org/2304 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-13fix application of patchesDavid Tardon4-3/+3
2013-02-06Revert "Don't bother with chmod() on Windows"Tor Lillqvist1-3/+3
Argh, seems that it wasn't necessary after all. This reverts commit 5bf437cd67d5fe2e4353069969cd99cc48e65730.
2013-02-06Don't bother with chmod() on WindowsTor Lillqvist1-3/+3
It's fairly pointles to play with Unix rwxrwxrwx modes on Windows. One never knows for sure how some emulation layer (Python's in this case) guesstimates and mishandles the conversion to Windows ACLs. Not doing them on Windows unbrokw the nss build. For me at least. Change-Id: Id3a2f1755cd6f64bd681a3b4cb7f3c7abd3aa5b7
2013-01-07nss: depend on python3Matúš Kukan1-1/+1
nss is not in tail_build because of moz, so expat, external, openssl and python3 must go also out. Change-Id: I52a3b02ff477ae52abc298d96770755ebc392d57
2013-01-07Revert "Depend on python3 (for Windows, but shouldn't hurt elsewhere I hope)"Tor Lillqvist1-1/+1
Seems to cause even weirder problems in the tinderboxes. This reverts commit e855dfbc3eb5a97ab57743a28b14555fd4b3375f.
2013-01-07Depend on python3 (for Windows, but shouldn't hurt elsewhere I hope)Tor Lillqvist1-1/+1
Change-Id: I52a3b02ff477ae52abc298d96770755ebc392d57
2013-01-07Get rid of nsinstall hackeryPeter Foley3-10/+9
This removes the need for using NSS Build Tools on windows. It also removes the nees to build nss for the build system while cross compiling. Change-Id: I13c9fdb575223f2940d3e4eda00e77ba9158f2b7 Reviewed-on: https://gerrit.libreoffice.org/1534 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-01-03one more place for forcing windows path in nss buildLuboš Luňák1-0/+11
2013-01-03force nss build to pass windows path to cl.exeLuboš Luňák2-0/+12
Not sure what's wrong exactly, but on one tinderbox cl fails because of "unknown" argument (unix path to the source file). Work it around by explicitly converting the path to windows path.
2013-01-03add missing nss windows libsLuboš Luňák1-0/+2
2013-01-02try to sort out libsqlite3 handling in nssLuboš Luňák1-2/+6
2013-01-02looks like libnsssysinit is linux-onlyLuboš Luňák1-1/+0
2013-01-02try to fix nss on macosxLuboš Luňák1-2/+19
2013-01-02convert nss to gbuildPeter Foley12-455/+359
Change-Id: I59edc4c437abccc201823d97f1cbec230d273b05 Reviewed-on: https://gerrit.libreoffice.org/1529 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-25Get rid of (most uses of) GUITor Lillqvist1-4/+4
GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-04First fix for fdo#56902Mathias Michel2-4/+4
Restrict moz to windows, and build vars also impacts nss, connectivity Change-Id: I27aae1398f3f8a4d046c2c7805d64bc7523c7282 Reviewed-on: https://gerrit.libreoffice.org/1233 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2012-11-03Convince nss to build with 64-bit MSVCTor Lillqvist1-1/+10
Change-Id: I1b840a03e87e1ca73239c0a3ee17741de97d1543
2012-11-01Don't let NSS use the MSVC debugging runtime in an --enable-debug buildTor Lillqvist1-1/+8
In an MSVC build, not exporting BUILD_OPT to the Mozilla build machinery causes the produced DLLs to use the debug CRT. The exact mechanism is a bit of a mystery, and I didn't feel like spending too much time trying to understand it. Using the debug CRT is confusing and wrong. Nothing in LO otherwise uses it. It also makes testing a build much harder for me at least, as I do that in a fairly pristine virtual machine with no MSVC debugging runtime available. (The normal CRT is bundled in the LO installer.) Change-Id: I27f774d92a3986d40162c870202bcdddd94aa7c6
2012-10-31fix library names on mingwDavid Tardon1-2/+3
This is a bit hackish and could benefit from further cleanup. Change-Id: Ibb8eddf88bffdea41fd94fea09ad6499d05ae715
2012-10-30mangle file mode to avoid breaking rebuildsDavid Tardon1-0/+4
Change-Id: Id436bdbf3a307a3a3c9735ad911e397a21ab701b
2012-10-30fix mingw build of nssDavid Tardon5-172/+843
Change-Id: Ic3bcc1297cde1c0680637d02c0e60528d2e60e52
2012-10-15Ccache doesn't like several -arch flagsTor Lillqvist1-0/+26
So make sure just one is passed to the compiler. Change-Id: I217b7ac34ba20e35a23c18df6b497919061ca44c
2012-10-14Handle cross-compilation of nss (for desktop OSes)Tor Lillqvist1-1/+25
A bit messy, but then so is the nss configuration and build mechanism. Change-Id: If2259e3da81521a2f87a5b312c6acd9d40e75ae5
2012-10-02nss depends on soltoolsAndras Timar1-1/+1
Change-Id: Ic532b35cf282186843d886fda578bb20845db415