git: a7befa6f427c - main - devel/libunicode-contour: Update to 0.7.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Jan 2026 03:35:46 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a7befa6f427c61504ace908cb860a991c087e99d
commit a7befa6f427c61504ace908cb860a991c087e99d
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-01-06 03:34:28 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-01-06 03:34:28 +0000
devel/libunicode-contour: Update to 0.7.0
While here, remove unnecessary CMAKE_ARGS since intrinsics SIMD is
only enabled on amd64 and aarch64 architectures.
Changelog: https://github.com/contour-terminal/libunicode/releases/tag/v0.7.0
Reported by: portscout
---
devel/libunicode-contour/Makefile | 9 ++++-----
devel/libunicode-contour/distinfo | 6 +++---
.../files/patch-src_libunicode_CMakeLists.txt | 17 +++++++++++++++++
devel/libunicode-contour/pkg-plist | 12 ++++++------
4 files changed, 30 insertions(+), 14 deletions(-)
diff --git a/devel/libunicode-contour/Makefile b/devel/libunicode-contour/Makefile
index cda04b8ae1df..37c6babaa37f 100644
--- a/devel/libunicode-contour/Makefile
+++ b/devel/libunicode-contour/Makefile
@@ -1,7 +1,6 @@
PORTNAME= libunicode
DISTVERSIONPREFIX= v
-DISTVERSION= 0.6.0
-PORTREVISION= 2
+DISTVERSION= 0.7.0
CATEGORIES= devel
PKGNAMESUFFIX= -contour
@@ -13,7 +12,7 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/share/pkgconfig/catch2-with-main.pc:devel/catch2 \
- UCD>=16.0.0,1:textproc/UCD
+ UCD>=17.0.0,1:textproc/UCD
USES= cmake:testing
@@ -24,8 +23,6 @@ USE_LDCONFIG= ${PREFIX}/lib/contour
CMAKE_ARGS= -DLIBUNICODE_UCD_DIR:STRING=${LOCALBASE}/share/unicode/ucd \
${CMAKE_ARGS_${ARCH}}
-CMAKE_ARGS_armv7= -DLIBUNICODE_SIMD_IMPLEMENTATION:STRING=std
-CMAKE_ARGS_i386= -DLIBUNICODE_SIMD_IMPLEMENTATION:STRING=std
CMAKE_ARGS_powerpc64= -DLIBUNICODE_SIMD_IMPLEMENTATION:STRING=sse2
CMAKE_ARGS_powerpc64le= -DLIBUNICODE_SIMD_IMPLEMENTATION:STRING=sse2
CXXFLAGS_powerpc64= -DNO_WARN_X86_INTRINSICS -D__SSE2__ -mvsx
@@ -33,6 +30,8 @@ CXXFLAGS_powerpc64le= -DNO_WARN_X86_INTRINSICS -D__SSE2__
REINPLACE_ARGS= -i ''
+PLIST_SUB= SOVERSION_FULL=${DISTVERSION} \
+ SOVERSION_MAJOR_MINOR=${DISTVERSION:R}
PORTDOCS= README.md TODO.md
OPTIONS_DEFINE= DOCS
diff --git a/devel/libunicode-contour/distinfo b/devel/libunicode-contour/distinfo
index d0af254b4023..13adad56fece 100644
--- a/devel/libunicode-contour/distinfo
+++ b/devel/libunicode-contour/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1748784770
-SHA256 (contour-terminal-libunicode-v0.6.0_GH0.tar.gz) = 0c217f8264000f1b8c36e78969cb9cf91ac97de937cc141ab78e6b1ad7f404ef
-SIZE (contour-terminal-libunicode-v0.6.0_GH0.tar.gz) = 92750
+TIMESTAMP = 1767667689
+SHA256 (contour-terminal-libunicode-v0.7.0_GH0.tar.gz) = 7b653d8cb3c620cc80118184ccab9c02f7e9a4bf9d1e4b190dae2d5681a0bca4
+SIZE (contour-terminal-libunicode-v0.7.0_GH0.tar.gz) = 94993
diff --git a/devel/libunicode-contour/files/patch-src_libunicode_CMakeLists.txt b/devel/libunicode-contour/files/patch-src_libunicode_CMakeLists.txt
new file mode 100644
index 000000000000..0ba316b67870
--- /dev/null
+++ b/devel/libunicode-contour/files/patch-src_libunicode_CMakeLists.txt
@@ -0,0 +1,17 @@
+--- src/libunicode/CMakeLists.txt.orig 2025-12-22 21:10:19 UTC
++++ src/libunicode/CMakeLists.txt
+@@ -97,9 +97,13 @@ target_link_libraries(unicode_loader PUBLIC unicode::
+
+ # =========================================================================================================
+
++string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" SYSTEM_PROCESSOR_LOWER)
+
+ if(LIBUNICODE_SIMD_IMPLEMENTATION STREQUAL "std" OR LIBUNICODE_SIMD_IMPLEMENTATION STREQUAL "intrinsics")
+- if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
++ if(SYSTEM_PROCESSOR_LOWER STREQUAL "x86_64" OR
++ SYSTEM_PROCESSOR_LOWER STREQUAL "amd64" OR
++ SYSTEM_PROCESSOR_LOWER STREQUAL "aarch64" OR
++ SYSTEM_PROCESSOR_LOWER STREQUAL "arm64")
+ set(LIBUNICODE_SIMD_SOURCES
+ simd_detector.cpp
+ scan256.cpp
diff --git a/devel/libunicode-contour/pkg-plist b/devel/libunicode-contour/pkg-plist
index d8de5d928c9b..0cac873baa5c 100644
--- a/devel/libunicode-contour/pkg-plist
+++ b/devel/libunicode-contour/pkg-plist
@@ -25,11 +25,11 @@ lib/cmake/libunicode/libunicode-config.cmake
lib/cmake/libunicode/libunicode-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/libunicode/libunicode-targets.cmake
lib/contour/libunicode.so
-lib/contour/libunicode.so.0.6
-lib/contour/libunicode.so.0.6.0
+lib/contour/libunicode.so.%%SOVERSION_MAJOR_MINOR%%
+lib/contour/libunicode.so.%%SOVERSION_FULL%%
lib/contour/libunicode_loader.so
-lib/contour/libunicode_loader.so.0.6
-lib/contour/libunicode_loader.so.0.6.0
+lib/contour/libunicode_loader.so.%%SOVERSION_MAJOR_MINOR%%
+lib/contour/libunicode_loader.so.%%SOVERSION_FULL%%
lib/contour/libunicode_ucd.so
-lib/contour/libunicode_ucd.so.0.6
-lib/contour/libunicode_ucd.so.0.6.0
+lib/contour/libunicode_ucd.so.%%SOVERSION_MAJOR_MINOR%%
+lib/contour/libunicode_ucd.so.%%SOVERSION_FULL%%