pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/mlterm Update to 2.9.3 with additional fixes from ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bbf62d5b2adc
branches: trunk
changeset: 522718:bbf62d5b2adc
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Dec 19 07:53:57 2006 +0000
description:
Update to 2.9.3 with additional fixes from mlterm CVS, provided by
Christian Biere in PR 34798 with minor fixes by me.
Changes:
* Improvements for compatibility with xterm:
- Log file handling [kzys]
- Function keys [seiichi] (Thanks to Konosuke Watanabe)
- Sequence for setting scroll region [seiichi]
(Thanks to SHIOTA Shoichi and Takashi SHIRAI)
- Behavior of saving/restoring cursor [minami]
(Thanks to Thomas Dickey for suggestions)
- Termcap and Terminfo [minami, seiichi]
- Turn off mouse position reporting by a "reset" sequence [minami]
(Debian Bug #55637)
* Improvement build prosess for cross-compiling [minami]
* Workaround for missing rgb.txt [minami]
* Updated documents [kzys, minami, seiichi]
* Bug fix for broken selection requester [minami]
* Added support for SCIM-1.4.x [seiichi]
* Removed support for SCIM-1.0.x [seiichi]
* Removed support for uim-0.x.x [seiichi]
* Hebrew mapping table for "kbd" input method [seiich]
* Revided a scroll caching mechanism [seiichi] (SF Bug #1161050)
* Suppressed a check for libxpg4 of FreeBSD [seiichi]
(Thanks to SHIOTA Shoichi and MANTANI Nobutaka)
* Fixed a bug of alignment of full width chars when variable column width is
enabled [minami] (Thanks to Oibane)
* Vietnamese translation for mlconfig [Pham Thanh Long]
* Other Bug fixes:
- SF Bug #1206515 [Takeshi Hakamata]
- SF Bug #1161055 [seiichi]
- Debian Bug #302231 [Andreas Jochens]
- Debian Bug #313970 [Jens Seidel]
- Debian Bug #350590 [seiichi]
- SUSE Bug #105320 [mfabian]
diffstat:
x11/mlterm/Makefile | 6 +---
x11/mlterm/PLIST | 3 +-
x11/mlterm/distinfo | 18 ++++++++++---
x11/mlterm/patches/patch-ad | 21 ++++++++++++---
x11/mlterm/patches/patch-ah | 39 ++++++++++++++++++++++++++++++
x11/mlterm/patches/patch-ai | 57 +++++++++++++++++++++++++++++++++++++++++++++
x11/mlterm/patches/patch-aj | 17 +++++++++++++
x11/mlterm/patches/patch-ak | 40 +++++++++++++++++++++++++++++++
x11/mlterm/patches/patch-al | 52 +++++++++++++++++++++++++++++++++++++++++
x11/mlterm/patches/patch-am | 56 ++++++++++++++++++++++++++++++++++++++++++++
x11/mlterm/patches/patch-an | 26 ++++++++++++++++++++
x11/mlterm/patches/patch-ao | 35 +++++++++++++++++++++++++++
12 files changed, 355 insertions(+), 15 deletions(-)
diffs (truncated from 467 to 300 lines):
diff -r 787751033b2e -r bbf62d5b2adc x11/mlterm/Makefile
--- a/x11/mlterm/Makefile Tue Dec 19 01:27:57 2006 +0000
+++ b/x11/mlterm/Makefile Tue Dec 19 07:53:57 2006 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.46 2006/11/12 15:13:56 hira Exp $
+# $NetBSD: Makefile,v 1.47 2006/12/19 07:53:57 wiz Exp $
-DISTNAME= mlterm-2.9.2
-PKGREVISION= 4
+DISTNAME= mlterm-2.9.3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mlterm/}
@@ -27,7 +26,6 @@
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --with-imagelib=gdk-pixbuf
-CONFIGURE_ARGS+= --with-type-engines=xft
CONFIGURE_ARGS+= --without-libiconv-prefix
CONFIGURE_ARGS+= --without-libintl-prefix
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE:Q}
diff -r 787751033b2e -r bbf62d5b2adc x11/mlterm/PLIST
--- a/x11/mlterm/PLIST Tue Dec 19 01:27:57 2006 +0000
+++ b/x11/mlterm/PLIST Tue Dec 19 07:53:57 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2006/11/12 15:13:56 hira Exp $
+@comment $NetBSD: PLIST,v 1.18 2006/12/19 07:53:57 wiz Exp $
bin/mlcc
bin/mlclient
bin/mlterm
@@ -30,6 +30,7 @@
share/examples/mlterm/xim
share/locale/de/LC_MESSAGES/mlconfig.mo
share/locale/ja/LC_MESSAGES/mlconfig.mo
+share/locale/vi/LC_MESSAGES/mlconfig.mo
share/locale/zh_TW/LC_MESSAGES/mlconfig.mo
@dirrm share/examples/mlterm
@dirrm lib/mlterm
diff -r 787751033b2e -r bbf62d5b2adc x11/mlterm/distinfo
--- a/x11/mlterm/distinfo Tue Dec 19 01:27:57 2006 +0000
+++ b/x11/mlterm/distinfo Tue Dec 19 07:53:57 2006 +0000
@@ -1,9 +1,17 @@
-$NetBSD: distinfo,v 1.16 2005/06/11 15:00:04 hira Exp $
+$NetBSD: distinfo,v 1.17 2006/12/19 07:53:57 wiz Exp $
-SHA1 (mlterm-2.9.2.tar.gz) = d71f07bb38553a7cae927f15b8d0a20a165eebe7
-RMD160 (mlterm-2.9.2.tar.gz) = c83693c353f266333dc85588d8c1366925cca79c
-Size (mlterm-2.9.2.tar.gz) = 1980109 bytes
-SHA1 (patch-ad) = eaaded295f050591e6a30286163f832aae93fa3a
+SHA1 (mlterm-2.9.3.tar.gz) = 65ba5a7bd83accf7f621f84b84debb35c8f215ef
+RMD160 (mlterm-2.9.3.tar.gz) = 27f4381a8b8b68b07e53bbeb422581beb7527b48
+Size (mlterm-2.9.3.tar.gz) = 1984977 bytes
+SHA1 (patch-ad) = 4f6ef642002baa13bc4b7578cda0e45888fed27f
SHA1 (patch-ae) = fde46b06d0dfb2c296c91a69e9e1f8ff11d68766
SHA1 (patch-af) = b9947c2a817093b71e3e91312bac173d5106c306
SHA1 (patch-ag) = 7f2ff30719dd9baecda31627b45f9516225ec602
+SHA1 (patch-ah) = 93b0ad1445faec91d29f3a01b69d9ac0f4ddfe90
+SHA1 (patch-ai) = c7dc11cdf4851e2e4018a5ec3111dd9f9ceffa63
+SHA1 (patch-aj) = ff103698ff544fa22fa660268dccb51b8b9e8bda
+SHA1 (patch-ak) = 3b06cfc41ed12be11ea81d097f0592bb6b977e29
+SHA1 (patch-al) = 6b87b81e403a3fac9794c666c1e0260a3d5b5bd4
+SHA1 (patch-am) = 83684bfa15e5596abddef92cf994bb92b9f21990
+SHA1 (patch-an) = 156b8ebf5c7fdf68c39df7076849a05a90eb7e5a
+SHA1 (patch-ao) = 680ac866197202e09c25d93b20a7e3b700f38370
diff -r 787751033b2e -r bbf62d5b2adc x11/mlterm/patches/patch-ad
--- a/x11/mlterm/patches/patch-ad Tue Dec 19 01:27:57 2006 +0000
+++ b/x11/mlterm/patches/patch-ad Tue Dec 19 07:53:57 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ad,v 1.1 2005/03/06 17:50:49 hira Exp $
+$NetBSD: patch-ad,v 1.2 2006/12/19 07:53:57 wiz Exp $
---- kiklib/src/kik_pty_streams.c.orig 2004-10-23 06:59:39.000000000 +0900
-+++ kiklib/src/kik_pty_streams.c 2005-03-05 23:07:02.000000000 +0900
+--- kiklib/src/kik_pty_streams.c.orig 2005-11-21 15:24:03.000000000 +0100
++++ kiklib/src/kik_pty_streams.c 2006-12-16 00:04:11.000000000 +0100
@@ -9,6 +9,7 @@
/* When _XOPEN_SOURCE is defined,
* u_int/u_long/... may not be defined without _BSD_SOURCE */
@@ -20,7 +20,15 @@
#include "kik_str.h" /* strdup */
#include "kik_debug.h"
-@@ -99,13 +103,30 @@
+@@ -75,6 +79,7 @@
+ kik_msg_printf( "Unable to open a master pseudo-terminal device.\n") ;
+ return -1;
+ }
++ kik_file_set_cloexec( *master) ;
+ /*
+ * The behaviour of the grantpt() function is unspecified
+ * if the application has installed a signal handler to catch SIGCHLD signals.
+@@ -104,13 +109,30 @@
return -1;
}
@@ -53,7 +61,7 @@
/*
* cygwin doesn't have isastream.
*/
-@@ -204,78 +225,13 @@
+@@ -209,79 +231,16 @@
}
}
@@ -136,5 +144,8 @@
+ kik_warn_printf( KIK_DEBUG_TAG " tcsetattr() failed.\n") ;
+ #endif
}
++
++ kik_file_set_cloexec( *slave) ;
return pid ;
+ }
diff -r 787751033b2e -r bbf62d5b2adc x11/mlterm/patches/patch-ah
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mlterm/patches/patch-ah Tue Dec 19 07:53:57 2006 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-ah,v 1.1 2006/12/19 07:53:57 wiz Exp $
+
+safer DIGIT_STR_LEN().
+
+http://mlterm.cvs.sourceforge.net/mlterm/mlterm/kiklib/src/kik_util.h?r1=1.4&r2=1.5&view=patch
+
+--- kiklib/src/kik_util.h.orig 2002/02/02 09:20:27 1.4
++++ kiklib/src/kik_util.h 2006/10/13 16:13:42 1.5
+@@ -10,19 +10,20 @@
+
+ #define K_MIN(n1,n2) ((n1) > (n2) ? (n2) : (n1))
+
+-/*
+- * char : 0 - 256 (3)
+- * int16 : 0 - 65536 (5)
+- * int32 : 0 - 4294967296 (10)
+- * int64 : 0 - 18446744073709551616 (20)
++/* TYPE: MIN(signed) -- MAX(unsigned) (number of bytes needed)
++ * char : -128 -- 256 (4)
++ * int16 : -32768 -- 65536 (6)
++ * int32 : -2147483648 -- 4294967296 (11)
++ * int64 : -9223372036854775808 -- 18446744073709551616 (20)
+ *
+- * 40 is evenly selected in other cases just to be sure.
++ * Since log10(2^8) = 2.4..., (sizeof(n)*3) is large enough
++ * for all n >= 2.
+ */
+ #define DIGIT_STR_LEN(n) \
+- ((sizeof(n) == 1) ? 3 : \
+- (sizeof(n) == 2) ? 5 : \
+- (sizeof(n) == 4) ? 10 : \
+- (sizeof(n) == 8) ? 20 : 40)
++ ((sizeof(n) == 1) ? 4 : \
++ (sizeof(n) == 2) ? 6 : \
++ (sizeof(n) == 4) ? 11 : \
++ (sizeof(n) == 8) ? 20 : (sizeof(n)*3))
+
+
+ #endif
diff -r 787751033b2e -r bbf62d5b2adc x11/mlterm/patches/patch-ai
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mlterm/patches/patch-ai Tue Dec 19 07:53:57 2006 +0000
@@ -0,0 +1,57 @@
+$NetBSD: patch-ai,v 1.1 2006/12/19 07:53:57 wiz Exp $
+
+plugged fd leaks.
+
+http://mlterm.cvs.sourceforge.net/mlterm/mlterm/kiklib/src/kik_file.c?r1=1.5&r2=1.6&view=patch
+
+--- kiklib/src/kik_file.c.orig 2003-01-12 12:34:31.000000000 +0000
++++ kiklib/src/kik_file.c
+@@ -3,4 +3,5 @@
+ */
+
++#include <fcntl.h> /* fcntl() */
+ #include "kik_file.h"
+
+@@ -201,2 +202,42 @@ kik_file_unlock(
+
+ #endif
++
++int
++kik_file_set_cloexec(
++ int fd
++ )
++{
++ int old_flags ;
++
++ old_flags = fcntl( fd, F_GETFD) ;
++ if( old_flags == -1)
++ {
++ return 0 ;
++ }
++
++ if( !(old_flags & FD_CLOEXEC)
++ && (fcntl( fd, F_SETFD, old_flags|FD_CLOEXEC) == -1) )
++ {
++ return 0 ;
++ }
++ return 1 ;
++}
++
++kik_file_unset_cloexec(
++ int fd
++ )
++{
++ int old_flags ;
++
++ old_flags = fcntl( fd, F_GETFD) ;
++ if( old_flags == -1)
++ {
++ return 0 ;
++ }
++ if( (old_flags & FD_CLOEXEC)
++ && (fcntl( fd, F_SETFD, old_flags & (~FD_CLOEXEC)) == -1) )
++ {
++ return 0 ;
++ }
++ return 1 ;
++}
diff -r 787751033b2e -r bbf62d5b2adc x11/mlterm/patches/patch-aj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mlterm/patches/patch-aj Tue Dec 19 07:53:57 2006 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aj,v 1.1 2006/12/19 07:53:57 wiz Exp $
+
+plugged fd leaks.
+
+http://mlterm.cvs.sourceforge.net/mlterm/mlterm/kiklib/src/kik_file.h?r1=1.5&r2=1.6&view=patch
+
+--- kiklib/src/kik_file.h.orig 2003/01/12 12:34:31 1.5
++++ kiklib/src/kik_file.h 2006/10/19 14:41:51 1.6
+@@ -33,5 +33,8 @@
+
+ int kik_file_unlock( int fd) ;
+
++int kik_file_set_cloexec( int fd) ;
++
++int kik_file_unset_cloexec( int fd) ;
+
+ #endif
diff -r 787751033b2e -r bbf62d5b2adc x11/mlterm/patches/patch-ak
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mlterm/patches/patch-ak Tue Dec 19 07:53:57 2006 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-ak,v 1.1 2006/12/19 07:53:57 wiz Exp $
+
+plugged fd leaks.
+
+http://mlterm.cvs.sourceforge.net/mlterm/mlterm/kiklib/src/kik_pty_bsd.c?r1=1.9&r2=1.10&view=patch
+
+--- kiklib/src/kik_pty_bsd.c.orig 2003/03/08 03:19:29 1.9
++++ kiklib/src/kik_pty_bsd.c 2006/10/19 14:41:51 1.10
+@@ -118,6 +118,7 @@
+ }
+ else
+ {
++ kik_file_set_cloexec( *master) ;
+ /*
+ * we succeeded to open pty master.
+ * opening pty slave in succession.
+@@ -136,6 +137,7 @@
+ }
+ else
+ {
++ kik_file_set_cloexec( *slave) ;
+ return 1 ;
+ }
+ }
+@@ -195,7 +197,6 @@
+ /*
+ * parent process
+ */
+-
+ /*
+ * delaying.
+ */
+@@ -301,5 +302,7 @@
+ #endif
+ }
+
++ kik_file_set_cloexec( *slave) ;
++
+ return pid ;
+ }
diff -r 787751033b2e -r bbf62d5b2adc x11/mlterm/patches/patch-al
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mlterm/patches/patch-al Tue Dec 19 07:53:57 2006 +0000
@@ -0,0 +1,52 @@
+$NetBSD: patch-al,v 1.1 2006/12/19 07:53:57 wiz Exp $
+
+plugged fd leaks.
+
+http://mlterm.cvs.sourceforge.net/mlterm/mlterm/xwindow/x_xim.c?r1=1.9&r2=1.11&view=patch
+
+--- xwindow/x_xim.c.orig 2005/02/10 15:15:08 1.9
++++ xwindow/x_xim.c 2006/10/23 13:09:36 1.11
+@@ -5,6 +5,8 @@
+
+ #include "x_xim.h"
+
+ #include <stdio.h> /* sprintf */
+ #include <string.h> /* strcmp/memset */
Home |
Main Index |
Thread Index |
Old Index