Skip to content

Commit 41c273e

Browse files
committed
Prepare the MeVisLab thirdparty libraries for the 4.0.1 release
1 parent 472e632 commit 41c273e

52 files changed

Lines changed: 35212 additions & 405 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

recipes/7zip/conanfile.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class ConanRecipe(ConanFile):
1111
name = "7zip"
12-
version = "23.01"
12+
version = "24.06"
1313
license = ("LGPL-2.1-or-later", "BSD-3-Clause")
1414
homepage = "https://www.7-zip.org"
1515
description = "7-Zip is a file archiver with a high compression ratio"
@@ -37,9 +37,11 @@ def layout(self):
3737

3838
def source(self):
3939
version = "".join(self.version.split("."))
40-
get(self,
40+
get(
41+
self,
42+
sha256="2aa1660c773525b2ed84d6cd7ff0680c786ec0893b87e4db44654dcb7f5ac8b5",
4143
url=f"https://sourceforge.net/projects/sevenzip/files/7-Zip/{self.version}/7z{version}-src.tar.xz",
42-
sha256="356071007360e5a1824d9904993e8b2480b51b570e8c9faf7c0f58ebe4bf9f74")
44+
)
4345

4446
def generate(self):
4547
tc = NMakeToolchain(self)

recipes/abseil/conanfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class ConanRecipe(ConanFile):
1010
name = "abseil"
11-
version = "20240116.1"
11+
version = "20240116.2"
1212
homepage = "https://abseil.io"
1313
description = "Collection of C++ libraries from Google"
1414
license = "Apache-2.0"
@@ -24,7 +24,7 @@ def layout(self):
2424
def source(self):
2525
get(
2626
self,
27-
sha256="3c743204df78366ad2eaf236d6631d83f6bc928d1705dd0000b872e53b73dc6a",
27+
sha256="733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc",
2828
url=f"https://github.com/abseil/abseil-cpp/archive/refs/tags/{self.version}.tar.gz",
2929
strip_root=True,
3030
)

recipes/assimp/conanfile.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class ConanRecipe(ConanFile):
1010
name = "assimp"
11-
version = "5.3.1"
11+
version = "5.4.1"
1212
homepage = "https://www.assimp.org"
1313
description = "library to import and export various 3d-model-formats including scene-post-processing to generate missing render data"
1414
license = "BSD-3-Clause"
@@ -23,10 +23,11 @@ def requirements(self):
2323
self.requires("zlib/[>=1.2.13]")
2424

2525
def source(self):
26-
get(self,
27-
sha256="f4020735fe4601de9d85cb335115568cce0e027a65e546dd8895081696d624bd",
26+
get(
27+
self,
28+
sha256="08837ee7c50b98ca72d2c9e66510ca6640681db8800aa2d3b1fcd61ccc615113",
2829
url=f"https://github.com/assimp/assimp/archive/v{self.version}.zip",
29-
strip_root=True
30+
strip_root=True,
3031
)
3132
patch(self, patch_file="patches/001-no_pkgconfig_minizip.patch")
3233
patch(self, patch_file="patches/002-zlib_names.patch")
@@ -51,7 +52,7 @@ def generate(self):
5152

5253
if self.settings.os == "Windows":
5354
tc.preprocessor_definitions["NOMINMAX"] = 1
54-
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0077"] = "NEW" # to avoid warnings
55+
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0077"] = "NEW" # to avoid warnings
5556

5657
tc.generate()
5758

recipes/assimp/patches/001-no_pkgconfig_minizip.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index 75b160c..c253f36 100644
2+
index f1e2d2d..d01a0fc 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
5-
@@ -524,12 +524,12 @@ ENDIF()
5+
@@ -526,12 +526,12 @@ ENDIF()
66

77
IF( NOT IOS )
88
IF( NOT ASSIMP_BUILD_MINIZIP )

recipes/boost/conanfile.py

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from conan import ConanFile
1010
from conan.tools.build.flags import cppstd_flag
1111
from conan.tools.env import Environment
12-
from conan.tools.files import get, copy, collect_libs, files
12+
from conan.tools.files import get, copy, collect_libs, files, patch
1313
from conan.tools.microsoft import is_msvc
1414
from conan.tools.layout import basic_layout
1515
from conan.tools.microsoft.visual import msvc_version_to_toolset_version
@@ -21,7 +21,7 @@ class ConanRecipe(ConanFile):
2121
name = "boost"
2222
display_name = "Boost"
2323
mli_name = "None"
24-
version = "1.84.0"
24+
version = "1.85.0"
2525
homepage = "https://www.boost.org"
2626
description = "Boost provides free peer-reviewed portable C++ source libraries"
2727
license = "BSL-1.0"
@@ -68,11 +68,16 @@ def layout(self):
6868
basic_layout(self, src_folder="src")
6969

7070
def source(self):
71-
major, minor, patch = self.version.split(".")[:3]
72-
get(self,
73-
sha256="cc4b893acf645c9d4b698e9a0f08ca8846aa5d6c68275c14c3e7949c24109454",
74-
url=f"https://boostorg.jfrog.io/artifactory/main/release/{self.version}/source/boost_{major}_{minor}_{patch}.tar.bz2",
75-
strip_root=True
71+
get(
72+
self,
73+
sha256="7009fe1faa1697476bdc7027703a2badb84e849b7b0baad5086b087b971f8617",
74+
url=f"https://boostorg.jfrog.io/artifactory/main/release/{self.version}/source/boost_{self.version.replace('.','_')}.tar.bz2",
75+
strip_root=True,
76+
)
77+
patch(
78+
self,
79+
patch_file="patches/001-b2_update.patch",
80+
patch_description="Update b2 to v5.2.1 for Boost 1.85.0 to fix build issues with newer MSVC versions",
7681
)
7782

7883
def build(self):
@@ -81,12 +86,14 @@ def build(self):
8186
flags = self._get_build_flags()
8287
b2dir = self.source_path / "tools" / "build"
8388
b2exe = b2dir / ("b2.exe" if self.settings.os == "Windows" else "b2")
84-
b2 = (f'{b2exe} {" ".join(flags)} '
85-
f'-j{os.cpu_count()} '
86-
f'--abbreviate-paths '
87-
f'--debug-configuration '
88-
f'--disable-icu '
89-
f'--build-dir="{self.build_folder}"')
89+
b2 = (
90+
f'{b2exe} {" ".join(flags)} '
91+
f"-j{os.cpu_count()} "
92+
f"--abbreviate-paths "
93+
f"--debug-configuration "
94+
f"--disable-icu "
95+
f'--build-dir="{self.build_folder}"'
96+
)
9097

9198
# to locate user config jam (BOOST_BUILD_PATH)
9299
with files.chdir(self, self.source_folder):
@@ -96,8 +103,7 @@ def build(self):
96103
self.run(b2)
97104

98105
def package(self):
99-
copy(self, pattern="*", src=self.source_path / "boost",
100-
dst=self.package_path / "include" / "boost", excludes="*/CMakeLists.txt")
106+
copy(self, pattern="*", src=self.source_path / "boost", dst=self.package_path / "include" / "boost", excludes="*/CMakeLists.txt")
101107
copy(self, "LICENSE_1_0.txt", src=self.source_path, dst=self.package_path / "licenses")
102108

103109
out_lib_dir = self.source_path / "stage" / "lib"
@@ -134,8 +140,7 @@ def package_info(self):
134140

135141
self.cpp_info.components["diagnostic_definitions"].libs = []
136142
self.cpp_info.components["diagnostic_definitions"].defines = ["BOOST_LIB_DIAGNOSTIC"]
137-
self.cpp_info.components["diagnostic_definitions"].set_property(
138-
"cmake_target_name", f"Boost::diagnostic_definitions")
143+
self.cpp_info.components["diagnostic_definitions"].set_property("cmake_target_name", f"Boost::diagnostic_definitions")
139144

140145
# A target defined by CMake's original Boost find package and used by openvdb
141146
self.cpp_info.components["disable_autolinking"].libs = []
@@ -144,7 +149,7 @@ def package_info(self):
144149

145150
for lib in collect_libs(self):
146151
# remove boost_ prefix and any suffix
147-
comp = lib[lib.index("_") + 1:].split('-')[0]
152+
comp = lib[lib.index("_") + 1 :].split("-")[0]
148153

149154
self.output.info(f"creating component {comp}")
150155

@@ -242,9 +247,9 @@ def _get_build_flags(self):
242247
zlib_info = self.dependencies["zlib"].cpp_info
243248
zlib_name = "zlib" if self.settings.os == "Windows" else "z"
244249
debug_suffix = "_d" if self.settings.build_type == "Debug" else ""
245-
flags.append('-sZLIB_INCLUDE="%s"' % zlib_info.includedirs[0].replace('\\', '/'))
246-
flags.append('-sZLIB_LIBPATH="%s"' % zlib_info.libdirs[0].replace('\\', '/'))
247-
flags.append(f'-sZLIB_BINARY={zlib_name}{debug_suffix}')
250+
flags.append('-sZLIB_INCLUDE="%s"' % zlib_info.includedirs[0].replace("\\", "/"))
251+
flags.append('-sZLIB_LIBPATH="%s"' % zlib_info.libdirs[0].replace("\\", "/"))
252+
flags.append(f"-sZLIB_BINARY={zlib_name}{debug_suffix}")
248253

249254
flags.append("boost.locale.iconv=on")
250255
flags.append("boost.locale.icu=off")

0 commit comments

Comments
 (0)