Commit graph

92 commits

Author SHA1 Message Date
Tor Lillqvist
c1dc38282b WaE: unused parameter 2012-03-01 01:26:16 +02:00
Stephan Bergmann
7c4f2ec8a7 Simplify install name handling for external libraries on Mac OS X
...by allowing our special @___... tokens anywhere within an install name,
so that external modules can configure --prefix=/@___... etc.  This removes
the need for the special extshl and EXTRPATH=LOADER.  Also, a new
OUT2BIN_NONE can be used for external modules where the generated libraries
need the default EXTRPATH=OOO, but generated executables are only used
during the build and such need RPATH=NONE.
2012-02-29 18:46:38 +01:00
Stephan Bergmann
9529389231 Mark cppunit patch as upstreamed 2012-02-14 11:40:31 +01:00
Stephan Bergmann
8b65733bbd -Werror=sign-promo from cppunit; old GCC redux 2012-02-10 15:02:25 +01:00
Stephan Bergmann
8de63bac75 -Werror=sign-promo from cppunit 2012-02-10 13:35:35 +01:00
Josh Heidenreich
dd929dd089 Added and improved READMEs for modules whihc used to be in libs-extern 2012-02-08 23:18:06 -05:00
Stephan Bergmann
581b43d46e Clarified patch status against new upstream 2012-02-01 12:26:56 +01:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Cédric Bosdonnat
faa285f267 cppunit build: fix the lib64 libdir on some linux distros 2011-12-05 11:17:46 +01:00
Tor Lillqvist
9a52bf1d5c Use lo_dlopen() on Android 2011-11-17 15:22:53 +02:00
Tor Lillqvist
9bb31596b9 Link libcppunit with the shared GNU C++ library for Android 2011-11-14 01:55:06 +02:00
Tor Lillqvist
aafe4bd7f6 We want Android shared objects to have names ending in .so
The silly apkbuilder tool doesn't add extra native libs to an .apk
package unless their name ends with .so. It just silently ignores
them. So, force libtool to avoid versioning suffix for Android.

Yeah, unclear whether apkbuilder is what we will end up using to
construct the APKs of actual LO code using Android apps. But at this
stage when just trying to build a unit testing app, it seems to be the
simplest way to get the .apk properly signed and all to just use a
normal Ant project, and let Ant run apkbuilder.
2011-11-10 01:23:45 +02:00
Michael Stahl
e0c72547ce enable libstdc++ debug mode with --enable-dbgutil 2011-10-11 17:56:59 +02:00
Peter Foley
fb6a64d8fc make libcmis build aginst internal cppunit 2011-10-01 18:34:50 -04:00
Thorsten Behrens
04b8b4fbbb Make Android cross-build working
In the spirit of 12759f67a3, change
external lib's config.sub to eat the arm-unknown-linux-androideabi
host os string. Also, permit shared libs again - seems Android can
handle those.

Added dictionaries to cross-build-toolset - idxdict is needed.

Should build up to sfx2 - some residual static lib issues there,
and in raptor.
2011-09-27 09:46:38 +02:00
Fridrich Štrba
bb5bdbbdca Revert "Trying to chop out the uwinapi library"
This reverts commit 2dea0dab4f.
2011-09-16 16:26:03 +02:00
Fridrich Štrba
2dea0dab4f Trying to chop out the uwinapi library 2011-09-16 15:52:40 +02:00
Caolán McNamara
8ff2d9d865 ENABLE_DEBUG_STL isn't working out for us, too easy to mix with and without 2011-07-22 11:27:34 +01:00
Tor Lillqvist
b02980cefb Pass also our EXTRA_CDEFS to the cppunit configury 2011-07-21 22:13:50 +03:00
Luboš Luňák
2588c7688c build cppunit also with STL debug when STL debug is enabled
http://lists.freedesktop.org/archives/libreoffice/2011-July/014970.html
2011-07-18 14:33:34 +02:00
Tor Lillqvist
8112e5ff23 iOS hacks
For iOS, the LibreOffice unit tests that normally are built as
"plugins", i.e. dynamic libraries, are actually built as static
libraries, because we don't do any dynamic linking of own code on iOS.

Enable giving the "plugin" unit test entry point a different name than
a fixed "cppunitTestPlugIn", so that several unit tests can be linked
together into one executable, for simplicity.

Drop the stupid dummy main() function in cppunit plugins. I doubt any
Unix platform we care for needs it, but drop just for iOS and MacOSX
for now.
2011-07-10 14:52:49 +03:00
Tor Lillqvist
96f256c215 Fix debugging build for iOS 2011-07-09 14:47:55 +03:00
Tor Lillqvist
c9722674d9 Build with -g if we want to be able to debug 2011-07-09 13:52:28 +03:00
Tor Lillqvist
167311be9b Make cppunit build for Android 2011-06-21 21:38:33 +03:00
Tor Lillqvist
d18133f5f0 Surely we are not building Cygwin DLLs in the WNTGCC case!? 2011-06-17 15:29:44 +03:00
Tor Lillqvist
c42df298f6 Surely we are not building Cygwin DLLs in the WNTGCC case!? 2011-06-17 13:35:02 +03:00
Tor Lillqvist
a25f3152a5 Fix compilation error with MinGW 2011-06-17 13:33:42 +03:00
Tor Lillqvist
04fa28416c Pass --host and --build flags also when cross-compiling to Windows 2011-06-17 13:25:35 +03:00
Tor Lillqvist
9b8b08b4da Deliver also static libcppunit if built in that way 2011-06-16 21:03:05 +03:00
Tor Lillqvist
d8aa986b13 Do build libccppunit when cross-compiling after all
Makes it easier to build other stuff. Whether we will actually run
normal unit tests at build time, or ever, or not when cross-compiling
to some platform is a different matter...
2011-06-16 14:07:53 +03:00
Tor Lillqvist
47ef127cb4 Always compare CROSS_COMPILING explicitly to "YES" 2011-06-06 08:57:32 +03:00
Tor Lillqvist
ad700e1f6e Drop %_EXT% which was always empty 2011-06-03 13:27:22 +03:00
Tor Lillqvist
b860ec1e3b Fix build on Windows 2011-05-15 16:24:46 +03:00
Tor Lillqvist
76d999a69d Fix typo 2011-05-14 04:26:29 +03:00
Tor Lillqvist
c7d75e6dd0 Mostly bypass when cross-compiling
Unfortunately it still untars the tarball. But at least nothing gets
built or delivered when cross-compiling.
2011-05-14 02:06:12 +03:00
Caolán McNamara
03022d302c I bet we need soltools here as a build dep 2011-03-20 12:21:01 +00:00
Jan Holesovsky
89c4f8907f Merge commit 'ooo/DEV300_m101' into intm101
Conflicts:
	cppunit/ldflags.patch
	hyphen/hyphen-2.4.patch
	libegg/source/eggtrayicon.c
	libtextcat/makefile.mk
2011-03-09 09:55:09 +01:00
Fridrich Štrba
b54d64f2b8 Try to avoid triggering autotools during the build
Since the version of autotools used for the rolling of the tarball
and the version on a machine running the build might be different,
avoid breaking builds.
2011-03-03 09:15:51 +01:00
Tor Lillqvist
ec2adc3f77 No need to include <windows.h> in TestPlugIn.h
We don't define any dummy DllMain() any more so no need to include
<windows.h>. That was necessary just to get the types used by the
DllMain() prototype.
2011-02-11 01:05:08 +02:00
Fridrich Štrba
95d376f09f Removing the ext_std masterpiece 2011-02-09 19:57:26 +01:00
Fridrich Štrba
1c497d6f5a Make stlport only optional dependency of postprocess 2011-02-09 19:57:26 +01:00
Tor Lillqvist
138cf77e51 Drop the unnecessary DllMain from CPPUNIT_PLUGIN_IMPLEMENT_MAIN()
It caused compilation errors even thanks to our workarounds for BOOL
clashes.
2011-02-08 13:53:25 +02:00
Takashi Ono
5497dad8f1 CWS gnumake3: adapt mingw port to new features in cws 2011-02-03 10:02:58 +01:00
David Tardon
c62eba21c8 fix the patch, i said! 2011-01-25 19:13:42 +01:00
David Tardon
bb5a845f45 fix the patch 2011-01-25 18:58:32 +01:00
David Tardon
ad24601ea8 rhbz#641350 don't segfault when test is built with debug. STL 2011-01-25 17:58:31 +01:00
Caolán McNamara
8791db4699 reenable this after tweaking deliver
reenable this after tweaking deliver to not remove a link unless symlink would
work
2010-11-06 12:21:31 +00:00
Kohei Yoshida
1efef67dfc Sorry, this breaks build miserably on linux. 2010-11-06 00:37:54 -04:00
Robert Nagy
3de55fc78d add the correct cppunit library name for OpenBSD 2010-11-05 09:14:39 +01:00
Caolán McNamara
09a2db1773 update libtooling and config.guess for aix 7 2010-10-13 14:33:29 +01:00