git: 5dfebd4d34ce - main - japanese/kasumi-unicode: dictionary management tool for anthy-unicode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Dec 2024 14:28:25 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5dfebd4d34ce472ff8370c910632d2dc447a9f39
commit 5dfebd4d34ce472ff8370c910632d2dc447a9f39
Author: mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-12-01 16:45:41 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-12-02 14:27:34 +0000
japanese/kasumi-unicode: dictionary management tool for anthy-unicode
Kasumi-unicode is a personal dictionary management tool for Anthy-unicode.
Anthy-unicode is a Japanese input method to convert Hiragana text to Kana
Kanji mixed text.
Featuring add words, edit words, delete words, search words and so on.
PR: 283005
Reviewed by: nobutaka
---
japanese/Makefile | 1 +
japanese/kasumi-unicode/Makefile | 30 ++++++++++++++++++++++
japanese/kasumi-unicode/distinfo | 3 +++
.../kasumi-unicode/files/patch-cellrendererspin.c | 11 ++++++++
japanese/kasumi-unicode/pkg-descr | 4 +++
japanese/kasumi-unicode/pkg-plist | 6 +++++
japanese/kasumi/Makefile | 2 ++
7 files changed, 57 insertions(+)
diff --git a/japanese/Makefile b/japanese/Makefile
index 3f0b3aaf212e..cabc6dd25385 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -148,6 +148,7 @@
SUBDIR += jvim3
SUBDIR += kakasi
SUBDIR += kasumi
+ SUBDIR += kasumi-unicode
SUBDIR += kbanner
SUBDIR += kcc
SUBDIR += kcode
diff --git a/japanese/kasumi-unicode/Makefile b/japanese/kasumi-unicode/Makefile
new file mode 100644
index 000000000000..fc9df44dc80d
--- /dev/null
+++ b/japanese/kasumi-unicode/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= kasumi-unicode
+DISTVERSION= 2.6
+CATEGORIES= japanese
+
+MAINTAINER= mew14930xvi@inbox.lv
+COMMENT= Dictionary management tool for anthy-unicode
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libanthy-unicode.so:japanese/anthy-unicode
+
+USES= autoreconf compiler:c++11-lang gmake gnome iconv:wchar_t \
+ libtool pkgconfig
+USE_CXXSTD= c++11
+USE_GITHUB= yes
+GH_ACCOUNT= fujiwarat
+USE_GNOME= gtk30
+
+GNU_CONFIGURE= yes
+
+CONFLICTS_INSTALL= kasumi
+
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
+
+.include <bsd.port.mk>
diff --git a/japanese/kasumi-unicode/distinfo b/japanese/kasumi-unicode/distinfo
new file mode 100644
index 000000000000..8a91674a6316
--- /dev/null
+++ b/japanese/kasumi-unicode/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1732499480
+SHA256 (fujiwarat-kasumi-unicode-2.6_GH0.tar.gz) = a7a416d7df1776dbf32be3c779627ad4061867b54b0f2b48bc29ea2c01959246
+SIZE (fujiwarat-kasumi-unicode-2.6_GH0.tar.gz) = 199232
diff --git a/japanese/kasumi-unicode/files/patch-cellrendererspin.c b/japanese/kasumi-unicode/files/patch-cellrendererspin.c
new file mode 100644
index 000000000000..6ee6dab283c0
--- /dev/null
+++ b/japanese/kasumi-unicode/files/patch-cellrendererspin.c
@@ -0,0 +1,11 @@
+--- cellrendererspin.c.orig 2024-11-25 02:22:09 UTC
++++ cellrendererspin.c
+@@ -158,7 +158,7 @@ gui_cell_renderer_spin_class_init (GuiCellRendererSpin
+ object_class->finalize = gui_cell_renderer_spin_finalize;
+
+ /* Override the cell renderer's edit-related methods */
+- cell_class->start_editing = gui_cell_renderer_spin_start_editing;
++ cell_class->start_editing = (GtkCellEditable *)gui_cell_renderer_spin_start_editing;
+ }
+
+
diff --git a/japanese/kasumi-unicode/pkg-descr b/japanese/kasumi-unicode/pkg-descr
new file mode 100644
index 000000000000..6da9f98208ae
--- /dev/null
+++ b/japanese/kasumi-unicode/pkg-descr
@@ -0,0 +1,4 @@
+Kasumi-unicode is a personal dictionary management tool for Anthy-unicode.
+Anthy-unicode is a Japanese input method to convert Hiragana text to Kana
+Kanji mixed text.
+Featuring add words, edit words, delete words, search words and so on.
diff --git a/japanese/kasumi-unicode/pkg-plist b/japanese/kasumi-unicode/pkg-plist
new file mode 100644
index 000000000000..a3ba9c0954cd
--- /dev/null
+++ b/japanese/kasumi-unicode/pkg-plist
@@ -0,0 +1,6 @@
+bin/kasumi
+share/applications/kasumi.desktop
+%%NLS%%share/locale/it/LC_MESSAGES/kasumi-unicode.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/kasumi-unicode.mo
+share/man/man1/kasumi.1.gz
+share/pixmaps/kasumi.png
diff --git a/japanese/kasumi/Makefile b/japanese/kasumi/Makefile
index cc75ebbc4dc6..d61b2b5ef450 100644
--- a/japanese/kasumi/Makefile
+++ b/japanese/kasumi/Makefile
@@ -23,6 +23,8 @@ GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
OPTIONS_DEFINE= NLS
+CONFLICTS_INSTALL= kasumi-unicode
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}