Commit Graph
42 Commits
Author SHA1 Message Date
David Tardon 1bae5c02ef use gbuild way to update config.*, continued
Change-Id: I9abf1742c213f47c576ffbb7dafd33087f7037e5
Reviewed-on: https://gerrit.libreoffice.org/43307
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-10-10 12:53:45 +02:00
Michael Stahl 84b0f06315 consistent naming of externals: xml2 -> libxml2
Change-Id: Ia1164c70d02dce70cb346c1fd4033f12d91c6e5d
Reviewed-on: https://gerrit.libreoffice.org/42297
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-09-15 11:03:05 +02:00
Michael Stahl 0bb7648543 consistent naming of externals: langtag -> liblangtag
Change-Id: Iba391f4f0e3c496442b8acaff443319fcb8fb3d7
Reviewed-on: https://gerrit.libreoffice.org/42294
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-09-15 10:58:42 +02:00
Thorsten Behrens 6edd48993b liblangtag: pass through debug options to CFLAGS
Change-Id: I08ecf01de2a7f32117dc4a3cac3cd782c0c8f83f
Reviewed-on: https://gerrit.libreoffice.org/42126
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-09-10 00:24:17 +02:00
jan Iversen 025faa3b75 iOS, patch langtag
Support for arm64

Change-Id: I1f5d8a11f42026b08aa01a8a19059c18ff116c1c
2017-06-12 18:04:32 +02:00
Caolán McNamara 18ef85fb86 liblangtag#10 support roundtripping ca@valencia
Change-Id: I67932541fbb14316798fe94b64b4b32a3d1c29f6
Reviewed-on: https://gerrit.libreoffice.org/37984
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-05-24 14:44:03 +02:00
Stephan Bergmann 231070fc9c Adapt README to MD5SUM -> SHA256SUM change
Change-Id: Icd7d15c342de28b664295916a92023feca9f219c
2017-03-20 21:05:52 +01:00
Stephan Bergmann 8646ab97dc Remove MinGW support
In OOo times, there'd originally been efforts to allow building on Windows with
MinGW.  Later, in LO times, this has been shifted to an attempt of cross-
compiling for Windows on Linux.  That attempt can be considered abandoned, and
the relevant code rotting.

Due to this heritage, there are now three kinds of MinGW-specific code in LO:

* Code from the original OOo native Windows effort that is no longer relevant
  for the LO cross-compilation effort, but has never been removed properly.

* Code from the original OOo native Windows effort that is re-purposed for the
  LO cross-compilation effort.

* Code that has been added specifially for the LO cross-compilation effort.

All three kinds of code are removed.

(An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing
--with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.)

Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568
Reviewed-on: https://gerrit.libreoffice.org/34127
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-10 18:01:27 +00:00
Tor Lillqvist c6ec65395c chmod -x
Change-Id: Ie07ef2f9e9f6d0b31b513afa913b79d9c641e4f1
2016-11-17 12:35:52 +02:00
Stephan Bergmann 475e4b477c Move i18nlangtag lib to URELIB
...as stoc/Library_javavm.mk depends on it since
9b09a217c7 "Resolves: #i86470# Wrong Java locale
when using 'nl' and 'fr'".  The i18nlangtag lib in turn depends on libs from
external/liblangtag and external/icu, so those needed to be moved to URELIB,
too.

On Windows, the external icu package was already split into icu and icu_ure
(because "libxml2 is in URE and depends on icuuc*.dll on Windows"), so use that
splitting on all platforms.  (However, the corresponding changes that were
necessary in RepositoryExternal.mk suggest that they had been missing for the
split Windows case until now, and things had happened to work by accident?)

On macOS, a library's install name reflects its (URELIB, OOO, ...) layer, and in
external/icu/icu4c-build.patch there is only a single place to set that for all
libs from external/icu.  This patch changes that from OOO to URELIB, but for the
icui18n lib that should stay at OOO.  The hack to make it URELIB nonetheless
works for now.  To clean this up again, either the whole of icu could go into
URE (dropping the icu vs. icu_ure package split completely), or the macOS layers
URELIB and OOO could be combined into one (as the libs end up in the same
directory anyway).

Change-Id: Idc262fa41481d06ba2cae86ad7629cdccb392c07
Reviewed-on: https://gerrit.libreoffice.org/30272
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-25 17:55:45 +00:00
Eike Rathke ab32758ea8 upgrade to liblangtag-0.6.2
Change-Id: I315d9bcea575920b718da46007bd7500d6cca9c2
Reviewed-on: https://gerrit.libreoffice.org/29777
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-10-13 16:43:13 +00:00
Stephan Bergmann 0901c29d52 Adapt external/liblangtag/clang-cl.patch.0 to liblangtag 0.6.1
Change-Id: Idf75ffa042c4858ef9bea99d603adb691b295139
2016-09-27 17:30:23 +02:00
Michael Stahl 680b1b5976 liblangtag: stop whining about missing supplementalMetadata.xml
A good way to get developers to add files is to print 80 lines of
stack trace multiple times on startup.

Change-Id: Id563ab1d26d32e6fe3f14b2afb59949ea04f0d6a
2016-09-23 12:32:00 +02:00
Stephan Bergmann 3a2818280a external/liblangtag: Tunnel LD_LIBRARY_PATH to where it's actually needed
At least make-4.1-5.fc24.x86_64's /usr/bin/make (indirectly) links against
libfreebl3.so, so it could erroneously pick up our instdir/program/libfreebl3.so
delivered there from external/nss.  But that's a problem for ASan/UBSan builds,
where that libfreebl3.so is instrumented and expects to find certain symbols
exported from the executable (and which /usr/bin/make of course doesn't have),
so running make from within external/liblangtag/ExternalProject_langtag.mk
fails.

Turns out that the only place where LD_LIBRARY_PATH is needed during the build
of external/liblangtag is when running
workdir/UnpackedTarget/langtag/data/reg2xml.

(This is unrelated to the recent changes to external/liblangtag by the way; just
happend to show up now by accident, when doing an incremental build where
external/nss had already been built when external/liblangtag got rebuilt.
external/firebird has a similar problem, but everybody seems to run ASan/UBSan
builds with --disable-firebird-sdbc anyway for now.)

Change-Id: I6e045b6d33a154e350f4640265e6568f96634187
Reviewed-on: https://gerrit.libreoffice.org/29211
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-23 08:55:32 +00:00
David Tardon 7f3395c42d upload liblangtag 0.6.1
Change-Id: I4e9ef9e607a15ab49ea16a2c3920e36a3a1aded2
Reviewed-on: https://gerrit.libreoffice.org/29179
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-09-23 08:53:28 +00:00
Stephan Bergmann 14863b9a06 Make workdir/UnpackedTarball/langtag/data/.libs/lt-reg2xml find its libs
...after ecd5d49dc3 "liblangtag: prevent libtool
from adding annoying stuff to RPATH".  "Outsmarting" libtool in the way
described in 1d028d4783 "Fix Linux RPATH of
various external modules" only works if there's no utility applications in the
outsmarted module, that are run while building the outsmarted module (cf. the
redland case in 1d028d4783).  To work around that,
pass in an LD_LIBRARY_PATH (or equivalent) that finds the relevant libs as built
in that module.

(And gb_Helper_extend_ld_path was until now only available in com_GCC_defs.mk.
There, it accepts any number of paths separated by ":".  When used in a
platform-independend way like it is used here, it will only support a single
path.)

Change-Id: Ic615e436b19b8b9aa7daa019c8f5287de90c3abc
2016-09-22 09:56:53 +02:00
Michael Stahl ecd5d49dc3 liblangtag: prevent libtool from adding annoying stuff to RPATH
Change-Id: I699e84614f09c6e1edad5bcd51eae73d1ab8123f
2016-09-21 23:57:32 +02:00
Stephan Bergmann 61b541e9ef external/liblangtag: -Werror,-Wundef (__GNUC__ vs. clang-cl)
Change-Id: I4213eb841d7eb3627ae64cc242b81b8e7f09cc79
2016-03-04 10:11:15 +01:00
David Ostrovsky 4c11b6897a And now add the correct patch
Change-Id: I9e9986ce55acaf36683244a45bc96bc76295d5c7
Reviewed-on: https://gerrit.libreoffice.org/21938
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2016-01-30 16:33:53 +00:00
David Ostrovsky 7fe147a33b Blind attempt to fix build breakage on android
Change-Id: I4dd55a14a94e5030583f640972440fb37a7b2448
2016-01-30 16:21:09 +01:00
David Tardon 7d93bb8fcb build liblangtag as shared lib on linux and OS X
Change-Id: I3ae138d1a06d22be42a3cd6f565fba6950208fc6
2016-01-16 16:24:43 +01:00
Eike Rathke 4b6e7da25f upgrade liblangtag to 0.5.8
Change-Id: I219f99fe1d518974fcc0c021ac0582022c6f554a
Reviewed-on: https://gerrit.libreoffice.org/19887
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-11-10 18:21:31 +00:00
Eike Rathke 0871a03bbd add description of the language-subtag-registry update process
Change-Id: I94b8cd007bdbf3b535c5de9eb56fe5495f39dabf
2015-11-10 14:41:54 +01:00
Michael Stahl 219712eb61 liblangtag: be more verbose when building
Change-Id: Ie5001ba809fcdd3f3abe1022ca7a152e01c3982c
2015-11-04 13:22:28 +01:00
David Ostrovsky 8a4848b373 Fix liblangtag on MSVC 14.0
Change-Id: Ied20186f4863b49dba5d0c7ed98b3a297f3f2239
Reviewed-on: https://gerrit.libreoffice.org/16767
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-09-03 18:54:13 +00:00
Norbert Thiebaud a8db357874 gbuild/config stop using VERBOSE, use only verbose=t
configure.ac was setting VERBOSE=YES/NO when really
we use verbose=t or verbose=

Change-Id: I47aee8d177cb2d788a62ecdbbb9cc3695c2bb299
Reviewed-on: https://gerrit.libreoffice.org/17634
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-08-11 04:34:45 +00:00
Eike Rathke 43cf7b9abf rm unused patch
Change-Id: Ie33bc6a6ef5c1a638a138e4989bd885b6b678ab4
2015-07-16 11:53:10 +02:00
Eike Rathke 67bded9f0b update to liblangtag-0.5.7
Change-Id: I46bf74efb52435313eb17e0db8b1cf103a329004
Reviewed-on: https://gerrit.libreoffice.org/17078
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2015-07-16 09:47:53 +00:00
Stephan Bergmann 45ca1bfc22 Fold URE: Linux ure/lib/* -> program/
The ../../../program/ links in the URE jar Class-Paths are a temporary kludge
(and juh.jar had lacked adaption for Mac OS X).

Change-Id: I2542d8a582866485dd61c05df3fc6b4b39a8403d
2014-11-28 11:57:28 +01:00
Stephan Bergmann 904f9284a2 More passing of MAKE into external configure
...like 2fdf78109e "Pass MAKE into
external/poppler's configure"

Change-Id: I4e2f1a13d120a7398fa81884710c589bb905714d
2014-11-13 16:56:20 +01:00
Michael Stahl 8bd6bf93b7 fdo#82430: configure: MSVC build: avoid using SSE2 instructions
MSVC 2012 for x86 defaults to -arch:SSE2; binaries do not run on any AMD
32-bit CPU, neither on Intel Pentium III.

http://msdn.microsoft.com/en-us/library/vstudio/7t5yh4fd%28v=vs.110%29.aspx

Change-Id: Ie8253137db2699f2a7fa69c4ac4e7ded90931e3e
2014-08-14 18:55:17 +02:00
David Tardon 7515b1a90f fdo#63756 build libxml2 with ICU support
Change-Id: I0523e49e640812be435ba4c97b1881ca253eb2ab
2014-07-20 10:15:25 +02:00
Stephan Bergmann f5d90767d1 external/liblangtag: Fix memory leak
Change-Id: I7d58c1aad5ec21f14569caedbada56cc31a5ff99
2014-05-26 14:25:26 +02:00
Eike Rathke 39d29be28b build liblangtag with updated IANA language-subtag-registry
... as downloaded from
https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry

Change-Id: I7aee9c6e42aabc9e023ab9a2ec3880dbde940396
Reviewed-on: https://gerrit.libreoffice.org/8919
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2014-04-10 14:22:29 +00:00
Eike Rathke f854b05013 include last record in language-subtag-registry.xml
Change-Id: Iaca0fc9ca12ee672f640be9c639b7b0d0dd3bc10
2014-04-05 20:15:07 +02:00
Michael Stahl d729d169de normalize values of CROSS_COMPILING
Change-Id: I0cc43cef91e3fcd82a3558a16ab0afbd4d56b141
2014-02-27 18:09:01 +01:00
Michael Stahl 379f978387 normalize values of SYSTEM_FREETYPE, SYSTEM_LIBXML, SYSTEM_MARIADB
Change-Id: Iffcc671ca41c5880579effe0786a3b4d3be0dab0
2014-02-12 09:53:09 +01:00
Michael Stahl ed49a7242a langtag: language-subtag-registry.xml is a generated file
... so need to use gb_ExternalPackage_add_files for it to get the right
dependencies.

Change-Id: I9358217d47c08d4e7c85f1b89f39320f32c03e3c
2013-11-12 00:20:10 +01:00
Michael Stahl febbf19265 langtag, test: remove Packages that deliver to OUTDIR/unittest/install
Change-Id: I13145c52bdf4a37e4a92ed653a2f131e09539285
2013-10-29 00:58:43 +01:00
Michael Stahl 8df17a3409 gbuild: set Package default target to INSTDIR
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-28 20:17:26 +01:00
Michael Stahl c03ff5ebc0 libxml2, libxslt: use libraries from WORKDIR
Change-Id: I3067e3c819a4918e1d3c91dc0e0cfa3e4fc92b3d
2013-10-22 22:30:20 +02:00
Khaled Hosny fc26490252 fdo#70393: move liblangtag to a subdir of external
Change-Id: I18cded289591bdf872c7a818326a35ac00d38482
Reviewed-on: https://gerrit.libreoffice.org/6330
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-10-19 07:34:56 +00:00