1018 Commits

Author SHA1 Message Date
Bjoern Michaelsen
9243d3e23e simplify extension logic in configure
Change-Id: I1b255f9da925501449d7a41ce5914595da582e40
2013-02-18 16:46:14 +01:00
Lionel Elie Mamane
0e6fdbd79f confgure.ac: dbgutil and system-libcmis incompatible
libcmis exposes STL containers in its API:
workdir/*/CxxObject/ucb/source/ucp/cmis/cmis_content.o: In function `cmis::Content::setCmisProperty(std::string, std::string, com::sun::uno::Reference<com::sun::ucb::XCommandEnvironment> const&)':
ucb/source/ucp/cmis/cmis_content.cxx:1756: undefined reference to `libcmis::Property::Property(boost::shared_ptr<libcmis::PropertyType>, std::__debug::vector<std::string, std::allocator<std::string> >)'
ucb/source/ucp/cmis/cmis_content.cxx:1762: undefined reference to `libcmis::Property::setValues(std::__debug::vector<std::string, std::allocator<std::string> >)'

Change-Id: Ife845ca5c6cedcbe57e5ce7fbdd8cc641dffae52
2013-02-17 13:44:51 +01:00
Lionel Elie Mamane
850b4c7e2d configure.ac: automatically find versioned servlet-api.jar
Change-Id: I87533bb16d0ac2bbcb7c8592c4f6caa1aa05c705
2013-02-17 12:03:13 +01:00
Stephan Bergmann
93c69637ff Improve configure support for --with-system-boost --with-boost=...
...by doing the Boost header checks (are they necessary at all, or does
AX_BOOST_BASE cover them anyway?) with BOOST_CPPFLAGS already set.

Change-Id: I341043fc514cf286c1ca295e69ff6cd4d3e7974c
2013-02-17 11:59:32 +01:00
Stephan Bergmann
5f5504a0c1 Remove unnecessary line
Change-Id: I4b9e11e2a790e00e9a4acc5eb81485b59ce15da2
2013-02-16 12:32:23 +01:00
Matúš Kukan
3717bbf31d remove zenity configure option
It has served well but it's useless nowadays.
build.pl is going to die anyway.

Change-Id: I7769528af7987e43fee8707ce5b4e2214d43c5b4
Reviewed-on: https://gerrit.libreoffice.org/2174
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-16 09:36:48 +00:00
Miklos Vajna
f6251134c9 configure: drop no longer working --with-linked-git option
--with-referenced-git works with submodules, --with-linked-git does not.
And I don't see a way to fix it, either.

Change-Id: Ib6cdb065a022665cd62e9fdc7fc37a9e916e50ad
Reviewed-on: https://gerrit.libreoffice.org/2165
Reviewed-by: Matúš Kukan <matus.kukan@gmail.com>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-15 20:11:26 +00:00
Stephan Bergmann
c91d353872 rhbz#908674: Adapt rtl::Allocator::construct to C++11
...otherwise, at least with some --with-system-boost versions and C++11
compilers, like with Fedora's boost-1.50.0-4.fc18.x86_64 and
gcc-c++-4.7.2-8.fc18.x86_64, using this to copy-construct an instance of
boost::unordered::detail::ptr_node<std::pair<rtl::OUString,Bootstrap_Impl*>> in
the call to p_bootstrap_map->insert(...) in rtl_bootstrap_args_open
(sal/rtl/source/bootstrap.cxx) would memcopy the ptr_node and fail to call
rtl_uString_acquire, leading to memory corruption later on when
rtl_uString_release is called one time too often.

It is not entirely clear to me whether this is a shortcoming of the given Boost
version, but this patch solves the problem and brings rtl::Allocator::construct
in line with the (changed) Allocator requirements of C++11 anyway.

The problem potentially lurks with every use of rtl::Allocator, but only showed
now begining with LO 4.0 where e5111574fd904b38a3980ca4ea3d21cfcb22dea6 "Revert
'sb140: sb140: #i116981# clean up memory upon exit'" re-introduced code into
rtl_bootstrap_args_open that inserts into a boost::unordered_map that uses
rtl::Allocator.

Change-Id: I3be22f59a8eb49d31458480c27f3ce15803c7fd4
2013-02-14 15:55:09 +01:00
Tor Lillqvist
100ac0876f Start on Bluetooth code for the Impress Remote for OS X
Work in progress. It sets up the SDP service record and registers it,
and that seems to work. Does not do anything with it yet.

I wonder if the current approach to use the standard SerialPort
service class will work for Macs, as they by default have one
SerialPort service running, "Bluetooth-PDA-Sync", whatever that
is.

There is no code in the Android app to handle the case of there being
several Serial Port services on the computer it wants to connect to,
so what happens then when there are two will be interesting to see.

(I can't find in the Android API any way to enumerate services that
use the same service class. If there was, the app could choose the
correct one based on its name.)

So probably we should pretty soon switch to using a dedicated service
class UUID instead of using the standard serial port one. As we
already have the app out in the wild it will probably have to be
modified to look for both Serial Port and our own service then? Sigh.

Change-Id: I1bee6403642e9b8953b5a8fa8fb5fe6a9dc76a09
2013-02-14 12:10:40 +02:00
Tor Lillqvist
f9890873d4 Build DESKTOP stuff for BUILD only if HOST is of type DESKTOP
The helplinker library has grown a dependency on the svt and tl libraries. But
the helpcompiler module is needed to be built for the BUILD platform only if
the HOST platform's BUILD_TYPE includes DESKTOP (or only if its BUILD_TYPE
includes HELP?).

We used to build helpcompiler and some other things for the BUILD platform
depending on whether the BUILD platform's BUILD_TYPE included DESKTOP.

Also, codemaker should surely be built for BUILD unconditionally, ant xmlhelp
presumably not at all.

Change-Id: I3df995ce6b92da4ce9eb35115cf3e8560e06f292
2013-02-14 10:31:20 +02:00
Rene Engelhard
a45b42b801 don't use -notimestanp when using gjdoc as javadoc
Change-Id: Ie729aaeaeff41838a435a043dec10c5016355187
2013-02-13 20:21:44 +01:00
David Ostrovsky
c260273f4d fix cross compiling with icu 50.1.2
Change-Id: Ib112a2d3f9a75890591137a78b46be982b7d43df
Reviewed-on: https://gerrit.libreoffice.org/2112
Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be>
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-12 08:29:45 +00:00
Norbert Thiebaud
a2a8a159df do not codesign by default on Mac. only codsigne if explicitely asked
Change-Id: I0173599672755de30b0517291f3b64654988f7b8
2013-02-11 13:37:15 -06:00
Tor Lillqvist
d52dbb974d Remove SDK >= 10.7 requirement for codesigning here, too
Change-Id: I76498e121cf94142fbeedae1703fb49c0a9817ca
2013-02-11 15:23:43 +02:00
Thorsten Behrens
17e9daa328 Remove limitation for codesigning to SDK >=10.7
Change-Id: Iae2fbdc3ead54869d94d1e01c24a3384adb2a2b7
2013-02-11 12:40:36 +01:00
Miklos Vajna
803137f471 configure: add --with-referenced-git option
This is similar to --with-linked-git, but:

1) It uses git submodule update --reference, so it works with submodules.

2) The created repo is a true git repo, except that its object database
reuses the referenced repo's objects, so it's a real speedup when e.g.
translations are enabled.

I intentionally didn't just fixed --with-linked-git, to make it clear
this is more like git clone --reference, not git-new-workdir.

Change-Id: I7c9584bce3670fd1e175b90aded2435cfe78056d
2013-02-09 19:21:53 +01:00
Peter Foley
f20af6b888 use md5 for scp2 stamp
Conflicts:
	Makefile.top

Change-Id: Ib416077c6a866c265f7346df8a86ac7bc254c37d
2013-02-06 14:04:46 +01:00
Tor Lillqvist
1651080f8a Add --enable-readonly-installset option
Not yet implemented in the code, but my idea is that any functionality
that modifies the system-wide installation will go away in this case.

Automatically set if --disable-externsions, or if building a sandboxed
LO for OS X.

Should probably be set automatically also when just building a signed
(but not necesssarily sandboxed) LO for OS X? Surely installing a
system-wide extension should count as tampering with the
app. Especially if we can make also extension (scripts) be signed (by
locating them in the Resources folder?)

Change-Id: Id654bfaa6331535a66eae1bc6531a756085a3f06
2013-02-05 22:53:52 +02:00
Peter Foley
856c075e93 convert libxslt to gbuild and add to tail_build
Change-Id: I16eb442fd65b3a2f3a44108f670fd364dc7a64c0
Reviewed-on: https://gerrit.libreoffice.org/1988
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2013-02-05 19:47:04 +00:00
Petr Mladek
81deb92029 use "icerun" wrapper only when available
It is not provided by the old icecram-0.9.2 on SLED11

Change-Id: If8dc9b028276ac05733eb59c1ec62e352f4a2796
2013-02-05 15:18:43 +01:00
Tor Lillqvist
6a0017e05c Use the "Developer ID Application" identity for codesigning by default
Change-Id: I460f18f257323745a068b1685b295b0379615e1b
2013-02-05 01:52:42 +02:00
Tor Lillqvist
e1347c650e Copy also lo.xcent.in to CONF-FOR-BUILD
Change-Id: I77b3e7afdcb034f48acbedfdc7b7372ee81f958a
2013-02-03 23:02:20 +02:00
Tor Lillqvist
4783eea726 Experiment with sandboxing
Change-Id: If491917069ef7c474c27190c4759dd75f025f032
2013-02-03 11:37:54 +02:00
Tor Lillqvist
e6093cff47 Clarify the different kinds of signing certificates (stackoverflow.com)
Change-Id: Ib0a7e74d394c3c5f7d2f3d7f5ba70bf6a714b604
2013-02-02 12:38:37 +02:00
Tor Lillqvist
ebdd616580 Add option to set bundle identifier and use it when signing
Sign also all the dylibs and frameworks in the bundle.

Change-Id: I7f67b9d7eda0204b24e2ea2ef44a53fb8db0f8aa
2013-02-01 14:51:20 +02:00
Tor Lillqvist
b46e964064 Configury of OS X code signing and sandboxing
Change-Id: I7d63af2ddb67104daaddcb5f111e26269b9b5030
2013-02-01 14:51:19 +02:00
Tor Lillqvist
6719c7893b Warn about 10.4 compatibility only as required for TDF builds
After all, if somebody else wants to distribute builds that require
something newer, they are allowed to.
2013-02-01 08:38:32 +02:00
Tor Lillqvist
f33c8056a8 Enforce DISABLE_LINKOO on OS X
solenv/bin/linkoo doesn't do anything on OS X anyway, and even if it
would do and it would work, it would interfere with signing the app
bundle.

Change-Id: If7a6cecea57cddf8a637a60872d0372eb5093f41
2013-01-31 23:23:37 +02:00
Tor Lillqvist
c5b1441ede Use separate config_*.h files for BUILD and HOST when cross-compiling
We have only been lucky so far that there hasn't been any compilation errors
caused by using the HOST platform config_*.h files also for the BUILD
platform. But as more and more information found out during configury is
stored in config_*.h files, sooner or later it will be a problem.

Move config/* to config_host/*. When not cross-compiling, the config_*.h files
in config_host expanded from config_*.h.in are all there is. When
cross-compiling, the generated config_*.h files for the BUILD platform are
put into a config_build folder.

Then use config_build when building the cross_toolset and config_host
otherwise.

Change-Id: I3c28cc83866bffd696b45d00dfb68e00bc2ae538
2013-01-31 21:43:59 +02:00
Miklos Vajna
3891d323cd Introduce SAL_OVERRIDE
Change-Id: I3675b627d5e9ca19b2c4fb69fef12d0dabf94a43
2013-01-30 21:35:36 +01:00
Miklos Vajna
5f27719e4e configure: better libstdc++ ABI breakage check
The old code expected that gcc -dumpversion outputs x.y.z, but just x.y
is also a valid output. Use the preprocessor defines instead, this way
SUSE 4.7.2 gcc will use -std=gnu++0x as well.

Change-Id: I9871b05953ab255c66dd152c0befd29037522902
2013-01-30 21:16:02 +01:00
Mathias Michel
8d16259c34 Consolidated branding in configure
Removed individual options (intro* and startcenter* + images) in favor of a folder with graceful fallback.
Grouped progress bar intro settings in a text file into the branding folder

Change-Id: Ib56b80e43c474a944ac79c0a842d66487e9f91d5
Reviewed-on: https://gerrit.libreoffice.org/1704
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-01-30 11:12:11 +00:00
David Ostrovsky
165387b4e7 WITH_LANG: add en-US if it is missing
Change-Id: Ie12913691fa3d01bc7ad2fc0c108821d0937d250
Reviewed-on: https://gerrit.libreoffice.org/1919
Tested-by: Miklos Vajna <vmiklos@suse.cz>
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-30 08:22:28 +00:00
Tomas Chvatal
9efe8c8f2b Explicitely check for gtk when enabling telepathy
This is needed in tubes.

Change-Id: Ia77968a68da4e781c6e5d4c202b3e5f751f1c952
Signed-off-by: Tomas Chvatal <tchvatal@suse.cz>
Reviewed-on: https://gerrit.libreoffice.org/1904
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-29 12:53:15 +00:00
Peter Foley
b02d799732 convert mysqlc to gbuild and add to tail_build
Change-Id: Ia64bc884ed04a5d5652fb743f543a39e6b6bbcf2
Reviewed-on: https://gerrit.libreoffice.org/1901
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-28 22:54:08 +00:00
Peter Foley
c322d50923 convert mysqlcppconn to gbuild and add to tail_build
Change-Id: I33a9ff3393b90c5b9f7d7fa85e8761c02160664f
Reviewed-on: https://gerrit.libreoffice.org/1900
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-28 22:54:03 +00:00
Riccardo Magliocchetti
9cacd76701 configure: accept building without themes
If --with-theme=no is specified disallow any check for valid themes
which would otherwise give an error.

Change-Id: I45d2872145f3bd15e17beac4f69f8b4b1855d9a3
Reviewed-on: https://gerrit.libreoffice.org/1879
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-01-28 12:42:25 +00:00
Andras Timar
535006f365 fix MSM name for x64 in the VC90 case
Change-Id: I69ff4f69e3ef93ed36cdcda9c54513624e8c98d0
2013-01-24 10:52:48 +01:00
Peter Foley
774dd42dd1 fix MSM name for x64
Change-Id: Idc81352de3d2a9550457e8f56fd819c0296fd2a8
2013-01-23 19:12:37 -05:00
Stephan Bergmann
7a4275a142 Adapt configure --help output
...to 75e32e150133511d8f098a253a56426ed0302cec "default to --without-help and
--without-myspell-dicts."

Change-Id: I018b8033f3a9d485b5cf5a9392719748426de53b
2013-01-23 16:11:02 +01:00
Andras Timar
a5794f0863 sort out msm finding/copying issues
Change-Id: Id54b9a480b345b52f86c53f6a0a939c18807ec05
2013-01-23 16:05:01 +01:00
Norbert Thiebaud
62bc5c29ff disable odk if not explicitly requested and doxygen not in PATH
if odk is not explicitly requested by --enable-odk
and --with-doxygen is "yes" , i.e not a specific location
and doxygen could not be found in the PATH
then enable_odk is set to "no" as a default value
rather than an implicit 'yes'

Change-Id: I4f04ecc8dbe959001f6dfdccf0c97b61f79faff6
Reviewed-on: https://gerrit.libreoffice.org/1789
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-01-21 08:32:45 +00:00
Norbert Thiebaud
75e32e1501 default to --without-help and --without-myspell-dicts
Updated the distro-configs so that the default change
does not impact build based on distro profile

The intent is that with this change of defaults
the build does only rely on core and does not need
any submodules. Making a initial build simpler
for new dev, since they won't be exposed to submodules
unless they really need them.

Change-Id: I446e912d607ce7358fd11f54a3de025dc3f25144
Reviewed-on: https://gerrit.libreoffice.org/1791
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-01-21 08:31:58 +00:00
Matúš Kukan
8e65b38081 --with-nss-build-tools is not used anymore
..since 6eff6fae6272e8ed5d74553597bb4b73db3f2864

Change-Id: I93559aee05a20c1119612c896acaefb97fc90bb4
2013-01-16 14:24:45 +01:00
Tor Lillqvist
47a95b1f16 Generate also the ABOUTBOXPRODUCTVERSIONSUFFIX from the AC_INIT
Change-Id: I9b7ce03daac7ae223cba1b8741042431aabe7f59
2013-01-16 12:28:48 +02:00
Andras Timar
9f813d9f69 fdo#58026 typo fix in Addons.xcu of Google Docs extension
Change-Id: I44e6ade6f9c89cc8086a7a69a0f7a81470c85ba8
2013-01-15 11:26:41 +01:00
Tor Lillqvist
484bb96aa9 Update comment
Change-Id: I7afe33dc6ec3ce8f8fa3abe73463ff5293920a41
2013-01-12 15:34:28 +02:00
Tor Lillqvist
e1a467e618 Expand also openoffice.lst for version numbers from configury
Change-Id: I7bad1639488616db3823e25d6508e8e57f2212ef
2013-01-12 14:36:16 +02:00
Tor Lillqvist
f5cde53719 Set version number in AC_INIT() in configure.ac only
Output a solenv/inc/minor.mk based on that. Get rid of RSCVERSION and
RSCREVISION. Automate the end of the copyright year range, although I
am actually not sure if that is OK.

Change-Id: Ibae2d139b1dd468ee80d18a2a41b786a532df809
2013-01-11 15:07:10 +02:00
Tor Lillqvist
fc4003e960 Make the LIBO_VERSION_* macros integers, not strings
Change-Id: I6083de4a3f88d50cf4e923aa7fb495fe1711b632
2013-01-11 14:02:46 +02:00