Index | Thread | Search

From:
SASANO Takayoshi <uaa@mx5.nisiq.net>
Subject:
[UPDATE] textproc/libunicode-0.6.0
To:
ports@cvs.openbsd.org
Date:
Sun, 07 Sep 2025 13:57:46 +0900

Download raw body.

Thread
Hello,

clang-19 and fully-featured <format> is now available,
now time to update textproc/libunicode.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/libunicode/Makefile,v
diff -u -p -r1.3 Makefile
--- Makefile	21 Dec 2024 11:39:01 -0000	1.3
+++ Makefile	7 Sep 2025 04:55:00 -0000
@@ -2,8 +2,7 @@ COMMENT =	Unicode support to C++ with si
 
 GH_ACCOUNT =	contour-terminal
 GH_PROJECT =	libunicode
-GH_TAGNAME =	v0.4.0
-REVISION =	1
+GH_TAGNAME =	v0.6.0
 
 SHARED_LIBS  =	unicode		0.0 # 0.0
 SHARED_LIBS +=	unicode_loader	0.0 # 0.0
@@ -24,8 +23,7 @@ COMPILER =		base-clang ports-gcc
 MODULES =		devel/cmake \
 			lang/python
 
-BUILD_DEPENDS =		devel/fmt \
-			textproc/unicode/ucd
+BUILD_DEPENDS =		textproc/unicode/ucd
 
 CONFIGURE_STYLE =	cmake
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/libunicode/distinfo,v
diff -u -p -r1.1 distinfo
--- distinfo	9 Jul 2024 13:56:10 -0000	1.1
+++ distinfo	7 Sep 2025 04:55:00 -0000
@@ -1,2 +1,2 @@
-SHA256 (libunicode-0.4.0.tar.gz) = pci6LNPfU5mFv6/kP4Et4UOlbwHkB06Vgxo3oTYGvto=
-SIZE (libunicode-0.4.0.tar.gz) = 89723
+SHA256 (libunicode-0.6.0.tar.gz) = DCF/gmQADxuMNueJacuc+RrJfek3zBQat45rGtf0BO8=
+SIZE (libunicode-0.6.0.tar.gz) = 92750
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt	13 Jul 2024 13:34:08 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-From ad31f78a116c844e5c00712b3dcd258c76586e57 Mon Sep 17 00:00:00 2001
-From: Christian Parpart <christian@parpart.family>
-Date: Tue, 26 Dec 2023 10:07:16 +0100
-Subject: [PATCH] Make usage of SSE extension optional
-
-Index: CMakeLists.txt
---- CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -43,6 +43,7 @@ option(LIBUNICODE_EXAMPLES "libunicode: Enables buildi
- option(LIBUNICODE_TESTING "libunicode: Enables building of unittests for libunicode [default: ${MASTER_PROJECT}" ${MASTER_PROJECT})
- option(LIBUNICODE_TOOLS "libunicode: Builds CLI tools [default: ${MASTER_PROJECT}]" ${MASTER_PROJECT})
- option(LIBUNICODE_BUILD_STATIC "libunicode: provide static library instead of dynamic [default: ${LIBUNICODE_BUILD_STATIC_DEFAULT}]" ${LIBUNICODE_BUILD_STATIC_DEFAULT})
-+option(LIBUNICODE_USE_INTRINSICS "libunicode: Use SIMD extenstion during text read [default: ON]" ON)
- 
- include(ThirdParties)
- 
Index: patches/patch-src_libunicode_CMakeLists_txt
===================================================================
RCS file: patches/patch-src_libunicode_CMakeLists_txt
diff -N patches/patch-src_libunicode_CMakeLists_txt
--- patches/patch-src_libunicode_CMakeLists_txt	13 Jul 2024 13:34:08 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,19 +0,0 @@
-From ad31f78a116c844e5c00712b3dcd258c76586e57 Mon Sep 17 00:00:00 2001
-From: Christian Parpart <christian@parpart.family>
-Date: Tue, 26 Dec 2023 10:07:16 +0100
-Subject: [PATCH] Make usage of SSE extension optional
-
-Index: src/libunicode/CMakeLists.txt
---- src/libunicode/CMakeLists.txt.orig
-+++ src/libunicode/CMakeLists.txt
-@@ -110,6 +110,10 @@ add_library(unicode ${LIBUNICODE_LIB_MODE}
-     codepoint_properties_names.cpp
- )
- 
-+if(LIBUNICODE_USE_INTRINSICS)
-+    target_compile_definitions(unicode PRIVATE USE_INTRINSICS)
-+endif()
-+
- set(public_headers
-     capi.h
-     codepoint_properties.h
Index: patches/patch-src_libunicode_scan_cpp
===================================================================
RCS file: patches/patch-src_libunicode_scan_cpp
diff -N patches/patch-src_libunicode_scan_cpp
--- patches/patch-src_libunicode_scan_cpp	13 Jul 2024 13:34:08 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,24 +0,0 @@
-From ad31f78a116c844e5c00712b3dcd258c76586e57 Mon Sep 17 00:00:00 2001
-From: Christian Parpart <christian@parpart.family>
-Date: Tue, 26 Dec 2023 10:07:16 +0100
-Subject: [PATCH] Make usage of SSE extension optional
-
-Index: src/libunicode/scan.cpp
---- src/libunicode/scan.cpp.orig
-+++ src/libunicode/scan.cpp
-@@ -81,6 +81,7 @@ size_t detail::scan_for_text_ascii(string_view text, s
-     auto input = text.data();
-     auto const end = text.data() + min(text.size(), maxColumnCount);
- 
-+#if defined(USE_INTRINSICS)
-     intrinsics::m128i const ControlCodeMax = intrinsics::set1_epi8(0x20); // 0..0x1F
-     intrinsics::m128i const Complex = intrinsics::set1_epi8(-128);        // equals to 0x80 (0b1000'0000)
- 
-@@ -99,6 +100,7 @@ size_t detail::scan_for_text_ascii(string_view text, s
-         }
-         input += sizeof(intrinsics::m128i);
-     }
-+#endif
- 
-     while (input != end && is_ascii(*input))
-         ++input;

-- 
SASANO Takayoshi (JG1UAA) <uaa@mx5.nisiq.net>