pkgsrc-Changes archive

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

CVS commit: pkgsrc/inputmethod/mozc-elisp226



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Feb 10 01:24:58 UTC 2024

Added Files:
        pkgsrc/inputmethod/mozc-elisp226: DESCR MESSAGE Makefile PLIST

Log Message:
inputmethod/mozc-elisp226: import mozc-elisp-2.29.5268.102nb25

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 includes Emacs LISP and helper program to use mozc on emacs.

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/mozc-elisp226/DESCR \
    pkgsrc/inputmethod/mozc-elisp226/MESSAGE \
    pkgsrc/inputmethod/mozc-elisp226/Makefile \
    pkgsrc/inputmethod/mozc-elisp226/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/mozc-elisp226/DESCR
diff -u /dev/null pkgsrc/inputmethod/mozc-elisp226/DESCR:1.1
--- /dev/null   Sat Feb 10 01:24:58 2024
+++ pkgsrc/inputmethod/mozc-elisp226/DESCR      Sat Feb 10 01:24:58 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 includes Emacs LISP and helper program to use mozc on emacs.
+
+This package does not require deve/bazel, so you can build under
+32-bit systems.
Index: pkgsrc/inputmethod/mozc-elisp226/MESSAGE
diff -u /dev/null pkgsrc/inputmethod/mozc-elisp226/MESSAGE:1.1
--- /dev/null   Sat Feb 10 01:24:58 2024
+++ pkgsrc/inputmethod/mozc-elisp226/MESSAGE    Sat Feb 10 01:24:58 2024
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2024/02/10 01:24:58 ryoon Exp $
+
+To activate mozc on emacs, you will need to add the following lines to
+your .emacs or ${EMACS_LISPPREFIX}/site-start.el:
+
+       (set-language-environment "Japanese")
+       (require 'mozc)
+       (setq default-input-method "japanese-mozc")
+
+===========================================================================
Index: pkgsrc/inputmethod/mozc-elisp226/Makefile
diff -u /dev/null pkgsrc/inputmethod/mozc-elisp226/Makefile:1.1
--- /dev/null   Sat Feb 10 01:24:58 2024
+++ pkgsrc/inputmethod/mozc-elisp226/Makefile   Sat Feb 10 01:24:58 2024
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2024/02/10 01:24:58 ryoon Exp $
+
+PKGNAME=       ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/mozc-/mozc-elisp-/}
+PKGREVISION=   25
+CATEGORIES=    inputmethod editors
+
+EMACS_MODULES= base leim
+
+.include "../../editors/emacs/modules.mk"
+
+INSTALLATION_DIRS=     ${EMACS_LISPPREFIX} bin
+
+pre-configure:
+       ${RM} ${WRKSRC}/unix/uim/uim.gyp
+
+do-build:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+               ${PYTHONBIN} build_mozc.py build -c Release \
+                       unix/emacs/emacs.gyp:mozc_emacs_helper
+       cd ${WRKSRC}/unix/emacs && \
+               ${EMACS_BIN} -q -batch -no-site-file -no-init-file \
+                       -f batch-byte-compile mozc.el
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/out_${OSDEST}/Release/mozc_emacs_helper \
+               ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/unix/emacs/mozc.el \
+               ${DESTDIR}${EMACS_LISPPREFIX}
+       ${INSTALL_DATA} ${WRKSRC}/unix/emacs/mozc.elc \
+               ${DESTDIR}${EMACS_LISPPREFIX}
+
+.include "../../inputmethod/mozc-server/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/inputmethod/mozc-elisp226/PLIST
diff -u /dev/null pkgsrc/inputmethod/mozc-elisp226/PLIST:1.1
--- /dev/null   Sat Feb 10 01:24:58 2024
+++ pkgsrc/inputmethod/mozc-elisp226/PLIST      Sat Feb 10 01:24:58 2024
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2024/02/10 01:24:58 ryoon Exp $
+bin/mozc_emacs_helper
+${EMACS_LISPPREFIX}/mozc.el
+${EMACS_LISPPREFIX}/mozc.elc



Home | Main Index | Thread Index | Old Index