From f8c3791b55a36dc3330f93e5cf690e8e21f23ae9 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sun, 14 Feb 2016 14:04:16 +0000 Subject: 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. --- x11/mlterm/Makefile | 10 +++++----- x11/mlterm/PLIST | 7 ++++--- x11/mlterm/distinfo | 9 +++++---- x11/mlterm/options.mk | 20 ++++++++++++++++---- 4 files changed, 30 insertions(+), 16 deletions(-) (limited to 'x11/mlterm') diff --git a/x11/mlterm/Makefile b/x11/mlterm/Makefile index 7ccf3eef23a..46e1b1d5c8f 100644 --- a/x11/mlterm/Makefile +++ b/x11/mlterm/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.124 2015/12/19 11:43:24 tsutsui Exp $ +# $NetBSD: Makefile,v 1.125 2016/02/14 14:04:16 tsutsui Exp $ -DISTNAME= mlterm-3.6.1 +DISTNAME= mlterm-3.6.3 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mlterm/} @@ -37,7 +37,7 @@ INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples SUBST_CLASSES+= link SUBST_MESSAGE.link= Fixing hardcoded paths and link options in Makefiles. -SUBST_STAGE.link= post-patch +SUBST_STAGE.link= pre-configure SUBST_FILES.link= Makefile.in */Makefile.in */*/Makefile.in \ */*/*/Makefile.in SUBST_SED.link= -e 's|(LIBTOOL_LINK).*(LIBS)|& ${X11_LDFLAGS:M*:Q}|g' @@ -47,14 +47,14 @@ SUBST_SED.link+= -e 's|/usr/X11R7/|${X11BASE}/|g' SUBST_CLASSES+= man SUBST_MESSAGE.man= Fixing hardcoded paths in man pages. -SUBST_STAGE.man= post-patch +SUBST_STAGE.man= pre-configure SUBST_FILES.man= man/mlterm.1 SUBST_SED.man= -e 's|/usr/X11R6/lib/X11/mlterm/|${PKG_SYSCONFDIR}/|g' SUBST_SED.man+= -e 's|/usr/X11R6/include/|${X11BASE}/include/|g' SUBST_CLASSES+= conf SUBST_MESSAGE.conf= Fixing hardcoded paths in config files. -SUBST_STAGE.conf= post-patch +SUBST_STAGE.conf= pre-configure SUBST_FILES.conf= etc/font-fb SUBST_SED.conf= -e 's|/usr/X11R7/|${X11BASE}/|g' SUBST_SED.conf+= -e 's|/usr/pkg/|${PREFIX}/|g' diff --git a/x11/mlterm/PLIST b/x11/mlterm/PLIST index 9c70a89007c..b524b77f6f4 100644 --- a/x11/mlterm/PLIST +++ b/x11/mlterm/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.34 2015/12/19 11:43:24 tsutsui Exp $ +@comment $NetBSD: PLIST,v 1.35 2016/02/14 14:04:16 tsutsui Exp $ bin/mlcc bin/mlclient bin/mlclientx @@ -40,13 +40,14 @@ ${PLIST.ind}lib/mlterm/libind_punjabi.la ${PLIST.ind}lib/mlterm/libind_roman.la ${PLIST.ind}lib/mlterm/libind_tamil.la ${PLIST.ind}lib/mlterm/libind_telugu.la -${PLIST.cairo}lib/mlterm/libtype_cairo.la -${PLIST.xft2}lib/mlterm/libtype_xft.la lib/mlterm/libmotif.la lib/mlterm/libmozmodern.la +${PLIST.otl}lib/mlterm/libotl.la lib/mlterm/libnext.la lib/mlterm/libpixmap_engine.la lib/mlterm/libsample.la +${PLIST.cairo}lib/mlterm/libtype_cairo.la +${PLIST.xft2}lib/mlterm/libtype_xft.la libexec/mlterm/mlconfig libexec/mlterm/mlimgloader libexec/mlterm/mlterm-menu diff --git a/x11/mlterm/distinfo b/x11/mlterm/distinfo index 810b951b39f..2aba487e757 100644 --- a/x11/mlterm/distinfo +++ b/x11/mlterm/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.62 2015/12/19 11:43:24 tsutsui Exp $ +$NetBSD: distinfo,v 1.63 2016/02/14 14:04:16 tsutsui Exp $ -SHA1 (mlterm-3.6.1.tar.gz) = 53ae7f9e41696102adc0b797b9cd28a875ae4e79 -RMD160 (mlterm-3.6.1.tar.gz) = 2463e30ce46429134bd2a967c2cb8a02b9b9c897 -Size (mlterm-3.6.1.tar.gz) = 3756686 bytes +SHA1 (mlterm-3.6.3.tar.gz) = b069a0bc47a5bcb4256ebb87294c9451ed25c5c6 +RMD160 (mlterm-3.6.3.tar.gz) = f83fcdb91ea8af3b62afd2bfd03b838dee48f77f +SHA512 (mlterm-3.6.3.tar.gz) = bbc6c61422f81a793b64fcbabb972765f7e544c7d4fc3d8874ab78a25fe8e7a97dc96c3d44e582127dde8822e7c254ed58004535524e361a2a0d91410e7ef027 +Size (mlterm-3.6.3.tar.gz) = 3677639 bytes SHA1 (patch-configure) = 686754205102c2ffeb2456b4fad77f72b1a992a6 SHA1 (patch-etc_font-fb) = 03f0b2ecee20ef3201c8e4ce17f03ac90f657b00 diff --git a/x11/mlterm/options.mk b/x11/mlterm/options.mk index faab8ba6670..e11ce526b13 100644 --- a/x11/mlterm/options.mk +++ b/x11/mlterm/options.mk @@ -1,15 +1,15 @@ -# $NetBSD: options.mk,v 1.10 2015/12/19 11:43:24 tsutsui Exp $ +# $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 scim uim wnn4 xft2 -PKG_SUGGESTED_OPTIONS= cairo fribidi gdk_pixbuf2 xft2 +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 scim uim wnn xft2 +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 @@ -69,6 +69,14 @@ PLIST.m17nlib= yes 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 @@ -103,6 +111,10 @@ PLIST.xft2= yes .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) -- cgit v1.2.3