Commit graph

103 commits

Author SHA1 Message Date
David Tardon
3a7d870d72 file modes are octal
Change-Id: I5aa118db8100be8945425ad195bfb72819953c73
2013-03-27 17:08:09 +01:00
Michael Meeks
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
Matúš Kukan
e482672b58 use system python for building if possible
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-12 08:10:49 +00:00
Peter Foley
7b84118102 fix access is denied error in nss on windows
Change-Id: I3b0ebab5e87897a9c29da4b3f97f7fb71cdd1751
2013-03-05 19:50:31 -05:00
Fridrich Štrba
2c6794e40d nss on windows needs soltool's unistd.h
Change-Id: I8c23fadc550091c834a873b53dbd3eae2ba8286e
2013-03-01 18:28:21 +01:00
Michael Stahl
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
Norbert Thiebaud
ed26c01be1 quiet external module build log unless failure
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-22 08:25:56 +00:00
David Tardon
ea8c587f49 fix application of patches 2013-02-13 10:54:40 +01:00
Tor Lillqvist
4549f76d32 Revert "Don't bother with chmod() on Windows"
Argh, seems that it wasn't necessary after all.

This reverts commit 5bf437cd67.
2013-02-06 15:28:43 +02:00
Tor Lillqvist
5bf437cd67 Don't bother with chmod() on Windows
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-02-06 15:10:44 +02:00
Matúš Kukan
2baa4b333f nss: depend on python3
nss is not in tail_build because of moz, so expat, external, openssl and
python3 must go also out.

Change-Id: I52a3b02ff477ae52abc298d96770755ebc392d57
2013-01-07 22:42:24 +01:00
Tor Lillqvist
ddb4d8dff3 Revert "Depend on python3 (for Windows, but shouldn't hurt elsewhere I hope)"
Seems to cause even weirder problems in the tinderboxes.

This reverts commit e855dfbc3e.
2013-01-07 18:10:04 +02:00
Tor Lillqvist
e855dfbc3e Depend on python3 (for Windows, but shouldn't hurt elsewhere I hope)
Change-Id: I52a3b02ff477ae52abc298d96770755ebc392d57
2013-01-07 17:24:29 +02:00
Peter Foley
6eff6fae62 Get rid of nsinstall hackery
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-07 09:22:15 +00:00
Luboš Luňák
58e76a64b4 one more place for forcing windows path in nss build 2013-01-03 02:52:50 +01:00
Luboš Luňák
dfbcb34441 force nss build to pass windows path to cl.exe
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-03 02:36:41 +01:00
Luboš Luňák
96e7e3564b add missing nss windows libs 2013-01-03 02:01:08 +01:00
Luboš Luňák
ebaaefcbf3 try to sort out libsqlite3 handling in nss 2013-01-02 21:56:47 +01:00
Luboš Luňák
3b1102ad19 looks like libnsssysinit is linux-only 2013-01-02 18:25:48 +01:00
Luboš Luňák
e912ea714e try to fix nss on macosx 2013-01-02 18:06:18 +01:00
Peter Foley
c003d25d24 convert nss to gbuild
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>
2013-01-02 16:21:23 +00:00
Tor Lillqvist
c29098917a Get rid of (most uses of) GUI
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-25 17:53:25 +00:00
Mathias Michel
a0c53a961a First fix for fdo#56902
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-12-04 10:53:36 +00:00
Tor Lillqvist
ed19103fd4 Convince nss to build with 64-bit MSVC
Change-Id: I1b840a03e87e1ca73239c0a3ee17741de97d1543
2012-11-03 14:58:29 +02:00
Tor Lillqvist
57fb462cea Don't let NSS use the MSVC debugging runtime in an --enable-debug build
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-11-01 15:07:42 +02:00
David Tardon
6b9e976368 fix library names on mingw
This is a bit hackish and could benefit from further cleanup.

Change-Id: Ibb8eddf88bffdea41fd94fea09ad6499d05ae715
2012-10-31 13:22:28 +01:00
David Tardon
46412b411d mangle file mode to avoid breaking rebuilds
Change-Id: Id436bdbf3a307a3a3c9735ad911e397a21ab701b
2012-10-30 15:25:20 +01:00
David Tardon
9da51784c9 fix mingw build of nss
Change-Id: Ic3bcc1297cde1c0680637d02c0e60528d2e60e52
2012-10-30 15:25:19 +01:00
Tor Lillqvist
6885fc51b9 Ccache doesn't like several -arch flags
So make sure just one is passed to the compiler.

Change-Id: I217b7ac34ba20e35a23c18df6b497919061ca44c
2012-10-15 08:06:53 +03:00
Tor Lillqvist
c96b4c550d Handle cross-compilation of nss (for desktop OSes)
A bit messy, but then so is the nss configuration and build mechanism.

Change-Id: If2259e3da81521a2f87a5b312c6acd9d40e75ae5
2012-10-14 23:49:11 +03:00
Andras Timar
9b95cd5ada nss depends on soltools
Change-Id: Ic532b35cf282186843d886fda578bb20845db415
2012-10-02 17:57:17 +02:00
Tor Lillqvist
9b74656d01 Start on experimental support for 64-bit Mac code
Rename the --enable-cl-x64 switch to --enable-64-bit and make its
meaning more generic. Drop the CL_X64 config variable, introduce the
more generic BITNESS_OVERRIDE instead.

Does not build yet.

Change-Id: Iac66afe31dceaf40c8262fec2e5aef6a751ba3d2
2012-09-19 21:50:09 +03:00
Stephan Bergmann
b888512fcb Fix -Wl,-z,origin -Wl,-rpath,... quoting
Change-Id: I65eac6ab34d2d54eeaa2bc14838711f700d0d535
2012-08-30 08:29:18 +02:00
Stephan Bergmann
54928e1745 Mingw build is cross-compiling, not using cygwin
Change-Id: Icc0b617bd639666e44effbb4554bb4f7f0e778e8
2012-08-29 14:53:22 +02:00
Jung-uk Kim
34ca8dd9ad fdo#54015: At least FreeBSD ld requires -z origin when RPATH contains $ORIGIN
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>:
* bulk replacement of "-Wl,-z,origin,-rpath,..." with
  "-Wl,-z,origin -Wl,rpath,..."
* additional hunk for directory/c-sdk/config/FreeBSD.mk in
  moz/seamonkey-source-1.1.14.patch did not apply and has been dropped

Change-Id: Ie60c696f041108e819ce8f799cff6f58e63a5ad7
2012-08-29 12:02:26 +02:00
Caolán McNamara
ee93dfafdd drop disable-xmlsec, it's core functionality, have to live with it
we basically need this functionality, the idea of it being optional
isn't really logical anymore with nss split out from mozilla.

for iOS and Android where they doesn't build yet spit out lame fixme
nag warnings

Change-Id: I4b16c62553b12d3dcd340a0b5c5a4cbd807c2f02
2012-08-14 12:47:27 +01:00
Stephan Bergmann
d4e26ea852 -Werror=implicit-function-declaration
...when building --without-system-zlib on Linux.

Change-Id: I9bcb355ec75291609b28397c16068acf293ba6eb
2012-07-17 08:57:52 +02:00
Michael Stahl
7e6a07a6d2 nss: upgrade to 3.13.5
- drop nss-linux3.patch, builds out of the box on Linux 3.x now
- drop nss-string-concat.patch, was fixed upstream
- drop nss-clang_os_Linux_x86_s_comments.patch
       nss-clang_os_Linux_x86_64_s_comments.patch
  the invalid asm comments were fixed upstream:
  https://bugzilla.mozilla.org/show_bug.cgi?id=624868
- drop nss-asm-fix.patch, fixed upstream:
  https://bugzilla.mozilla.org/show_bug.cgi?id=671711
- not updated nss.patch.mingw since it looks unmaintained
- remove the setting of FREEBL_NO_DEPEND, which is
  a) no longer necessary, because it will be set automatically
     on Linux 2.6
  b) harmful because it prevents automatic setting of FREEBL_LOWHASH,
     which is necessary to prevent conflicts with system libfreebl3.so
     at least on Fedora 16/17

Change-Id: Idf9338d83f9b34000068c1b8691ca3135f56dd21
2012-07-16 18:19:10 +02:00
Michael Stahl
7cdda27c17 nss: no need to care about STLPort include paths
Change-Id: Ibbee91f8ce21f76bc4a5e66ff9c5852dc693793b
2012-07-16 18:19:10 +02:00
Stephan Bergmann
069c1efa39 Fix typo
deliver had always ignored the missing "3" in the target anyway, delivering any
libfreebl3.* from the source dir to the exact same name in the target dir.  (And
scp2/source/ooo/file_library_ooo.scp indeed expects the file to be named freebl3
with the "3").  This appears to be a harmless typo introduced with
09bc28fb7b "jl144: #i106132# nss does not build on
MacOS 10.6 because of libsqlite3."

Change-Id: I251834c2157acf0936bde9b7daaad16693822acb
2012-07-16 16:45:02 +02:00
Stephan Bergmann
dc82cf021f Make PyUNO work --with-macox-version-min-required=10.6
...by using system libsqlite3.dylib instead of nss one (see comment in
nss/makefile.mk for details).

(dmake knows neither < nor ! in conditional expressions, that is the reason for
the strange .IF .ELSE ... .END constructs.)

Change-Id: I5abe0f74ad55aac06b91163751bb8145b759b9ca
2012-06-12 13:48:38 +02:00
Philipp Weissenbacher
f50f1dafff Convert links to makedocs tool, update one and correct spelling
Change-Id: I4070ffa70690278dbd6575b8bfed3524d4c09ed7
2012-06-07 00:20:22 +02:00
Thomas Collerton
9520dbf59f EasyHack fdo#42783: get rid of CPU define/build system variable
Change-Id: I6a178f7ff9c8306e15bcfa847ad1e5e4f8476504
2012-05-09 16:31:31 +02:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
Tor Lillqvist
f62c863f97 Unbreak build with clang for Mac OS X 2012-04-15 15:24:38 +02:00
Caolán McNamara
3934efe28c sigh, need a 64bit zlib too on windows, reverting 2012-04-13 14:06:55 +01:00
Caolán McNamara
452af5f452 gbuildize internal zlib
and stick headers into the solver in the same hierarchy as is "standard"
so we don't have to patch so much, similiarly rename to libz
2012-04-13 13:15:25 +01:00
Michael Stahl
30a29aa6f1 README files don't need executable bits 2012-03-23 21:58:17 +01:00
Michael Stahl
c62f9a2907 nss: add parameter for solaris/gcc 2012-03-16 22:18:41 +01:00
Luboš Luňák
cb3f52275b asm fixes in nss 2012-03-16 13:07:34 +01:00