818f390c12
Overview of changes from 1.8.7 to 1.8.8 ======================================= * Fixes - build * Fix a build error with --with-libgcroots=installed [GitHub #130][Reported by HIGUCHI Daisuke] - uim-qt5 * Fix a build error [GitHub #129][Reported by HIGUCHI Daisuke] Overview of changes from 1.8.6 to 1.8.7 ======================================= * Fixes - uim-skk * Fix a socket clean bug [GitHub #32][Reported by HIGUCHI Daisuke] * Fix wrong close call [GitHub #55][Patch by zephyrus00jp] - uim-qt4 * Add a missing include [GitHub #38][Patch by Raphael Kubo da Costa] - uim.el * Fix a bug that other minor mode key bindings are ignored on Emacs 24 [GitHub #51][Reported by Araeos] * Fix a bug that Shift+Arrow doesn't work [GitHub #116][Reported by Vladimir Panteleev] - uim-gtk3 * Fix a bug that the candidate windows isn't shown [GitHub #76][Patch by Konosuke Watanab] * Enhancements - all * Add "Keywords" to .desktop [GitHub #57][Patch by HIGUCHI Daisuke] - uim-gtk * Improve GTK+ 3 support [GitHub #35][Patch by e-kato] * Support libpanel-applet 3.14 or later [GitHub #48][Patch by Dmitry Shachnev] * Support Wayland backend [GitHub #71][Reported by Thibaut Girka] - uim-fep * Use UTF-8 for comment encoding [GitHub #46][Patch by Felix Janda] - uim-qt5 * Make workable - uim-social-ime * Remove because the service was disruption - uim.el * Support autoload [GitHub #121][Patch by Arun Isaac]
44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
Makefile
# $NetBSD: modules.mk,v 1.3 2019/11/01 16:21:11 nia Exp $
|
|
#
|
|
# This Makefile fragment is intended to be included by packages that install
|
|
# UIM modules. It takes care of update the corresponding databases
|
|
# at (de)installation time.
|
|
#
|
|
# The following variables can be defined:
|
|
# UIM_MODULES - Set to list of UIM module names installed by the package.
|
|
|
|
.if !defined(UIM_MODULES_MK)
|
|
UIM_MODULES_MK= # defined
|
|
|
|
.if (defined(UIM_MODULES) && !empty(UIM_MODULES))
|
|
|
|
. if !empty(PKGPATH) && ${PKGPATH} != "inputmethod/uim"
|
|
DEPENDS+= uim-[0-9]*:../../inputmethod/uim
|
|
. endif
|
|
|
|
UIM_MODULE_MANAGER= ${PREFIX}/bin/uim-module-manager
|
|
UIM_MODULE_LIST_DIR= ${PREFIX}/share/uim/pkgsrc
|
|
|
|
FILES_SUBST+= UIM_MODULE_MANAGER=${UIM_MODULE_MANAGER:Q}
|
|
FILES_SUBST+= UIM_MODULE_LIST_DIR=${UIM_MODULE_LIST_DIR:Q}
|
|
FILES_SUBST+= UIM_MODULES=${UIM_MODULES:Q}
|
|
INSTALL_TEMPLATES+= ../../inputmethod/uim/files/modules.tmpl
|
|
DEINSTALL_TEMPLATES+= ../../inputmethod/uim/files/modules.tmpl
|
|
|
|
GENERATE_PLIST+= for m in ${UIM_MODULES}; do \
|
|
${ECHO} ${UIM_MODULE_LIST_DIR:S,^${PREFIX}/,,}/$${m}; \
|
|
done ;
|
|
|
|
post-install: uim-add-module-names
|
|
uim-add-module-names: .PHONY
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${UIM_MODULE_LIST_DIR}
|
|
${RUN}cd ${DESTDIR}${UIM_MODULE_LIST_DIR}; \
|
|
for m in ${UIM_MODULES}; do \
|
|
${INSTALL_DATA} /dev/null $${m}; \
|
|
done
|
|
|
|
.endif
|
|
|
|
TOOLS_NOOP+= uim-module-manager
|
|
|
|
.endif # UIM_MODULES_MK
|