Commit Graph

1018 Commits

Author SHA1 Message Date
Norbert Thiebaud
ae4e327739 Prepare for read-only source build
This patch allows to do

mkdir <build_dir>
cd <build_dir>
<src_root>/autogen.sh
make

Only the remaining dmake modules are poluting the <src_root>...
which will get eventually convererd to gmake...

Change-Id: Iefd64732fa12e096d554cff4eee6b777deb92338
Reviewed-on: https://gerrit.libreoffice.org/1273
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-12-11 14:26:30 +00:00
Bjoern Michaelsen
3c64d86637 no need for wget/curl when not fetching anything
Change-Id: I097675450a0eed87eccf90356c81657485609d13
2012-12-10 19:08:27 +01:00
Luboš Luňák
02e2202894 do not try to use -std=c++11 after all
The very same libstdc++ that breaks with clang and -std=gnu++0x
has also the ABI breakage that prevents using C++11 anyway.
Moreover, there's still the idea that we should preferably use
the gnu variant, just like the default is -std=gnu++98, rather
than strict C++11 (the gcc manpage for -ansi e.g. says that
some builtins are disabled in this case).

Change-Id: I4dac01374ee7a34796161f6e0e76eb962953e709
2012-12-10 16:50:32 +01:00
Luboš Luňák
5abad485f0 remove AC_DEFINE(HAVE_CXX0X)
There should be no #ifdef for that anyway (given compiler support
each feature will need its own check).

Change-Id: I1998bfff362f2aef23717735834cacf87d3db90b
2012-12-10 15:00:11 +01:00
Luboš Luňák
f24bae90c0 enable PCH in configure only for msvc/clang
Change-Id: I83a5a2cc6a673165a230ac0c916fdd533a4ccaae
2012-12-10 14:46:46 +01:00
Luboš Luňák
d29a5b367c bring back precompiled headers support
This is mostly a revert of 992757cc5e
and bc78ac68c2, with tweaks to apply.
Also only MSVC support for now.

Change-Id: Ia926b3c28125b52012156ccfd47932837b09d20a
2012-12-10 14:46:44 +01:00
Stephan Bergmann
217ba33cb0 Try -std=c++11 if -std=gnu++0x does not work
...like when using Clang against GCC 4.7 headers that unconditionally use
__float128 which is a GNU extension that Clang does not support.

Change-Id: Ie27b5f17df4a10c9682fa750677e6cd8ef5eeeaf
2012-12-10 13:57:43 +01:00
Tomáš Chvátal
0b8077bc0c Do not keep deprecated switches around
This is pretty bad idea, because when you really remove them it prints
nice warning, this way tho you have no damn chance to see it unless you
read the ./configure --help.

Change-Id: I2fc9ffc1dec4d69522e2a7c90cb5cf06f3d70c3d
Reviewed-on: https://gerrit.libreoffice.org/1271
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-12-09 08:45:29 +00:00
Tor Lillqvist
aee92768a4 There is no --disable-build-mozilla option
Change-Id: Ib879ae35358d0f45cc874de501d42532f69ac460
2012-12-08 20:20:34 +02:00
Luboš Luňák
49a9d370e6 add rtl::OUStringBuffer::append(bool)
The same as 563fa900ba , but this
time with extra care to not break anything with pointer->bool conversions.

Change-Id: Ifcea840e96da0fbfcf92b54141fb8ef9c5eb94ff
2012-12-07 19:48:16 +01:00
Luboš Luňák
1aad4689ba use config_xxx.h files instead of -DHAVE_XXX on the command line
As the latter does not quite scale, and also source files depending
on the setting/feature did not rebuild in case of a change.

There are intentionally more config_xxx.h files (so autoheader
from autotools is not used), so that a setting change does not force
automatically a rebuild of everything. Running configure does not
touch those config_xxx.h files that have not changed.

There's config/README with a howto.

Change-Id: I6d6e82050ff8faf5364ed246848b8401aca3e0e5
2012-12-07 19:48:16 +01:00
Stephan Bergmann
a6d6d1c24b CLANGPLUGIN_CPPFLAGS did not actually work
...it just appeared to work on machines that happen to have /usr/bin/clang.  So
hoist CLANGDIR/CLANGBUILD from compilerplugins/Makefile-clang.mk to configure.ac
instead.

Change-Id: Ie5d9c6bb8e9d0caa1583d78c8693f06b69873095
2012-12-07 16:09:26 +01:00
Fridrich Štrba
ebff822d93 Add --enable-windows-build-signing option
Change-Id: I9630a486043c97aa9e31873c63f807cedb869a24
2012-12-07 09:40:39 +01:00
Peter Foley
987d991ecd formating cleanup
Change-Id: I851f4f82caa8483a296da3c8337ccbedccf7c5de
2012-12-06 17:29:00 -05:00
Andras Timar
56da3f2a9f Numbertext 0.9.5 (Python 3 fixes)
Change-Id: Ic5d8f8a975861c63354d28f5043abb5ead29192b
2012-12-06 22:08:39 +01:00
Stephan Bergmann
de2c6007fc Do not accumulate warnings across configure runs
...and remove temporary file again.

Change-Id: I199b054d8e7b87d1c9268abbe628393d480e42f7
2012-12-06 14:59:42 +01:00
Caolán McNamara
b01fb77366 remove remnants of lomenubar
since 4e7f9650e2

Change-Id: I7745a59bdd5986552a476f73c2b5a4d10b277726
2012-12-06 13:29:28 +00:00
Noel Grandin
6d77e0cb15 Bug 57917 - --enable-ext-oooblogger does not work with Python 3
Remove the oooblogger extension. It is unmaintained and the original
author (caolan) wants it dead.

Change-Id: Iff89f5badbb74f465c57e068a9e1acbbc13bc235
2012-12-06 11:14:24 +02:00
Jan Holesovsky
d5516e8fe2 MinGW: Fix configure.
Change-Id: Ia4f72b7bfe12f8f7e526b7dc2a2a2ba3d6eae861
2012-12-06 07:42:21 +01:00
Peter Foley
f9a6877199 kill oowintool
Change-Id: Ifb0c8a34ecb7b77a92fb67ca947b4ed46f51fd9a
2012-12-05 19:48:44 -05:00
Peter Foley
3be4585784 we dont execute config.guess anymore
Change-Id: Ia2a0158b2824748625e4ece26d3a145fefd519cb
2012-12-05 19:46:36 -05:00
Peter Foley
0f6286ae72 dont create warn file if no warnings
Change-Id: I338b76971c4fd94455231d58e9d0bcce4524e829
2012-12-05 19:45:26 -05:00
Tor Lillqvist
1a65a1b4fb Set OOO_VENDOR to the login name as fallback
If OOO_VENDOR is empty you get annoying warnings from the Windows
Resource Compiler at line 55 in solenv/inc/shlinfo.rc.
2012-12-06 02:37:31 +02:00
Tor Lillqvist
17f7ee8442 Let's try to enable compiling the Bluetooth code for Windows 2012-12-05 08:56:50 +02:00
Petr Mladek
0178ef0039 bump product version to 4.1.0.0.alpha0+, build id to 0
Change-Id: I0a8e86dc862b05e8c92738a565ae1513ea9e60b0
2012-12-04 17:17:11 +01:00
Stephan Bergmann
2d655683dd Typos
Change-Id: I40aff76df4ddef3774632a3dcdf67b943229feb3
2012-12-04 12:32:10 +01: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
Peter Foley
81b959dd97 cosmetic fixes
Change-Id: I763412bd1b6713b91c2e4a8d575ee2a14e9d5cf2
2012-11-30 10:22:12 -05:00
Stephan Bergmann
1f3496e204 Turn Python Scripting Provider from bundled extension to plain code
To avoid unnecessary confusion between the newly plain code and any instance of
the old extension still installed (per-user or shared), I renamed the UNO
implementation identifier org.openoffice.pyuno.LanguageScriptProviderForPython
to org.libreoffice.pyuno.LanguageScriptProviderForPython.  Also, existing
installations of the extension are explicitly not migrated to new user profiles.

Change-Id: Id3dd66ba5e52e0962f7ad0ccb5e4ad5b0bec97fa
2012-11-30 10:28:25 +01:00
Petr Mladek
4497b12f58 add --with-extra-buildid configure option
It can be used to show extra build indentification in the about dialog
just under the version string.

The plan is to show information about tinderboxes and make the life easier
for QA guys.

Change-Id: I4714a34cf13492c7bb92798b4b6d11385093f223
2012-11-29 18:34:07 +01:00
Tor Lillqvist
5c159626c6 Always use Java target version 1.5
It has been way too common for people to accidentally have a javac
from JDK 7 create class files that are of the newest version, which
older JREs and Android's dex then don't understand.

As many of the distro-configs files specified
--with-java-target-version=1.5 anyway, let's just hardcode that for
now.

Change-Id: I0853820dc56a062f053b5c2c30097bf1ff3798c1
2012-11-29 18:02:57 +02:00
Stephan Bergmann
79e5ee5f69 Isolate PDF Import so it can be made optionally installable
...which can be attractive for installation sets that use --with-system-poppler
but do not want the LO core package to depend on a poppler package.  See the
comment at the top of scp2/source/ooo/module_pdfimport.scp for details.

The build-time --disable-pdfimport configure switch is gone, PDF Import is built
unconditionally for all platforms but Android and iOS now.  (The
ENABLE_PDFIMPORT variable now uses TRUE/FALSE rather than YES/NO, to increase
consistency across those variables.)

Change-Id: I6509d0b2e770b276cd54540408fb1ec5a7dda058
2012-11-29 11:36:58 +01:00
Tor Lillqvist
8b2dfe5175 Fix indentation
Change-Id: I7efac64042fdd0b985114b06314cd7b81a6ecf6d
2012-11-29 10:26:20 +02:00
Tor Lillqvist
49c728d417 For now, we need a system Python to run build-time Python scripts on OS X
Change-Id: Ia46126f9f56668a14a66679b697ce54cec6ea0b8
2012-11-29 10:22:35 +02:00
Michael Stahl
07f5a7c8ab liborcus: must be built with -D_GLIBCXX_DEBUG for debug STL
... in --enable-dbgutil mode.

Change-Id: I095bc8f29570afd9912a615e98ef05e4249ea8f7
2012-11-28 22:42:55 +01:00
Tor Lillqvist
c87389c768 Add comment about Windows SDK 8
Change-Id: I91abacdbe75b36a61e110068e300c54c08c7ead2
2012-11-28 20:53:44 +02:00
Tor Lillqvist
adcb31d121 Use uniform spacing before the "then" of if statements
Change-Id: I657f14b26f76b874fd6d84eb6ae2009dfcbd0f88
2012-11-28 20:53:42 +02:00
Tor Lillqvist
22daf988ce More informative logging for the search for midl.exe, csc.exe and al.exe
Also adapt to the "bin" structure of the Windows Kit 8, where there
are no tools directly in "bin" but only in the "x86" and "amd674"
subdirectories.

Change-Id: Id3aaaaaba6f4386a54e7becbb2d4fc66a8f5a0d8
2012-11-28 20:53:41 +02:00
Jan Holesovsky
69c6ba9514 Update the Python checks for cross-compiling.
Change-Id: I1066c9108fd31682bd238df50bdf1cab0a05d3ec
2012-11-28 17:04:20 +01:00
Jan Holesovsky
332bd4296e MinGW: Bundle also the libpoppler-*.dll
Change-Id: I181e408e7bc585d93fbeb2ce76a32bc350845c91
2012-11-28 17:04:20 +01:00
Matúš Kukan
33a6f88180 bin --enable-oxygenoffice; it does nothing
Change-Id: Ibac9b92f5833253d6485009e0ea8ea11f2b8ed91
2012-11-28 16:33:00 +01:00
Kohei Yoshida
2ef1f2cad1 Update liborcus package to (pre-release) 0.3.0.
This is not the official 0.3.0 release.

Change-Id: I1d097ed30ea6c1835ac10d6be77e45a644449497
2012-11-28 10:00:46 -05:00
Matúš Kukan
e80393462d support for --with-all-tarballs
- this is needed for packaging, so that all possible tarballs can be
  available in the complete source package

Do not define tarball names in configure. Move the variables into
download.lst, which is going to be included in config_host.mk.
We already have conditions for getting tarballs in Makefile.fetch.

Change-Id: I160aff6426a253814eea07d2467e4942478f653a
2012-11-27 22:40:24 +01:00
Matúš Kukan
6d69a50e76 add fetch_Optional to have conditions for download in makefile
This is prepare commit for --with-all-tarballs.
We probably don't want to define the tarball names conditionally in configure.

Change-Id: Id41f73dd7094b3384ce43caf62018f53b3d86a81
2012-11-27 22:40:23 +01:00
Matúš Kukan
16aa073855 move ooo.lst and download parts to Makefile.fetch
Change-Id: I2d27341566d383002446c23bdf60c7aa0cabf37d
2012-11-27 22:40:22 +01:00
Matúš Kukan
bec854077c move check for wget and md5sum to configure
Change-Id: I1951f25ddff112e8184c90006cd6e87a1c02a930
2012-11-27 22:40:21 +01:00
Michael Stahl
9d921baa17 clean up PYTHON related version etc. variables:
- configure defines PYTHON_VERSION, PYTHON_VERSION_MAJOR,
  PYTHON_VERSION_MINOR
- remove pyversion.Makefile

Change-Id: I19ac8df18a520ad56bf63ea038dc0769b8249d0b
2012-11-27 16:57:19 +01:00
Stephan Bergmann
49313b0626 Make python3 work with custom VALGRIND_CFLAGS
Change-Id: Ia4b08a1b20bf46af4d06c0478ed8e795ee543703
2012-11-27 15:35:02 +01:00
Michael Stahl
602b746330 configure: switch system Python minimum to 3.3
System Python 2 can still be used by setting PYTHON, PYTHON_CFLAGS,
PYTHON_LIBS manually.

Change-Id: I4c2eccad3866ae2b037752e9e06768c444e0aa9a
2012-11-27 12:45:24 +01:00
Michael Stahl
38a22a9026 Switch from python to python3
Mac specific parts of patch by:
Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>

Change-Id: I90ef17c6f5a678230539a80ab999fa5344e4fc8f
2012-11-27 12:45:23 +01:00