Commit graph

167 commits

Author SHA1 Message Date
Luboš Luňák
ff5a80024a fix icu parallel build 2012-03-17 09:21:11 +01: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
Rene Engelhard
f42948d0df fix icu build on arm
(from http://patch-tracker.debian.org/patch/series/view/icu/4.4.1-7/arm-assembler.patch)
2012-02-17 16:40:46 +01:00
Josh Heidenreich
b469be0723 Added and improved READMEs for modules in libs-extern-sys 2012-02-09 18:23:49 +01:00
Caolán McNamara
7c21df4eb3 typo in .IF 2012-01-10 13:14:53 +00:00
Norbert Thiebaud
9bbb628e1b oops use == not = in dmake conditional 2012-01-02 09:43:27 -06:00
Norbert Thiebaud
77b7bd9b36 ICU relying on undef is not viable in cross-compile scenario 2012-01-02 06:21:01 -06:00
Tor Lillqvist
7d3c674a04 Abandon attempt to use the debug CRT in a dbgutil build 2011-12-20 18:08:08 +02:00
Caolán McNamara
cf5d0e20f2 Resolves: CVE-2011-4599 2011-12-12 12:44:34 +00:00
Tor Lillqvist
f62c8ecdfc Use -fno-omit-frame-pointer for Android (no idea if essential) 2011-11-21 18:21:49 +02:00
Tor Lillqvist
27f585b6b5 Link with -lgnustl_shared for Android 2011-11-21 15:48:54 +02:00
Tor Lillqvist
8a3ea757c3 Use --with-library-suffix=lo for Android to avoid clash with system ICU 2011-11-21 15:48:53 +02:00
Tor Lillqvist
190ddfcdb2 Don't use any major version soname suffix for Android
But... the names our ICU libraries get built as clash exactly with
Android's system ICU library names, predictably leading to chaos. I
will have to come up with a non-clashing names for our ICU libraries
on Android.

(But isn't it stupid to include an own build of ICU if there is one in
the system already? Sure, but on the other hand the NDK doesn't
include ICU headers or libraries, so clearly Google doesn't consider
it part of the documented API. No guarantee of version stability
etc. Indeed best to avoid them then.)
2011-11-21 01:51:18 +02:00
Tor Lillqvist
e0183772e5 Deliver just shared library file names ending in .so for Android 2011-11-10 01:46:19 +02:00
Tor Lillqvist
e4050a653b Don't consider newer Apple compilers having "universal" byte order
I don't understand what the "universal" byte order thing tries to
say. Sure, Apple's compilers can produce fat binaries, i.e. containing
code for multiple architectures, which I guess might have differing
byte order. But I think the test for an -arch flag being present here
is backwards, surely if you specify -arch i386 for instance, then we
*know* that the byte order is little endian, not "universal".

Anyway, this broke ICU when built against MacOSX SDK 10.6 at least,
the ICU configury used wrong suffix for ICUDATA_NAME, and genbrk
failed in i18npool with a mysterious "can not initialize ICU.  status
= U_FILE_ACCESS_ERROR" message.
2011-09-28 11:41:17 +03:00
Tor Lillqvist
2a214cc6d3 Compile also ICU for debugging if --enable-debug 2011-09-27 23:31:37 +03: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
Tor Lillqvist
eefc25d1d2 Bin USE_MINGW
Its alternative values as used by OOo is irrelevant to us as we don't
intend to support building using MinGW on Windows itself. To us, MinGW
always means cross-compilation. For us it is enough to look at
$(OS)$(COM), and WNTGCC always implies cross-compilation.

(OOo on the other hand attempts to support use of the Cygwin gcc with
the -mno-cygwin option (which is practically considered an obsolete
option), the normal MinGW compiler (but still from Cygwin), but not
cros-compilation.)
2011-08-26 20:54:59 +03:00
Jan Holesovsky
67f7622502 Fix some icu cross-building problems.
Still it does not finish, though; to be continued.
2011-08-19 18:43:29 +02:00
Tor Lillqvist
eab990db0a Let's try to do without the extra copy of icuin.lib as iicui18n.lib 2011-08-18 17:37:03 +03:00
Tor Lillqvist
adb5525740 Initial attempt at Android cross-compilation support
Recognize the arm-linux-androideabi "triplet". (Actually I doubt that
is a well-formed triplet at all, what are the Google people smoking?)

Allow longer lines in pkgdata.cpp as the compiler command line gets
quite long for cross-compilation to Android.

Add the proper assembly source file format for Android to pkg_genc.c
and use that.

Probably a good idea to use --disable-dyload on Android (and iOS).

Tweak gcc flags used for Android a bit to work around some Android C
header weirdness related to strictness and 64-bit types.
2011-06-11 17:50:36 +03:00
Tor Lillqvist
78f9b77628 Always compare CROSS_COMPILING explicitly to "YES" 2011-06-06 09:07:30 +03:00
Tor Lillqvist
6654a13382 No ICU_NATIVE_BUILD_ROOT used any more 2011-06-05 01:22:02 +03:00
Christian Lohmaier
fe8fb7e519 data/mappings/ucm*.mk & data/translit/trn*.mk don't exist in current icu anymore 2011-06-04 18:52:19 +02:00
Tor Lillqvist
56f35e6b39 Drop %_EXT% which was always empty 2011-06-03 13:27:35 +03:00
Christian Lohmaier
0d8c550265 (minor) EXTRA_CDEFS are preprocessor plags 2011-06-02 22:33:25 +02:00
Christian Lohmaier
5a4e27252d remove double "=" from assignment to STATIC_OR_SHARED 2011-05-30 16:37:15 +02:00
Tor Lillqvist
229b1d0673 Cross-compilation support and iOS in particular 2011-05-26 02:58:34 +03:00
Noel Power
a335ce660e hacky patch to deliver icuin.lib as iicui18n.lib fixes forms build error
no doubt not the right fix but gets the build over the hump
2011-04-05 06:25:17 +01:00
Petr Mladek
d116346084 icu-4.2.1-rpath.diff: pass $ORIGIN correctly to icu RPATH
need to escape the dollar '$'
2011-03-29 17:59:06 +02:00
Jan Holesovsky
9ffd61c43e Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/libs-extern-sys 2011-03-18 16:09:37 +01:00
Jan Holesovsky
0257dbcd07 Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts:
	dictionaries/de_AT/README_extension_owner.txt
	dictionaries/de_AT/makefile.mk
	dictionaries/de_CH/README_extension_owner.txt
	dictionaries/de_CH/makefile.mk
	dictionaries/de_DE/README_extension_owner.txt
2011-03-18 15:52:04 +01:00
Fridrich Štrba
be52ac8c78 Don't build static icu that nobody uses 2011-03-18 12:17:56 +01:00
Fridrich Štrba
c0470de216 Work around a strange problem with libicudata on Mac OSX 2011-03-18 12:05:11 +01:00
Fridrich Štrba
a12885cdad Don't build things we don't use and that are broken 2011-03-17 15:30:26 +01:00
Caolán McNamara
02b496a567 escape spaces in compiler name 2011-03-15 21:44:17 +00:00
Fridrich Štrba
1c3f71ec25 Make icu 4.4.2 build on Linux 2011-03-15 11:21:43 +01:00
Fridrich Štrba
dc1386ffc3 Downgrade icu to 4.4.2 2011-03-15 10:35:24 +01:00
Fridrich Štrba
9471e90f2b make apply on Linux where line endings matter 2011-03-14 16:26:14 +01:00
Fridrich Štrba
0abd2462ba Don't hardcode icu version in d.lst 2011-03-14 14:38:00 +01:00
Fridrich Strba
fb99fbe9bf Don't build with builtin wchar_t on Windows 2011-03-14 14:25:54 +01:00
Tor Lillqvist
beb70d756a Build the Relase configuration with msbuild 2011-03-14 14:55:27 +02:00
Fridrich Štrba
222b835228 Oops 2011-03-14 13:46:37 +01:00
Fridrich Štrba
ed9b67df35 Dupplicate symbol in Windows build 2011-03-14 13:44:24 +01:00
Tor Lillqvist
16aa533669 Now when attempting to use MSVC2010, use msbuild to build it 2011-03-14 13:21:50 +02:00
Caolán McNamara
65b7f05257 WaE: silence new icu warnings 2011-03-11 14:43:36 +00:00
Caolán McNamara
64c58dfa9f fix aix patch 2011-03-11 10:01:47 +00:00
Caolán McNamara
4c4f86df0c restore build of build patch that seem to still make sense 2011-03-11 09:03:27 +00:00
Martin Hosken
1745f16c63 Fix spacing in patch 2011-03-11 14:33:11 +07:00
Martin Hosken
1f5b215e2a reduce patch to remove need to match on trailing space that git strips 2011-03-10 22:39:00 +07:00