1018 Commits

Author SHA1 Message Date
Tor Lillqvist
fee278b222 Warning is now unnecessary as there are no real TABs any more here
Change-Id: Ia286635b9f225fdec1afc6e6af2a898676ac8554
2013-01-11 10:16:43 +02:00
Tor Lillqvist
079de44b00 There are several TABs on one line in this "here document"
So replace all the <TAB> with real TABs. (Sure, only the first TAB on that
line is part of the Makefile syntax, the rest are just whitespace.)

Change-Id: Ie500c304ffff00b72ee1cdf81716627bbac689f0
2013-01-11 10:15:01 +02:00
Michael Meeks
364cce0a51 add LIBO_VERSION_* macros and a config header for them to live in.
Change-Id: Ia6735e3e7f3231722231e9d7a4c9839f08038b96
2013-01-10 17:39:03 +00:00
Tor Lillqvist
417943f071 Get rid of last actual TABs in this file
Change-Id: Ic92c47834add4f5d0350343e6b7ea8294477b495
2013-01-10 15:41:02 +02:00
Tor Lillqvist
f340cbb6af De-tab
Change-Id: If0e93181affadd7c608625c494daf6da78ba9bbc
2013-01-10 15:13:49 +02:00
Tor Lillqvist
dc7e074fc8 Make it possible to even try building the OpenGL transitions for Windows
Change-Id: Id9b688a22518aedb8959120f909832f0cd84b324
2013-01-10 15:11:57 +02:00
Tomas Chvatal
6af200ec0c Add configure switch that allows hardlink deliver
This switch just makes possible to configure in ln delivery instead of
cp based one.

The feature was already in the place, we just make it visible as
configure option now.

Change-Id: I778ef3b03e6b9a57057e66ff6307e7da46bcd935
2013-01-10 10:58:19 +01:00
Tor Lillqvist
37c6106f3a Since 6eff6fae6272e8ed5d74553597bb4b73db3f2864 Python needed on Windows
Change-Id: Id49730b7ad2f7122a2c9b0415330b6fb803ec21c
2013-01-07 14:44:06 +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
62532ad485 do not set our clang timestamp to the timestamp of the clang binary
If the clang binary comes from a package which had been built before
any of our clang related sources were changed the last time, the timestamp
would be older and so there would be no rebuild. So do the stamp handling
the usual way, clang upgrades will work fine, downgrades will not, but
that's the same problem like with downgrading a library and its headers.

To somewhat mitigate the problem (Clang plugin doesn't get cleaned by
'make clean'), include the full Clang version (which includes SVN revision)
in config_clang.h and make all Clang plugin code include that, so
at least configure re-run will trigger a rebuild if necessary.

Change-Id: I993197f79e92e36105092c92c33b2e1db343e975
2013-01-06 18:23:04 +01:00
Luboš Luňák
217e3f2ea1 better handling of which files are processed by clang plugins
Check that only LO's files are processed, as there's no point otherwise.
Also warn about files in workdir/solver/builddir, as those are either
generated or copies. Try to automatically match include files from
solver to srcdir though, as that's where include files are usually
included from :(.

Change-Id: Ie8389e903f623a9d0e75015091acc0da78e76c3a
2013-01-04 15:27:24 +01:00
Tor Lillqvist
449d657b10 Don't do dynamic lib tests when we aren't going to build such
Change-Id: I3190fba16638512dbc4247fa3fa95c39fa377b34
2013-01-03 20:21:51 +02:00
Tor Lillqvist
2ed074578b Unbreak build with just the NDK without a 64-bit add-on tool-chain
Change-Id: I05c558b557cf083feb570f8ac14ecb75c1c21eb6
2013-01-02 23:58:57 +02:00
Tor Lillqvist
b24f82fda9 Can't build the NPAPI plugin stuff as 64-bit for OS X
It uses QuickTime and Carbon.
2013-01-02 20:55:12 +02:00
Eike Rathke
79a3c9b186 partly revert 92a9b7780c6e13a4da3b12794342edbc4c09ef51 for ICU < 49
Re-enable build with ICU 4.6 and 4.8
ICU versions prior to 49 don't know Conditional_Japanese_Starter and
Hebrew_Letter

Also, the change in i18npool/CustomTarget_breakiterator.mk

- -e "s#\[:LineBreak = Close_Punctuation:\]#\[& \[:LineBreak = Close_Parenthesis:\]\]#" \

with i18npool/source/breakiterator/data/line.txt

-$CL = [:LineBreak = Close_Punctuation:] ;
+$CL = [:LineBreak = Close_Parenthesis:];

did not produce equivalent results. Instead use

$CP = [:LineBreak =  Close_Parenthesis:];
$CL = [[:LineBreak =  Close_Punctuation:] $CP];

Change-Id: I14fc14319ea34f23393264560452a79bb49fc3a7
2013-01-02 19:23:03 +01:00
Tor Lillqvist
2210bade74 Check also for a (self-built) 64-bit NDK tool-chain
Also make the --with-android-ndk-toolchain-version option mandatory. Otherwise
it would be possible to leave it out and that would appear to work in the
configure phase but in fact mix stuff up when using a self-built 64-bit
tool-chain merged into a r8b,c,d NDK.

Sigh, maybe we shouldn't even try to have the configury generic enough to work
with any NDK version (which probably it doesn't anyway), but explicitly accept
only a small set of NDKs, like r8b,c,d (which probably are the only that we
work with anyway).

Change-Id: Iecdf3a2d841e7b29598228ae49f48eca9640a82c
2013-01-02 19:25:28 +02: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
Luboš Luňák
dc277bc6a1 use MINGW_SYSROOT consistently
Restore all cases to expect /mingw/ included in the path.
2013-01-02 17:05:10 +01:00
Luboš Luňák
8620f8b51d fix use of MINGW_SYSROOT
This got broken in a084ea60680372efb7998f7369c9fc99eb85c50a.
2013-01-02 13:09:00 +01:00
David Tardon
00234d0578 replace bashisms
Change-Id: I4d7709effb8cb98827e6bdd62e422186d61ed2a0
2013-01-01 09:02:07 +01:00
David Tardon
55563832c4 check for python.exe too
Change-Id: I6f66348f8e40a7f977f33e145171489d7c57b8be
2013-01-01 09:02:07 +01:00
David Tardon
3f22967547 fail early if python version cannot be determined
Change-Id: I8fea82f8d4f779b0e7f8550fb67b794d6ae913ba
2013-01-01 09:02:06 +01:00
David Tardon
a084ea6068 do not second-guess the location of mingw sysroot
Change-Id: I669b6c7b90f2b803f68df86704b357967481f6ce
2012-12-31 12:41:47 +01:00
Peter Foley
18bd1e7364 convert redland to gbuild and add to tail_build
Change-Id: I953fb203b1a24920f236c2f6e1fd9d82edda1f0f
Reviewed-on: https://gerrit.libreoffice.org/1493
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-30 14:50:49 +00:00
Caolán McNamara
92a9b7780c follow logical consequences of a minimum icu version of 4.6
since commit f20ed8959bc0a984177377a734d34f767653625b

Change-Id: I4f2fc5d9eb7a581b9ed707a3c3f96be817141846
2012-12-29 18:02:25 +00:00
Tor Lillqvist
b3c6ae8f50 Surely we want to pass *relative* pathnames to the tar pipe
Change-Id: I874957a399c306bfdb057322edb09c0b56373f10
2012-12-27 18:27:59 +02:00
Lubos Lunak
34e53da47b add a systematic solution 2012-12-26 13:57:24 +01:00
Lubos Lunak
e1b11cc461 config_clang.h 2012-12-26 13:56:45 +01:00
Tor Lillqvist
8b456d1098 Add config/config_graphite.h.in 2012-12-26 02:32:13 +02:00
Peter Foley
5b0d2d02a5 convert external to gbuild
Change-Id: I7127db6aad9e97a0f3e758aa83b22ac8465d3f43
2012-12-25 09:39:47 +01:00
Tor Lillqvist
4a3018e4ec MSVS 9.0 uses mspdb80.dll, go figure
Change-Id: Id37b276983b86455dcbdcd40fd1e3d3efba33011
2012-12-24 21:11:41 +02:00
Tor Lillqvist
20cef85baf Further Windows SDK cleanups
Change-Id: Id9b7f19fe9035bd25253e1d98023f7eb3d3a7f2b
2012-12-24 21:11:41 +02:00
Tor Lillqvist
ba6c014d9c Simplify Visual Studio and Windows SDK related configurability
We had too many obscure options for the MSVC build. The configury
logic tried to take into consideration Registry keys or file locations
that likely never happen with the compilers we suppport (2008, 2010 or
2012) or the Windows SDKs from the same era.

Now there is just an option --with-visual-studio that can be used to
specify which Visual Studio version to use in case several are
installed. It takes as parameter the "year" version, 2008, 2010 or
2012. (There is also --with-windows-sdk that takes the version number
like 7.1A or 8.0, but I expect that this option will not be needed.)

The code tries hard to use sane defaults in all cases.

It is quite likely that there are bugs in the new logic. Those will
have to be fixed once noticed. Hopefully the basic idea is sane,
though.

Change-Id: I0a53acd334d35cbf2cd2fbc76a38d636e0d0123d
2012-12-24 21:11:40 +02:00
Tor Lillqvist
19340f79a8 We only build for Windows on Cygwin
It is pointless to test for both $build_os = cygwin and $_os = WINNT.

Change-Id: I89b5196439f79284ca1a3fb08369decf20810b5b
2012-12-23 01:55:22 +02:00
Tor Lillqvist
bbfd7f0db4 Indent consistently
Change-Id: Ie2cdbf1291ec340053238b72dd155f20aa2aaddb
2012-12-23 00:27:46 +02:00
Tor Lillqvist
50501e857c --enable-foo=TRUE is not the normal way to do it
Change-Id: I665bf0bdb4e0d4c104a08f37a8afa9de4ad4a9f4
2012-12-23 00:27:45 +02:00
Michael Stahl
debd56b20e gbuild: AsmObject: support user defined AFLAGS
There does not seem to be a point to using CFLAGS here, usual convention
appears to be to use AFLAGS.  Not target local, since right now there is
no need for that.

Change-Id: I5d2f45777c226c0afc632adc21e446f09740d75d
2012-12-21 17:29:44 +01:00
Tomáš Chvátal
f20ed8959b Require icu 4.6 or later with system icu
Change-Id: I8c0da25a000e10d65479665a61be054fdb2486a5
Reviewed-on: https://gerrit.libreoffice.org/1453
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2012-12-20 22:52:19 +00:00
Riccardo Magliocchetti
2c9ab4bd1b Add ability to send SAL_* messages to syslog
Use environment variable SAL_LOG_SYSLOG=1

Change-Id: I0c260ca69fbeefb0c2e8cc46ca6955e92791c05b
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-12-20 11:24:42 +01:00
Fridrich Štrba
6f1541dfb3 Thou shall not mention qtz twice, thy packaging breaketh
Change-Id: Icd65d8a456cf59b6e4b6b6bfb095c0bff498bcbc
2012-12-20 09:26:55 +01:00
Luboš Luňák
a6d5ed529a -DENABLE_GRAPHITE -> config_graphite.h
Change-Id: I94c7865b68c65540765c9fbfba6f669055dad4ba
2012-12-19 12:19:59 +01:00
Tor Lillqvist
991466907b Add a few missing files to be expanded (from *.in) to CONF-FOR-BUILD
But note that currently the config/config_*.h files are created and used so
that those created for the HOST platform are used also when compiling (the
cross-toolset) for the BUILD platform. Seems to work by luck so far, but this
is really broken. We need to have the config_*.h files separately for HOST and
BUILD.

Change-Id: I500694eee8bb2a8d2d7afbf78171c0e2ea1e66b3
2012-12-19 09:58:31 +02:00
Tor Lillqvist
6f9eadb0c4 Revert "The Impress remote control makes sense only on desktop OSes"
Nah, sure it makes sense also on tablets. Consider having your tablet attached
to a projector while you dance around on stage talking and controlling the
presentation with your phone (or other smaller device).

This reverts commit ccd519c582cc897b9276b5d04801688c253c1e94.
2012-12-19 09:49:00 +02:00
Tor Lillqvist
12152d253e Replace GUIBASE checks with equivalent OS checks
The idea is to get rid of GUIBASE and GUI checks as much as possible.

GUIBASE=aqua <=> OS=MACOSX
GUIBASE=WIN <=> OS=WNT
GUIBASE=cocoatouch <=> OS=IOS
GUIBASE=android <=> OS=ANDROID

Don't set GUIBASE to these values any more in configure.ac
either.

GUIBASE_FOR_BUILD is not used anywhere.

Conflicts:
	configure.ac
	postprocess/packcomponents/makefile.mk
	postprocess/packregistry/makefile.mk

Change-Id: Ie0526b40e1073f2328ba6c333e28752104b0fed3
2012-12-18 20:52:24 -05:00
Tor Lillqvist
ccd519c582 The Impress remote control makes sense only on desktop OSes
Change-Id: I48166fd5ee3dec8c140ef1905023db72c2aa2bd4
2012-12-18 14:52:12 +02:00
Stephan Bergmann
77d3777c89 Remove --with-stlport from LO 4.0
The STLport was only built for the benefit of old extensions on platforms that
once used it themselves (Linux x86, Solaris x86 and SPARC, Windows).  We
deliberately break such old extensions for LO 4.0 by no longer shipping that
backwards-compatiblity cludge.

Keeps STLport listed in readlicense_oo/ because of
o3tl/inc/o3tl/compat_functionality.hxx.

Also removes GXX_INCLUDE_PATH, as that was only used by STLport (if at all?).

Removes a spurious #define MOVEFILE_REPLACE_EXISTING 0x01 from
l10ntools/inc/helpmerge.hxx that was once added with
854812584862d0609b695682d2bfea2667d75c00 "INTEGRATION: CWS extensionl10nfix01
(1.11.6); FILE MERGED: 2008/06/26 13:56:03 ihi 1.11.6.1: #i90987# windows rename
-> MoveFileEx" but now starts to cause trouble on Windows.  Also disables
warning C4005 about redefinition of WB_LEFT/RIGHT macros (defined in both
tools/wintypes.hxx and the Windows API) in a number of places that include
windows.h -- however the old STLport caused those warnings to not show.

Change-Id: Ie138a219fbbc86fb5aaa7ea0b88cf349935d9829
2012-12-17 16:34:23 +01:00
Andras Timar
1a0134feb0 typo in configure.ac
Change-Id: Ic20c758034309a7b67966d73066770c4b870f146
2012-12-15 00:01:37 +01:00
Andras Timar
c7b1a2fe81 Make KeyID (qtz) work again
Conflicts:
	configure.ac

Change-Id: I67b2ce4ae647150aeace72c542a5838940d2c058
2012-12-14 12:20:13 +01:00
Norbert Thiebaud
e1087161cf export BUILDDIR in config_host.mk to allow partial build
Change-Id: I865a22e48a3125f40de786933ded8a70c0329a39
2012-12-11 13:23:13 -06:00
Luboš Luňák
c8c056fd20 BUILD_DIR -> BUILDDIR, to be consistent with the other *DIR
Change-Id: Ia80a1246a7e3c8862a50a3daf79aba5609b7df3a
2012-12-11 15:39:49 +01:00