From 78b7c910015e9c9d61c47d054cab5d41934e4e28 Mon Sep 17 00:00:00 2001 From: Muhammad Tayyab Akram Date: Tue, 10 Feb 2026 08:12:48 +0500 Subject: [PATCH] [sheenbidi] Update to 3.0.0 (#49906) --- ports/sheenbidi/cmake-install.patch | 12 ------------ ports/sheenbidi/portfile.cmake | 11 ++++++++--- ports/sheenbidi/vcpkg.json | 9 +++++++-- versions/baseline.json | 2 +- versions/s-/sheenbidi.json | 5 +++++ 5 files changed, 21 insertions(+), 18 deletions(-) delete mode 100644 ports/sheenbidi/cmake-install.patch diff --git a/ports/sheenbidi/cmake-install.patch b/ports/sheenbidi/cmake-install.patch deleted file mode 100644 index 00d1da1261..0000000000 --- a/ports/sheenbidi/cmake-install.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 114fab0..befe772 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -266,7 +266,6 @@ include(GNUInstallDirs) - install( - TARGETS SheenBidi - EXPORT SheenBidiTargets -- CONFIGURATIONS Release - PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/SheenBidi" - ) - diff --git a/ports/sheenbidi/portfile.cmake b/ports/sheenbidi/portfile.cmake index cea146f306..76a393fc3f 100644 --- a/ports/sheenbidi/portfile.cmake +++ b/ports/sheenbidi/portfile.cmake @@ -2,14 +2,19 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO Tehreer/SheenBidi REF "v${VERSION}" - SHA512 9efd97b3c212350debaf3e0f3cf022f6b4c93e3de80a77ed92ddf34a2da23c1ddeb3dc5d90b357bd7f3cb3c8c8780c045b7c897836d771bdc96e35d2b9b1935b - PATCHES - cmake-install.patch + SHA512 67c8ef7bea9fc677fbb83601403b40bcc274842597df53a699fd5758f4f170ac5d1fc9a719d590da25f6a72769fe59a2a1cf57e54f0ef6859561bfb77c0c72c4 +) + +vcpkg_check_features( + OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + "text-api" SB_CONFIG_EXPERIMENTAL_TEXT_API ) vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS + ${FEATURE_OPTIONS} -DSB_CONFIG_UNITY=ON ) diff --git a/ports/sheenbidi/vcpkg.json b/ports/sheenbidi/vcpkg.json index 3b446f43e4..af475bcca3 100644 --- a/ports/sheenbidi/vcpkg.json +++ b/ports/sheenbidi/vcpkg.json @@ -1,6 +1,6 @@ { "name": "sheenbidi", - "version": "2.9.0", + "version": "3.0.0", "description": "SheenBidi is a lightweight, fast and stable implementation of the Unicode Bidirectional Algorithm.", "homepage": "https://github.com/Tehreer/SheenBidi", "license": "Apache-2.0", @@ -13,5 +13,10 @@ "name": "vcpkg-cmake-config", "host": true } - ] + ], + "features": { + "text-api": { + "description": "Enable the experimental text editing and analysis API" + } + } } diff --git a/versions/baseline.json b/versions/baseline.json index ab0704258a..1de396ea88 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -9053,7 +9053,7 @@ "port-version": 0 }, "sheenbidi": { - "baseline": "2.9.0", + "baseline": "3.0.0", "port-version": 0 }, "shiftmedia-libgcrypt": { diff --git a/versions/s-/sheenbidi.json b/versions/s-/sheenbidi.json index 8638bddb32..f9e4e833c2 100644 --- a/versions/s-/sheenbidi.json +++ b/versions/s-/sheenbidi.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "2c203248948321810bb7c427fe58a0c74d991298", + "version": "3.0.0", + "port-version": 0 + }, { "git-tree": "dfebbff8b11c3a64bf82c38e3a975fe085bb6302", "version": "2.9.0",