Commit Graph

102 Commits

Author SHA1 Message Date
f0eaba8c45 config.sub doesn't need patching any more it seems
Change-Id: I87c779de583011d340cece39efa32e891d20852d
2012-09-26 11:28:32 +03:00
342211da33 update cppunit to 1.13.1
Change-Id: I13a74ca921bb4b0766fab2123f46a97c90372a44
2012-09-25 21:54:07 +02:00
24c6641317 Adapt for DISABLE_DYNLOADING possibility also for Android
Change-Id: Iecc8c35b5b2235bc3408f2ecf3969317ac8bf679
2012-09-14 14:39:25 +03:00
df812bf9d5 Resurrect cppunit/ios.patch
Change-Id: Ie39f608d807ffd8cfb670e69a165cf4dd1e50d49
2012-08-21 19:16:00 +03:00
b2315f6b7b Use dlerror()
Change-Id: Id4cb837d7c2441df1c46795a52385e2e0e605a46
2012-08-17 20:28:49 +03:00
8b5cf7fb57 For kicks, enable cross-building for Android on MIPS
Change-Id: I6fa2b9a50c525fb2d8666a144409eb9a3ad2698a
2012-08-16 21:05:14 +03:00
2414bb8d9e add windows patch back
Change-Id: Id30b06eb093e373da6eb328b5d22788f308ae4ff
2012-06-29 14:41:18 +02:00
8122fdb0d3 use updated cppunit-1.13.0 sources
Thanks a lot to Fridrich.

Change-Id: Iab8c1454f5aaf629b4761f451fbd075fd59bfa62
2012-06-28 10:49:10 +02:00
fa0fd16526 update cppunit to 1.13.0
Change-Id: If3896361c31a84b77e4c446dac75aeb9268605a0
2012-06-27 19:09:50 +02:00
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
c1dc38282b WaE: unused parameter 2012-03-01 01:26:16 +02:00
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
9529389231 Mark cppunit patch as upstreamed 2012-02-14 11:40:31 +01:00
8b65733bbd -Werror=sign-promo from cppunit; old GCC redux 2012-02-10 15:02:25 +01:00
8de63bac75 -Werror=sign-promo from cppunit 2012-02-10 13:35:35 +01:00
dd929dd089 Added and improved READMEs for modules whihc used to be in libs-extern 2012-02-08 23:18:06 -05:00
581b43d46e Clarified patch status against new upstream 2012-02-01 12:26:56 +01:00
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
faa285f267 cppunit build: fix the lib64 libdir on some linux distros 2011-12-05 11:17:46 +01:00
9a52bf1d5c Use lo_dlopen() on Android 2011-11-17 15:22:53 +02:00
9bb31596b9 Link libcppunit with the shared GNU C++ library for Android 2011-11-14 01:55:06 +02:00
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
e0c72547ce enable libstdc++ debug mode with --enable-dbgutil 2011-10-11 17:56:59 +02:00
fb6a64d8fc make libcmis build aginst internal cppunit 2011-10-01 18:34:50 -04:00
04b8b4fbbb Make Android cross-build working
In the spirit of 12759f67a36d52a345be6002d7017551e8414c59, 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
bb5bdbbdca Revert "Trying to chop out the uwinapi library"
This reverts commit 2dea0dab4fafda3c10a5bd03ad15ed39a4658b51.
2011-09-16 16:26:03 +02:00
2dea0dab4f Trying to chop out the uwinapi library 2011-09-16 15:52:40 +02:00
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
b02980cefb Pass also our EXTRA_CDEFS to the cppunit configury 2011-07-21 22:13:50 +03:00
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
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
96f256c215 Fix debugging build for iOS 2011-07-09 14:47:55 +03:00
c9722674d9 Build with -g if we want to be able to debug 2011-07-09 13:52:28 +03:00
167311be9b Make cppunit build for Android 2011-06-21 21:38:33 +03:00
d18133f5f0 Surely we are not building Cygwin DLLs in the WNTGCC case!? 2011-06-17 15:29:44 +03:00
c42df298f6 Surely we are not building Cygwin DLLs in the WNTGCC case!? 2011-06-17 13:35:02 +03:00
a25f3152a5 Fix compilation error with MinGW 2011-06-17 13:33:42 +03:00
04fa28416c Pass --host and --build flags also when cross-compiling to Windows 2011-06-17 13:25:35 +03:00
9b8b08b4da Deliver also static libcppunit if built in that way 2011-06-16 21:03:05 +03:00
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
47ef127cb4 Always compare CROSS_COMPILING explicitly to "YES" 2011-06-06 08:57:32 +03:00
ad700e1f6e Drop %_EXT% which was always empty 2011-06-03 13:27:22 +03:00
b860ec1e3b Fix build on Windows 2011-05-15 16:24:46 +03:00
76d999a69d Fix typo 2011-05-14 04:26:29 +03:00
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
03022d302c I bet we need soltools here as a build dep 2011-03-20 12:21:01 +00:00
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
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
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
95d376f09f Removing the ext_std masterpiece 2011-02-09 19:57:26 +01:00