summaryrefslogtreecommitdiffstats
path: root/external/lcms2
Commit message (Collapse)AuthorAgeFilesLines
* external/lcms2: Stop warnings/errors about "register"Stephan Bergmann2017-11-072-0/+23
| | | | | | | | | | | | | | | | | | | | ...when workdir/UnpackedTarball/lcms2/include/lcms2.h is included from workdir/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_colorspace.cpp (Library_pdfium). Even with -std=gnu++17, GCC only emits a warning (that is not promoted to an error when building external Library_pdfium) about "register", but at least recent trunk Clang does emit an error by default. (Clang used to have a bug by which it failed to emit any warning/error for uses of "register" on function parameters, but that got recently fixed with <http://llvm.org/viewvc/llvm-project?view=revision&revision=317140> "Fix missing -Wregister warning when 'register' is applied to a function parameter", causing an --enable-werror build failure now when building in C++17 mode with <https://gerrit.libreoffice.org/#/c/43851/> "Build as C++17 when GCC/Clang supports it" locally included.) So instead of trying to further demote any warnings/errors about those uses of "register", just patch them away for good. Change-Id: I7c8757e654d87be710eaaafa871300656d9ee8ff
* use gbuild way to update config.*, continuedDavid Tardon2017-10-102-22/+3
| | | | | | | Change-Id: I9abf1742c213f47c576ffbb7dafd33087f7037e5 Reviewed-on: https://gerrit.libreoffice.org/43307 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
* --enable-optimized should be orthogonal to --enable-debug/--enable-dbgutilStephan Bergmann2017-06-221-1/+1
| | | | | | | Change-Id: I277f30129560ea9fa76d6439a60bb191358df99d Reviewed-on: https://gerrit.libreoffice.org/39088 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* iOS lcms2 support for arm64jan Iversen2017-06-112-0/+22
| | | | | | Added patch to support arm64 Change-Id: Ie5d9ea3f3bed6e8f3142f0209a0068bb698a3960
* sal,external: remove checks for obsolete VCVER=120Michael Stahl2017-05-301-1/+0
| | | | Change-Id: I4d32b7c4b2e545a8d979bc516f64cfcbf66ecd07
* lcms2: try to get rid of $(DEVENV) /UpgradeMichael Stahl2017-03-071-1/+0
| | | | | | | | | | | | | | | | | It's not clear to me that this is actually required, particularly why it would be required for VS 2015 but not VS 2017, and why only for this external and not the others that use MSBuild.exe. Reportedly this can fail if you have an expired or not yet registered VS, while strangely enough everything else compiles fine in that case, so rather than try to find out how to check for that issue in configure, avoid the problem by removing the /Upgrade. Change-Id: I55566e109e57117f65febb91de7580667c984a54 Reviewed-on: https://gerrit.libreoffice.org/34947 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* MSVC 14.0: Make it work with older SDK versionDavid Ostrovsky2017-02-221-1/+1
| | | | | | | Change-Id: I50a9e8b122250af445c2a1b3d0941d508e027318 Reviewed-on: https://gerrit.libreoffice.org/34528 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
* Fix check for non-empty UCRTVERSIONStephan Bergmann2017-02-211-1/+1
| | | | | | | | | | | ...introduced with b862cbdd345ec57c2595629ded6a3969e1e65d56 "Support MSVC 15.0", but $(filter ...,) always expands to the empty string, and this is probably what was intended. Change-Id: I5865ea13ba3c3d52402bcba48f4f770f6c2b8862 Reviewed-on: https://gerrit.libreoffice.org/34482 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Support MSVC 15.0David Ostrovsky2017-02-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | New compiler changes quite some stuff: * Compiler detection done based on different registry key * .NET SDK detection done based on different registry key * Msbuild installation directory changed * Merge modules installation directory changed * SDK number in registry doesn't match the directory name: (registry key: 10.0.14393, directory name: 10.0.14393.0) * Compiler, include and library location directories changed * Architecture specific directory changed: x64 instead of amd64 * Compiler own include directory must be added with -I option * To force usage of SDK 10 (8.1 is selected per default) new switch WindowsTargetPlatformVersion is passed to msbuild, to avoid patching VC project files with this line: <WindowsTargetPlatformVersion><SDK>/WindowsTargetPlatformVersion> Known issues: * Firebird is broken: http://paste.openstack.org/show/594333 Change-Id: I148d7932aff43bbbd07bd493504df974726234c2 Reviewed-on: https://gerrit.libreoffice.org/31279 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
* Remove MinGW supportStephan Bergmann2017-02-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* upload lcms2 2.8David Tardon2017-02-017-2131/+5
| | | | | | | Change-Id: I8a3b138c051d3cddf25855a635262311669bdddc Reviewed-on: https://gerrit.libreoffice.org/33798 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
* lcms2: Out-of-bounds read in Type_MLU_Read() (rhbz#1367357)Michael Stahl2016-08-292-0/+26
| | | | Change-Id: I9c5a442125476412435ebefea29ad1b166faab8a
* Break gb_DEBUGINFO_FLAGS out of gb_DEBUG_CFLAGSStephan Bergmann2016-07-111-1/+1
| | | | | | | | | ...in preparation of making them orthogonal Change-Id: If75b334c954138b3aed4f8d1ac33061a2267ad52 Reviewed-on: https://gerrit.libreoffice.org/27056 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* pass original CFLAGSDavid Tardon2016-04-221-1/+1
| | | | Change-Id: I1a2e9d41226822934b64ad31a61c816b3163a9ed
* Fix lcms2 on MSVC 14.0David Ostrovsky2016-03-121-0/+1
| | | | | | | | | | | | | Without explicitly specifying toolset v140, the build was failing when only MSVC 14.0 was installed: The builds tools for v120 (Platform Toolset = 'v120') cannot be found Change-Id: I6fb386d56e38cbf922de5069e70a3d3def147c0b Reviewed-on: https://gerrit.libreoffice.org/23162 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: Jenkins <ci@libreoffice.org>
* Android autoconf fixesPeter Foley2016-01-291-1/+2
| | | | | | | Change-Id: I3429f6a80dd7e080e8f2634ca744d1dac5ea1865 Reviewed-on: https://gerrit.libreoffice.org/21558 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* externals: remove various obsolete MSVC2012 specific flagsMichael Stahl2015-09-091-1/+0
| | | | Change-Id: I8848d042a008c21e407d9610161b5c67d2137a18
* Lcms2: Fix compilation on VS 2015David Ostrovsky2015-07-091-1/+2
| | | | | | | Change-Id: I303494f692520cdd34b88f9d5daf8a92a6b72ca2 Reviewed-on: https://gerrit.libreoffice.org/16803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* simplify conditionDavid Tardon2015-06-051-1/+1
| | | | Change-Id: I9e69e9d7fc8d3c0ccd393efca75be04c710fee6a
* use $(DISABLE_DYNLOADING)David Tardon2015-06-051-1/+5
| | | | Change-Id: I0636f45bf5653ff3feabfdc2742eb767f1b84507
* external/lcms2: Work around -fsanitize=alignmentStephan Bergmann2015-01-281-0/+11
| | | | Change-Id: I57c49172fa5bb19968bf217285d0cd9222cc3530
* lcms2: Don't hard code Win32 platform on WindowsDavid Ostrovsky2014-12-021-1/+1
| | | | | | | Change-Id: I60701b2c0a0ec06ada24b397107b337676dbd319 Reviewed-on: https://gerrit.libreoffice.org/13229 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Avoid -fsanitize=signed-integer-overflowStephan Bergmann2014-11-112-0/+12
| | | | Change-Id: I1a8ae99401e488e2ece47be4119843945154ef98
* Pass down some CFLAGSStephan Bergmann2014-11-111-0/+1
| | | | Change-Id: I2c69d9ad61137adb82213ad2a4c40e7403a395a5
* fdo#82430: MSVC build: avoid using SSE2 instructions in some externalsMichael Stahl2014-10-022-0/+11
| | | | | | Hopefully this should fix up the most important external libraries. Change-Id: I744cb5a2ce7fafb10852059050cf24589d6ca400
* Update some external config.{guess,sub}Stephan Bergmann2014-08-262-0/+1567
| | | | | | | | ...to latest versions from <http://git.savannah.gnu.org/gitweb/?p=config.git; a=blob_plain;f=config.guess;hb=HEAD> and <http://git.savannah.gnu.org/gitweb/? p=config.git;a=blob_plain;f=config.sub;hb=HEAD>, for aarch64 support. Change-Id: I99756c33652aa8e19c6a407260b5c49de140128e
* Add separate project file for VS2013Tor Lillqvist2014-07-283-2/+492
| | | | | | | | Easier than trying to figure out how to make the VC2010 projec work with VS2013, it seems. We only need a project file for the lcms2_DLL project. Change-Id: Icab47ac7625b9a492942ea0835fe52ef06cdf2d9
* VS2013: Adjust lcms2 to 12.0 vcproj versionDavid Ostrovsky2014-07-111-1/+2
| | | | | | | Change-Id: I5ec1ea40e57c7d9de337645421be89e1e4c5a867 Reviewed-on: https://gerrit.libreoffice.org/10157 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Handle VCVER==120 (VS 2013) tooTor Lillqvist2014-07-071-1/+1
| | | | Change-Id: I4dbf663790bd8906ef8b123a01bdf52e0c0c1962
* externals: do not use "v110_xp" when building with MSVC 2012 and SDK 8.0Michael Stahl2014-05-261-1/+1
| | | | Change-Id: I40bc9e4c31e270f29cc145b5d2f3544cad586bf7
* fdo#77891 fix python crash when in GUI mode, target WinXP with VS2012Christian Lohmaier2014-05-191-1/+1
| | | | | | | | | 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
* no lcms2d.dll nowadays, there is only lcms2.dllMatúš Kukan2014-05-131-3/+1
| | | | Change-Id: I0d6537da5d605a011bd9b4491c472b0b58fcd668
* upgrade to lcms2-2.6Thomas Arnhold2014-05-121-1/+1
| | | | | | | Change-Id: Iaa5593d1593c9a54127c9019a4121af6a207d4c5 Reviewed-on: https://gerrit.libreoffice.org/9317 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
* normalize values of CROSS_COMPILINGMichael Stahl2014-02-271-1/+1
| | | | Change-Id: I0cc43cef91e3fcd82a3558a16ab0afbd4d56b141
* gbuild: set Package default target to INSTDIRMichael Stahl2013-10-281-2/+0
| | | | Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
* gbuild: remove gb_ExternalPackage_add_library_for_installMichael Stahl2013-10-271-4/+6
| | | | | | Deliver all external libraries to INSTDIR directly. Change-Id: I8d3e035e5cfa07bd0f53ee4a226c48d4b86a4032
* lcms2: use libraries from WORKDIRMichael Stahl2013-10-241-9/+7
| | | | Change-Id: Ieddc80d510884eeb6f64325f9dfbb34f1d3fb0b5
* fdo#70393: move lcms2 to a subdir of externalKhaled Hosny2013-10-198-0/+182
Change-Id: I122a8564795f3a422d6bb10a5d6a845b72e77102 Reviewed-on: https://gerrit.libreoffice.org/6327 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>