42bac96863
pkgsrc changes: - use pre-configure rather than post-patch for SUBST_STAGEs to make mkpatches(1) and patchdiff(1) easier (suggested by jperkin@) - add otl options - enable m17nlib and the new otl options by default - explicitly add --enable-anti-alias to CONFIGURE_ARGS for mlterm-fb - sort PLIST Changes noted in doc/en/ReleaseNote: ver 3.6.3 * Bug fixes: Fix compiling error when ./configure is executed with "--with-gui=fb (--disable-anti-alias)" or "--with-gui=xlib,fb --enable-anti-alias" option. ver 3.6.2 * Support composition of normalized unicode characters on MacOSX. * Support visual and audible bell on MacOSX/Cocoa. * Support KAM(CSI2h, CSI2l), SRM (CSI12h, CSI12l), DECBKM(CSI?67h, CSI?67l), DA3(CSI=c), DECDSR(CSI?n), WYSTCURM(CSI33h, CSI33l) OSC 104 and OSC 105. * Snapshot screen and backlog by MC(CSI i). * Add "use_ot_layout" / --otl option which enables to show substituting glyphs in open type fonts with the use of libotf or harfbuzz. (To layout indic scripts, build mlterm with harfbuzz (not libotf), add an indic script font to ~/.mlterm/*font, and start mlterm with -otl option. See mlterm-3.6.2/doc/en/README.indic in detail.) * Add "OpenType Layout" to "Encoding" tab of mlconfig. * Add "ot_script" / --ost and "ot_features" / --oft options. * Add "regard_uri_as_word" / --uriword option which enables to select URI by double click regardless of "word_separators" option. * Change the default value of "type_engine" option from "xft" to "cairo". * Add vte_terminal_{set|get}_word_char_exceptions() to libvte compatible library. * Add "Select URI by double click" to "Others" tab of mlconfig. * Bug fixes: Fix "child-exited" signal of libvte (0.38 or later) compatible library. Fix position of a mouse pointer when EV_ABS event is received on Linux/Framebuffer.
124 lines
3.1 KiB
Makefile
124 lines
3.1 KiB
Makefile
# $NetBSD: options.mk,v 1.11 2016/02/14 14:04:16 tsutsui Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mlterm
|
|
PKG_SUPPORTED_OPTIONS= cairo canna fribidi gdk_pixbuf2 ibus libind m17nlib mlterm-fb otl scim uim wnn4 xft2
|
|
PKG_SUGGESTED_OPTIONS= cairo fribidi gdk_pixbuf2 m17nlib otl xft2
|
|
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux"
|
|
PKG_SUGGESTED_OPTIONS+= mlterm-fb
|
|
.endif
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= bidi cairo canna fb ibus ind m17nlib otl scim uim wnn xft2
|
|
|
|
.if !empty(PKG_OPTIONS:Mmlterm-fb)
|
|
CONFIGURE_ARGS+= --with-gui=xlib,fb
|
|
PLIST.fb= yes
|
|
SPECIAL_PERMS+= ${PREFIX:Q}/bin/mlterm-fb ${SETUID_ROOT_PERMS}
|
|
CONF_FILES+= ${EGDIR}/font-fb ${PKG_SYSCONFDIR}/font-fb
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mcairo)
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
PLIST.cairo= yes
|
|
.else
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mcanna)
|
|
.include "../../inputmethod/canna-lib/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-canna
|
|
PLIST.canna= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-canna
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mfribidi)
|
|
.include "../../converters/fribidi/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-fribidi
|
|
PLIST.bidi= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-fribidi
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgdk_pixbuf2)
|
|
CONFIGURE_ARGS+= --with-imagelib=gdk-pixbuf
|
|
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mibus)
|
|
.include "../../inputmethod/ibus/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-ibus
|
|
PLIST.ibus= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ibus
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibind)
|
|
CONFIGURE_ARGS+= --enable-ind
|
|
PLIST.ind= yes
|
|
LICENSE+= AND gnu-lgpl-v2
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ind
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mm17nlib)
|
|
.include "../../devel/m17n-lib/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-m17nlib
|
|
PLIST.m17nlib= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-m17nlib
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Motl)
|
|
.include "../../fonts/harfbuzz/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-otl
|
|
PLIST.otl= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-otl
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mscim)
|
|
.include "../../inputmethod/scim/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-scim
|
|
PLIST.scim= yes
|
|
LICENSE+= AND gnu-lgpl-v2
|
|
USE_LANGUAGES= c c++
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-scim
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Muim)
|
|
.include "../../inputmethod/uim/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-uim
|
|
PLIST.uim= yes
|
|
LICENSE+= AND gnu-lgpl-v2
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-uim
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mwnn4)
|
|
.include "../../inputmethod/ja-freewnn-lib/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-wnn
|
|
PLIST.wnn= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-wnn
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mxft2)
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
PLIST.xft2= yes
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mcairo) && !empty(PKG_OPTIONS:Mxft2)
|
|
CONFIGURE_ARGS+= --with-type-engines=xcore,xft,cairo
|
|
.if !empty(PKG_OPTIONS:Mmlterm-fb)
|
|
# --enable-anti-alias is also required for mlterm-fb
|
|
CONFIGURE_ARGS+= --enable-anti-alias
|
|
.endif
|
|
.elif !empty(PKG_OPTIONS:Mcairo)
|
|
CONFIGURE_ARGS+= --with-type-engines=xcore,cairo
|
|
.elif !empty(PKG_OPTIONS:Mxft2)
|
|
CONFIGURE_ARGS+= --with-type-engines=xcore,xft
|
|
.else
|
|
CONFIGURE_ARGS+= --with-type-engines=xcore
|
|
.endif
|