Commit Graph

1602 Commits

Author SHA1 Message Date
David Tardon
dcce3f7fd5 upload libodfgen 0.1.4
Change-Id: I97dbebbe7ecbfdc2d4ad37ac53d22026d5e67738
2015-05-18 13:46:03 +02:00
David Tardon
89a0763e6d upload libmwaw 0.3.5
Change-Id: Ife74524f82190a06775656271965c869da8702a9
2015-05-17 09:02:08 +02:00
Michael Stahl
ce30343fcb exttextcat: suppress -Qunused-arguments warning for Apple clang
Change-Id: I857ea5f37452e2b1242fc35e569191adfc5f90be
Reviewed-on: https://gerrit.libreoffice.org/15719
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-05-12 15:12:49 +00:00
Khaled Hosny
3acb1d4b28 Update HarfBuzz to 0.9.40
Most of ubsan.patch seems to have been applied upstream, and I can’t
reproduce the issue referenced for the remaining bits, anyway it is
better to push such changes upstream first.

Change-Id: Ie56786c01c06d3542052cd91e36d1f707092beba
Reviewed-on: https://gerrit.libreoffice.org/15643
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-09 19:52:22 +00:00
Michael Stahl
be3e1d65f5 tdf#82968: python3: fix stdio detection on WNT harder
Upgrade to the latest patch from http://bugs.python.org/issue17797
which appears to work even if you invoke from cmd.exe

Change-Id: I85f1cc5ad7d8c059d972ae2a6fd2be1bb5604c2c
2015-05-09 11:02:25 +02:00
Tor Lillqvist
25b5e3914d Use a dummy icu-config when cross-compiling harfbuzz (to Android)
Seems that when cross-compiling to Android from Linux, we apparently
have used either the build platform's pkg-config files for ICU, or the
build platform's icu-config. Both of which are obviously the wrong
thing to do, but apparently it has worked by accident anyway.

This makes building for Android on OS X proceed past harfbuzz, at least.

Change-Id: I27351f6177438697a1cded642c8c669ba7221009
2015-05-04 12:22:35 +03:00
Markus Mohrhard
861a86dfca Revert "update to liborcus 0.9.0"
This reverts commit a1280bd47f.

Change-Id: I2ad873f012ebae6858c8895c14ed695dbd881fc4
Reviewed-on: https://gerrit.libreoffice.org/15586
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-05-01 20:14:27 +00:00
Markus Mohrhard
a1280bd47f update to liborcus 0.9.0
Includes a lot of help from Norbert for finding the boost MSVC problem.

Change-Id: I5184bc40e2c3861883b8587784117b1c4558fa5f
Reviewed-on: https://gerrit.libreoffice.org/15453
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-05-01 18:12:20 +00:00
David Tardon
7d69f1e66a zlib is not needed anymore
Change-Id: I7b13cbf041841236aa4218837d6ed4f2364196ce
2015-04-22 19:53:25 +02:00
Michael Stahl
2a675287af openssl: drop SunStudio specific patch hunk
Besides, wtf is it using -fast by default so the binaries don't run on any
system other than the one that did the build?

Change-Id: I5adc26fb6370a5292721df3167afc5485c15cb0a
2015-04-14 22:43:35 +02:00
Miklos Vajna
db2d64f5a2 icu: fix Android build
Change-Id: I15f8e960f253db3f13f68bb2da84f0191d888f5b
2015-04-12 18:37:02 +02:00
Rene Engelhard
e3ebd11ff7 fix internal icu build on armhf (taken from Debians icu package)
Change-Id: Ib287799906e234ce795a0f9ded5cdeebcdffba4e
2015-04-12 10:21:06 +02:00
Eike Rathke
68786ad8fd icu: various regex fixes
Backported from
http://bugs.icu-project.org/trac/changeset/36724
http://bugs.icu-project.org/trac/changeset/36727
http://bugs.icu-project.org/trac/changeset/36801

Change-Id: Idd85c3344e3ef86e390341038f53ad2a398b3fa3
2015-04-10 23:10:05 +02:00
Caolán McNamara
04a9801510 upgrade to openssl-1.0.2a
and de-ifdef-per-platform the patch makefile so an upgrade attempt on one
platform tests the patchs applying on all platforms

ubsan.patch.0 was effectively applied upstream while need
to add http://rt.openssl.org/Ticket/Display.html?id=3650 to build
under windows

Change-Id: Ieffd9bc3dd861a94a083d8b6b8d4117bba7f527c
Reviewed-on: https://gerrit.libreoffice.org/15183
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-09 20:25:30 +00:00
Julien Nabet
25d3c618d8 Typo: formated->formatted
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-03-25 21:12:16 +01:00
Stephan Bergmann
9fb3182b7a external/coinmp: Work around -Werror,-Wformat-pedantic
Clang trunk since r231211 with -pedantic-errors now emits
"Cbc_C_Interface.cpp:379:55: error: format specifies type 'void *' but the
argument has type 'char *' [-Werror,-Wformat-pedantic]"

Change-Id: I5d410068f1cd82334f26148df30a45dbc9eabd0a
2015-03-16 12:59:52 +01:00
Stephan Bergmann
a788eea404 external/poppler: Work around -fsanitize=shift
Change-Id: I5d9734f302ff58637f69c1574bc39ca85ff992e7
2015-03-10 12:35:51 +01:00
Michael Stahl
d8dd6db19a gbuild: set _WIN32_WINNT globally instead of WINVER
... and remove the definitions in makefiles, except in fpicker, which
defines a different value for the Vista file picker.

The WINVER value is derived automatically from _WIN32_WINNT by SDK
header sdkddkver.h.

Change-Id: I73358a9bf5d070f71821654cae2a29335a754a21
2015-03-05 15:36:46 +01:00
Michael Stahl
08ce45c94f remove more SunStudio cruft
Change-Id: I1e1ca09e870461990c919938ed0902c8b90c4413
2015-03-03 16:57:50 +01:00
Stephan Bergmann
f6977bb87a Further reduce amount of symbols exported from static orcus library
Following up on 7a4cc19791 "Also on Linux do not
export symbols from static orcus libraries" that turned out to not be enough to
prevent ASan ODR violation reports after
f0aa1a78fb "For Clang -fsanitize=vptr use
-fvisibility-ms-compat, not -fvisibility=hidden."  Given that liborcus is only
ever linked in as a static archive, it is hopefully OK (intended, even?) to not
export any of its symbols.

Change-Id: Ib8eb084def1725374747a389065bf8186218786e
2015-03-03 12:23:05 +01:00
Michael Stahl
f364b67753 remove executable bit from .mk / .patch files
Change-Id: Ic8560c9ea13bee56b63e4661446689c7857f789e
2015-03-02 14:05:53 +01:00
Stephan Bergmann
ea58ec3415 external/poppler: Work around -fsanitize=enum
...detecting an uninitialized encAlgorithm value is passed into parser->getObj
(where it is presumably ignored for that specific set of arguments) in
XRef::fetch.

Change-Id: I511c8222ca8483aea1f475ba2aaefbc0cfb7dd5b
2015-03-02 11:07:30 +01:00
Stephan Bergmann
f0aa1a78fb For Clang -fsanitize=vptr use -fvisibility-ms-compat, not -fvisibility=hidden
As discussed in b4f6b26b5a "SAL_DLLPUBLIC_RTTI for
proper RTTI visibility for LLVM," RTTI-based -fsanitize= checks with Clang on
Linux need special precautions to make RTTI symbols visible across DSOs.  The
approach taken there, as well as in 598d8194b0
"Visible function type RTTI for Clang -fsanitize=function," was to add explicit
SAL_DLLPUBLIC_RTTI annontations to relevant type definitions.  However, for
-fsanitize=vptr that would have required many more of those, so it appears
easier to "misuse" -fsanitize-ms-compat in that case, which happens to give all
RTTI symbols default visibility (while otherwise still honoring our
SAL_DLLPUBLIC/PRIVATE annotations).

The SAL_DLLPUBLIC_RTTI annotations from 598d8194b0
"Visible function type RTTI for Clang -fsanitize=function" can likely be removed
again.

Change-Id: Ibeff7ab8c908111a7dc66ff0677204f112b24db8
2015-02-27 10:05:22 +01:00
Stephan Bergmann
fc6f894d22 Pass -fvisibility-inlines-hidden into external modules
Change-Id: Icf872e269c7e427ba1287ccd0082974c9426449e
2015-02-27 09:55:02 +01:00
Stephan Bergmann
6a150d772f Clang -fsanitize=vptr: ensure __ubsan_vptr_type_cache in python.bin
Change-Id: I7b08b7b6376db29b392243f24f6ad3ccf2ee8655
2015-02-23 18:06:32 +01:00
Michael Stahl
9c6ce47eaf jpeg-turbo: work around failure in AC_PROG_MAKE_SET on WNT
autoconf < 2.61a uses "echo" here and for some bizarre reason that
converts " inside ' to \ so remove the " to get it to work.

echo 'foo="bar"'
foo=\bar"

Change-Id: I6bee94d4d075ce953f5788b7fdf9d3b66a7db0c7
2015-02-23 00:35:25 +01:00
David Ostrovsky
38671c869d liborcus: Remove BOOST_ALL_NO_LIB, it's already included upstream
Change-Id: I39e65a9ee3ede5217d9d6d8499297e449af798fe
Reviewed-on: https://gerrit.libreoffice.org/14559
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-02-19 22:08:04 +00:00
David Ostrovsky
ac06ab2638 libgltf: Fix build on windows x64 bit
Change-Id: Ie467540f17b9c7240cada6b55daa96820c6c02a1
Reviewed-on: https://gerrit.libreoffice.org/14542
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-02-19 20:32:41 +00:00
Stephan Bergmann
7ad758a53a external/harfbuzz: -fsanitize=vptr needs -frtti
Change-Id: I4da774b8ebd2115a7f1ae717843498c0f452f7df
2015-02-13 15:55:26 +01:00
Stephan Bergmann
cdd8ab7e0c ...next attempt at getting this through both GCC 5 and MSVC
Change-Id: Id367dee6c4fe55fe039ebf28603c883014194832
2015-02-10 17:58:18 +01:00
Stephan Bergmann
a5ec343f6c How is that supposed to ever work?
Change-Id: Ieb13095abb399662e449fad5a056999343165025
2015-02-10 17:25:41 +01:00
David Tardon
8b68841c14 fix liborcus build with gcc 5
Change-Id: I38b2ecf86d4334d0179362079a216df4301bf184
2015-02-09 23:50:39 +01:00
David Tardon
130c49bdd0 propagate user-set CFLAGS to build
Change-Id: I6c9d8ff064f059e4a756593ff5c45b9670cacb29
2015-02-06 08:33:01 +01:00
Stephan Bergmann
0c3505f01a Typo $(CPU) -> $(CPUNAME)
Change-Id: I2e121c36021508bbdbc9111087f5cc6e1aae6524
2015-02-04 17:26:44 +01:00
David Ostrovsky
2bb5d4c840 Fix graphite on windows 64 bit
Change-Id: I509fcf9194d3cc0d4454e31a9f7dfbb7f22c421c
Reviewed-on: https://gerrit.libreoffice.org/14316
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-02-04 13:17:46 +00:00
David Ostrovsky
ee457ab630 Fix jpeg-turbo on windows 64 bit
This fix supports building jpeg-turbo on both cygwin 32 nd 64 bit.
When only cygwin 64 bit is used, then it can be simplified by
passing BUILD_PLATFORM to configure script on all platforms.

Change-Id: Id335282f1761fcf7313fb18a6b9250e5eac392e4
Reviewed-on: https://gerrit.libreoffice.org/14315
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-02-04 13:15:09 +00:00
Robert Antoni Buj i Gelonch
40432ac6ca pyhon: add lib-dynload libs to fixinstallnames (OS X)
Change-Id: Iab76060952ae8c1b64d3ff32e5ae8f5212e016b0
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-02-02 23:10:02 +01:00
Stephan Bergmann
f694ab5198 tdf#80370: Fix Mac OS X install names of external/{coinmp,lpsolve}
Change-Id: I240c8c940d7d3e1310c4ee33911e8c7019e67060
2015-01-29 22:21:05 +01:00
Stephan Bergmann
ed874d2eab external/lcms2: Work around -fsanitize=alignment
Change-Id: I57c49172fa5bb19968bf217285d0cd9222cc3530
2015-01-28 17:56:18 +01:00
Stephan Bergmann
2de1b86d79 external/harfbuzz: Fix types of functions called via pointer
(-fsanitize=function)

Change-Id: I009f1558990a46900e2dfa56492827cb6dcfb3cd
2015-01-26 15:17:31 +01:00
Stephan Bergmann
b6ee5cf707 external/lib{odfgen,revenge}: Declare proper symbol visibility
...not only when building the libs themselves, but also when including their
header files from other code.  (Omission only becomes obvious with hidden
function type RTTI causing false positives from Clang -fsanitize=function.)  As
these external libs do not record the decision to enable visiblity in a config
header file that gets included, it appears easiest to hack that knowledge into
gbuild for now.  (Note that libodfgen internally uses librevenge.)

Change-Id: I6a3a722d561b8cbce6e5b1f27d7aa2d7602f3cdf
2015-01-26 15:17:30 +01:00
Stephan Bergmann
6f762e3a26 external/libodfgen: Visible function type RTTI for Clang -fsanitize=function
Change-Id: I32c115aa46855375cc28402f21f4f63299e165d4
2015-01-26 15:17:30 +01:00
Stephan Bergmann
44c673b978 external/icu: Visible function type RTTI for Clang -fsanitize=function
Change-Id: Ia972d7364b5acfbafd9df5b07f4fb8bd6efbab5f
2015-01-26 15:17:30 +01:00
Stephan Bergmann
b3a7e32e8d external/cppunit: Visible function type RTTI for Clang -fsanitize=function
Change-Id: Ie2a6e993b7982629aed650d6534a09a9eefe1c51
2015-01-26 15:17:29 +01:00
Stephan Bergmann
875dc064aa external/boost: Visible function type RTTI for Clang -fsanitize=function
Change-Id: I6a1ab01bbe5cd128b132c3f6dde4b520ddb4c373
2015-01-26 15:17:29 +01:00
Julien Nabet
e3c0025461 Resolves fdo#72543: ib_util not found when creating or accessing new firebird
... embedded database
See https://bugs.freedesktop.org/show_bug.cgi?id=72543#c8
and https://bugs.freedesktop.org/show_bug.cgi?id=72543#c13

Change-Id: I299ab193333f43ff9aa87362adf76d3a362279fc
Reviewed-on: https://gerrit.libreoffice.org/14146
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-01-24 02:18:17 +00:00
Vort
df54862ec6 fdo#85174 PDF Import: fix character positions without modifying poppler
Change-Id: I4ec6409e8fa13161c5cd37fcae2055b4bc5ecfd4
Reviewed-on: https://gerrit.libreoffice.org/14066
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-21 15:32:25 +00:00
Vort
7818c73445 fdo#85174 PDF Import: fix character positions
Change-Id: I0aa75b6cb834341e47bbeeaa15d39387a8cb5240
Reviewed-on: https://gerrit.libreoffice.org/14029
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-20 13:55:04 +00:00
David Ostrovsky
658be21de3 Graphite: Add link to main development site and issue tracker
Change-Id: I8f7777c1234a69e1851b8f4f4e8afc8466cc2e06
Reviewed-on: https://gerrit.libreoffice.org/13918
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-01-15 12:42:20 +00:00
Stephan Bergmann
e376bc04dc external/python3: Work around -fsanitize=alignment
Change-Id: I33976bc96fc78dd0210d9aec6d1ec925f514c7f2
2015-01-13 16:12:55 +01:00