pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/x3270 x11/x3270: update to 4.0ga13.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9019f453b984
branches: trunk
changeset: 443973:9019f453b984
user: rhialto <rhialto%pkgsrc.org@localhost>
date: Fri Jan 01 13:05:22 2021 +0000
description:
x11/x3270: update to 4.0ga13.
Includes the curses version of the terminal emulator now.
Changelogs are quite fragmented over various alpha/beta versions; here
are some main points.
Major changes
Task engine
The scripting infrastructure has been rewritten. It is now called the task engine. There are no longer any artificial dependencies between actions initiated by different sources (keyboard, scripts,
HTTP requests, etc.). Accidental blocking behavior has been (almost) eliminated. Unrelated operations are now properly concurrent, within the limitations of there still being just one emulated
terminal and host session to control. For example, c3270 and wc3270 now continue to respond to host messages while at the prompt or while a printer dialog is showing.
Tasks also carry context consistently now. For example, the Wait(Output) now works with HTTP requests.
The state of the task engine can be displayed with the Tasks query.
b3270
A new emulator has been created, b3270. It is a common back-end process that handles the 3270 protocol and host interactions, communicating with different user-interface implementations using a
simple XML-based protocol. None of the existing emulators have been converted to use b3270, but a new Windows emulator (wx3270) uses it.
x3270 prompt
The c3270 prompt has been generalized and is available to all of the 3270 emulators as the x3270 prompt. The Prompt() action (or a menu option) creates a new instance of the prompt in a window. The
prompt now uses color to distinguish error messages.
tcl3270 re-implementation
tcl3270 has been re-implemented as a simple wrapper around s3270. This eliminates many of the arbitrary limitations and blocking behaviors of the previous implementation.
Show() / Query() merge and expansion
The common Query() action and the c3270/wc3270-specific Show() action have been merged and expanded. Show() is an alias for Query(), and many queries have been added or changed:
(omitted)
Set()/Toggle() changes
A new Set() action has been added, which is similar to the Toggle() action. The difference between Set() and Toggle() happens when no value is specified for a setting. Without a value specified,
Set() will display the current value; Toggle() will (if the setting is Boolean) invert the setting's value. Both actions list the current values of all settings if no parameters are given.
Many additional resources can now be changed at run-time via Set() or Toggle().
These previously-deprecated resources were removed:
cursorPos (assumed true now)
dsTrace
eventTrace
dftBufferSize
x3270 APL mode
APL keyboard operation on x3270 has changed. There is no longer a fixed APL keymap. Instead, the key combination Shift-Escape toggles a new APL mode, which changes how how paste operations are
handled (preferring the APL definitions for Unicode characters that have both APL and non-APL mappings), as well as setting a temporary keyboard map and a temporary compose map.
The separate APL host code page has been removed; APL text can be displayed using any host code page.
after this, lots of bug fixes and minor tweaks, as far as I can tell.
diffstat:
x11/x3270/DESCR | 2 +-
x11/x3270/Makefile | 33 +++++++++++++++----------
x11/x3270/PLIST | 58 +++++++++++++++++++++++++++------------------
x11/x3270/distinfo | 11 +++----
x11/x3270/options.mk | 36 ++++++++++++++++++++++++++++
x11/x3270/patches/patch-aa | 17 -------------
6 files changed, 97 insertions(+), 60 deletions(-)
diffs (209 lines):
diff -r aecaa5488391 -r 9019f453b984 x11/x3270/DESCR
--- a/x11/x3270/DESCR Fri Jan 01 13:00:27 2021 +0000
+++ b/x11/x3270/DESCR Fri Jan 01 13:05:22 2021 +0000
@@ -1,1 +1,1 @@
-IBM 3278/3279 terminal emulator for X windows
+IBM 3278/3279 terminal emulator for X windows and/or curses.
diff -r aecaa5488391 -r 9019f453b984 x11/x3270/Makefile
--- a/x11/x3270/Makefile Fri Jan 01 13:00:27 2021 +0000
+++ b/x11/x3270/Makefile Fri Jan 01 13:05:22 2021 +0000
@@ -1,28 +1,30 @@
-# $NetBSD: Makefile,v 1.42 2020/01/18 21:51:16 jperkin Exp $
+# $NetBSD: Makefile,v 1.43 2021/01/01 13:05:22 rhialto Exp $
-DISTNAME= suite3270-3.3.14ga11-src
-PKGNAME= x3270-3.3.14ga11
-PKGREVISION= 2
+DISTNAME= suite3270-4.0ga13-src
+PKGNAME= x3270-4.0ga13
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=x3270/}
EXTRACT_SUFX= .tgz
-MAINTAINER= gls%NetBSD.org@localhost
+MAINTAINER= rhialto%NetBSD.org@localhost
HOMEPAGE= http://x3270.bgp.nu/
-COMMENT= 3270 Terminal emulator
+COMMENT= 3270 Terminal emulators (X11 and/or curses)
LICENSE= modified-bsd
GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/x3270-3.3
-USE_IMAKE= yes
-USE_TOOLS+= bdftopcf
+WRKSRC= ${WRKDIR}/suite3270-4.0
+USE_TOOLS+= bdftopcf gmake
FONTS_DIRS.x11+= ${PREFIX}/share/fonts/X11/misc
-IMAKEOPTS+= -DFontDir=${PREFIX}/share/fonts/X11
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
CONFIGURE_ARGS+= --with-fontdir=${PREFIX}/share/fonts/X11/misc
+CONFIGURE_ARGS+= --enable-b3270
+CONFIGURE_ARGS+= --enable-pr3287
+CONFIGURE_ARGS+= --enable-s3270
+
+INSTALL_TARGET= install install.man
PKG_SYSCONFSUBDIR= x3270
@@ -30,9 +32,14 @@
CONF_FILES= ${EGDIR}/ibm_hosts ${PKG_SYSCONFDIR}/ibm_hosts
INSTALLATION_DIRS+= ${EGDIR}
+post-install:
+ ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/ibm_hosts ${DESTDIR}/${EGDIR}
+ if [ "${PLIST.tcl}" = "yes" ]; then \
+ ${INSTALL_SCRIPT} ${WRKSRC}/tcl3270/Examples/* ${DESTDIR}${EGDIR}; \
+ fi
+
+.include "options.mk"
+
.include "../../converters/libiconv/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
-.include "../../x11/libXaw/buildlink3.mk"
-.include "../../x11/libXt/buildlink3.mk"
-.include "../../x11/xbitmaps/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r aecaa5488391 -r 9019f453b984 x11/x3270/PLIST
--- a/x11/x3270/PLIST Fri Jan 01 13:00:27 2021 +0000
+++ b/x11/x3270/PLIST Fri Jan 01 13:05:22 2021 +0000
@@ -1,25 +1,37 @@
-@comment $NetBSD: PLIST,v 1.9 2014/06/01 18:47:24 wiz Exp $
-bin/x3270
-bin/x3270if
-share/fonts/X11/misc/3270-12.pcf.gz
-share/fonts/X11/misc/3270-12b.pcf.gz
-share/fonts/X11/misc/3270-20.pcf.gz
-share/fonts/X11/misc/3270-20b.pcf.gz
-share/fonts/X11/misc/3270.pcf.gz
-share/fonts/X11/misc/3270b.pcf.gz
-share/fonts/X11/misc/3270gr.pcf.gz
-share/fonts/X11/misc/3270gt12.pcf.gz
-share/fonts/X11/misc/3270gt12b.pcf.gz
-share/fonts/X11/misc/3270gt16.pcf.gz
-share/fonts/X11/misc/3270gt16b.pcf.gz
-share/fonts/X11/misc/3270gt24.pcf.gz
-share/fonts/X11/misc/3270gt24b.pcf.gz
-share/fonts/X11/misc/3270gt32.pcf.gz
-share/fonts/X11/misc/3270gt32b.pcf.gz
-share/fonts/X11/misc/3270gt8.pcf.gz
-share/fonts/X11/misc/3270h.pcf.gz
-${IMAKE_MAN_DIR}/x3270.${IMAKE_MAN_SUFFIX}
-man/man1/x3270-script.1
-man/man1/x3270if.1
+@comment $NetBSD: PLIST,v 1.10 2021/01/01 13:05:22 rhialto Exp $
+bin/b3270
+${PLIST.curses}bin/c3270
+bin/pr3287
+bin/s3270
+${PLIST.tcl}bin/tcl3270
+${PLIST.x11}bin/x3270
+${PLIST.x11}bin/x3270a
+${PLIST.x11}bin/x3270if
+man/man1/b3270.1
+${PLIST.curses}man/man1/c3270.1
+man/man1/pr3287.1
+man/man1/s3270.1
+${PLIST.tcl}man/man1/tcl3270.1
+${PLIST.x11}man/man1/x3270-script.1
+${PLIST.x11}man/man1/x3270.1
+${PLIST.x11}man/man1/x3270if.1
man/man5/ibm_hosts.5
+${PLIST.tcl}share/examples/x3270/cms_cmd.tcl3270
share/examples/x3270/ibm_hosts
+${PLIST.x11}share/fonts/X11/misc/3270-12.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270-12b.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270-20.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270-20b.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270b.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270gr.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270gt12.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270gt12b.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270gt16.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270gt16b.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270gt24.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270gt24b.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270gt32.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270gt32b.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270gt8.pcf.gz
+${PLIST.x11}share/fonts/X11/misc/3270h.pcf.gz
diff -r aecaa5488391 -r 9019f453b984 x11/x3270/distinfo
--- a/x11/x3270/distinfo Fri Jan 01 13:00:27 2021 +0000
+++ b/x11/x3270/distinfo Fri Jan 01 13:05:22 2021 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.16 2015/11/04 03:28:57 agc Exp $
+$NetBSD: distinfo,v 1.17 2021/01/01 13:05:22 rhialto Exp $
-SHA1 (suite3270-3.3.14ga11-src.tgz) = 23bf5b29a2c3c10b935b66a95f666de350ae9c2d
-RMD160 (suite3270-3.3.14ga11-src.tgz) = 5c7a66175bff8ec2b77565eba5f7c90928cec502
-SHA512 (suite3270-3.3.14ga11-src.tgz) = 1f4b735b1baa0c813809324989becd1b62807bf05033f0415a9cd7523af04728bc2511213a091e8c4377163a4c26635168633c12d331da3f0a683f736c041bca
-Size (suite3270-3.3.14ga11-src.tgz) = 6902551 bytes
-SHA1 (patch-aa) = 826eb5ab930d4d4b1dc340c15a4160c303291f16
+SHA1 (suite3270-4.0ga13-src.tgz) = 36ed7d2262f12c1be5b127a596020b88e904eca5
+RMD160 (suite3270-4.0ga13-src.tgz) = 0cda8679f530707eeba561a6ce30776287af3853
+SHA512 (suite3270-4.0ga13-src.tgz) = bdf9c5d129419c87b45907186e5f158d8623009151357e4d8a3d08ffff2f3729449cead84d005227bfb32968ae363d1a29350692cabe9bf8b71f760eda3f496b
+Size (suite3270-4.0ga13-src.tgz) = 3317494 bytes
diff -r aecaa5488391 -r 9019f453b984 x11/x3270/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/x3270/options.mk Fri Jan 01 13:05:22 2021 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: options.mk,v 1.1 2021/01/01 13:05:22 rhialto Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.x3270
+PKG_SUPPORTED_OPTIONS= curses x11 tcl
+PKG_SUGGESTED_OPTIONS+= curses x11
+PLIST_VARS= curses x11 tcl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mcurses)
+.include "../../mk/curses.buildlink3.mk"
+CONFIGURE_ARGS+= --enable-c3270
+PLIST.curses= yes
+.else
+CONFIGURE_ARGS+= --disable-c3270
+.endif
+
+.if !empty(PKG_OPTIONS:Mx11)
+.include "../../x11/libXaw/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/xbitmaps/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-x3270
+CONFIGURE_ARGS+= --enable-x3270if
+PLIST.x11= yes
+.else
+CONFIGURE_ARGS+= --disable-x3270
+CONFIGURE_ARGS+= --disable-x3270if
+.endif
+
+.if !empty(PKG_OPTIONS:Mtcl)
+.include "../../lang/tcl/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-tcl3270
+PLIST.tcl= yes
+.else
+CONFIGURE_ARGS+= --disable-tcl3270
+.endif
diff -r aecaa5488391 -r 9019f453b984 x11/x3270/patches/patch-aa
--- a/x11/x3270/patches/patch-aa Fri Jan 01 13:00:27 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-aa,v 1.10 2013/11/24 05:52:10 gls Exp $
-
-Fix $HOSTSFILE installation path
-
---- Imakefile.in.orig 2010-09-13 20:55:27.000000000 +0000
-+++ Imakefile.in
-@@ -190,8 +190,8 @@ $(DESTDIR)$(FONTINSTDIR)/fonts.dir::
- /* Extra install rule for the sample ibm_hosts file (runs only if there is
- no ibm_hosts file installed yet). */
- install:: $(HOSTSFILE)
-- @[ -r $(DESTDIR)$(LIBX3270DIR)/$(HOSTSFILE) ] || \
-- $(INSTALL) -c $(INSTDATFLAGS) $(HOSTSFILE) $(DESTDIR)$(LIBX3270DIR)/$(HOSTSFILE)
-+ @[ -r $(DESTDIR)$(PREFIX)/share/examples/x3270/$(HOSTSFILE) ] || \
-+ $(INSTALL) -c $(INSTDATFLAGS) $(HOSTSFILE) $(DESTDIR)$(PREFIX)/share/examples/x3270/$(HOSTSFILE)
-
- /*
- * Install rules for x3270if, x3270-script and ibm_hosts man pages.
Home |
Main Index |
Thread Index |
Old Index