pkgsrc/x11/xterm/Makefile
pin 4785126cc0 x11/xterm: update to 372
Patch #372 - 2022/03/09
    -amend allocation/freeing of scrollback lines, eliminating an adjustment for
    status-line added in patch #371 (report/testcase by Rajeev V. Pillai).

Patch #371 - 2022/02/24
    -drop double-buffer default from test-packages, since that interferes with
    status-line.
    -add faceSize7 to table in charproc.c, overlooked in patch #360 (patch by
    Vladimir A. Pavlov).
    -use XDrawString rather than XDrawString16 for text when the latter is not
    needed.
    -improve performance for initializing/reusing graphic objects in the SIXEL
    feature.
    -improve error-checking for resize.
    -fix errata in manual page (Debian #988221).
    -extended list of environment variables to purge on startup, i.e., in case a
    user starts xterm from another terminal emulator.
    -add comment in cursor.c to explain why autowrap (DECAWM) does not apply to
    data saved/restored with save/restore cursor-operations (report by Thomas
    Wolff).
    -add special case in generating the combining-character table in wcwidth.c,
    for Hangul Jamo Extended-B (report by Luis Javier Merino).
    -simplify/improve portability of trap commands in shell-scripts.
    -update configure options
     --disable-rectangles,
     --disable-tcap-fkeys and
     --disable-tcap-query
     to account for changed default settings.
    -rather than ignore empty parameter for setting title, use that to reset it
    to “xterm” for scripting.
    -check for out-of-bounds condition while drawing sixels, and quit that
    operation (report by Nick Black).
    -add fallback definition for PROJECTROOT so that a suitable default location
    for luit will be compiled-in on build-servers.
    -implement DEC status-line controls DECSASD/DECSSDT:
        decode controls, set state
        implement DECRQSS responses
        implement indicator-style status-line
        add configure option --enable-status-line
        add resource indicatorFormat
        implement host-writable status-line, able to handle video-attributes and
        simple left/right cursor movement. This disallows all of the DEC/xterm
        private modes such as switching to/from the alternate screen.
        move the status-line if the window is resized.
        Note: the associated screen-resizing does not work for the special case
        of TrueType fonts with double-buffering (see note in patch #349).
    -modify configure-script fixup for -Werror options to exclude fixup for
     -Werror=format, e.g., -Werror=format-security.
    -amend change from patch #370; DEC 070's pseudo-code for DECCOLM incorrectly
    suggests that it enables DECLRMM as a side-effect.
    -fix some memory leaks seen using esctest and asan2 (patch by Luis Javier
    Merino).
2022-03-14 13:27:20 +00:00

64 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.137 2022/03/14 13:27:20 pin Exp $
DISTNAME= xterm-372
CATEGORIES= x11
MASTER_SITES= ftp://ftp.invisible-island.net/xterm/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://invisible-island.net/xterm/xterm.html
COMMENT= Latest terminal emulator for the X Window System
LICENSE= x11
GNU_CONFIGURE= yes
USE_TOOLS+= tbl pkg-config
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
CONFIGURE_ARGS+= --enable-88-color
CONFIGURE_ARGS+= --enable-256-color
CONFIGURE_ARGS+= --enable-paste64
CONFIGURE_ARGS+= --enable-readline-mouse
CONFIGURE_ARGS.standard= # empty
CONFIGURE_ARGS.3d= --with-Xaw3d
CONFIGURE_ARGS.xpm= --with-Xaw3d
CONFIGURE_ARGS.neXtaw= --with-neXtaw
CONFIGURE_ARGS+= ${${CONFIGURE_ARGS.${XAW_TYPE}}:L}
INSTALLATION_DIRS= share/applications
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} == "modular"
CONFIGURE_ARGS+= --disable-imake
CONFIGURE_ARGS+= --enable-narrowproto
.endif
.if exists(/usr/include/wchar.h)
CONFIGURE_ARGS+= --enable-wide-chars
.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
###
### For detection of XKB bell extension.
###
BUILDLINK_DEPMETHOD.libxkbfile?= build
.include "../../x11/libxkbfile/buildlink3.mk"
post-install:
${INSTALL_DATA} ${WRKSRC}/xterm.desktop \
${DESTDIR}${PREFIX}/share/applications && \
${INSTALL_DATA} ${WRKSRC}/uxterm.desktop \
${DESTDIR}${PREFIX}/share/applications
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && tbl xterm.1 \
> xterm.1.tbl && mv xterm.1.tbl xterm.1
.include "options.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"