Commit graph

122 commits

Author SHA1 Message Date
Tor Lillqvist
3aa3d170a0 Bypass cppunit stuff for non-DESKTOP in more places
We don't run any cppunit tests for cross-compiled platforms anyway, so no
point in compiling that. (Especially as compiling cppunit currently fails in a
--enable-werror build at least for Android thanks to -Wundef.)

Change-Id: I3139c62305ccfeddc0f67729f10e224618d2fc03
2013-04-02 18:17:51 +03:00
David Tardon
930fe05817 fix library name
Change-Id: I70dd4c9a54af8b6eeeaa6b075c5e54e296c670f1
2013-03-27 07:16:06 +01:00
Luboš Luňák
92a3408646 fix Wundef in cppunit
Change-Id: Ide5f9d36cf7e5e8cd3442a1b5f098a85cb8d6de0
2013-03-18 17:14:38 +01:00
Michael Meeks
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
Michael Stahl
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
Norbert Thiebaud
ed26c01be1 quiet external module build log unless failure
ExternalProject usually involve a configure and a make
step that produce a bunch of output usually irrelevant
including a large number of warning and other mess.
now that everything is pretty much in tail_build
these output get interleaved with useful output from
the build of the product and actually drown them in a logorrhea
of messy noise.
This store the output of external modules in a log file
and only print them as a whole if the module failed do build.
on a non-verbose build.

Change-Id: I3abfcccd6d16821a9e061a71e031b427cc283647
Reviewed-on: https://gerrit.libreoffice.org/2304
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-22 08:25:56 +00:00
Tor Lillqvist
92dbf9df48 No point in the DllPlugInTester executable on non-desktop OSes, I think
Change-Id: I46e4081375e2f7eda0c9f443cf28dcfe575a7dba
2013-01-03 20:21:49 +02:00
Michael Stahl
3f27da0a67 gbuild: replace all use of PRODUCT with ENABLE_DBGUTIL
Also fix the wrong check in cppunit/ExternalProject_cppunit.mk
which caused cppunit to always be built without -D_GLIBCXX_DEBUG.

Change-Id: Ia247dcd84e2c6fa0e9384fd27643537984d980b5
2013-01-03 16:02:13 +01:00
Michael Stahl
1fa1c73f68 cppunit: CXXFLAGS should be set only once
Change-Id: I67e38db4b41849ac4be4ad20825391c84c7ed412
2013-01-03 16:02:12 +01:00
Tor Lillqvist
0699cbf1ab Make the patch apply the gbuild way
Change-Id: I0d0d6e7ef42b3fbddbb8f4267099ea3b029c01ac
2012-12-22 23:48:21 +02:00
Tor Lillqvist
94a1b9c46f Fix VS2012 build at least for me 2012-12-12 13:39:17 +02:00
Tor Lillqvist
3de4b440a2 No .libs directory when DISABLE_DYNLOADING
Change-Id: I4e72093ade16bde4715cd60bf98779c462dd09e5
2012-12-08 20:21:47 +02:00
Norbert Thiebaud
76c19172de missing delivery in cppunit on Mac
Change-Id: I45e608da450b34c516974cfa1bf6267f5d6ddd29
2012-12-07 16:03:21 -06:00
Luboš Luňák
135fbb750e get cppunit/disable-dynloading.patch to apply 2012-12-07 20:05:25 +01:00
Stephan Bergmann
b66e034904 cppunit is PLAINLIBS_NONE
Change-Id: Id6401999d20069f17133a765195cd49b50ff532f
2012-12-07 08:15:58 +01:00
Stephan Bergmann
b5b316ad7f One more typo
Change-Id: Ie08b5ebf76f22a42c99729a284bf1931a7cf9bc9
2012-12-07 08:10:48 +01:00
Stephan Bergmann
6f067655b3 Typo
Change-Id: Iff8315535293613423199aaffeac904e721928bf
2012-12-07 07:55:50 +01:00
Markus Mohrhard
7ff25fde3e Revert "fix pretty broken cppunit gbuild conversion on windows"
This reverts commit 58cb1a2f25.
2012-12-07 01:04:54 +01:00
Luboš Luňák
58cb1a2f25 fix pretty broken cppunit gbuild conversion on windows
The original dmake makefile.mk even said the files were missing ... ?
2012-12-07 00:29:45 +01:00
Peter Foley
143835b928 convert cppunit to gbuild
Change-Id: Idcba54973940b9f197f2fd84a906b50468d1b166
2012-12-06 13:53:52 +01:00
Tor Lillqvist
f0eaba8c45 config.sub doesn't need patching any more it seems
Change-Id: I87c779de583011d340cece39efa32e891d20852d
2012-09-26 11:28:32 +03:00
Markus Mohrhard
342211da33 update cppunit to 1.13.1
Change-Id: I13a74ca921bb4b0766fab2123f46a97c90372a44
2012-09-25 21:54:07 +02:00
Tor Lillqvist
24c6641317 Adapt for DISABLE_DYNLOADING possibility also for Android
Change-Id: Iecc8c35b5b2235bc3408f2ecf3969317ac8bf679
2012-09-14 14:39:25 +03:00
Tor Lillqvist
df812bf9d5 Resurrect cppunit/ios.patch
Change-Id: Ie39f608d807ffd8cfb670e69a165cf4dd1e50d49
2012-08-21 19:16:00 +03:00
Tor Lillqvist
b2315f6b7b Use dlerror()
Change-Id: Id4cb837d7c2441df1c46795a52385e2e0e605a46
2012-08-17 20:28:49 +03:00
Tor Lillqvist
8b5cf7fb57 For kicks, enable cross-building for Android on MIPS
Change-Id: I6fa2b9a50c525fb2d8666a144409eb9a3ad2698a
2012-08-16 21:05:14 +03:00
Markus Mohrhard
2414bb8d9e add windows patch back
Change-Id: Id30b06eb093e373da6eb328b5d22788f308ae4ff
2012-06-29 14:41:18 +02:00
Markus Mohrhard
8122fdb0d3 use updated cppunit-1.13.0 sources
Thanks a lot to Fridrich.

Change-Id: Iab8c1454f5aaf629b4761f451fbd075fd59bfa62
2012-06-28 10:49:10 +02:00
Markus Mohrhard
fa0fd16526 update cppunit to 1.13.0
Change-Id: If3896361c31a84b77e4c446dac75aeb9268605a0
2012-06-27 19:09:50 +02:00
Bjoern Michaelsen
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
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