git: 5055edcfff28 - main - textproc/ibus-typing-booster: upgrade to 2.27.59

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Thu, 22 May 2025 16:50:44 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5055edcfff283a67436fa0e0ed3c444222f53231

commit 5055edcfff283a67436fa0e0ed3c444222f53231
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2025-05-22 13:38:35 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2025-05-22 16:49:52 +0000

    textproc/ibus-typing-booster: upgrade to 2.27.59
    
    Releases notes at https://github.com/mike-fabian/ibus-typing-booster/releases
---
 textproc/ibus-typing-booster/Makefile                     | 15 ++++++++++-----
 textproc/ibus-typing-booster/distinfo                     |  6 +++---
 .../patch-setup_ibus-setup-typing-booster.desktop.in.in   |  6 +++---
 3 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/textproc/ibus-typing-booster/Makefile b/textproc/ibus-typing-booster/Makefile
index aa7b21be4483..8fb05f8f00f3 100644
--- a/textproc/ibus-typing-booster/Makefile
+++ b/textproc/ibus-typing-booster/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ibus-typing-booster
-PORTVERSION=	2.27.46
+PORTVERSION=	2.27.59
 CATEGORIES=	textproc
 
 MAINTAINER=	thierry@FreeBSD.org
@@ -14,12 +14,12 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}		\
 LIB_DEPENDS=	libibus-1.0.so:textproc/ibus	\
 		libm17n.so:devel/m17n-lib
 RUN_DEPENDS=	CLDR>0:textproc/CLDR	\
+		UCD>0:textproc/UCD	\
 		${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}		\
 		${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR}		\
 		${PYTHON_PKGNAMEPREFIX}rapidfuzz>0:devel/py-rapidfuzz@${PY_FLAVOR}	\
 		${PYTHON_PKGNAMEPREFIX}hunspell>0:textproc/py-hunspell@${PY_FLAVOR}	\
 		${PYTHON_PKGNAMEPREFIX}pycountry>0:textproc/py-pycountry@${PY_FLAVOR}	\
-		${LOCALBASE}/share/unicode/ucd/Index.txt:textproc/UCD			\
 		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
 TEST_DEPENDS=	${LOCALBASE}/share/hunspell/cs_CZ.dic:textproc/cs-hunspell	\
 		${LOCALBASE}/share/hunspell/de_DE.dic:german/hunspell		\
@@ -60,11 +60,10 @@ OPTIONS_DEFAULT=HUNSPELL
 HUNSPELL_RUN_DEPENDS=	hunspell:textproc/hunspell
 
 SPELL2FIX=	engine/itb_util.py setup/user_transliteration.py
-SHR2FIX=	engine/itb_util.py engine/itb_emoji.py engine/hunspell_table.py	\
-		tests/test_compose_sequences.py engine/itb_sound.py		\
-		setup/user_transliteration.py ${GLIB_SCHEMAS}
+SHR2FIX=	engine/itb_sound.py ${GLIB_SCHEMAS}
 XML2FIX=	org.freedesktop.ibus.engine.typing_booster.metainfo.xml.in	\
 		org.freedesktop.ibus.engine.typing_booster.emoji_picker.metainfo.xml.in
+X11LOC2FIX=	engine/itb_util.py tests/test_compose_sequences.py tests/test_itb.py
 COMP2DEL=	engine/Makefile setup/Makefile
 
 pre-configure:
@@ -81,6 +80,12 @@ pre-configure:
 	${REINPLACE_CMD} -e 's|/usr/share/ibus-typing-booster|${DATADIR}|'	\
 		-e 's|/usr/share|${LOCALBASE}/share|' ${WRKSRC}/${f}
 .endfor
+	${REINPLACE_CMD} -e 's|/usr/share/unicode|${LOCALBASE}/share/unicode|'	\
+		${WRKSRC}/engine/itb_emoji.py
+.for f in ${X11LOC2FIX}
+	${REINPLACE_CMD} -e 's|/usr/share/X11/locale|${LOCALBASE}/lib/X11/locale|'	\
+		${WRKSRC}/${f}
+.endfor
 
 post-configure:
 .for f in ${COMP2DEL}
diff --git a/textproc/ibus-typing-booster/distinfo b/textproc/ibus-typing-booster/distinfo
index b919aaa723a2..26225170ae8c 100644
--- a/textproc/ibus-typing-booster/distinfo
+++ b/textproc/ibus-typing-booster/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746539534
-SHA256 (mike-fabian-ibus-typing-booster-2.27.46_GH0.tar.gz) = fa36b95bfd5c0ff1678cca3b78cea270b799e543c4e5dd37617dc6b8f864c22c
-SIZE (mike-fabian-ibus-typing-booster-2.27.46_GH0.tar.gz) = 13425155
+TIMESTAMP = 1747906464
+SHA256 (mike-fabian-ibus-typing-booster-2.27.59_GH0.tar.gz) = 9de946f644bab6fca7af9280c62545d21def02ed6c2f989cba1b932db943d7bd
+SIZE (mike-fabian-ibus-typing-booster-2.27.59_GH0.tar.gz) = 13491352
diff --git a/textproc/ibus-typing-booster/files/patch-setup_ibus-setup-typing-booster.desktop.in.in b/textproc/ibus-typing-booster/files/patch-setup_ibus-setup-typing-booster.desktop.in.in
index ec09186f2776..2198095280c6 100644
--- a/textproc/ibus-typing-booster/files/patch-setup_ibus-setup-typing-booster.desktop.in.in
+++ b/textproc/ibus-typing-booster/files/patch-setup_ibus-setup-typing-booster.desktop.in.in
@@ -1,7 +1,7 @@
---- setup/ibus-setup-typing-booster.desktop.in.in.orig	2016-12-14 02:45:06 UTC
+--- setup/ibus-setup-typing-booster.desktop.in.in.orig	2025-05-21 16:18:59 UTC
 +++ setup/ibus-setup-typing-booster.desktop.in.in
-@@ -5,4 +5,5 @@ Exec=${LIBEXECDIR}/ibus-setup-typing-boo
- Icon=${PKGDATADIR}/icons/ibus-hunspell-table.svg
+@@ -5,4 +5,5 @@ Type=Application
+ Icon=ibus-typing-booster
  NoDisplay=true
  Type=Application
 -StartupNotify=true