702 Commits

Author SHA1 Message Date
David Tardon
48c9d7ac7c rebase all import libs
Change-Id: I9e1fc613816c943f4fb1033185e34e3acf317f1d
2014-05-26 18:49:04 +02:00
Jan Holesovsky
318ffa8824 libgltf: Update openmp-related patch to newer libgltf.
Change-Id: I6f7e8d974030169bb00fbd81a0e2190640702729
2014-05-26 16:39:23 +02:00
Stephan Bergmann
f5d90767d1 external/liblangtag: Fix memory leak
Change-Id: I7d58c1aad5ec21f14569caedbada56cc31a5ff99
2014-05-26 14:25:26 +02:00
Michael Stahl
09c0a96eb3 externals: do not use "v110_xp" when building with MSVC 2012 and SDK 8.0
Change-Id: I40bc9e4c31e270f29cc145b5d2f3544cad586bf7
2014-05-26 11:39:06 +02:00
Tor Lillqvist
9444a1ffcc Let's make it fully clear what we want
Change-Id: Idfd73565c29c4ebcf561955fa965a81888a59315
2014-05-26 08:25:42 +03:00
Tor Lillqvist
ef11f552a6 Don't build as shared library when DISABLE_DYNLOADING
Change-Id: Ib3339689d41f02b258f6c398887faae28e602a5c
2014-05-26 08:11:49 +03:00
David Tardon
c5b76e3211 the other way around...
Change-Id: I6aeaa95079e37e710e5b8b1b8ce24464e11f45bb
2014-05-25 21:00:07 +02:00
Zolnai Tamás
fe4a58ebb6 opencollada: remove unneeded patch
The same problem (uninitialized bool) is solved by
0002-Expose-sid-for-textures-in-extras.patch.1.
Additionally handling empty string on a different way
was a mistake so that part is unneded too.

Change-Id: I1eaa86fa7c6ef7216c0fc26ebf2ee4ec5c0936aa
2014-05-25 20:28:37 +02:00
Jan Holesovsky
a850d96fad Update OpenCollada and collada2gltf to the newest versions.
Change-Id: Iee0b9f08843220e8ece00739ca01aa438b93965a
2014-05-25 14:19:28 +02:00
David Tardon
b421ce79e3 bundle librevenge
Change-Id: Ic36c1670866545db2cf2f29867de7e5b0ad2d57d
2014-05-25 12:48:09 +02:00
David Tardon
36c3f91426 build libodfgen as shared lib
Change-Id: I3a2c9f56e87ee6395bd3505a8fe372632e242312
2014-05-25 12:48:09 +02:00
Christian Lohmaier
788228e4ae fdo#77891 unconditionally disable console streams for WinXP
as the functions to check for a valid filehandle don't work according to
the documentation. Python in LO-Context is run from GUI anyway, and thus
won't have those hooked up.

Change-Id: I8bc048463b0dc1a25c1b6ba7422623dda110eddc
2014-05-24 23:52:14 +02:00
Zolnai Tamás
2d8941eea6 kmz3collada: Workaround for missing textures
The write-only-.dae-file-which-we-need.patch makes the converter
extract only the *.dae file but textures are stored in seperate
image files we need to extract too.
On the other hand this patch makes the converter buildable on all
platforms, since this only works on Windows originally. So for now
disable this patch on Windows so here we won't loose textures
but enable it on other platforms for buildability.
Later we need to solve kmz conversion properly.

Change-Id: Iede9e3bdd5a68a9002f5fa38da8a6459dda8d805
2014-05-24 23:29:35 +02:00
Michael Meeks
42f2f47330 libgltf: turn off openMP usage without any detection code.
Change-Id: Ic823109b812a3d99d8462cf67cd9aa87094bba06
2014-05-24 20:38:29 +01:00
Michael Meeks
02638a0865 cppunit: always compile with debugging symbols on windows.
Also cleanup some makefile pieces and give better error warnings.

Change-Id: I9f20d60f26d5828f60664941946c266c7d166f32
2014-05-24 20:05:46 +01:00
Jan Holesovsky
a0ef37c55f libgltf: Another new version.
Change-Id: I784579717674f1caf68ad489d1a931936f6f9651
2014-05-24 17:52:41 +02:00
Zolnai Tamás
3191d7d130 collada2gltf: one more URL usage fix
This one caused empty images and so textures were
missing.

Change-Id: Ia1e93270b7f5ec560b39a41d207e84171bb2434a
2014-05-23 22:08:33 +02:00
Stephan Bergmann
fa2fcc2074 external/python3: Fix memory leak in configure check code
...that LeakSanitizer would complain about, causing the check to erroneously fail.

Change-Id: Ieaef38576afd6196d38f395d48fd1bc92b22ddb6
2014-05-23 16:50:16 +02:00
Stephan Bergmann
67825fe270 dlclose confuses LeakSanitizer
Change-Id: I2bebbf1615ddc3619bcc3bf940f70c0967ce8534
2014-05-23 16:50:16 +02:00
Stephan Bergmann
24819d71ec Fold hyphen-c99.patch.0 into hyphen-fdo48017-wfopen.patch
Change-Id: I2f866aa16704bc5492e0e0b78136fdfe41caa7a5
2014-05-23 09:51:11 +02:00
Stephan Bergmann
e21cb52427 external/hypen: Fix for pre-C99
Change-Id: Iff0692768cbcaa68f79404a9a933044fe8bb9096
2014-05-23 09:37:23 +02:00
László Németh
6d06aa8ba8 fdo#48017 WIN32 long path support in Hyphen and MyThes
Change-Id: Ifb068efb553ed24a7caf65dbab28726bdeced0e6
2014-05-23 01:06:50 +02:00
Christian Lohmaier
87c1aa16a9 use $(gb_AWK) instead of awk
Change-Id: Ia00d7e52de5edfce09c3a0a8aa4390e3e1582a01
2014-05-22 22:49:02 +02:00
Zolnai Tamás
60ce9e98cb collada2gltf: move patches to an own folder
Change-Id: Ife28845af92883d8090bb80283c59a0a9a350b32
2014-05-22 16:15:42 +02:00
Zolnai Tamás
1dd84fc467 collada2gltf: fix URL problems
collada2gltf does not handle Windows pathes, the used COLLADABU::URI
class can't parse native Windows pathes so call COLLADA2GLTFWriter
with URL only.
Other problems:
collada2gltf uses the URL path for creating/opening files,
instead of native ones.
collada2gltf initializes _outputFilePath member in different way,
sometimes as an URL path, sometimes as a native one, but handle it
on the same way(as an URL).

Change-Id: I104182653c07e7dcf6fc5b6e32c7031d59246b84
2014-05-22 16:15:41 +02:00
Zolnai Tamás
d466f926f8 opencollada: move patches to an own folder
Change-Id: I0b60fa5b0af8224b4c517367130aa9738f071531
2014-05-22 16:15:34 +02:00
Zolnai Tamás
7cafb75533 opencollada: uninitialized bool variable broke the parsing
GeneratedSaxParser::Utils:toURI() method has a bool output
parameter called failed, which is assumed to be set inside
the method before return. At some place the caller code does
not initialize the bool variable passed to this failed parameter
and so when the caller checkes the returned value it is
undefined.
e.g. it can be false when the method called successfully so
the error handling throws away the returned URI.

Change-Id: I3f90fab657a86b42bba0f492518e36c343e69d21
2014-05-22 16:05:21 +02:00
Stephan Bergmann
60c43d81ad Some trivial fix for hash function signed overflow undefined behavior
Change-Id: I41ec24a02867ba3c5bf4f39b5d79bf6a3254ad0d
2014-05-22 14:33:32 +02:00
Stephan Bergmann
77ad60af11 Adapt CppUnit to our CPPUNIT_PLUGIN_EXPORT
...which mentions extern "C", so CppUnit's TestPlugInSignature must reflect
that.  It is a bit odd how CPPUNIT_PLUGIN_EXPORT needs to be passed into
CppUnit, so probably best to keep this as a local patch for now.  (Clang's
-fsanitize=undefined complained about the mismatch.)

Change-Id: Ied179a1afe82ceb04de4739c14cf8fadff31b80f
2014-05-22 14:33:31 +02:00
Stephan Bergmann
c1db9194a5 Record patch upstream notification
Change-Id: I102160cb6fac41f5ba3caa5cb947aebbcd62681f
2014-05-22 10:28:19 +02:00
Matúš Kukan
197f2016e3 fdo#77313: coinmp: error: format not a string literal and no format arguments
Change-Id: I044f12c4b7b28963d6d491d5e5850ddb59a564c4
2014-05-22 08:10:19 +02:00
Stephan Bergmann
c01904f91f external/clucene: Avoid InitOrderFiasco
...as reported by AddressSanitizer, where src/core/CLucene/index/IndexWriter.cpp
initializes IndexWriter::MAX_TERM_LENGTH with the value of
DocumentsWriter::MAX_TERM_LENGTH before the latter is initialized in
src/core/CLucene/index/DocumentsWriter.cpp.  But turns out that
IndexWriter::MAX_TERM_LENGTH is completely unused.

Change-Id: Ica01186584ec05a989a13dc58823f4751e8724e2
2014-05-21 21:32:36 +02:00
Jan Holesovsky
1554fc9611 libgltf: Updated version.
Change-Id: Ia394ff00421f495757cc2ce55e7b91bfebe715eb
2014-05-21 17:52:28 +02:00
Jan Holesovsky
f635aed5b1 libgltf: The FPS counting is not necessary in LibreOffice.
And leaving it out kills the freetype dependency :-)

Change-Id: I1fa33492da9d30a98014bae06aa196a508cedfe7
2014-05-21 10:36:54 +02:00
Jan Holesovsky
f933cb0a64 libgltf: Update to the new version.
Change-Id: Iffc91425d4395699a1c5f18ac10f5ed065231fdf
2014-05-21 10:36:53 +02:00
Douglas Mencken
7e4708739d care for Java 1.5 support in external packages
apache commons-lang 3.3.1 and commons-codec 1.9 are for use
only with JDK 1.6 and higher

see commits:
  1731f6e692bb0a07a2bca4b1b190163f209d2b9e "bump apache-commons-lang to 3.3.1"
  3dad9b1019bebcc6db63a424afa146e007f768d2 "bump apache-commons-codec to 1.9"

Change-Id: I3e71f6474becafe6c91836bbac5c6a8b7ca3442c
Reviewed-on: https://gerrit.libreoffice.org/9312
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-21 07:57:55 -05:00
Thomas Arnhold
005fae2bdd upgrade to python-3.3.5
- remove now obselete patches, which were applied upstream.
- Hack to get MacOS to build

Change-Id: Id68e78e411efc92a46ea9e180f09c390fe5acb4a
Reviewed-on: https://gerrit.libreoffice.org/9311
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-05-21 00:08:02 -05:00
Tor Lillqvist
63bc29b2a8 Make CoinMP build for Android
(No idea whether it works, of course.)

Patch the config.sub files to recognize arm-linux-androideabi.

Don't build any binary programs as that fails for Android becuase we don't
pass in the right C++ library to use anyway. (And those programs aren't really
useful to us anyway, on any platform, I guess?)

Change-Id: I70c7a527db41081a51548ce6983b6a9ae8a08bc7
2014-05-20 17:07:45 +03:00
Tor Lillqvist
dd633de592 Make CoinMP build for iOS
Change-Id: I8adff18896115d7dd0fce49916a18dc830506a36
2014-05-20 15:25:45 +03:00
Tor Lillqvist
f3a46244a0 Make it actually work to build GLEW for debugging
The check in the GLEW Makefile looked at the whole $(MAKECMDGOALS),
which in our case was the string 'glew.lib debug', not just 'debug'.

Change-Id: I639395c944e8f2b443cbb55b451a4036b2c9d3bb
2014-05-20 10:19:18 +03:00
Matúš Kukan
20f2ea061d fix .kmz support on Windows; no idea why this int was unsigned
Change-Id: I08fa1c3956b48bcd65edb74add010fafa17bfe82
2014-05-20 02:49:37 +02:00
Christian Lohmaier
e175eb3ced fdo#77891 fix python crash when in GUI mode, target WinXP with VS2012
VS2012 did change return value of fileno function, this results in a
crash when run in GUI mode (but not when launching from a shell), as
python tries to access the nonexisting stdin/stdout/stderr
Also explicitly target Windows XP

Change-Id: Ic783713b55453f3c38b2e766a664b7f4678711de
2014-05-19 19:58:54 +02:00
Matúš Kukan
31d8acbe26 No need to add -lrt for a static library.
Change-Id: I8104301e9aab6e7c732e97446030c9caf6ffec66
2014-05-19 09:35:13 +02:00
Thomas Arnhold
70fc3a299c remove some external header guards
Change-Id: I5a51dc496835f0998a3422f2a1f0f2ff8bb3c13f
2014-05-18 11:58:21 +02:00
Thomas Arnhold
3c56e0b8f0 update mysqlcppconn url
Change-Id: I96579ed4be05cc22bc66f80bd39d7af961d47470
2014-05-18 11:58:20 +02:00
Zolnai Tamás
29316ee035 Fix typo: this is a static library
Change-Id: I663e8da9ee3f4b860d727abb3783e322eedd7d9f
2014-05-16 22:26:04 +02:00
Zolnai Tamás
4c19fd176d Collada2gltf: add -lrt to fix compilation problems
Change-Id: I1c0c9459cb716512dc726ee96fb811d03084aa62
2014-05-16 22:11:31 +02:00
Markus Mohrhard
3c5bc3128f -fsanitize=address does not like -z defs
Change-Id: Id2a5c3009b46f9f91706b433411ca9f9c3cb7e39
Reviewed-on: https://gerrit.libreoffice.org/9334
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-15 13:16:30 +00:00
Stephan Bergmann
22aa9fce30 Avoid copying of singular iterators
Change-Id: If873d2c369ef6458fdf3289f09802e90dc7367f2
2014-05-15 11:33:44 +02:00
Matúš Kukan
436f2aa820 Add kmz support to collada2gltf and use it.
Change-Id: I37cda0e326af00ef369c4415bcec1e03c91ce401
2014-05-14 21:27:17 +02:00