pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/inputmethod/uim-mozc226



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sat Apr 20 09:20:29 UTC 2024

Added Files:
        pkgsrc/inputmethod/uim-mozc226: DESCR Makefile PLIST

Log Message:
inputmethod/uim-mozc226: import uim-mozc-2.26.4282.100nb24

Mozc is a Japanese Input Method Editor (IME) designed for multi-platform
such as Chromium OS, Windows, Mac and Linux. This open-source
project originates from Google Japanese Input.

This package provides mozc module for uim inputmethod.

This package does not require deve/bazel, so you can build under
32-bit systems.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/inputmethod/uim-mozc226/DESCR \
    pkgsrc/inputmethod/uim-mozc226/Makefile \
    pkgsrc/inputmethod/uim-mozc226/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/inputmethod/uim-mozc226/DESCR
diff -u /dev/null pkgsrc/inputmethod/uim-mozc226/DESCR:1.1
--- /dev/null   Sat Apr 20 09:20:29 2024
+++ pkgsrc/inputmethod/uim-mozc226/DESCR        Sat Apr 20 09:20:28 2024
@@ -0,0 +1,8 @@
+Mozc is a Japanese Input Method Editor (IME) designed for multi-platform
+such as Chromium OS, Windows, Mac and Linux. This open-source
+project originates from Google Japanese Input.
+
+This package provides mozc module for uim inputmethod.
+
+This package does not require deve/bazel, so you can build under
+32-bit systems.
Index: pkgsrc/inputmethod/uim-mozc226/Makefile
diff -u /dev/null pkgsrc/inputmethod/uim-mozc226/Makefile:1.1
--- /dev/null   Sat Apr 20 09:20:29 2024
+++ pkgsrc/inputmethod/uim-mozc226/Makefile     Sat Apr 20 09:20:28 2024
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1 2024/04/20 09:20:28 tsutsui Exp $
+
+PKGNAME=       uim-${DISTNAME}
+PKGREVISION=   24
+
+CONFLICTS+=    ibus-mozc<=1.13.1651.102
+
+INSTALLATION_DIRS+=    lib/uim/plugin share/uim/pixmaps
+
+DEPENDS+=      xdg-utils-[0-9]*:../../misc/xdg-utils
+DEPENDS+=      mozc-renderer-[0-9]*:../../inputmethod/mozc-renderer226
+DEPENDS+=      mozc-server-[0-9]*:../../inputmethod/mozc-server226
+DEPENDS+=      mozc-tool-[0-9]*:../../inputmethod/mozc-tool226
+
+SUBST_CLASSES+=                        mozc_tool
+SUBST_STAGE.mozc_tool=         pre-configure
+SUBST_MESSAGE.mozc_tool=       Fixing mozc_tool path
+SUBST_FILES.mozc_tool=         scm/mozc-custom.scm
+SUBST_SED.mozc_tool=           -e 's,/usr/lib/mozc/mozc_tool,${PREFIX}/libexec/mozc_tool,g'
+
+post-patch:
+       mv ${WRKSRC}/unix/uim/scm ${WRKSRC}/scm
+
+do-build:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+               ${PYTHONBIN} build_mozc.py build -c ${MOZC_BUILD_MODE} \
+                       unix/uim/uim.gyp:uim-mozc
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/out_${OSDEST}/${MOZC_BUILD_MODE}/libuim-mozc.so \
+               ${DESTDIR}${PREFIX}/lib/uim/plugin
+       ${INSTALL_DATA} ${WRKSRC}/data/images/unix/ime_product_icon_opensource-32.png \
+               ${DESTDIR}${PREFIX}/share/uim/pixmaps/mozc.png
+       ${INSTALL_DATA} ${WRKSRC}/data/images/unix/ui-tool.png \
+               ${DESTDIR}${PREFIX}/share/uim/pixmaps/mozc_tool_selector.png
+       ${INSTALL_DATA} ${WRKSRC}/data/images/unix/ui-properties.png \
+               ${DESTDIR}${PREFIX}/share/uim/pixmaps/mozc_tool_config_dialog.png
+       ${INSTALL_DATA} ${WRKSRC}/data/images/unix/ui-dictionary.png \
+               ${DESTDIR}${PREFIX}/share/uim/pixmaps/mozc_tool_dictionary_tool.png
+       ${INSTALL_DATA} ${WRKSRC}/scm/mozc-custom.scm \
+               ${DESTDIR}${PREFIX}/share/uim
+       ${INSTALL_DATA} ${WRKSRC}/scm/mozc-key-custom.scm \
+               ${DESTDIR}${PREFIX}/share/uim
+       ${INSTALL_DATA} ${WRKSRC}/scm/mozc.scm \
+               ${DESTDIR}${PREFIX}/share/uim
+
+UIM_MODULES=   mozc
+.include "../../inputmethod/uim/modules.mk"
+
+.include "../../inputmethod/uim/buildlink3.mk"
+.include "../../inputmethod/mozc-server226/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/inputmethod/uim-mozc226/PLIST
diff -u /dev/null pkgsrc/inputmethod/uim-mozc226/PLIST:1.1
--- /dev/null   Sat Apr 20 09:20:29 2024
+++ pkgsrc/inputmethod/uim-mozc226/PLIST        Sat Apr 20 09:20:28 2024
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2024/04/20 09:20:28 tsutsui Exp $
+lib/uim/plugin/libuim-mozc.so
+share/uim/mozc-custom.scm
+share/uim/mozc-key-custom.scm
+share/uim/mozc.scm
+share/uim/pixmaps/mozc.png
+share/uim/pixmaps/mozc_tool_config_dialog.png
+share/uim/pixmaps/mozc_tool_dictionary_tool.png
+share/uim/pixmaps/mozc_tool_selector.png



Home | Main Index | Thread Index | Old Index