[libics] Update to 1.7.0 (#48842)

This commit is contained in:
SunBlack
2025-12-13 04:27:24 +01:00
committed by GitHub
parent ba2f5c7b91
commit 84bab45d41
6 changed files with 40 additions and 34 deletions

View File

@@ -1,12 +0,0 @@
diff --git a/support/cpp_interface/libics.hpp b/support/cpp_interface/libics.hpp
index 73f76e6..4ea2b1e 100644
--- a/support/cpp_interface/libics.hpp
+++ b/support/cpp_interface/libics.hpp
@@ -40,6 +40,7 @@
#include <string>
#include <utility>
#include <vector>
+#include <cstdint>
#if defined(__WIN32__) && !defined(WIN32)
# define WIN32

View File

@@ -1,21 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO svi-opensource/libics
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO svi-opensource/libics
REF "${VERSION}"
SHA512 0eba280c1174cbd0e1fe6da1502345720793df2f3f6ec31fe0043d79a31d7b79cac5d7da726891faacedc91056e6337a3a694e50d0baafa08314a2867ff3e62f
HEAD_REF master
PATCHES fix-integral-include.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/GNU_LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
SHA512 678038870fc6badfc68848e40c2157bdd0511c205c13760c530fe521bf20d7e75d2c25de1c9506c3d109b1b7678744d3183dcd83322d11d58f3dc74739192403
HEAD_REF master
PATCHES
real16.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/GNU_LICENSE")

12
ports/libics/real16.patch Normal file
View File

@@ -0,0 +1,12 @@
diff --git a/support/cpp_interface/libics.hpp b/support/cpp_interface/libics.hpp
index abf41a2..be18d67 100644
--- a/support/cpp_interface/libics.hpp
+++ b/support/cpp_interface/libics.hpp
@@ -81,6 +81,7 @@ enum class DataType {
SInt32, // integer, signed, 32 bpp
UInt64, // integer, unsigned, 64 bpp
SInt64, // integer, signed, 64 bpp
+ Real16, // real, signed, 16 bpp
Real32, // real, signed, 32 bpp
Real64, // real, signed, 64 bpp
Complex32, // complex, signed, 2*32 bpp

View File

@@ -1,6 +1,6 @@
{
"name": "libics",
"version": "1.6.8",
"version": "1.7.0",
"description": "Reference library for ICS (Image Cytometry Standard), an open standard for writing images of any dimensionality and data type to file, together with associated information regarding the recording equipment or recorded subject.",
"homepage": "https://github.com/svi-opensource/libics",
"dependencies": [

View File

@@ -5005,7 +5005,7 @@
"port-version": 3
},
"libics": {
"baseline": "1.6.8",
"baseline": "1.7.0",
"port-version": 0
},
"libid3tag": {

View File

@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "79e3427c866b21828a4991d715034786910e0ead",
"version": "1.7.0",
"port-version": 0
},
{
"git-tree": "52843a6b1d983426e492b9046056e16df6f1f4bc",
"version": "1.6.8",