lcms2: upgrade to 2.17
* external/lcms2/0001-Added-missing-export.patch.1 has been fixed uptream * external/lcms2/lcms2-windows_aarch64_outdir.patch.1 has been fixed upstream Downloaded from https://sourceforge.net/projects/lcms/files/lcms/2.17/lcms2-2.17.tar.gz/download Change-Id: Iae97a557f153279582878c8eb94dc2fab75b658d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181340 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
This commit is contained in:
+2
-2
@@ -399,8 +399,8 @@ LANGTAGREG_TARBALL := language-subtag-registry-2025-02-06.tar.bz2
|
||||
# three static lines
|
||||
# so that git cherry-pick
|
||||
# will not run into conflicts
|
||||
LCMS2_SHA256SUM := d873d34ad8b9b4cea010631f1a6228d2087475e4dc5e763eb81acc23d9d45a51
|
||||
LCMS2_TARBALL := lcms2-2.16.tar.gz
|
||||
LCMS2_SHA256SUM := d11af569e42a1baa1650d20ad61d12e41af4fead4aa7964a01f93b08b53ab074
|
||||
LCMS2_TARBALL := lcms2-2.17.tar.gz
|
||||
# three static lines
|
||||
# so that git cherry-pick
|
||||
# will not run into conflicts
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
From f7b3c637c20508655f8b49935a4b556d52937b69 Mon Sep 17 00:00:00 2001
|
||||
From: Dirk Lemstra <dirk@lemstra.org>
|
||||
Date: Sun, 10 Dec 2023 20:31:32 +0100
|
||||
Subject: [PATCH] Added missing export.
|
||||
|
||||
---
|
||||
src/cmsvirt.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/cmsvirt.c b/src/cmsvirt.c
|
||||
index 3d662b2..6615604 100644
|
||||
--- a/src/cmsvirt.c
|
||||
+++ b/src/cmsvirt.c
|
||||
@@ -676,7 +676,7 @@ cmsHPROFILE CMSEXPORT cmsCreate_sRGBProfile(void)
|
||||
*
|
||||
* This virtual profile cannot be saved as an ICC file
|
||||
*/
|
||||
-cmsHPROFILE cmsCreate_OkLabProfile(cmsContext ctx)
|
||||
+cmsHPROFILE CMSEXPORT cmsCreate_OkLabProfile(cmsContext ctx)
|
||||
{
|
||||
cmsStage* XYZPCS = _cmsStageNormalizeFromXyzFloat(ctx);
|
||||
cmsStage* PCSXYZ = _cmsStageNormalizeToXyzFloat(ctx);
|
||||
--
|
||||
2.44.0.windows.1
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ $(eval $(call gb_ExternalPackage_add_file,lcms2,$(LIBO_LIB_FOLDER)/liblcms2.2.dy
|
||||
else ifeq ($(COM),MSC)
|
||||
$(eval $(call gb_ExternalPackage_add_file,lcms2,$(LIBO_LIB_FOLDER)/lcms2.dll,bin/lcms2.dll))
|
||||
else
|
||||
$(eval $(call gb_ExternalPackage_add_file,lcms2,$(LIBO_LIB_FOLDER)/liblcms2.so.2,src/.libs/liblcms2.so.2.0.16))
|
||||
$(eval $(call gb_ExternalPackage_add_file,lcms2,$(LIBO_LIB_FOLDER)/liblcms2.so.2,src/.libs/liblcms2.so.2.0.17))
|
||||
endif
|
||||
endif # $(DISABLE_DYNLOADING)
|
||||
|
||||
|
||||
-4
@@ -20,12 +20,8 @@ ifneq ($(MSYSTEM),)
|
||||
$(eval $(call gb_UnpackedTarball_set_patchflags,lcms2,--binary))
|
||||
endif
|
||||
|
||||
# external/lcms2/0001-Added-missing-export.patch.1:
|
||||
# backport of https://github.com/mm2/Little-CMS/commit/f7b3c637c20508655f8b49935a4b556d52937b69
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,lcms2,\
|
||||
external/lcms2/0001-Added-missing-export.patch.1 \
|
||||
external/lcms2/lcms2-2.4-windows.patch \
|
||||
external/lcms2/lcms2-windows_aarch64_outdir.patch.1 \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
diff -ur lcms2.org/Projects/VC2019/lcms2_DLL/lcms2_DLL.vcxproj lcms2/Projects/VC2019/lcms2_DLL/lcms2_DLL.vcxproj
|
||||
--- lcms2.org/Projects/VC2019/lcms2_DLL/lcms2_DLL.vcxproj 2023-12-08 18:49:59.819483000 +0100
|
||||
+++ lcms2/Projects/VC2019/lcms2_DLL/lcms2_DLL.vcxproj 2023-12-08 18:50:59.460115500 +0100
|
||||
@@ -92,6 +92,7 @@
|
||||
<_ProjectFileVersion>10.0.21006.1</_ProjectFileVersion>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\bin\</OutDir>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\bin\</OutDir>
|
||||
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">..\..\..\bin\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)_$(Platform)\</IntDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">$(Configuration)_$(Platform)\</IntDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)_$(Platform)\</IntDir>
|
||||
@@ -100,6 +101,7 @@
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\bin\</OutDir>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\bin\</OutDir>
|
||||
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">..\..\..\bin\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)_$(Platform)\</IntDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">$(Configuration)_$(Platform)\</IntDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Configuration)_$(Platform)\</IntDir>
|
||||
@@ -340,4 +342,4 @@
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
-</Project>
|
||||
\ No newline at end of file
|
||||
+</Project>
|
||||
Reference in New Issue
Block a user