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.
Restart Emacs after installation.
To use Mozc as your default input method, add the following line
to your Emacs initialization file, such as ~/.emacs or
~/.emacs.d/init.el:
(setq default-input-method "japanese-mozc")
Press C-\ to toggle Japanese input.
To select Mozc without changing your initialization file, use:
M-x set-input-method RET japanese-mozc RET
The helper program's path is configured by this port.
The Mozc server starts automatically when needed.
No IBus or Fcitx configuration is required for use within Emacs.
If you prefer C-o for toggling input, you can optionally add:
(global-set-key (kbd "C-o") 'toggle-input-method)
This replaces the standard C-o binding for open-line.
japanese/mozc-server: Update from 2.23.2815.102.01 to 3.35.6354.101
- Adapt FreeBSD support and installation paths to the updated sources.
- Use the base system's zlib and ports-provided Python, Qt 6, and
input method framework libraries.
- Add a static list of distfiles required by Bazel 9 to avoid network
downloads during the build.
- Update the IBus and uim frontends, and replace Fcitx 4 support
with Fcitx 5.
- Share icons installed by mozc-server with the input method frontends.
- Fix Emacs input method registration and make mozc_emacs_helper
available in PATH. This allows mozc.el from MELPA to work without
additional configuration.
- Update startup scripts, package messages, and license declarations.
- Preserve license texts and copyright notices for bundled components.
Emacs Lisp ports framework: Overhaul
This overhaul introduces four key changes to the elisp ports framework:
1. Remove support for packaged byte-compiled elisp.
The primary motivation is to remove a large number of flavor-specific
packages and to simplify the ports tree. As an example, supporting
byte-compiled elisp for devel/tablist required six packages, one for
each flavor of editors/emacs and editors/emacs-devel. With over 100
elisp ports and requests for new Emacs flavors, this was
unmanageable.
2. Install configuration to integrate with Emacs's native compilation
machinery, allowing elisp from ports to be compiled into the standard
(Only the first 15 lines of the commit message are shown above )
Update japanese/mozc-{server,el,tool} and japanese/{fcitx,ibus,uim}-mozc
to 2.23.2815.102.01, and devel/py-gyp to a snapshot as of 20200512.
Changes include:
- Migration to Python 3.
- Update of the zipcode dictionary to 20200430.
- Fix of the icon path for fcitx.
editors/emacs: Update to version 27.1
Please refer to the 20200811 UPDATING entry when upgrading
dependent (*-emacs26-*) ports.
Port changes:
- depend on math/gmp
- match upstream by turning CAIRO, HARFBUZZ, and JSON options and on and
turning MAGICK off by default
- remove OPENMP check for graphics/ImageMagick as the openmp is now
included in base
- update EMACS_VER in Mk/Uses/emacs.mk
- bump USES=emacs ports or remove BROKEN for net-im/jabber.el and
deskutils/howm, which now build
Submitted by: HIROSE Yuuji <yuuji@gentei.org> (canna patch)
Reviewed by: ashish
Differential Revision: https://reviews.freebsd.org/D23966
editors/emacs-devel: Update to latest master branch commit, 4f2b415
This update includes an Emacs major version change from 27.0.50 to 28.0.50.
Ports that may depend on editors/emacs-devel must chase this update
with a PORTREVISION bump.
Submitted by: ashish (maintainer)
Differential Revision: https://reviews.freebsd.org/D23012
Flavorize and modernize Emacs ports
- Convert USE_EMACS to USES=emacs
- Remove editors/emacs-nox11 (refer to nox flavors of editors/emacs and
editors/emacs-devel)
- Permit default Emacs flavor to be specified in make.conf
- Rename japanese/migemo-emacs23 to japanese/migemo-emacs
- Update and simplify audio/emms and fix build on FreeBSD 10 [1]
- Update databases/bbdd and fix build on FreeBSD 10 [1]
- Update editors/emacs-devel
- Ensure Makefile shell commands that change directory are executed in a
subshell
- Silence some portlint warnings
[1] By not depending on base texinfo
PR: 225404
Reviewed by: antoine
Approved by: portmgr (mat) ashish (maintainer)
Differential Revision: https://reviews.freebsd.org/D13506
- Add Japan Post zip code dictionary.
- Add LICENSE.
- Fix malformed BUILD_DEPENDS and remove unnecessary dependencies.
Use USE_* in a consistent manner.
- Fix inconsistency toolchain usage in build_tools and the others.
Hardcoded g++ was always used only for the former even if both gcc
and clang were available.
- Enable -Werror.
- Fix SSP issue on i386 platform.
- Let cpp(1) to replace LOCALBASE instead of patching and sed(1).
- Use GYP_DEFINES for build variables instead of patching.
- Separate the stages of configuration and build from each other.
- Add options for localbase and openssl-related configuration to gyp
instead of patching.
- Fix makesum target.
(Only the first 15 lines of the commit message are shown above )
Changed the mozc-el port to use the master mozc-server port
for its easy maintenance
- changed as mozc-server slave ports for easy maintenance
- updated to 1.3.931.102
Approved by: maho
Add japanese/mozc-el port.
Mozc.el is an Emacs client of Mozc, so you can input
Japanese via mozc in your tty, bypassing ibus.
WWW: http://code.google.com/p/mozc/
Submitted by: TAKANO, Yuji