Skip to content

Commit 2df26d8

Browse files
committed
restore library updates in master
1 parent 79181c2 commit 2df26d8

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

winbuild/build_prepare.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def cmd_msbuild(
102102
cmd_append("PATH", "{bin_dir}"),
103103
]
104104

105-
# dependencies
105+
# dependencies, listed in order of compilation
106106
deps = {
107107
"libjpeg": {
108108
"url": SF_MIRROR + "/project/libjpeg-turbo/2.0.3/libjpeg-turbo-2.0.3.tar.gz",
@@ -154,9 +154,9 @@ def cmd_msbuild(
154154
# "bins": [r"libtiff\*.dll"],
155155
},
156156
"libwebp": {
157-
"url": "http://downloads.webmproject.org/releases/webp/libwebp-1.0.3.tar.gz", # noqa: E501
158-
"filename": "libwebp-1.0.3.tar.gz",
159-
"dir": "libwebp-1.0.3",
157+
"url": "http://downloads.webmproject.org/releases/webp/libwebp-1.1.0.tar.gz", # noqa: E501
158+
"filename": "libwebp-1.1.0.tar.gz",
159+
"dir": "libwebp-1.1.0",
160160
"build": [
161161
cmd_rmdir(r"output\release-static"), # clean
162162
cmd_nmake(
@@ -176,9 +176,9 @@ def cmd_msbuild(
176176
"patch": {
177177
r"builds\windows\vc2010\freetype.vcxproj": {
178178
# freetype setting is /MD for .dll and /MT for .lib, we need /MD
179-
"<RuntimeLibrary>MultiThreaded</RuntimeLibrary>": "<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>", # noqa E501
179+
"<RuntimeLibrary>MultiThreaded</RuntimeLibrary>": "<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>", # noqa: E501
180180
# freetype doesn't specify SDK version, MSBuild may guess incorrectly
181-
'<PropertyGroup Label="Globals">': '<PropertyGroup Label="Globals">\n <WindowsTargetPlatformVersion>$(WindowsSDKVersion)</WindowsTargetPlatformVersion>', # noqa E501
181+
'<PropertyGroup Label="Globals">': '<PropertyGroup Label="Globals">\n <WindowsTargetPlatformVersion>$(WindowsSDKVersion)</WindowsTargetPlatformVersion>', # noqa: E501
182182
}
183183
},
184184
"build": [
@@ -201,11 +201,11 @@ def cmd_msbuild(
201201
"patch": {
202202
r"Projects\VC2017\lcms2_static\lcms2_static.vcxproj": {
203203
# default is /MD for x86 and /MT for x64, we need /MD always
204-
"<RuntimeLibrary>MultiThreaded</RuntimeLibrary>": "<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>", # noqa E501
204+
"<RuntimeLibrary>MultiThreaded</RuntimeLibrary>": "<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>", # noqa: E501
205205
# retarget to default toolset (selected by vcvarsall.bat)
206-
"<PlatformToolset>v141</PlatformToolset>": "<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>", # noqa E501
206+
"<PlatformToolset>v141</PlatformToolset>": "<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>", # noqa: E501
207207
# retarget to latest (selected by vcvarsall.bat)
208-
"<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>": "<WindowsTargetPlatformVersion>$(WindowsSDKVersion)</WindowsTargetPlatformVersion>", # noqa E501
208+
"<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>": "<WindowsTargetPlatformVersion>$(WindowsSDKVersion)</WindowsTargetPlatformVersion>", # noqa: E501
209209
}
210210
},
211211
"build": [
@@ -231,10 +231,10 @@ def cmd_msbuild(
231231
"libs": [r"bin\*.lib"],
232232
},
233233
"libimagequant": {
234-
# ba653c8: Merge tag '2.12.5' into msvc
235-
"url": "https://github.com/ImageOptim/libimagequant/archive/ba653c8ccb34dde4e21c6076d85a72d21ed9d971.zip", # noqa: E501
236-
"filename": "libimagequant-ba653c8ccb34dde4e21c6076d85a72d21ed9d971.zip",
237-
"dir": "libimagequant-ba653c8ccb34dde4e21c6076d85a72d21ed9d971",
234+
# e5d454b: Merge tag '2.12.6' into msvc
235+
"url": "https://github.com/ImageOptim/libimagequant/archive/e5d454bc7f5eb63ee50c84a83a7fa5ac94f68ec4.zip", # noqa: E501
236+
"filename": "libimagequant-e5d454bc7f5eb63ee50c84a83a7fa5ac94f68ec4.zip",
237+
"dir": "libimagequant-e5d454bc7f5eb63ee50c84a83a7fa5ac94f68ec4",
238238
"patch": {
239239
"CMakeLists.txt": {
240240
"add_library": "add_compile_options(-openmp-)\r\nadd_library",
@@ -251,9 +251,9 @@ def cmd_msbuild(
251251
"libs": [r"*.lib"],
252252
},
253253
"harfbuzz": {
254-
"url": "https://github.com/harfbuzz/harfbuzz/archive/2.6.1.zip",
255-
"filename": "harfbuzz-2.6.1.zip",
256-
"dir": "harfbuzz-2.6.1",
254+
"url": "https://github.com/harfbuzz/harfbuzz/archive/2.6.4.zip",
255+
"filename": "harfbuzz-2.6.4.zip",
256+
"dir": "harfbuzz-2.6.4",
257257
"build": [
258258
cmd_cmake("-DHB_HAVE_FREETYPE:BOOL=TRUE"),
259259
cmd_nmake(target="clean"),
@@ -263,9 +263,9 @@ def cmd_msbuild(
263263
"libs": [r"*.lib"],
264264
},
265265
"fribidi": {
266-
"url": "https://github.com/fribidi/fribidi/archive/v1.0.7.zip",
267-
"filename": "fribidi-1.0.7.zip",
268-
"dir": "fribidi-1.0.7",
266+
"url": "https://github.com/fribidi/fribidi/archive/v1.0.9.zip",
267+
"filename": "fribidi-1.0.9.zip",
268+
"dir": "fribidi-1.0.9",
269269
"build": [
270270
cmd_copy(r"{winbuild_dir}\fribidi.cmake", r"CMakeLists.txt"),
271271
cmd_cmake(),

0 commit comments

Comments
 (0)