sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (725c349c100ba80060173ae8e26f9132489b03d0)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (725c349c100ba80060173ae8e26f9132489b03d0)
- Date: Sat, 19 Apr 2025 01:10:09 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
graphics/imv/HISTORY | 4 +
graphics/imv/PRE_BUILD | 4 +
graphics/imv/patches/imv-4.5.0-Link-to-the-common-ICU-library.patch | 27
++++++++++
3 files changed, 35 insertions(+)
New commits:
commit 725c349c100ba80060173ae8e26f9132489b03d0
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
graphics/imv: fixed building with ICU 76.1
diff --git a/graphics/imv/HISTORY b/graphics/imv/HISTORY
index f29b41a..615a9b2 100644
--- a/graphics/imv/HISTORY
+++ b/graphics/imv/HISTORY
@@ -1,3 +1,7 @@
+2025-04-18 Pavel Vinogradov <public AT sourcemage.org>
+ * PRE_BUILD, patches/imv-4.5.0-Link-to-the-common-ICU-library.patch:
+ added to build with ICU 76.1 (the patch is from Arch Linux)
+
2024-05-02 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 4.5.0, updated source url
diff --git a/graphics/imv/PRE_BUILD b/graphics/imv/PRE_BUILD
new file mode 100755
index 0000000..6c5c8c9
--- /dev/null
+++ b/graphics/imv/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+apply_patch_dir "patches"
diff --git
a/graphics/imv/patches/imv-4.5.0-Link-to-the-common-ICU-library.patch
b/graphics/imv/patches/imv-4.5.0-Link-to-the-common-ICU-library.patch
new file mode 100644
index 0000000..2050348
--- /dev/null
+++ b/graphics/imv/patches/imv-4.5.0-Link-to-the-common-ICU-library.patch
@@ -0,0 +1,27 @@
+From 859c3fd09c1b8c30998b03da9002e7f00b6670cc Mon Sep 17 00:00:00 2001
+From: Aleksei Bavshin <alebastr89 AT gmail.com>
+Date: Wed, 22 Jan 2025 00:50:53 -0800
+Subject: [PATCH imv] Link to the common ICU library
+
+Both the utext and the ubrk APIs are parts of the common library, so
+icu-uc should be the right dependency to use.
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index ea3a653..9fa1b15 100644
+--- a/meson.build
++++ b/meson.build
+@@ -42,7 +42,7 @@ endif
+
+ _unicode = get_option('unicode')
+ if _unicode == 'icu'
+- unicode_lib = dependency('icu-io')
++ unicode_lib = dependency('icu-uc')
+ add_project_arguments('-DIMV_USE_ICU', language: 'c')
+ elif _unicode == 'grapheme'
+ unicode_lib = cc.find_library('grapheme')
+--
+2.48.1
+
- [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (725c349c100ba80060173ae8e26f9132489b03d0), Pavel Vinogradov, 04/18/2025
Archive powered by MHonArc 2.6.24.