pkgsrc/x11/mlterm/options.mk

137 lines
3.3 KiB
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.14 2017/05/06 13:48:39 tsutsui Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mlterm
PKG_SUPPORTED_OPTIONS= cairo canna fribidi gdk_pixbuf2 ibus libind m17nlib mlterm-fb otl scim skk uim wnn4 xft2
Update mlterm to 3.6.3. 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.
2016-02-14 15:04:16 +01:00
PKG_SUGGESTED_OPTIONS= cairo fribidi gdk_pixbuf2 m17nlib otl xft2
Update mlterm to 3.2.0. In this version, mlterm now supports NetBSD wsfb framebuffer so NetBSD users can use a multi-lingual terminal without Xserver on ports that support wsdisplay framebuffer console, i.e. NetBSD/i386 with VESA framebuffer, NetBSD/dreamcast, or even NetBSD/luna68k with 1bpp framebuffer. Special thanks to Araki Ken, an auther of mlterm, for various efforts and improvements for NetBSD wsfb support, including dumb 1bpp optimizations on luna68k. mlterm-fb demonstration movies are available on YouTube: http://youtu.be/5IH1NYSVpHY (NetBSD/i386 6.1) http://youtu.be/BP8AIceWgxA (NetBSD/luna68k 6.1) pkgsrc changes: - update descriptions per the framebuffer support - add a MESSAGE file to mention miscellaneous configurations to use mlterm - remove MAKE_JOBS_SAFE=no which has been fixed in upstream Makefiles - split SUBST rules into ones for Makefiles, man page, and config files - install misc README files in doc dirs which are useful after installation - add "mlterm-fb" and "ibus" options and make mlterm-fb default on supported platforms - update PLIST per above changes (XXX tested only on NetBSD) Upstream Changes per doc/en/ReleaseNote: ver 3.2.0 * Support framebuffer on NetBSD. * Support 1 bpp framebuffer. * Support sixel graphics and wall pictures on 1 and 8 bpp framebuffer. (See http://www.youtube.com/watch?v=djbEw0G_LMI and http://www.youtube.com/watch?v=5IH1NYSVpHY) (Thanks to @tsutsuii san) * Add "use_urgent_bell" option which is equivalent to "bellIsUrgent" option of xterm and support CSI ? 1042. * "only_use_unicode_font" and "not_use_unicode_font" options have an effect on preedit and candidate characters of input method plugins. * Add "sound|visual" to the value of "bel_mode" option. * Enable to change "not_use_unicode_font" and "only_use_unicode_font" dynamically. * Add "box_drawing_font" option. * Support efont-unicode fonts for framebuffer. * Bug fixes: Fix the bug which disabled some shortcut keys in FreeBSD/framebuffer. Fix the bug which ignored the specified encoding of "default_server" option in opening a new pty. Fix the bug which disabled sixel graphic images in framebuffer 16bpp. Fix the bug which disabled inline pictures if use_dynamic_comb option is true. Fix the bug of iBus input method plugin which disabled to erase the last preedited character even if backspace key was pressed. Fix the wrong height of the preediting cursor of the input method plugin if the value of "inner_border" option isn't 2. (Thanks to @tsutsuii san) Fix "use_dynamic_comb" option which didn't work anymore. Fix the bug which disabled "UNUSED" key in ~/.mlterm/key. Change key seuqences for modifier keys + cursor keys in application cursor key mode. (e.g. Ctrl+Up: "\x1bO1;5A" -> "\x1b[1;5A") (Thanks to Mohammad Alsaleh)
2013-05-26 20:18:25 +02:00
.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 skk uim wnn xft2
Update mlterm to 3.2.0. In this version, mlterm now supports NetBSD wsfb framebuffer so NetBSD users can use a multi-lingual terminal without Xserver on ports that support wsdisplay framebuffer console, i.e. NetBSD/i386 with VESA framebuffer, NetBSD/dreamcast, or even NetBSD/luna68k with 1bpp framebuffer. Special thanks to Araki Ken, an auther of mlterm, for various efforts and improvements for NetBSD wsfb support, including dumb 1bpp optimizations on luna68k. mlterm-fb demonstration movies are available on YouTube: http://youtu.be/5IH1NYSVpHY (NetBSD/i386 6.1) http://youtu.be/BP8AIceWgxA (NetBSD/luna68k 6.1) pkgsrc changes: - update descriptions per the framebuffer support - add a MESSAGE file to mention miscellaneous configurations to use mlterm - remove MAKE_JOBS_SAFE=no which has been fixed in upstream Makefiles - split SUBST rules into ones for Makefiles, man page, and config files - install misc README files in doc dirs which are useful after installation - add "mlterm-fb" and "ibus" options and make mlterm-fb default on supported platforms - update PLIST per above changes (XXX tested only on NetBSD) Upstream Changes per doc/en/ReleaseNote: ver 3.2.0 * Support framebuffer on NetBSD. * Support 1 bpp framebuffer. * Support sixel graphics and wall pictures on 1 and 8 bpp framebuffer. (See http://www.youtube.com/watch?v=djbEw0G_LMI and http://www.youtube.com/watch?v=5IH1NYSVpHY) (Thanks to @tsutsuii san) * Add "use_urgent_bell" option which is equivalent to "bellIsUrgent" option of xterm and support CSI ? 1042. * "only_use_unicode_font" and "not_use_unicode_font" options have an effect on preedit and candidate characters of input method plugins. * Add "sound|visual" to the value of "bel_mode" option. * Enable to change "not_use_unicode_font" and "only_use_unicode_font" dynamically. * Add "box_drawing_font" option. * Support efont-unicode fonts for framebuffer. * Bug fixes: Fix the bug which disabled some shortcut keys in FreeBSD/framebuffer. Fix the bug which ignored the specified encoding of "default_server" option in opening a new pty. Fix the bug which disabled sixel graphic images in framebuffer 16bpp. Fix the bug which disabled inline pictures if use_dynamic_comb option is true. Fix the bug of iBus input method plugin which disabled to erase the last preedited character even if backspace key was pressed. Fix the wrong height of the preediting cursor of the input method plugin if the value of "inner_border" option isn't 2. (Thanks to @tsutsuii san) Fix "use_dynamic_comb" option which didn't work anymore. Fix the bug which disabled "UNUSED" key in ~/.mlterm/key. Change key seuqences for modifier keys + cursor keys in application cursor key mode. (e.g. Ctrl+Up: "\x1bO1;5A" -> "\x1b[1;5A") (Thanks to Mohammad Alsaleh)
2013-05-26 20:18:25 +02:00
.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
2014-11-02 20:38:12 +01:00
.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
2014-11-02 20:38:12 +01:00
.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
Update mlterm to 3.2.0. In this version, mlterm now supports NetBSD wsfb framebuffer so NetBSD users can use a multi-lingual terminal without Xserver on ports that support wsdisplay framebuffer console, i.e. NetBSD/i386 with VESA framebuffer, NetBSD/dreamcast, or even NetBSD/luna68k with 1bpp framebuffer. Special thanks to Araki Ken, an auther of mlterm, for various efforts and improvements for NetBSD wsfb support, including dumb 1bpp optimizations on luna68k. mlterm-fb demonstration movies are available on YouTube: http://youtu.be/5IH1NYSVpHY (NetBSD/i386 6.1) http://youtu.be/BP8AIceWgxA (NetBSD/luna68k 6.1) pkgsrc changes: - update descriptions per the framebuffer support - add a MESSAGE file to mention miscellaneous configurations to use mlterm - remove MAKE_JOBS_SAFE=no which has been fixed in upstream Makefiles - split SUBST rules into ones for Makefiles, man page, and config files - install misc README files in doc dirs which are useful after installation - add "mlterm-fb" and "ibus" options and make mlterm-fb default on supported platforms - update PLIST per above changes (XXX tested only on NetBSD) Upstream Changes per doc/en/ReleaseNote: ver 3.2.0 * Support framebuffer on NetBSD. * Support 1 bpp framebuffer. * Support sixel graphics and wall pictures on 1 and 8 bpp framebuffer. (See http://www.youtube.com/watch?v=djbEw0G_LMI and http://www.youtube.com/watch?v=5IH1NYSVpHY) (Thanks to @tsutsuii san) * Add "use_urgent_bell" option which is equivalent to "bellIsUrgent" option of xterm and support CSI ? 1042. * "only_use_unicode_font" and "not_use_unicode_font" options have an effect on preedit and candidate characters of input method plugins. * Add "sound|visual" to the value of "bel_mode" option. * Enable to change "not_use_unicode_font" and "only_use_unicode_font" dynamically. * Add "box_drawing_font" option. * Support efont-unicode fonts for framebuffer. * Bug fixes: Fix the bug which disabled some shortcut keys in FreeBSD/framebuffer. Fix the bug which ignored the specified encoding of "default_server" option in opening a new pty. Fix the bug which disabled sixel graphic images in framebuffer 16bpp. Fix the bug which disabled inline pictures if use_dynamic_comb option is true. Fix the bug of iBus input method plugin which disabled to erase the last preedited character even if backspace key was pressed. Fix the wrong height of the preediting cursor of the input method plugin if the value of "inner_border" option isn't 2. (Thanks to @tsutsuii san) Fix "use_dynamic_comb" option which didn't work anymore. Fix the bug which disabled "UNUSED" key in ~/.mlterm/key. Change key seuqences for modifier keys + cursor keys in application cursor key mode. (e.g. Ctrl+Up: "\x1bO1;5A" -> "\x1b[1;5A") (Thanks to Mohammad Alsaleh)
2013-05-26 20:18:25 +02:00
.if !empty(PKG_OPTIONS:Mibus)
.include "../../inputmethod/ibus/buildlink3.mk"
CONFIGURE_ARGS+= --enable-ibus
PLIST.ibus= yes
.else
CONFIGURE_ARGS+= --disable-ibus
Update mlterm to 3.2.0. In this version, mlterm now supports NetBSD wsfb framebuffer so NetBSD users can use a multi-lingual terminal without Xserver on ports that support wsdisplay framebuffer console, i.e. NetBSD/i386 with VESA framebuffer, NetBSD/dreamcast, or even NetBSD/luna68k with 1bpp framebuffer. Special thanks to Araki Ken, an auther of mlterm, for various efforts and improvements for NetBSD wsfb support, including dumb 1bpp optimizations on luna68k. mlterm-fb demonstration movies are available on YouTube: http://youtu.be/5IH1NYSVpHY (NetBSD/i386 6.1) http://youtu.be/BP8AIceWgxA (NetBSD/luna68k 6.1) pkgsrc changes: - update descriptions per the framebuffer support - add a MESSAGE file to mention miscellaneous configurations to use mlterm - remove MAKE_JOBS_SAFE=no which has been fixed in upstream Makefiles - split SUBST rules into ones for Makefiles, man page, and config files - install misc README files in doc dirs which are useful after installation - add "mlterm-fb" and "ibus" options and make mlterm-fb default on supported platforms - update PLIST per above changes (XXX tested only on NetBSD) Upstream Changes per doc/en/ReleaseNote: ver 3.2.0 * Support framebuffer on NetBSD. * Support 1 bpp framebuffer. * Support sixel graphics and wall pictures on 1 and 8 bpp framebuffer. (See http://www.youtube.com/watch?v=djbEw0G_LMI and http://www.youtube.com/watch?v=5IH1NYSVpHY) (Thanks to @tsutsuii san) * Add "use_urgent_bell" option which is equivalent to "bellIsUrgent" option of xterm and support CSI ? 1042. * "only_use_unicode_font" and "not_use_unicode_font" options have an effect on preedit and candidate characters of input method plugins. * Add "sound|visual" to the value of "bel_mode" option. * Enable to change "not_use_unicode_font" and "only_use_unicode_font" dynamically. * Add "box_drawing_font" option. * Support efont-unicode fonts for framebuffer. * Bug fixes: Fix the bug which disabled some shortcut keys in FreeBSD/framebuffer. Fix the bug which ignored the specified encoding of "default_server" option in opening a new pty. Fix the bug which disabled sixel graphic images in framebuffer 16bpp. Fix the bug which disabled inline pictures if use_dynamic_comb option is true. Fix the bug of iBus input method plugin which disabled to erase the last preedited character even if backspace key was pressed. Fix the wrong height of the preediting cursor of the input method plugin if the value of "inner_border" option isn't 2. (Thanks to @tsutsuii san) Fix "use_dynamic_comb" option which didn't work anymore. Fix the bug which disabled "UNUSED" key in ~/.mlterm/key. Change key seuqences for modifier keys + cursor keys in application cursor key mode. (e.g. Ctrl+Up: "\x1bO1;5A" -> "\x1b[1;5A") (Thanks to Mohammad Alsaleh)
2013-05-26 20:18:25 +02:00
.endif
.if !empty(PKG_OPTIONS:Mlibind)
CONFIGURE_ARGS+= --enable-ind
PLIST.ind= yes
LICENSE+= AND gnu-lgpl-v2
.else
CONFIGURE_ARGS+= --disable-ind
.endif
Update mlterm to 3.0.1. Based on PR#43822 by YAMASHIRO, Jun. Additional clean up by me. pkgsrc changes: * set LICENSE=modified-bsd (with uim option, gnu-lgpl-v2 additionally). * add m17nlib option. ver 3.0.1 * Improvements for performance of changing 256 colors by "\x1b]4;N;rgb:RR/GG/BB\x07" sequence. (Thanks to Konosuke Watanabe san) * Support "ESC[9Nm" and "ESC[10Nm" sequences. * Add --button3/button3_behavior option. (If "menu1" is specified, pressing button3 shows conf_menu_path_1 program (mlterm-menu) like gnome-terminal.) * Add "Copy" & "Paste" menus to mlterm-menu. * Improvements for compatibility with xterm about RGB of system colors. * Add 'col_size_of_width_a' to configuration protocol. (doc/en/PROTOCOL) * Merge SF patches: #2988801, #2987646 (Thanks to Ahmed El-Mahmoudy) * Other bug fixes: #2818015(partly),#2818018 (Thanks to Thomas Wolff) ver 3.0.0 * Support 256 colors. (Thanks to Shinichiro Hamaji san) * Character convertion tables are separated from libmkf library. * Support win32(Windows 2000-XP) native GUI. ('--with-gui=win32' in mingw, msys and cygwin) * Support font and color configuration protocol. (doc/en/PROTOCOL.font,PROTOCOL.color) * Change 'aafont' format as follows. (Elements in parentheses are optional.) [Family]-[Encoding](:[Percentage]) => [Family]( [Weight] [Slant] [Size]-[Encoding]:[Percentage]) * Add 'DEFAULT' key which specifies fonts used by default for font configuration files. * Add --maxptys option. * Add 'mlclient', 'mlclientx', 'static_backscroll_mode' and 'type_engine' to configuration protocol. (doc/en/PROTOCOL) * Add 'mlclientx' command. * Merge SF patches - #1574764 (Thanks to Christian Biere) # (Thanks to Frederic Heulin) #2879800 (Thanks to Kouichi Kusanagi san) * Other bug fixes: #1999220 (Thanks to Christian Biere) ver 2.9.4 * Arabic translation of mlconfig [Khaled Hosny] * Selected region can be expanded by right-clicking [minami] (Thanks to ssakane) * New config key string "title" to allow change pty title [minami] * Set DISPLAY correctly for ptys opened by -P option [nokada] (SF Bug #1534313) * Fixed compile errors with gcc 4.3 [mfabian] * Fixed a potentiol off-by-one bug [mfabian] (Thanks to Dominique Leuenberger) * Fixed compile errors on biarch systems [Kenshi Muto] (Debian Bug #396532) * Plugged file-desctiptor leaks [Christian Biere] (SF Patch #1576044) * Made "restore cursor" work properly with alternate screens [minami] (SF Bug#1472143) * Fixed broken handling of Atom [Kusanagi Kouichi] * Other bug fixes: - Debian BUG #329194 [David Kolovratnik] - SF Bug #1568596 [nokada] - SF Patch #1574241 [Christian Biere]
2010-09-22 11:33:41 +02:00
.if !empty(PKG_OPTIONS:Mm17nlib)
.include "../../devel/m17n-lib/buildlink3.mk"
CONFIGURE_ARGS+= --enable-m17nlib
PLIST.m17nlib= yes
.else
CONFIGURE_ARGS+= --disable-m17nlib
.endif
Update mlterm to 3.6.3. 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.
2016-02-14 15:04:16 +01:00
.if !empty(PKG_OPTIONS:Motl)
.include "../../fonts/harfbuzz/buildlink3.mk"
CONFIGURE_ARGS+= --enable-otl
PLIST.otl= yes
PLIST_SUBST+= CORE="coreotl"
Update mlterm to 3.6.3. 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.
2016-02-14 15:04:16 +01:00
.else
CONFIGURE_ARGS+= --disable-otl
PLIST_SUBST+= CORE="core"
Update mlterm to 3.6.3. 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.
2016-02-14 15:04:16 +01:00
.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
Update mlterm to 3.0.1. Based on PR#43822 by YAMASHIRO, Jun. Additional clean up by me. pkgsrc changes: * set LICENSE=modified-bsd (with uim option, gnu-lgpl-v2 additionally). * add m17nlib option. ver 3.0.1 * Improvements for performance of changing 256 colors by "\x1b]4;N;rgb:RR/GG/BB\x07" sequence. (Thanks to Konosuke Watanabe san) * Support "ESC[9Nm" and "ESC[10Nm" sequences. * Add --button3/button3_behavior option. (If "menu1" is specified, pressing button3 shows conf_menu_path_1 program (mlterm-menu) like gnome-terminal.) * Add "Copy" & "Paste" menus to mlterm-menu. * Improvements for compatibility with xterm about RGB of system colors. * Add 'col_size_of_width_a' to configuration protocol. (doc/en/PROTOCOL) * Merge SF patches: #2988801, #2987646 (Thanks to Ahmed El-Mahmoudy) * Other bug fixes: #2818015(partly),#2818018 (Thanks to Thomas Wolff) ver 3.0.0 * Support 256 colors. (Thanks to Shinichiro Hamaji san) * Character convertion tables are separated from libmkf library. * Support win32(Windows 2000-XP) native GUI. ('--with-gui=win32' in mingw, msys and cygwin) * Support font and color configuration protocol. (doc/en/PROTOCOL.font,PROTOCOL.color) * Change 'aafont' format as follows. (Elements in parentheses are optional.) [Family]-[Encoding](:[Percentage]) => [Family]( [Weight] [Slant] [Size]-[Encoding]:[Percentage]) * Add 'DEFAULT' key which specifies fonts used by default for font configuration files. * Add --maxptys option. * Add 'mlclient', 'mlclientx', 'static_backscroll_mode' and 'type_engine' to configuration protocol. (doc/en/PROTOCOL) * Add 'mlclientx' command. * Merge SF patches - #1574764 (Thanks to Christian Biere) # (Thanks to Frederic Heulin) #2879800 (Thanks to Kouichi Kusanagi san) * Other bug fixes: #1999220 (Thanks to Christian Biere) ver 2.9.4 * Arabic translation of mlconfig [Khaled Hosny] * Selected region can be expanded by right-clicking [minami] (Thanks to ssakane) * New config key string "title" to allow change pty title [minami] * Set DISPLAY correctly for ptys opened by -P option [nokada] (SF Bug #1534313) * Fixed compile errors with gcc 4.3 [mfabian] * Fixed a potentiol off-by-one bug [mfabian] (Thanks to Dominique Leuenberger) * Fixed compile errors on biarch systems [Kenshi Muto] (Debian Bug #396532) * Plugged file-desctiptor leaks [Christian Biere] (SF Patch #1576044) * Made "restore cursor" work properly with alternate screens [minami] (SF Bug#1472143) * Fixed broken handling of Atom [Kusanagi Kouichi] * Other bug fixes: - Debian BUG #329194 [David Kolovratnik] - SF Bug #1568596 [nokada] - SF Patch #1574241 [Christian Biere]
2010-09-22 11:33:41 +02:00
.endif
.if !empty(PKG_OPTIONS:Mskk)
CONFIGURE_ARGS+= --enable-skk
PLIST.skk= yes
.else
CONFIGURE_ARGS+= --disable-skk
.endif
.if !empty(PKG_OPTIONS:Muim)
.include "../../inputmethod/uim/buildlink3.mk"
CONFIGURE_ARGS+= --enable-uim
PLIST.uim= yes
Update mlterm to 3.0.1. Based on PR#43822 by YAMASHIRO, Jun. Additional clean up by me. pkgsrc changes: * set LICENSE=modified-bsd (with uim option, gnu-lgpl-v2 additionally). * add m17nlib option. ver 3.0.1 * Improvements for performance of changing 256 colors by "\x1b]4;N;rgb:RR/GG/BB\x07" sequence. (Thanks to Konosuke Watanabe san) * Support "ESC[9Nm" and "ESC[10Nm" sequences. * Add --button3/button3_behavior option. (If "menu1" is specified, pressing button3 shows conf_menu_path_1 program (mlterm-menu) like gnome-terminal.) * Add "Copy" & "Paste" menus to mlterm-menu. * Improvements for compatibility with xterm about RGB of system colors. * Add 'col_size_of_width_a' to configuration protocol. (doc/en/PROTOCOL) * Merge SF patches: #2988801, #2987646 (Thanks to Ahmed El-Mahmoudy) * Other bug fixes: #2818015(partly),#2818018 (Thanks to Thomas Wolff) ver 3.0.0 * Support 256 colors. (Thanks to Shinichiro Hamaji san) * Character convertion tables are separated from libmkf library. * Support win32(Windows 2000-XP) native GUI. ('--with-gui=win32' in mingw, msys and cygwin) * Support font and color configuration protocol. (doc/en/PROTOCOL.font,PROTOCOL.color) * Change 'aafont' format as follows. (Elements in parentheses are optional.) [Family]-[Encoding](:[Percentage]) => [Family]( [Weight] [Slant] [Size]-[Encoding]:[Percentage]) * Add 'DEFAULT' key which specifies fonts used by default for font configuration files. * Add --maxptys option. * Add 'mlclient', 'mlclientx', 'static_backscroll_mode' and 'type_engine' to configuration protocol. (doc/en/PROTOCOL) * Add 'mlclientx' command. * Merge SF patches - #1574764 (Thanks to Christian Biere) # (Thanks to Frederic Heulin) #2879800 (Thanks to Kouichi Kusanagi san) * Other bug fixes: #1999220 (Thanks to Christian Biere) ver 2.9.4 * Arabic translation of mlconfig [Khaled Hosny] * Selected region can be expanded by right-clicking [minami] (Thanks to ssakane) * New config key string "title" to allow change pty title [minami] * Set DISPLAY correctly for ptys opened by -P option [nokada] (SF Bug #1534313) * Fixed compile errors with gcc 4.3 [mfabian] * Fixed a potentiol off-by-one bug [mfabian] (Thanks to Dominique Leuenberger) * Fixed compile errors on biarch systems [Kenshi Muto] (Debian Bug #396532) * Plugged file-desctiptor leaks [Christian Biere] (SF Patch #1576044) * Made "restore cursor" work properly with alternate screens [minami] (SF Bug#1472143) * Fixed broken handling of Atom [Kusanagi Kouichi] * Other bug fixes: - Debian BUG #329194 [David Kolovratnik] - SF Bug #1568596 [nokada] - SF Patch #1574241 [Christian Biere]
2010-09-22 11:33:41 +02:00
LICENSE+= AND gnu-lgpl-v2
.else
CONFIGURE_ARGS+= --disable-uim
.endif
2007-01-13 13:11:13 +01:00
.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
2007-01-13 13:11:13 +01:00
.if !empty(PKG_OPTIONS:Mxft2)
2014-11-02 20:38:12 +01:00
.include "../../x11/libXft/buildlink3.mk"
Update mlterm to 3.1.2. (patch-ae has been integrated into upstream) Changes from 3.0.6 noted in doc/en/ReleaseNote: ver 3.1.2 * Support extended mouse tracking mode. (CSI ? 1006 h and CSI ? 1006 l / CSI ? 1015 h and CSI ? 1015 l) * Support sixel graphics sequence partially. (DCS .. q .. ST) (configure with --enable-sixel option.) * Support FocusIn/FocusOut event tracking. (CSI ? 1004 h and CSI ? 1004 l) * Support inputmethod/kbd in win32. * Add "add_picture", "remove_picture" and "close_pty" commands to configuration protocol. * Add "hide_underline" option. * Merge SF patches: #3524577 (Thanks to Ahmed El-Mahmoudy) #3524578 (Install mlterm tools to $(libexecdir)/mlterm instead of $(libexecdir)) (Thanks to Ahmed El-Mahmoudy) patch-ae in NetBSD pkgsrc x11/mlterm. * Bug fixes: Fix a bug which disabled "bd_color" and "ul_color" options in reverse characters. (Thanks to Andi Cristian Serbanescu) Fix an ibus bug which causes segmentation fault if ibus daemon is not found. Fix a bug which could cause failure of opening a new window over ssh connection. Fix a bug which causes infinite loop if large OSC sequence is received. (Thanks to Koie Hidetaka san) Fix a bug which disabled mlconfig and mlterm-menu etc to start if multiple screens opened. ver 3.1.1 * Fix a bug which caused segfault in 64bit Linux. * Enable to change 0-15 colors by OSC 4 sequence. * Enable to specify --sep, --button3, --clip, --restart and --logmsg options for mlclient. ver 3.1.0 * Support extended mouse tracking mode. (CSI ? 1005 h and CSI ? 1005 l) * Support "use_variable_column_width" and "letter_space" options in win32. * Support multiple numeric parameters of SM, RM, DECSET and DESRST sequence. (Thanks to Iwamoto Kouichi san) * Support BiDi mirroring. (Thanks to Khaled Hosny) * Add "blink_cursor" option. * Add "inner_border" option. * Add "bd_color"(rxvt style) and "ul_color" options. (equivalent to colorBD and colorUL options of xterm and rxvt.) * Add "cipher_list" for ssh connection. * Add java version. (experimental) * Add VT52 emulation. (configure with --enable-vt52 option.) * Remove IIIMF plugin. * Bug fixes: SF Bug #2878878 (Thanks to Kusanagi Kouichi san) SF Bug #3481552 (Thanks to Kobayashi Hiroaki san) SF Bug #3487163 (Thanks to raghavkrishna) SF Bug #3509743 (Thanks to Thomas Wolff) SF Bug #3509744 (Thanks to Thomas Wolff) SF Bug #3512067 (Thanks to phcoder) Fix a bug which didn't clear margin area after visual bell. Fix a bug which disabled scrolling in vertical mode in win32. Fix a bug which disabled wheel mouse in win32. Fix a bug of reverse-video algorithm of highlighted cursor or selected text. (Thanks to Andi Cristian Serbanescu) ver 3.0.11 * Support CSI 8 t and CSI 4 t sequence partially. * Change the file to output messages by --logmsg option from ~/.mlterm/msg[pid].log to ~/.mlterm/msg.log. * If ~/.config/mlterm exists, use it as a user config directory instead of ~/.mlterm. * Support VtePty partially. * Support mod_meta_mode option in win32. * Support combination of Control+key in win32. * Bug fixes: Fix a bug which erased border of candidate or status screen of uim or kbd. SF Bug #3464878 (Thanks to Daniel Lublin) ver 3.0.10 * Fix a problem which could cause error in loading a picture file. * Merge SF patches: #3459267 (Thanks to Kusanagi Kouichi san) ver 3.0.9 * Add auto-restart feature. ("auto_restart" option) * Support OSC 52 sequence which is allowed by "allow_osc52=true" in ~/.mlterm/main or SWITCH_OSC52 shortcut key. * -V option is no longer necessary (and not automatically turned on) to show indic characters. * Improve performance of cairo module and libvte. * Improve processing key events of ibus. * Support iBUS 1.4. * Add experimental support for GTK+-3.0. (configure --with-gtk=2.0|3.0) * Reverse behavior of "alpha" option. * Add "alpha" box to mlconfig. * Bug fixes: Fix strange behavior in selecting indic characters. Fix a libvte's problem which gets gnome-terminal not to be resized even if font size is changed. Fix a problem which disabled hinting of font metrics in cairo. Fix a problem which could cause segv in selecting region. Revive "Brightness", "Contrast" and "Gamma" boxes of mlconfig. ver 3.0.8 * Change default value of "use_ind" option from true to false. * Merge SF Patches: #3412453 (Thanks to Ahmed El-Mahmoudy) * Bug fixes: Fix wrong origin setting by CSI ? 6 l. (Thanks to Konosuke Watanabe san) Fix a problem which causes segmentation fault if both -J and -bi options are specified. ver 3.0.7 * Support bracketed paste mode. (CSI ? 2004 h , CSI ? 2004 l) * Support Button-event and Any-event mouse tracking. (CSI ? 1002 h , CSI ? 1002 l , CSI ? 1003 h , CSI ? 1003 l) * Support scp using libssh2. (Add "SSH SCP" front-end to mlconfig and "mlscp.sh" command line tool.) * Support DEC Special characters in win32. ("Tera Special" font is necessary.) * Support application escape mode. (CSI ? 7727 h , CSI ? 7727 l) * Support OSC 10, OSC 11 and OSC 12. * Add "logging_msg" option whose default value is true. * Support dynamic loading of BiDi and Indic modules. * Support dynamic loading of xft and cairo modules. * Integrate OSC 5384 - 5391 to OSC 5379 - 5383 and drop OSC 5382. * Change format of "select_pty", "search_prev", "search_next" "snapshot" in OSC 5379 sequence as follows. select_pty=<pty dev name> => select_pty <pty dev name> search_prev=<pattern> => search_prev <pattern> search_next=<pattern> => search_next <pattern> snapshot=<encoding name>:<file name> => snapshot <file name> <encoding name> * Support mlconfig in connecting a ssh server by libssh2. * Improve the way of determining width of cairo fonts. * 'make uninstall' is available. * Other bug fixes: Fix a problem which causes leak of graphic context resource in libvte. Fix a problem which can minimize window in some themes in win32. (Thanks to Iwamoto Kouichi san) Fix wrong position in receiving WM_MOUSEWHEEL event in win32. (Thanks to Iwamoto Kouichi san) Fix illegal mouse reports if mouse goes outside the window. (Thanks to Iwamoto Kouichi san) Fix double free in bidi rendering. (Thanks to NODA, Kai san) Remove "-lvte" in linking libvte.so.
2012-05-20 08:07:31 +02:00
PLIST.xft2= yes
CONFIGURE_ARGS+= --enable-fontconfig
.else
CONFIGURE_ARGS+= --disable-fontconfig
2007-01-13 13:11:13 +01:00
.endif
2014-11-02 20:38:12 +01:00
.if !empty(PKG_OPTIONS:Mcairo) && !empty(PKG_OPTIONS:Mxft2)
CONFIGURE_ARGS+= --with-type-engines=xcore,xft,cairo
Update mlterm to 3.6.3. 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.
2016-02-14 15:04:16 +01:00
.if !empty(PKG_OPTIONS:Mmlterm-fb)
# --enable-anti-alias is also required for mlterm-fb
CONFIGURE_ARGS+= --enable-anti-alias
.endif
2014-11-02 20:38:12 +01:00
.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